/* =====================================================
   GLAM HOUSE · Midnight Navy & Champagne Gold
   Centre de Bien-Être — Casablanca
   ===================================================== */

:root {
  /* Palette — Midnight glam */
  --navy:          #0E1A30;   /* primary dark */
  --navy-deep:     #0A1322;
  --navy-soft:     #1A2744;
  --ink:           #06101F;
  --ivory:         #F6F0E4;   /* primary light bg */
  --ivory-soft:    #FBF6EC;
  --cream:         #EFE5D2;
  --gold:          #D4B681;   /* champagne gold accent */
  --gold-bright:   #E6C98F;
  --gold-deep:     #A8874F;
  --rose:          #C8707E;   /* rose petal accent */
  --rose-deep:     #A34B5A;
  --muted:         #6E6A60;
  --rule:          rgba(212,182,129,0.28);

  /* Type */
  --f-display: "Playfair Display", "Times New Roman", serif;
  --f-body:    "Jost", system-ui, -apple-system, sans-serif;

  /* Spatial */
  --container: 1300px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius-sm: 2px;
  --radius: 4px;
  --radius-lg: 10px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.45, 0, 0.15, 1);
}

/* === Reset === */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--navy);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--navy); color: var(--gold);
  padding: 0.75rem 1.25rem; z-index: 1000;
}
.skip-link:focus { top: 0; }

/* === Background decor (subtle grain) === */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(212,182,129,0.08), transparent 50%),
    radial-gradient(circle at 85% 90%, rgba(200,112,126,0.05), transparent 55%);
}

/* === Typography === */
h1, h2, h3, h4, .h-display {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--navy);
}
em, .italic {
  font-style: italic;
  font-weight: 400;
}
h2 em, h1 em, .h-display em { color: var(--gold-deep); }

.h-display {
  font-size: clamp(2.25rem, 5.5vw, 4.75rem);
  font-weight: 500;
}
.h-display--xl { font-size: clamp(2.75rem, 7vw, 6rem); }

.eyebrow {
  display: inline-block;
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow--light { color: var(--gold); }

.lede {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--navy);
}

p { color: var(--navy); }

.rule {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem 0;
}

/* === Layout === */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 1;
}

.section {
  padding: clamp(4rem, 9vw, 8rem) 0;
  position: relative;
}
.section--dark { background: var(--navy); color: var(--ivory); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark .h-display { color: var(--ivory); }
.section--dark .h-display em { color: var(--gold); }
.section--dark p { color: rgba(246,240,228,0.82); }
.section--dark .eyebrow { color: var(--gold); }
.section--cream { background: var(--ivory-soft); }

.section__head {
  max-width: 760px;
  margin: 0 auto clamp(3rem, 5vw, 4.5rem);
  text-align: center;
}
.section__head .rule { margin: 1.5rem auto; }
.section__sub {
  margin-top: 1.25rem;
  color: var(--muted);
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.7rem;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 8px 24px -12px rgba(168,135,79,0.55);
}
.btn--primary:hover {
  background: var(--gold-bright);
  transform: translateY(-1px);
  box-shadow: 0 14px 34px -14px rgba(168,135,79,0.7);
}
.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline:hover {
  background: var(--navy);
  color: var(--ivory);
}
.btn--ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
  opacity: 0.9;
}
.btn--ghost:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  opacity: 1;
}
.btn--link {
  padding: 0.5rem 0;
  border: 0;
  letter-spacing: 0.16em;
  color: var(--gold-deep);
  border-bottom: 1px solid var(--rule);
}
.btn--link:hover { color: var(--gold); }
.btn--full { width: 100%; justify-content: center; }

/* === Navbar === */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  background: transparent;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.is-scrolled {
  background: rgba(14,26,48,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.7rem 0;
  box-shadow: 0 4px 30px -15px rgba(0,0,0,0.4);
}
/* Transparent hero state: everything in ivory/gold */
.nav:not(.is-scrolled) .logo__name { color: var(--ivory); }
.nav:not(.is-scrolled) .logo__sub  { color: var(--gold); }
.nav:not(.is-scrolled) .logo__mono { color: var(--gold); }
.nav:not(.is-scrolled) .nav__links a { color: var(--ivory); }
.nav:not(.is-scrolled) .nav__links a:hover { color: var(--gold); }
.nav:not(.is-scrolled) .nav__cta {
  color: var(--ivory);
  border-color: var(--gold);
}
.nav:not(.is-scrolled) .nav__cta:hover {
  background: var(--gold);
  color: var(--navy);
}
.nav:not(.is-scrolled) .nav__burger span { background: var(--ivory); }

/* Scrolled state */
.nav.is-scrolled .logo__name { color: var(--ivory); }
.nav.is-scrolled .logo__sub  { color: var(--gold); }
.nav.is-scrolled .logo__mono { color: var(--gold); }
.nav.is-scrolled .nav__links a { color: var(--ivory); }
.nav.is-scrolled .nav__links a:hover { color: var(--gold); }
.nav.is-scrolled .nav__cta {
  color: var(--ivory);
  border-color: var(--gold);
}
.nav.is-scrolled .nav__cta:hover {
  background: var(--gold);
  color: var(--navy);
}
.nav.is-scrolled .nav__burger span { background: var(--ivory); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--navy);
  transition: color 0.3s;
}
.logo__mono {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--gold);
  transition: all 0.3s var(--ease);
}
.logo:hover .logo__mono {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo__name {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  color: var(--navy);
}
.logo__sub {
  font-family: var(--f-body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 4px;
}
.logo--light .logo__name { color: var(--ivory); }
.logo--light .logo__sub  { color: var(--gold); }
.logo--light .logo__mono { color: var(--gold); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}
.nav__links a {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.3s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta {
  padding: 0.7rem 1.3rem;
  font-size: 0.75rem;
}
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 6px 0;
  border-radius: 2px;
}
.nav__burger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--navy);
  transition: all 0.3s var(--ease);
  transform-origin: center;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav__mobile {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--navy);
  padding: 6rem 2rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
  z-index: 99;
  border-bottom: 1px solid rgba(212,182,129,0.2);
}
.nav__mobile.is-open { transform: translateY(0); }
.nav__mobile a {
  font-family: var(--f-display);
  font-size: 1.6rem;
  color: var(--ivory);
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(212,182,129,0.15);
}
.nav__mobile a.btn {
  font-family: var(--f-body);
  font-size: 0.8rem;
  margin-top: 1rem;
  border: 0;
  justify-content: center;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: clamp(6rem, 12vw, 10rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  color: var(--ivory);
  isolation: isolate;
  background: var(--navy-deep);
}
.hero__media {
  position: absolute; inset: 0; z-index: -2;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(14,26,48,0.55) 0%, rgba(14,26,48,0.35) 40%, rgba(6,16,31,0.9) 100%);
}
.hero__content {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 2;
}
.hero__eyebrow { margin-bottom: 1.5rem; }
.hero__title {
  font-size: clamp(2.75rem, 7.5vw, 6.25rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.015em;
  max-width: 16ch;
  color: var(--ivory);
}
.hero__title em { color: var(--gold); font-style: italic; }
.hero__lede {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
  color: rgba(246,240,228,0.9);
  max-width: 560px;
  margin: 1.5rem 0 2.25rem;
  line-height: 1.45;
}
.hero__actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  align-items: center;
}
.hero__actions .btn--ghost {
  color: var(--ivory);
  border-color: var(--ivory);
}
.hero__actions .btn--ghost:hover {
  background: var(--ivory);
  color: var(--navy);
}

.hero__marquee {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  border-top: 1px solid rgba(212,182,129,0.2);
  padding: 1rem 0;
  overflow: hidden;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold);
  white-space: nowrap;
  background: rgba(14,26,48,0.6);
  backdrop-filter: blur(8px);
}
.marquee__track {
  display: inline-flex;
  gap: 2rem;
  padding-left: 100%;
  animation: marquee 40s linear infinite;
}
.marquee__track span { display: inline-block; }
.marquee__track span:nth-child(even) { color: rgba(212,182,129,0.4); }
@keyframes marquee {
  to { transform: translateX(-100%); }
}

.hero__scroll {
  position: absolute;
  right: clamp(1.5rem, 4vw, 3rem);
  bottom: 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--gold);
  font-family: var(--f-body);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scrollHint 2.2s var(--ease) infinite;
}
@keyframes scrollHint {
  0% { transform: scaleY(0.3); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.01% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* === ABOUT === */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(3rem, 7vw, 6rem);
  align-items: center;
}
.about__text .lede { margin-bottom: 1.5rem; }
.about__text p { margin-bottom: 1.15rem; color: var(--navy); opacity: 0.85; }

.about__media {
  position: relative;
}
.about__img {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--navy);
}
.about__img--tall {
  aspect-ratio: 4 / 5;
  margin-right: 18%;
}
.about__img--short {
  position: absolute;
  right: 0; bottom: -10%;
  width: 56%;
  aspect-ratio: 4 / 5;
  border: 6px solid var(--ivory);
  box-shadow: -20px 20px 50px -20px rgba(14,26,48,0.35);
}
.about__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.5s var(--ease);
}
.about__img:hover img { transform: scale(1.04); }
.about__badge {
  position: absolute;
  top: -1.5rem; left: -1.5rem;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-style: italic;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.2;
  border: 1px solid var(--gold);
  box-shadow: 0 20px 50px -20px rgba(14,26,48,0.5);
  z-index: 2;
}
.about__badge strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 500;
  margin: 2px 0;
  font-style: normal;
}
.about__badge span {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-style: normal;
  color: rgba(246,240,228,0.7);
  font-family: var(--f-body);
}

/* === SERVICES GRID === */
.services {
  background: linear-gradient(180deg, var(--ivory-soft) 0%, var(--ivory) 100%);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.75rem;
}
.card {
  grid-column: span 4;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: var(--ivory);
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  transition: transform 0.5s var(--ease);
  border: 1px solid rgba(212,182,129,0.25);
}
.card:hover { transform: translateY(-6px); }
.card--wide { grid-column: span 8; aspect-ratio: 16 / 11; }
.card--featured { grid-column: span 4; aspect-ratio: 3 / 4.3; }
.card__media {
  position: absolute; inset: 0;
  z-index: 0;
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.card:hover .card__media img { transform: scale(1.08); }
.card::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(14,26,48,0.1) 0%, rgba(6,16,31,0.85) 70%, rgba(6,16,31,0.95) 100%);
}
.card__num {
  position: absolute;
  top: 1.5rem; left: 1.5rem;
  z-index: 2;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold);
  background: rgba(14,26,48,0.7);
  backdrop-filter: blur(6px);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(212,182,129,0.3);
}
.card__body {
  position: relative;
  z-index: 2;
  padding: 2rem;
  color: var(--ivory);
}
.card__title {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--ivory);
  margin-bottom: 0.75rem;
}
.card__body p {
  color: rgba(246,240,228,0.8);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.5s var(--ease);
}
.card:hover .card__body p,
.card.card--wide .card__body p,
.card.card--featured .card__body p {
  max-height: 160px;
  opacity: 1;
  margin-bottom: 1rem;
}
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--f-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(212,182,129,0.35);
  padding-bottom: 3px;
  transition: all 0.3s;
}
.card__link:hover {
  color: var(--ivory);
  border-color: var(--ivory);
  gap: 0.75rem;
}

/* === GALLERY (home page) === */
.gallery {
  padding: clamp(4rem, 7vw, 6rem) 0 clamp(4rem, 7vw, 6rem);
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 180px;
  gap: 1rem;
}
.gallery__item {
  overflow: hidden;
  border-radius: var(--radius-lg);
  position: relative;
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item--1 { grid-column: span 3; grid-row: span 2; }
.gallery__item--2 { grid-column: span 3; grid-row: span 1; }
.gallery__item--3 { grid-column: span 2; grid-row: span 1; }
.gallery__item--4 { grid-column: span 1; grid-row: span 1; }
.gallery__item--5 { grid-column: span 2; grid-row: span 1; }
.gallery__item--6 { grid-column: span 4; grid-row: span 1; }

/* === QUOTE BAND === */
.quote-band {
  padding: clamp(5rem, 9vw, 8rem) 0;
  background: var(--navy);
  color: var(--ivory);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.quote-band::before,
.quote-band::after {
  content: "";
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.2;
  z-index: 0;
}
.quote-band::before {
  background: var(--gold);
  top: -200px; left: -100px;
}
.quote-band::after {
  background: var(--rose);
  bottom: -200px; right: -100px;
}
.quote-band__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 1;
}
.quote-band__quote {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(1.5rem, 3.3vw, 2.75rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--ivory);
}
.quote-band__quote em {
  font-style: italic;
  color: var(--gold);
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.quote-band__mark {
  display: block;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 6rem;
  color: var(--gold);
  line-height: 0.6;
  opacity: 0.4;
  margin-bottom: 1rem;
}

/* === TESTIMONIALS === */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.testimonial {
  background: var(--ivory-soft);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(14,26,48,0.25);
}
.testimonial__stars {
  color: var(--gold);
  letter-spacing: 0.15em;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}
.testimonial blockquote p {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--navy);
  margin-bottom: 1.75rem;
}
.testimonial figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}
.testimonial__name {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  color: var(--navy);
}
.testimonial__role {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* === CTA band === */
.cta-band {
  background: var(--ivory-soft);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: clamp(4rem, 7vw, 6rem) 0;
}
.cta-band__inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.cta-band h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}
.cta-band p {
  color: var(--muted);
  margin-bottom: 2rem;
}
.cta-band__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* === CONTACT === */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
.contact__blocks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem 2rem;
  margin-top: 2rem;
}
.contact__block {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.contact__label {
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.contact__value {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--navy);
  line-height: 1.4;
}

.contact__form {
  background: var(--navy);
  color: var(--ivory);
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  border: 1px solid rgba(212,182,129,0.3);
  box-shadow: 0 40px 80px -40px rgba(14,26,48,0.4);
}
.contact__form h3 {
  font-family: var(--f-display);
  font-size: 1.8rem;
  color: var(--ivory);
  margin-bottom: 0.5rem;
}
.contact__form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.contact__form label span {
  font-family: var(--f-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact__form input,
.contact__form select,
.contact__form textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(212,182,129,0.3);
  padding: 0.7rem 0;
  color: var(--ivory);
  font-size: 1rem;
  transition: border-color 0.3s;
}
.contact__form input::placeholder,
.contact__form textarea::placeholder { color: rgba(246,240,228,0.4); }
.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
  outline: 0;
  border-color: var(--gold);
}
.contact__form select option { background: var(--navy); color: var(--ivory); }
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}
.form__success {
  color: var(--gold);
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.1rem;
  text-align: center;
  padding: 0.75rem;
}
.form__note {
  font-size: 0.8rem;
  color: rgba(246,240,228,0.5);
  text-align: center;
}
.form__note a {
  color: var(--gold);
  border-bottom: 1px solid rgba(212,182,129,0.35);
}

/* === FOOTER === */
.footer {
  background: var(--ink);
  color: rgba(246,240,228,0.7);
  position: relative;
  padding-top: clamp(4rem, 7vw, 6rem);
  overflow: hidden;
}
.footer__pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(212,182,129,0.08), transparent 50%),
    radial-gradient(circle at 80% 100%, rgba(200,112,126,0.05), transparent 55%);
  pointer-events: none;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
}
.footer__brand p {
  margin-top: 1.5rem;
  font-size: 0.92rem;
  color: rgba(246,240,228,0.65);
  max-width: 38ch;
}
.footer__col h4 {
  font-family: var(--f-display);
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}
.footer__col a,
.footer__col span {
  display: block;
  padding: 0.35rem 0;
  color: rgba(246,240,228,0.68);
  font-size: 0.92rem;
  transition: color 0.3s;
}
.footer__col a:hover { color: var(--gold); }
.footer__base {
  border-top: 1px solid rgba(212,182,129,0.15);
  padding: 1.5rem 0;
}
.footer__base-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: rgba(246,240,228,0.4);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* === REVEAL animations === */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  .hero__scroll-line { animation: none; }
}

/* =====================================================
   PAGE TEMPLATES — About / Services / Contact / Blog
   ===================================================== */

.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  padding: clamp(6rem, 12vw, 10rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  color: var(--ivory);
  isolation: isolate;
  background: var(--navy);
}
.page-hero--short { min-height: 45vh; }
.page-hero__media {
  position: absolute; inset: 0; z-index: -1;
}
.page-hero__media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.page-hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,26,48,0.55) 0%, rgba(14,26,48,0.35) 40%, rgba(6,16,31,0.85) 100%);
}
.page-hero__content {
  max-width: 860px;
  width: 100%;
}
.page-hero__content .h-display {
  font-size: clamp(2.4rem, 5.5vw, 4.75rem);
  margin: 0.8rem 0 1.25rem;
  color: var(--ivory);
}
.page-hero__content .h-display em { color: var(--gold); }
.page-hero__lede {
  font-family: var(--f-display);
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  font-style: italic;
  max-width: 640px;
  line-height: 1.45;
  color: rgba(246,240,228,0.88);
}

/* Values (About page) */
.values__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.value-card {
  position: relative;
  padding: clamp(2rem, 3vw, 2.75rem);
  background: var(--ivory-soft);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(14,26,48,0.25);
}
.value-card__num {
  display: inline-block;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--gold-deep);
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--rule);
}
.value-card h3 {
  font-family: var(--f-display);
  font-size: 1.7rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.value-card p { color: var(--muted); font-size: 0.97rem; }

/* Services detail — horizontal rows */
.services-detail {
  padding-top: clamp(3rem, 6vw, 5rem);
}
.service-row {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  margin-bottom: clamp(4rem, 8vw, 7rem);
}
.service-row--flip { direction: rtl; }
.service-row--flip > * { direction: ltr; }
.service-row__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--navy);
}
.service-row__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.service-row:hover .service-row__media img { transform: scale(1.04); }
.service-row__num {
  position: absolute;
  top: 1.2rem; left: 1.4rem;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--gold);
  background: rgba(14,26,48,0.75);
  backdrop-filter: blur(6px);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  line-height: 1;
  border: 1px solid rgba(212,182,129,0.3);
}
.service-row__body .h-display {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin: 0.6rem 0 0.5rem;
}
.service-row__list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.5rem 1.25rem;
}
.service-row__list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.95rem;
  color: var(--navy);
}
.service-row__list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.75rem;
  top: 0.3rem;
}

/* Contact page cards */
.contact-cards {
  padding-top: clamp(3rem, 5vw, 4rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.contact-cards__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 2rem 1.75rem;
  background: var(--ivory-soft);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
  text-decoration: none;
  color: inherit;
}
.contact-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  background: var(--ivory);
}
.contact-card__icon {
  font-size: 1.8rem;
  color: var(--gold-deep);
  margin-bottom: 0.5rem;
  font-family: var(--f-display);
  font-style: italic;
}
.contact-card__label {
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.contact-card__value {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--navy);
  line-height: 1.35;
}
.contact__map { margin-top: 2rem; }
.contact__map iframe { background: var(--navy); }
.contact__map-link {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 3px;
}
.contact__map-link:hover { color: var(--gold); border-color: var(--gold); }

/* Blog */
.blog-archive { padding-top: clamp(3rem, 6vw, 5rem); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(1.75rem, 3vw, 2.5rem);
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--ivory-soft);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px -35px rgba(14,26,48,0.3);
}
.blog-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy);
}
.blog-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.blog-card:hover .blog-card__media img { transform: scale(1.05); }
.blog-card__body {
  padding: clamp(1.5rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  flex: 1;
}
.blog-card__title {
  font-family: var(--f-display);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.2;
  color: var(--navy);
}
.blog-card__title a:hover { color: var(--gold-deep); }
.blog-card__excerpt {
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}
.blog-pagination {
  margin-top: clamp(3rem, 5vw, 4rem);
  display: flex;
  justify-content: center;
}
.blog-pagination .page-numbers {
  display: inline-block;
  min-width: 2.5rem;
  padding: 0.5rem 0.9rem;
  text-align: center;
  border: 1px solid var(--rule);
  border-radius: 999px;
  margin: 0 0.25rem;
  font-family: var(--f-body);
  font-size: 0.9rem;
  color: var(--navy);
  transition: all 0.3s var(--ease);
}
.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

/* Single article */
.single-article {
  max-width: 760px;
  padding-top: clamp(2.5rem, 5vw, 4rem);
}
.single-article .entry-content p,
.single-article .entry-content li {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--navy);
  margin-bottom: 1.15rem;
}
.single-article .entry-content p.lede {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.5;
  color: var(--gold-deep);
  margin-bottom: 2rem;
}
.single-article .entry-content h2 {
  font-family: var(--f-display);
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  margin: 2.5rem 0 1rem;
  color: var(--navy);
}
.single-article .entry-content h3 {
  font-family: var(--f-display);
  font-size: 1.4rem;
  margin: 1.75rem 0 0.75rem;
  color: var(--navy);
}
.single-article .entry-content ul,
.single-article .entry-content ol {
  padding-left: 1.3rem;
  margin-bottom: 1.5rem;
}
.single-article .entry-content li { margin-bottom: 0.5rem; }
.single-article .entry-content strong { color: var(--gold-deep); font-weight: 600; }
.single-article .entry-content em { color: var(--gold-deep); font-style: italic; }
.single-article .entry-content a {
  color: var(--gold-deep);
  border-bottom: 1px solid var(--rule);
  transition: color 0.3s;
}
.single-article .entry-content a:hover { color: var(--gold); }
.single-article__back {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}

/* === Responsive === */
@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }

  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about__media { min-height: 500px; }

  .services__grid { gap: 1rem; }
  .card, .card--wide, .card--featured {
    grid-column: span 12;
    aspect-ratio: 4 / 5;
  }
  .card__body p { max-height: 120px; opacity: 1; margin-bottom: 1rem; }

  .gallery__grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 140px;
  }
  .gallery__item--1 { grid-column: span 4; grid-row: span 2; }
  .gallery__item--2 { grid-column: span 4; }
  .gallery__item--3, .gallery__item--4, .gallery__item--5 { grid-column: span 2; }
  .gallery__item--6 { grid-column: span 4; }

  .contact__blocks {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .form__row { grid-template-columns: 1fr; }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand { grid-column: span 2; }

  .service-row,
  .service-row--flip {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 2rem;
  }
  .service-row__media { aspect-ratio: 4 / 3; }
}

@media (max-width: 560px) {
  .hero__scroll { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand { grid-column: span 1; }
  .about__img--short { width: 60%; }
  .about__badge { width: 90px; height: 90px; font-size: 0.7rem; top: -1rem; left: -1rem; }
}

/* ---------------------------------------------------------------
 * Reveal on scroll
 * --------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------------------------------------------------------------
 * Form grid (contact form)
 * --------------------------------------------------------------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.form-row--full { grid-column: 1 / -1; }

.form-feedback {
  margin-top: 1rem;
  font-family: var(--f-body);
  font-size: 0.9rem;
  min-height: 1.2em;
  padding: 0;
  border-radius: var(--radius-sm, 6px);
  transition: all 0.3s;
}
.form-feedback.is-success {
  color: var(--gold-bright);
  padding: 0.75rem 1rem;
  background: rgba(212,182,129,0.1);
  border-left: 2px solid var(--gold);
}
.form-feedback.is-error {
  color: #F6B1B8;
  padding: 0.75rem 1rem;
  background: rgba(200,112,126,0.12);
  border-left: 2px solid var(--rose);
}

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------
 * Hero marquee animation (non-critical, CSS-only)
 * --------------------------------------------------------------- */
@keyframes glam-marquee-fade {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1; }
}
.hero__marquee span { animation: glam-marquee-fade 4s ease-in-out infinite; }

/* ---------------------------------------------------------------
 * Skip link (a11y)
 * --------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1.25rem;
  background: var(--navy);
  color: var(--gold);
  z-index: 10000;
  border-radius: 6px;
}
