@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,700;1,900&family=Caveat:wght@600;700&family=Space+Grotesk:wght@300;400;500&display=swap');

/* ── RESET ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  outline: none;
  font-family: 'Space Grotesk', sans-serif;
}

:root {
  --forest:  #1a7a4a;
  --forest2: #0f5233;
  --white:   #ffffff;
  --muted:   rgba(255,255,255,0.78);
  --shadow:  rgba(0,0,0,0.8);
}

html { font-size: 62.5%; scroll-behavior: smooth; }

body {
  width: 100%;
  overflow-x: hidden;
  background-color: black;
  color: white;
}

/* ─────────────────────────────────────────
   HEADER
───────────────────────────────────────── */
header {
  position: relative;
  top: 0;
  width: 100%;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.6rem 3rem;
  z-index: 200;
  box-shadow: 0 2px 16px rgba(0,0,0,0.15);
}

.header-language {
  position: absolute;
  right: 2.4rem;
}

.header-img {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}

.header-img img {
  width: 300px;
  height: auto;
  margin: 0.8rem;
  transition: transform 0.4s ease, opacity 0.3s ease;
  mix-blend-mode: multiply;
}

.header-img img:hover {
  transform: scale(1.06);
  opacity: 0.75;
}

.header-contact {
  position: absolute;
  left: 2.4rem;
}

.header-contact a {
  font-family: 'Caveat', cursive;
  font-size: 2rem;
  font-weight: 700;
  color: #111;
  letter-spacing: 0.04em;
  border-bottom: 2px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.header-contact a:hover {
  color: var(--forest);
  border-bottom-color: var(--forest);
}

/* ─────────────────────────────────────────
   RETURN BUTTON
───────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 1rem 2.8rem;
  background-color: transparent;
  border-radius: 2rem;
  font-size: 1.5rem;
  color: white;
  letter-spacing: 0.25rem;
  font-weight: 500;
  border: 0.25rem solid white;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  top: 0;
  left: 0;
  z-index: 10;
  margin-bottom: 3rem;
}

.btn:hover {
  background-color: var(--forest);
  border-color: var(--forest);
  color: white;
  box-shadow: 0 0 25px rgba(26,122,74,0.55);
  transform: translateY(-2px);
}

/* ─────────────────────────────────────────
   TYPE SCALE
───────────────────────────────────────── */
h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(5.5rem, 10vw, 10.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-shadow: 4px 4px 20px var(--shadow);
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-shadow: 3px 3px 12px var(--shadow);
}

h3 {
  font-family: 'Caveat', cursive;
  font-size: 2.6rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  text-shadow: 2px 2px 8px var(--shadow);
}

h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
  letter-spacing: 0.06em;
}

p {
  font-size: 1.6rem;
  line-height: 1.85;
  color: var(--muted);
  text-shadow: 1px 1px 6px var(--shadow);
}

/* ─────────────────────────────────────────
   SECTIONS
───────────────────────────────────────── */
section {
  width: 100%;
  min-height: 100vh;
  padding: 5rem 9%;
  background-color: black;
}

/* ─────────────────────────────────────────
   INTRO — background1.jpg
───────────────────────────────────────── */
.intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  color: white;
  min-height: 100vh;
  text-align: center;
  background-image:
    linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0.6) 100%),
    url(background1.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.intro-content {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: center;
}

.intro-content h2 {
  font-family: 'Caveat', cursive;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.08em;
  opacity: 0.9;
  margin-bottom: 0;
  text-shadow: 2px 2px 8px var(--shadow);
}

/* ─────────────────────────────────────────
   BIO STRIP — background2.jpg
───────────────────────────────────────── */
.section-separator {
  min-height: auto;
  padding: 5rem 9%;
  background-image:
    linear-gradient(to bottom, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.55) 50%, rgba(0,0,0,0.82) 100%),
    url(background2.jpg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-separator-content { max-width: 820px; width: 100%; }

.profile-img-right {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  padding: 0;
  overflow: visible;
}

.profile-img-right img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--forest);
  flex-shrink: 0;
  order: 2;
  transition: transform 0.4s ease;
}

.profile-img-right img:hover { transform: scale(1.05); }

.profile-img-right p { font-size: 1.7rem; flex: 1; }

/* ─────────────────────────────────────────
   NAV GRID — background2.jpg
───────────────────────────────────────── */
.main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  min-height: 100vh;
  background-image:
    linear-gradient(to bottom, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.28) 20%, rgba(0,0,0,0.28) 80%, rgba(0,0,0,0.65) 100%),
    url(background2.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 5rem 9%;
}

.main-content { width: 100%; }

.page-link-grid-index {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 22px;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 4rem;
}

.page-link-grid-about {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 22px;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 4rem;
}

/* Buttons — shaped, dynamic, no labels */
.button-img {
  width: 100%;
  text-align: center;
  overflow: visible;
}

.button-img img {
  width: 100%;
  max-width: 80%;
  height: auto;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s ease, box-shadow 0.35s ease;
  border: 2px solid rgba(255,255,255,0.85);
  opacity: 0.68;
  border-radius: 28px 8px 28px 8px;
  box-shadow: 6px 8px 24px rgba(0,0,0,0.85);
  display: block;
  margin: 0 auto;
}

.button-img img:hover {
  transform: scale(1.09) translateY(-8px) rotate(-0.5deg);
  opacity: 1;
  box-shadow: 0 20px 48px rgba(0,0,0,0.95), 0 0 32px rgba(26,122,74,0.4);
}

/* No text under buttons */
.button-img p { display: none; }
.button-img h3 { display: none; }

/* ─────────────────────────────────────────
   FASHION PROJECTS — background3.jpg
───────────────────────────────────────── */
.fashion-projects {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 5rem;
  min-height: 100vh;
  background-image:
    linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.32) 15%, rgba(0,0,0,0.32) 85%, rgba(0,0,0,0.8) 100%),
    url(background3.jpg);
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 5rem 9%;
}

.fashion-projects-content {
  width: 100%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.Foiliage-of-Life,
.Scottish-Mythology-Waistcoat { padding-top: 2rem; }

.fashion-projects .main-img-left,
.fashion-projects .main-img-right {
  display: flex;
  flex-direction: column;
  background: rgba(0,0,0,0.52);
  padding: 2.2rem;
  border-radius: 14px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.1);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.fashion-projects .main-img-left:hover,
.fashion-projects .main-img-right:hover {
  background: rgba(0,0,0,0.68);
  border-color: rgba(26,122,74,0.55);
}

.fashion-projects .main-img-left h2,
.fashion-projects .main-img-right h2 {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 700;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.fashion-projects .content-row {
  display: flex;
  align-items: flex-start;
  gap: 2.4rem;
}

.fashion-projects .main-img-right .content-row { flex-direction: row-reverse; }

.fashion-projects .content-row img {
  width: 260px;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,0.28);
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
}

.fashion-projects .content-row img:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.95);
}

.fashion-projects .text-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

/* ─────────────────────────────────────────
   ABOUT ME — background4.jpg
───────────────────────────────────────── */
.about-me {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 5rem;
  min-height: 100vh;
  background-image:
    linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.32) 15%, rgba(0,0,0,0.32) 85%, rgba(0,0,0,0.8) 100%),
    url(background4.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 5rem 9%;
}

.page-content { width: 100%; max-width: 1100px; }
.about-me-content { width: 100%; }

.about-me h2 {
  font-family: 'Playfair Display', serif;
  font-size: 5.5rem;
  font-weight: 900;
  font-style: italic;
  margin-bottom: 2.5rem;
}

.about-me-content .main-img-left {
  display: flex;
  flex-direction: row;
  gap: 3.5rem;
  align-items: flex-start;
  background: rgba(0,0,0,0.5);
  padding: 2.2rem;
  border-radius: 14px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.1);
}

.about-me-content .main-img-left img {
  width: 200px;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,0.28);
  flex-shrink: 0;
  float: none;
  margin: 0;
  transition: transform 0.3s ease;
}

.about-me-content .main-img-left img:hover { transform: scale(1.03); }

.about-me-content .main-img-left > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

/* ─────────────────────────────────────────
   PHOTOGRAPHY — background5.jpg
───────────────────────────────────────── */
.photography {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 5rem;
  min-height: 100vh;
  background-image:
    linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.32) 15%, rgba(0,0,0,0.32) 85%, rgba(0,0,0,0.8) 100%),
    url(background5.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 5rem 9%;
}

.Photoshoots {
  width: 100%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.A-Walk-In-The-Woods,
.The-Coasts-of-Scotland,
.Fighting-The-Veil,
.Website-Background-Photography { padding-top: 1rem; }

.photography .main-img-left,
.photography .main-img-right {
  display: flex;
  flex-direction: column;
  background: rgba(0,0,0,0.52);
  padding: 2.2rem;
  border-radius: 14px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.1);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.photography .main-img-left:hover,
.photography .main-img-right:hover {
  background: rgba(0,0,0,0.68);
  border-color: rgba(26,122,74,0.55);
}

.photography .main-img-left h2,
.photography .main-img-right h2 {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 700;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.photography .content-row {
  display: flex;
  align-items: flex-start;
  gap: 2.4rem;
}

.photography .main-img-right .content-row { flex-direction: row-reverse; }

.photography .content-row img {
  width: 260px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,0.28);
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
  margin: 0;
  float: none;
  max-width: none;
}

.photography .content-row img:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.95);
}

.photography .text-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.photography .text-content h3 {
  font-family: 'Caveat', cursive;
  font-size: 2.2rem;
  color: rgba(255,255,255,0.4);
  text-shadow: none;
}

/* ─────────────────────────────────────────
   PROJECT DETAIL PAGES
───────────────────────────────────────── */
.projects-content {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.projects-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(4.5rem, 8vw, 8rem);
  font-weight: 900;
  font-style: italic;
}

.main-img-left,
.main-img-right {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  width: 100%;
  background: rgba(0,0,0,0.5);
  padding: 2.2rem;
  border-radius: 14px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.1);
  transition: border-color 0.3s ease;
}

.main-img-right { flex-direction: row-reverse; }

.main-img-left:hover,
.main-img-right:hover { border-color: rgba(26,122,74,0.45); }

.main-img-left img,
.main-img-right img {
  width: 300px;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,0.22);
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
  margin: 0;
  float: none;
  max-width: none;
}

.main-img-left img:hover,
.main-img-right img:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.95);
}

.main-img-left p,
.main-img-right p { font-size: 1.55rem; line-height: 1.85; }

/* ─────────────────────────────────────────
   CONTACT SECTION
───────────────────────────────────────── */
.contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  padding: 7rem 9%;
  background-image:
    linear-gradient(to bottom, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.85) 100%),
    url(background1.jpg);
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  text-align: center;
  gap: 3rem;
}

.contact-heading {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.contact-heading h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(4rem, 7vw, 7rem);
  font-weight: 900;
  font-style: italic;
  margin-bottom: 0;
}

.contact-heading p {
  font-size: 1.7rem;
  color: rgba(255,255,255,0.6);
  max-width: 500px;
  text-shadow: none;
}

.contact-links {
  display: flex;
  gap: 2.4rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 3.2rem;
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 4rem;
  color: white;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  transition: all 0.3s ease;
  cursor: pointer;
}

.contact-link i { font-size: 1.8rem; }

.contact-link:hover {
  background-color: var(--forest);
  border-color: var(--forest);
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 32px rgba(26,122,74,0.5);
}

.contact-link.email:hover {
  background-color: #1a3a7a;
  border-color: #1a3a7a;
  box-shadow: 0 12px 32px rgba(26,58,122,0.5);
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.footer-content {
  width: 100%;
  background-color: #080808;
  border-top: 1px solid rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.8rem 4rem;
}

.footer-content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.38);
  text-shadow: none;
  letter-spacing: 0.04em;
}

.footer-content .footer-left { text-align: left; margin: 0; }
.footer-content .footer-right { text-align: right; margin: 0; }

/* ─────────────────────────────────────────
   FADE ON SCROLL
───────────────────────────────────────── */
.fade-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}

.fade-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1024px) {
  .page-link-grid-index { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
  .page-link-grid-about { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 768px) {
  html { font-size: 56%; }
  header { padding: 0.6rem 1.5rem; }
  .header-img img { width: 180px; }
  .social-icons a { width: 3.2rem; height: 3.2rem; font-size: 1.5rem; }

  section, .fashion-projects, .about-me, .photography { padding: 3.5rem 5%; }

  .profile-img-right { flex-direction: column; align-items: center; text-align: center; }
  .profile-img-right img { order: 0; width: 130px; height: 130px; }

  .page-link-grid-index,
  .page-link-grid-about { grid-template-columns: 1fr; gap: 14px; }

  .button-img img { max-width: 90%; }

  .fashion-projects .content-row,
  .photography .content-row { flex-direction: column !important; }

  .fashion-projects .content-row img,
  .photography .content-row img { width: 100%; height: 220px; }

  .about-me-content .main-img-left { flex-direction: column; gap: 2rem; }
  .about-me-content .main-img-left img { width: 100%; height: 200px; }

  .main-img-left,
  .main-img-right { flex-direction: column !important; gap: 1.8rem; }
  .main-img-left img,
  .main-img-right img { width: 100%; height: 200px; }

  .contact-links { flex-direction: column; gap: 1.4rem; }
  .footer-content { padding: 1.4rem 2rem; }
}

/* ─────────────────────────────────────────
   BUTTON TILTS — alternating per card
───────────────────────────────────────── */
.page-link-grid-index .button-img:nth-child(1) img:hover { transform: scale(1.09) translateY(-10px) rotate(-3deg); }
.page-link-grid-index .button-img:nth-child(2) img:hover { transform: scale(1.09) translateY(-10px) rotate(2.5deg); }
.page-link-grid-index .button-img:nth-child(3) img:hover { transform: scale(1.09) translateY(-10px) rotate(-2deg); }
.page-link-grid-index .button-img:nth-child(4) img:hover { transform: scale(1.09) translateY(-10px) rotate(3deg); }

/* ─────────────────────────────────────────
   CONTACT SECTION
───────────────────────────────────────── */
.contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  padding: 7rem 9%;
  background-image:
    linear-gradient(to bottom, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.85) 100%),
    url(background1.jpg);
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  text-align: center;
  gap: 3rem;
}
.contact-heading { display: flex; flex-direction: column; gap: 1rem; align-items: center; }
.contact-heading h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(4rem, 7vw, 7rem);
  font-weight: 900;
  font-style: italic;
  margin-bottom: 0;
}
.contact-heading p {
  font-size: 1.7rem;
  color: rgba(255,255,255,0.6);
  max-width: 500px;
  text-shadow: none;
}
.contact-links {
  display: flex;
  gap: 2.4rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 3.2rem;
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 4rem;
  color: white;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  transition: all 0.3s ease;
  cursor: pointer;
}
.contact-link i { font-size: 1.8rem; }
.contact-link:hover {
  background-color: var(--forest);
  border-color: var(--forest);
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 32px rgba(26,122,74,0.5);
}
.contact-link.email:hover {
  background-color: #1a3a7a;
  border-color: #1a3a7a;
  box-shadow: 0 12px 32px rgba(26,58,122,0.5);
}

/* ═════════════════════════════════════════
   MOBILE FIXES
   — background-attachment:fixed is broken
     on iOS Safari & many Android browsers.
     Switch to scroll on touch devices only.
   — Nav buttons become horizontal swipe row.
═════════════════════════════════════════ */
@media (hover: none) {
  /* Disable fixed backgrounds on touch devices */
  .intro,
  .section-separator,
  .main,
  .fashion-projects,
  .about-me,
  .photography,
  .contact {
    background-attachment: scroll;
  }
}

@media (max-width: 700px) {
  /* ── Nav buttons: horizontal scroll strip ── */
  .main { padding: 4rem 0; }

  .page-link-grid-index,
  .page-link-grid-about {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: visible;
    gap: 16px;
    padding: 2rem 6% 3rem;
    margin: 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .page-link-grid-index::-webkit-scrollbar,
  .page-link-grid-about::-webkit-scrollbar { display: none; }

  .button-img {
    flex: 0 0 64vw;
    width: 64vw;
    scroll-snap-align: center;
  }
  .button-img img {
    max-width: 100%;
    width: 100%;
    border-radius: 22px 6px 22px 6px;
  }

  /* Contact */
  .contact-links { flex-direction: column; gap: 1.2rem; width: 100%; }
  .contact-link { justify-content: center; width: 100%; max-width: 340px; }
  .contact { padding: 5rem 6%; min-height: auto; }
}

/* ─────────────────────────────────────────
   GREYSCALE — buttons that lead to 404
───────────────────────────────────────── */
a[href="404.html"] img {
  filter: grayscale(100%);
  opacity: 0.55;
}

a[href="404.html"] img:hover {
  filter: grayscale(100%);
  opacity: 0.75;
}

/* ── Coming soon buttons — greyscale ── */
a[href="404.html"] img {
  filter: grayscale(100%) brightness(0.7);
  opacity: 0.55;
  cursor: not-allowed;
}

a[href="404.html"] img:hover,
a[href="404.html"] img:active {
  filter: grayscale(100%) brightness(0.75);
  opacity: 0.65;
  transform: none;
  box-shadow: 6px 8px 24px rgba(0,0,0,0.85);
}

/* ─────────────────────────────────────────
   REGIONAL LANGUAGE CONTROLLER MODAL
───────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85); /* Slightly darker mask to complement --shadow */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2100; /* Placed over your header z-index: 200 */
  opacity: 1;
  transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  backdrop-filter: blur(8px); /* Matches your project filters */
  padding: 2rem;
}

.modal-content {
  background: #0d0d0d; /* Ultra dark matte background */
  color: white;
  padding: 3.5rem 2.5rem;
  border-radius: 24px 8px 24px 8px; /* Perfectly matches your button-img masking clip */
  text-align: center;
  max-width: 480px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.95);
  animation: modalFadeIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.modal-content h3 {
  font-family: 'Playfair Display', serif; /* Aligned with your premium headers */
  font-size: clamp(2.8rem, 4vw, 3.6rem);
  font-weight: 700;
  font-style: italic;
  color: white;
  margin-bottom: 1.2rem;
  text-shadow: none;
}

.modal-content p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 2.5rem;
  text-shadow: none;
}

.modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  width: 100%;
}

/* Custom Interactive Language Target Switches */
.lang-btn {
  display: block;
  width: 100%;
  padding: 1.2rem 2rem;
  background-color: transparent;
  border-radius: 2rem; /* Matches your core CTA architecture */
  font-size: 1.4rem;
  color: white;
  letter-spacing: 0.15rem;
  font-weight: 500;
  border: 2px solid rgba(255, 255, 255, 0.35);
  transition: all 0.3s ease;
  cursor: pointer;
}

.lang-btn:hover {
  background-color: var(--forest);
  border-color: var(--forest);
  color: white;
  box-shadow: 0 0 20px rgba(26, 122, 74, 0.45);
  transform: translateY(-2px);
}

/* Stay in English Escape Action Link */
.lang-btn.close-btn {
  border: 1px dashed rgba(255, 255, 255, 0.25);
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.5rem;
  letter-spacing: 0.08em;
  font-size: 1.3rem;
}

.lang-btn.close-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.6);
  color: white;
  box-shadow: none;
  transform: none;
}

/* Hidden Utility State */
.modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Entry Animation Sequence */
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Mobile Alignment Optimization */
@media (max-width: 768px) {
  .modal-content {
    padding: 3rem 2rem;
  }
}

.open-lang-btn {
  background-color: #000000;
  color: #ffffff;
  border: 1px solid #000000;
  padding: 0.6rem 1.4rem;
  border-radius: 2rem;
  font-size: 1.4rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.25s ease-in-out;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.open-lang-btn i {
  font-size: 1.1rem;
  transition: transform 0.25s ease;
}

/* Hover effects */
.open-lang-btn:hover {
  background-color: var(--forest);
  border-color: var(--forest);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(26, 122, 74, 0.4);
}

.open-lang-btn:hover i {
  transform: translateY(2px);
}

/* Initial/Hover Selection Modal Overlay */
.selection-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.selection-modal.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.selection-modal-content {
  background: #202020;
  color: #fff;
  padding: 24px;
  border-radius: 12px;
  min-width: 300px;
  position: relative;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  text-align: center;
}

.close-modal-btn {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  color: #aaa;
  font-size: 20px;
  cursor: pointer;
}

/* Prevent CSS reset from overriding Font Awesome icons */
i[class*="fa-"],
i[class*="fa-"]::before,
i[class*="fa-"]::after {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
}

/* Ensure brand icons specifically use the Brands font definition */
i.fa-brands,
i.fa-brands::before {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}

/* Ensure solid icons use the Free Solid font definition */
i.fa-solid,
i.fa-solid::before {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}