/* ══════════════════════════════════════════════════
   JMD Events — Design System
   Golden Ratio: φ = 1.618
   ══════════════════════════════════════════════════ */

:root {
  --white:      #FFFFFF;
  --turquoise:  #D4C4A8;   /* warm champagne */
  --coral:      #8B6B30;   /* burnished gold */
  --teal:       #2C1A0E;   /* deep espresso brown */
  --spring:     #EDE0CC;   /* warm cream/linen */
  --ink:        #1A1007;   /* near-black warm brown */
  --muted:      #8A7260;   /* warm taupe */
  --bg:         #FAF6EF;   /* warm off-white */

  --serif: 'Instrument Serif', serif;
  --sans:  'Jost', sans-serif;

  /* φ-based spacing: 0.618 · 1 · 1.618 · 2.618 · 4.236 · 6.854 · 11.09 */
  --s1: 0.618rem;
  --s2: 1rem;
  --s3: 1.618rem;
  --s4: 2.618rem;
  --s5: 4.236rem;
  --s6: 6.854rem;
  --s7: 11.09rem;

  --r:  12px;
  --rl: 20px;
}

/* ── Reset ────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.025em;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ── Shared atoms ─────────────────────────────────── */
.label {
  display: block;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  /* Changed from var(--coral): coral on white=2.7:1, on spring=2.1:1, on turquoise=1.4:1 — all fail */
  color: var(--teal);
  opacity: 0.65;
  margin-bottom: var(--s3);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  transition: gap 0.3s ease;
}
.text-link:hover { gap: 0.8rem; }

.slide-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.slide-up.visible { opacity: 1; transform: none; }

/* ══════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
}
.btn--primary {
  background: var(--coral);
  color: var(--white);
  border: 1px solid var(--coral);
  box-shadow: 0 4px 15px rgba(139, 107, 48, 0.3);
}
.btn--primary:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 107, 48, 0.45);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.btn--outline:hover {
  background: var(--white);
  color: var(--teal);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 4rem);
  max-width: 1360px;
  z-index: 200;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 100px;
  transition: background 0.45s ease, top 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  padding: 0.85rem 1.75rem;
}
.nav.scrolled {
  background: rgba(250,246,239,0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-color: rgba(44,26,14,0.15);
  box-shadow: 0 8px 32px rgba(44,26,14,0.1);
  top: 1rem;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--white);
  transition: color 0.45s;
  white-space: nowrap;
}
.nav.scrolled .nav__logo { color: var(--teal); }

.nav__links {
  list-style: none;
  display: flex;
  gap: var(--s4);
}
.nav__links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  position: relative;
  transition: color 0.3s;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 0.35s ease;
}
.nav__links a:hover::after { width: 100%; }
.nav.scrolled .nav__links a { color: var(--teal); opacity: 0.65; }
.nav.scrolled .nav__links a:hover { opacity: 1; }

.nav.scrolled .btn--primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
  box-shadow: none;
}
.nav.scrolled .btn--primary:hover {
  background: var(--coral);
  border-color: var(--coral);
}

/* ══════════════════════════════════════════════════
   HERO — Immersive Full-Screen, left-aligned
   ══════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* ── Carousel ──────────────────────────────────── */
.hero__carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero__slide--active { opacity: 1; }

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(28,16,7,0.82) 0%,
    rgba(28,16,7,0.6) 38%,
    rgba(28,16,7,0.18) 70%,
    rgba(28,16,7,0.04) 100%
  );
  z-index: 1;
}

/* ── Arrows ────────────────────────────────────── */
.hero__arrow {
  position: absolute;
  bottom: 4.6rem;
  z-index: 20;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.3s, transform 0.3s;
}
.hero__arrow:hover {
  background: rgba(255,255,255,0.25);
  transform: scale(1.08);
}
.hero__arrow--prev { right: 6rem; }
.hero__arrow--next { right: 2rem; }

/* ── Dots ──────────────────────────────────────── */
.hero__dots {
  position: absolute;
  bottom: 5rem;
  left: 3rem;
  z-index: 20;
  display: flex;
  gap: 0.55rem;
  align-items: center;
}
.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.38);
  cursor: pointer;
  padding: 0;
  transition: background 0.35s, transform 0.35s, width 0.35s;
}
.hero__dot--active {
  background: var(--white);
  width: 28px;
  border-radius: 4px;
  transform: none;
}

/* ── Content ───────────────────────────────────── */
.hero__content {
  position: relative;
  z-index: 10;
  max-width: 660px;
  padding: 0 3rem;
  padding-top: 5rem; /* offset fixed nav height */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--turquoise);
  margin-bottom: var(--s3);
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(3rem, 5.5vw, 6rem);
  color: var(--white);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: var(--s3);
}

.hero__sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.72;
  font-weight: 300;
  max-width: 480px;
  margin-bottom: var(--s4);
}

.hero__cta-group {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.hero__taglines {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  padding: 1.25rem 3rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero__taglines span {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* ══════════════════════════════════════════════════
   MOBILE MENU
   ══════════════════════════════════════════════════ */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 210;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.35s ease;
}
.nav.scrolled .nav__burger span { background: var(--teal); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--teal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s4);
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu__close {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s;
}
.mobile-menu__close:hover { color: var(--white); }

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s4);
}
.mobile-menu__link {
  font-family: var(--serif);
  font-size: clamp(2rem, 7vw, 3.5rem);
  color: rgba(255,255,255,0.88);
  font-weight: 300;
  letter-spacing: -0.02em;
  transition: color 0.3s;
}
.mobile-menu__link:hover { color: var(--white); }
.mobile-menu__link--cta {
  margin-top: var(--s3);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--coral);
  padding: 0.9rem 2.5rem;
  border-radius: 100px;
}
.mobile-menu__link--cta:hover { background: #a07c3a; color: var(--white); }


.ticker {
  background: var(--coral);
  overflow: hidden;
  padding: 0.9rem 0;
  user-select: none;
}
.ticker__track {
  display: flex;
  animation: ticker 28s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.ticker__item {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  padding: 0 2.5rem;
}
.ticker__sep {
  color: rgba(255,255,255,0.45);
  font-size: 0.7rem;
  align-self: center;
}
@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════════════
   STATEMENT — Full-viewport centered quote
   ══════════════════════════════════════════════════ */
.statement {
  background: var(--turquoise);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--s6) var(--s5);
}
/* Statement label: override global — teal at full opacity on turquoise = 4.1:1 ✓ */
.statement .label { color: var(--teal); opacity: 1; margin-bottom: var(--s4); }

.statement__quote {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.5vw, 6.5rem);
  color: var(--teal);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 960px;
  margin-bottom: var(--s4);
  font-weight: 300;
}
.statement__quote em { font-style: italic; }

.statement__attr {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(44,26,14,0.68); /* was 0.42 → ~1.8:1 fail */
}

/* ══════════════════════════════════════════════════
   ABOUT — Sticky scroll
   ══════════════════════════════════════════════════ */
.about {
  background: var(--white);
}
.about__grid {
  display: grid;
  grid-template-columns: 50% 50%;
}
.about__sticky-col {
  align-self: start;
}
.about__sticky-img {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.about__sticky-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.about__content {
  padding: var(--s6) var(--s6) var(--s6) var(--s5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--s4);
}
.about__title {
  font-size: clamp(2.8rem, 4.5vw, 5.5rem);
  color: var(--teal);
}
.about__body {
  font-size: 1.0625rem;
  color: #5A4030;
  line-height: 1.8;
  max-width: 440px;
}
.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3);
  padding-top: var(--s4);
  border-top: 1px solid rgba(44,26,14,0.1);
}
.stat__num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  color: var(--teal);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(44,26,14,0.58); /* was var(--muted)=#747474 at 0.7rem — teal-based for better contrast */
}

/* ══════════════════════════════════════════════════
   SERVICES — Bordered grid with oversized numbers
   ══════════════════════════════════════════════════ */
.services {
  background: var(--spring);
}
.services__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: var(--s5) 3rem;
}
.services__head {
  margin-bottom: var(--s4);
}
/* Labels on spring background inherit teal from global — fine (teal on spring ≈ 6:1 ✓) */
.services__title {
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  color: var(--teal);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(44,26,14,0.12);
  border-left: 1px solid rgba(44,26,14,0.12);
}
.service {
  padding: var(--s4) var(--s4) var(--s5);
  border-right: 1px solid rgba(44,26,14,0.12);
  border-bottom: 1px solid rgba(44,26,14,0.12);
  display: flex;
  flex-direction: column;
  transition: background 0.35s ease;
}
.service:hover { background: rgba(44,26,14,0.04); }

.service__num {
  display: block;
  font-family: var(--serif);
  /* Reduced — was 8.5rem max which overwhelmed the service names */
  font-size: clamp(3rem, 5vw, 5.5rem);
  line-height: 0.9;
  color: rgba(44,26,14,0.1);
  letter-spacing: -0.05em;
  margin-bottom: var(--s3);
}
.service__name {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  color: var(--teal);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: var(--s2);
}
.service__desc {
  font-size: 0.975rem;
  /* var(--muted)=#747474 on spring = 3.5:1 — borderline. Use teal-tinted darker text */
  color: rgba(44,26,14,0.68);
  line-height: 1.78;
  margin-top: auto;
}

/* ══════════════════════════════════════════════════
   PROCESS
   ══════════════════════════════════════════════════ */
.process {
  background: var(--teal);
}
/* On teal bg: global label (teal, 0.65 opacity) would be invisible — override to light */
.process .label { color: var(--turquoise); opacity: 1; }
.testimonial .label { color: rgba(255,255,255,0.75); opacity: 1; }

.process__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: var(--s5) 3rem;
}
.process__head {
  margin-bottom: var(--s4);
}
.process__title {
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  color: var(--white);
}
.process__layout {
  display: grid;
  grid-template-columns: 61.8fr 38.2fr;
  gap: var(--s6);
  align-items: start;
}
.process__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.process__step {
  display: grid;
  grid-template-columns: var(--s6) 1fr;
  gap: var(--s3);
  padding: var(--s4) 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.process__step:first-child { border-top: 1px solid rgba(255,255,255,0.08); }

.process__n {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  /* Changed from var(--coral): coral on teal = 2.9:1 — fail for small text */
  color: rgba(255,255,255,0.75);
  padding-top: 0.35rem;
}
.process__name {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  color: var(--white);
  margin-bottom: 0.65rem;
  font-weight: 300;
  letter-spacing: -0.02em;
}
.process__desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.78); /* was 0.6 → ~3.9:1 borderline */
  line-height: 1.75;
}
.process__media {
  overflow: hidden;
  position: sticky;
  top: var(--s5);
}
.process__media img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

/* ══════════════════════════════════════════════════
   PORTFOLIO / WORK
   ══════════════════════════════════════════════════ */
.work {
  background: var(--white);
}
.work__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: var(--s5) 3rem;
}
.work__head {
  margin-bottom: var(--s5);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.work__title {
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  color: var(--teal);
}

/* Grid: 38.2fr / 61.8fr, 3 named areas */
.work__grid {
  display: grid;
  grid-template-columns: 38.2fr 61.8fr;
  grid-template-areas:
    "a b"
    "c b"
    "d d";
  grid-template-rows: 340px 340px 300px;
  gap: var(--s2);
}
.work__item:nth-child(1) { grid-area: a; }
.work__item:nth-child(2) { grid-area: b; }
.work__item:nth-child(3) { grid-area: c; }
.work__item:nth-child(4) { grid-area: d; }

.work__item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.work__item:nth-child(1),
.work__item:nth-child(3),
.work__item:nth-child(2),
.work__item:nth-child(4) { height: 100%; }

.work__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.85s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.work__item:hover .work__img { transform: scale(1.05); }

.work__cap {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 45%);
  display: flex;
  align-items: flex-end;
  padding: var(--s3);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.work__item:hover .work__cap { opacity: 1; }
.work__cap span {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: 0.02em;
}

/* ══════════════════════════════════════════════════
   CASE STUDY
   ══════════════════════════════════════════════════ */
.case {
  background: var(--spring);
}
.case__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: var(--s5) 3rem;
}
.case__layout {
  display: grid;
  grid-template-columns: 38.2fr 61.8fr;
  gap: var(--s5);
  align-items: center;
  margin-bottom: var(--s4);
}
.case__title {
  font-size: clamp(2.8rem, 4.5vw, 5rem);
  color: var(--teal);
  margin-bottom: var(--s3);
}
.case__desc {
  font-size: 1.0625rem;
  /* Same spring background fix as services — muted #747474 on spring = 3.5:1 */
  color: rgba(44,26,14,0.68);
  line-height: 1.78;
  max-width: 400px;
}
.case__hero-wrap {
  overflow: hidden;
}
.case__hero-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.case__gallery {
  display: grid;
  grid-template-columns: 61.8fr 38.2fr 38.2fr;
  gap: var(--s2);
  height: 360px;
}
.case__gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.case__gallery img:hover { transform: scale(1.02); }

/* ══════════════════════════════════════════════════
   TESTIMONIAL — Full-screen dark
   ══════════════════════════════════════════════════ */
.testimonial {
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--s6) 3rem;
}
.testimonial__inner {
  max-width: 1100px;
}
.testimonial__mark {
  display: block;
  font-family: var(--serif);
  font-size: clamp(4rem, 8vw, 9rem);
  line-height: 0.55;
  color: rgba(255,255,255,0.1);
  margin-bottom: var(--s2);
}
.testimonial__quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.8rem, 4vw, 4.5rem);
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 300;
  margin-bottom: var(--s4);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.testimonial__cite {
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65); /* was 0.38 → ~2.3:1 fail */
}

/* ══════════════════════════════════════════════════
   TEAM
   ══════════════════════════════════════════════════ */
.team {
  background: var(--white);
}
.team__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: var(--s5) 3rem;
}
.team__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s5);
  align-items: center;
}
.team__img-col {
  overflow: hidden;
}
.team__founders-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.team__text-col {
  padding: var(--s3) 0 var(--s3) var(--s4);
}
.team__title {
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  color: var(--teal);
  margin-bottom: var(--s4);
}
.team__bio {
  font-size: 1.0625rem;
  color: rgba(44,26,14,0.68);
  line-height: 1.82;
  margin-bottom: var(--s3);
  max-width: 520px;
}
.team__bio--em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--teal);
  font-size: 1.15rem;
  opacity: 0.85;
}
.team__names {
  display: flex;
  gap: var(--s5);
  padding-top: var(--s4);
  border-top: 1px solid rgba(44,26,14,0.1);
  margin-top: var(--s4);
}
.team__person {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.team__name {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--teal);
}
.team__role {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ══════════════════════════════════════════════════
   PRESS
   ══════════════════════════════════════════════════ */
.press {
  background: var(--spring);
}
.press__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: var(--s5) 3rem;
}
.press__top {
  display: flex;
  align-items: center;
  gap: var(--s6);
  padding-bottom: var(--s5);
  border-bottom: 1px solid rgba(44,26,14,0.12);
  margin-bottom: var(--s5);
}
.press__logos {
  display: flex;
  gap: var(--s5);
  align-items: center;
}
.press__logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--teal);
  opacity: 0.55; /* was 0.28 → effective contrast ~1.6:1 fail */
  letter-spacing: 0.08em;
  transition: opacity 0.3s ease;
  cursor: default;
  line-height: 1.2;
  text-align: center;
}
.press__logo:hover { opacity: 0.9; }

.press__bottom {
  display: grid;
  grid-template-columns: 38.2fr 61.8fr;
  gap: var(--s5);
  align-items: center;
}
.press__photo-wrap {
  overflow: hidden;
}
.press__photo-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.press__quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.4vw, 2.5rem);
  color: var(--teal);
  line-height: 1.35;
  letter-spacing: -0.02em;
  font-weight: 400;
  opacity: 0.85;
}

/* ══════════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════════ */
.contact {
  background: var(--coral);
}
.contact__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: var(--s5) 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s6);
  align-items: start;
}
.contact__title {
  font-size: clamp(2.4rem, 4.5vw, 5rem);
  color: var(--white);
  margin-bottom: var(--s3);
  line-height: 1.02;
}
.contact__sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.9); /* was 0.68 → ~2.1:1 fail. White on coral best possible = 2.7:1 */
  line-height: 1.72;
  margin-bottom: var(--s4);
  max-width: 360px;
}
.contact__photo-wrap {
  overflow: hidden;
}
.contact__photo-wrap img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* Form */
.contact__right {
  padding-top: var(--s4);
}
.contact__form {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}
.form-row { display: flex; flex-direction: column; gap: 0.45rem; }
.form-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88); /* was 0.6 → ~2.0:1 fail */
}
.form-input {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 1.5px solid rgba(255,255,255,0.4); /* was 0.2 — too subtle to see */
  border-radius: var(--r);
  background: rgba(255,255,255,0.12);
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--white);
  transition: border-color 0.3s, background 0.3s;
}
.form-input::placeholder { color: rgba(255,255,255,0.55); } /* was 0.35 → ~1.4:1 fail */
.form-input:focus { outline: none; border-color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.13); }
.form-input option { color: var(--ink); background: var(--white); }
.form-textarea { min-height: 130px; resize: vertical; }

.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--white);
  color: var(--coral);
  border: none;
  border-radius: var(--r);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  margin-top: var(--s1);
}
.form-submit:hover { background: var(--spring); transform: translateY(-2px); }

/* ══════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════ */
.footer {
  background: var(--teal);
  padding: var(--s4) 3rem;
}
.footer__inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--s5);
}
.footer__logo {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--white);
  letter-spacing: 0.06em;
  opacity: 0.85;
  margin-right: auto;
}
.footer__links {
  display: flex;
  gap: var(--s4);
}
.footer__links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7); /* was 0.45 → ~2.9:1 fail */
  transition: color 0.3s;
}
.footer__links a:hover { color: var(--white); }
.footer__copy {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5); /* was 0.3 → ~2.0:1 fail */
  letter-spacing: 0.04em;
}

/* ══════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════ */

/* ── Tablet ≤ 1100px ──────────────────────────── */
@media (max-width: 1100px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .team__layout { gap: var(--s4); }
  .process__layout { grid-template-columns: 1fr; }
  .process__media { position: static; }
  .hero__arrow { width: 40px; height: 40px; font-size: 0.95rem; }
}

/* ── Small Tablet ≤ 860px ─────────────────────── */
@media (max-width: 860px) {
  /* Hero */
  .hero__content { padding: 0 1.5rem; max-width: 100%; }
  .hero__taglines { padding: 1rem 1.5rem; }
  .hero__taglines span:not(:first-child) { display: none; }
  .hero__dots { left: 1.5rem; }

  /* About: unstick */
  .about__grid { grid-template-columns: 1fr; }
  .about__sticky-col { display: none; }
  .about__content { min-height: auto; padding: var(--s6) var(--s4); }
  .about__stats { grid-template-columns: repeat(3, 1fr); }

  /* Work grid */
  .work__grid {
    grid-template-columns: 1fr;
    grid-template-areas: "a" "b" "c" "d";
  }
  .work__item:nth-child(1),
  .work__item:nth-child(2),
  .work__item:nth-child(3),
  .work__item:nth-child(4) { aspect-ratio: 4/3; height: auto; min-height: auto; }

  /* Case study */
  .case__layout { grid-template-columns: 1fr; }
  .case__gallery { grid-template-columns: 1fr 1fr; }
  .case__gallery img { aspect-ratio: 16/9; }

  /* Press */
  .press__top { flex-direction: column; align-items: flex-start; gap: var(--s4); }
  .press__logos { flex-wrap: wrap; gap: var(--s3); }
  .press__bottom { grid-template-columns: 1fr; }

  /* Contact */
  .contact__inner { grid-template-columns: 1fr; }
  .contact__right { padding-top: 0; }

  /* Team */
  .team__layout { grid-template-columns: 1fr; }
  .team__text-col { padding: var(--s3) 0 0 0; }

  /* Nav — show burger, hide links & CTA */
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }

  /* Footer */
  .footer__inner { flex-wrap: wrap; gap: var(--s3); }
  .footer__links { flex-wrap: wrap; gap: var(--s3); }
  .footer__copy { width: 100%; }

  /* Statement */
  .statement { padding: var(--s5) var(--s4); }

  /* Testimonial */
  .testimonial { padding: var(--s6) var(--s4); min-height: auto; }

  /* Process */
  .process__step { grid-template-columns: 3rem 1fr; }
}

/* ── Mobile ≤ 600px ───────────────────────────── */
@media (max-width: 600px) {
  .nav { width: calc(100% - 2rem); top: 1rem; padding: 0.7rem 1.25rem; }
  .nav.scrolled { top: 0.75rem; }

  /* Services */
  .services__grid { grid-template-columns: 1fr; border-left: none; }
  .service { border-left: 1px solid rgba(44,26,14,0.12); }

  /* Stats */
  .about__stats { grid-template-columns: repeat(3, 1fr); gap: var(--s2); }
  .stat__num { font-size: clamp(1.6rem, 6vw, 2.5rem); }

  /* Hero */
  .hero__title { font-size: clamp(2.4rem, 9vw, 3.5rem); }
  .hero__sub { font-size: 0.95rem; }
  .hero__cta-group { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .hero__arrow { display: none; } /* arrows too cramped on small screens */

  /* Case gallery */
  .case__gallery { grid-template-columns: 1fr; }

  /* Team */
  .team__names { flex-direction: column; gap: var(--s3); }

  /* Sections padding */
  .services__inner,
  .process__inner,
  .work__inner,
  .case__inner,
  .team__inner,
  .press__inner { padding: var(--s6) var(--s3); }
  .contact__inner { padding: var(--s6) var(--s3); }
  .footer { padding: var(--s4) var(--s3); }

  /* Press logos stack */
  .press__logos { gap: var(--s3); }
  .press__logo { font-size: 1.1rem; }

  /* Testimonial */
  .testimonial { padding: var(--s5) var(--s3); }
  .testimonial__quote { font-size: clamp(1.4rem, 6vw, 2.5rem); }

  /* Statement */
  .statement { padding: var(--s6) var(--s3); }
  .statement__quote { font-size: clamp(2.2rem, 9vw, 3.5rem); }

  /* Headings */
  .about__title,
  .services__title,
  .process__title,
  .work__title,
  .case__title,
  .team__title { font-size: clamp(2rem, 9vw, 3rem); }
}

/* ── Small phones ≤ 420px ─────────────────────── */
@media (max-width: 420px) {
  .hero__dots { bottom: 4rem; }
  .about__stats { grid-template-columns: 1fr 1fr; }
  .footer__links { display: none; }
  .press__top { gap: var(--s3); }
}
