/* ============================================================
   VERO DESIGN STUDIO — styles
   ============================================================ */

@font-face {
  font-family: 'Serenity Serif';
  src: url('fonts/SimpleSerenitySerif.ttf') format('truetype');
  font-weight: 400;
  font-display: block;
}
@font-face {
  font-family: 'Serenity Script';
  src: url('fonts/SimpleSerenityScript.ttf') format('truetype');
  font-weight: 400;
  font-display: block;
}

:root {
  --canvas: #f2ede4;
  --canvas-2: #e8e1d4;
  --ink: #16140f;
  --ink-soft: #3a352c;
  --charcoal: #131311;
  --teal: #0c585f;
  --teal-deep: #0a464c;
  --teal-bright: #15808b;
  --cream: #efe9dc;
  --black: #0c0c0b;
  --black-2: #131311;
  --brass: #c2a468;
  --brass-soft: #d8bd86;
  --line: rgba(22, 20, 15, 0.16);
  --line-light: rgba(255, 255, 255, 0.18);

  --display: 'Serenity Serif', 'Times New Roman', serif;
  --script: 'Serenity Script', cursive;
  --sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --pad-x: clamp(1.5rem, 5vw, 6rem);
  --maxw: 1680px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--sans);
  background: var(--canvas);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

/* ---------- Shared type helpers ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
}
.script-accent {
  font-family: var(--script);
  text-transform: none;
  letter-spacing: 0;
}
.display {
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.01em;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1.1rem, 2vw, 1.8rem) var(--pad-x);
  color: #fff;
  transition: background 0.45s var(--ease), color 0.45s var(--ease), padding 0.45s var(--ease), backdrop-filter 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.nav.scrolled {
  background: rgba(242, 237, 228, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  backdrop-filter: blur(16px) saturate(120%);
  color: var(--ink);
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(12, 12, 11, 0.06);
}
.nav__brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
  color: inherit;
}
.nav__brand .mark {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  letter-spacing: 0.14em;
}
.nav__brand .sub {
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  margin-top: 0.42em;
  opacity: 0.85;
  padding-left: 0.2em;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 2.6vw, 2.8rem);
}
.nav__links a {
  color: inherit;
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  position: relative;
  padding: 0.3em 0;
}
.nav__links a:not(.nav__cta)::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav__links a:not(.nav__cta):hover::after { transform: scaleX(1); }
.nav__cta {
  border: 1px solid currentColor;
  padding: 0.7em 1.3em !important;
  border-radius: 999px;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.nav.scrolled .nav__cta:hover { background: var(--ink); color: var(--canvas); }
.nav:not(.scrolled) .nav__cta:hover { background: #fff; color: var(--ink); }
.nav__menu-btn {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  margin: -6px -8px -6px 0;
  background: none;
  border: 0;
  cursor: pointer;
  color: inherit;
  align-items: center;
  justify-content: center;
}
.nav__menu-bars {
  position: relative;
  display: block;
  width: 26px;
  height: 14px;
}
.nav__menu-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.nav__menu-bars span:nth-child(1) { top: 0; }
.nav__menu-bars span:nth-child(2) { bottom: 0; }
body.menu-open .nav__menu-bars span:nth-child(1) { transform: translateY(6.25px) rotate(45deg); }
body.menu-open .nav__menu-bars span:nth-child(2) { transform: translateY(-6.25px) rotate(-45deg); }

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: var(--black);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(5rem, 16vh, 8rem) var(--pad-x) clamp(2rem, 6vh, 4rem);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0s linear 0.5s;
}
body.menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.mobile-menu__links {
  display: flex;
  flex-direction: column;
}
.mobile-menu__links a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.55em 0;
  text-decoration: none;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(2.4rem, 12vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(239,233,220,0.12);
  opacity: 0;
  transform: translateY(18px);
}
body.menu-open .mobile-menu__links a {
  animation: mmIn 0.6s var(--ease) forwards;
}
body.menu-open .mobile-menu__links a:nth-child(1) { animation-delay: 0.10s; }
body.menu-open .mobile-menu__links a:nth-child(2) { animation-delay: 0.17s; }
body.menu-open .mobile-menu__links a:nth-child(3) { animation-delay: 0.24s; }
body.menu-open .mobile-menu__links a:nth-child(4) { animation-delay: 0.31s; }
@keyframes mmIn {
  to { opacity: 1; transform: none; }
}
.mobile-menu__links a .i {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--brass-soft);
  font-weight: 600;
}
.mobile-menu__foot {
  margin-top: clamp(2.4rem, 6vh, 4rem);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  opacity: 0;
  transform: translateY(18px);
}
body.menu-open .mobile-menu__foot {
  animation: mmIn 0.6s var(--ease) 0.38s forwards;
}
.mobile-menu__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--black);
  background: var(--brass-soft);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 1.15em 1.4em;
  border-radius: 999px;
  font-weight: 600;
}
.mobile-menu__inst {
  color: rgba(239,233,220,0.7);
  text-decoration: none;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--black);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero__media img {
  width: 100%;
  height: 116%;
  object-fit: cover;
  object-position: center 58%;
  will-change: transform;
  transform: scale(1.06);
  animation: heroZoom 16s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.16); }
  to { transform: scale(1.0); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8,8,7,0.62) 0%, rgba(8,8,7,0.30) 30%, rgba(8,8,7,0.40) 60%, rgba(6,6,5,0.92) 100%),
    linear-gradient(90deg, rgba(6,6,5,0.78) 0%, rgba(6,6,5,0.32) 46%, rgba(6,6,5,0) 78%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x) clamp(3rem, 7vh, 6rem);
  color: var(--cream);
  text-align: left;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  margin-bottom: clamp(1.4rem, 3vh, 2.2rem);
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--brass-soft);
}
.hero__eyebrow .line {
  width: clamp(36px, 5vw, 76px);
  height: 1px;
  background: var(--brass);
}
.hero__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.65rem, 4.2vw, 4.2rem);
  line-height: 1.06;
  letter-spacing: 0.005em;
  max-width: 16ch;
  margin-left: 0;
  text-wrap: balance;
  color: #fff;
  text-shadow: 0 2px 30px rgba(4,4,3,0.5), 0 1px 3px rgba(4,4,3,0.4);
}
.hero__title .accent { color: var(--brass-soft); }
.hero__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: clamp(2rem, 4vh, 3.4rem);
  border-top: 1px solid rgba(239,233,220,0.22);
  padding-top: 1.4rem;
}
.hero__foot p {
  max-width: 42ch;
  margin-left: 0;
  font-size: 0.98rem;
  color: rgba(239,233,220,0.82);
  line-height: 1.55;
}
.hero__cue {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.64rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(239,233,220,0.7);
  white-space: nowrap;
}
.hero__cue .chev {
  width: 13px; height: 13px;
  border-right: 1px solid var(--brass);
  border-bottom: 1px solid var(--brass);
  transform: rotate(45deg);
  animation: chevPulse 1.8s var(--ease) infinite;
}
@keyframes chevPulse {
  0%, 100% { opacity: 0.35; transform: translateY(0) rotate(45deg); }
  50% { opacity: 1; transform: translateY(5px) rotate(45deg); }
}

/* ============================================================
   SECTION SHELL
   ============================================================ */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(5rem, 13vh, 11rem) var(--pad-x);
}
.section-head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: clamp(2.5rem, 6vh, 4.5rem);
}
.section-head .num {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  opacity: 0.5;
}
.section-head .label {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

/* ---------- PHILOSOPHY ---------- */
.philosophy { position: relative; }
.philosophy__statement {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.2vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  max-width: 22ch;
  text-wrap: balance;
  margin-bottom: clamp(3rem, 7vh, 5.5rem);
}
.philosophy__statement .accent {
  color: var(--teal);
}
.philosophy__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: stretch;
}
.philosophy__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--canvas-2);
}
.philosophy__media img {
  position: absolute;
  top: -6%;
  left: 0;
  width: 100%;
  height: 112%;
  object-fit: cover;
  will-change: transform;
}
.philosophy__text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.philosophy__text .lead {
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink);
}
.philosophy__text p {
  color: var(--ink-soft);
  max-width: 46ch;
}
/* keep the tags pinned to the bottom so they meet the image bottom at any width */
.philosophy__text .tags { margin-top: auto; }
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.8rem;
}
.tags span {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  padding: 0.55em 1em;
  border-radius: 999px;
  color: var(--ink-soft);
}

/* ============================================================
   INTERSTITIAL PARALLAX
   ============================================================ */
.interstitial {
  position: relative;
  height: clamp(56vh, 70vh, 760px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
}
.interstitial__media {
  position: absolute;
  inset: -12% 0;
  z-index: 0;
}
.interstitial__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}
.interstitial::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8,8,7,0.55), rgba(8,8,7,0.62));
}
.interstitial__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 var(--pad-x);
  max-width: 1100px;
}
.interstitial__kicker {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin-bottom: 1.2rem;
}
.interstitial__inner .big {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.7rem, 4vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: 0.01em;
  text-wrap: balance;
  max-width: 20ch;
  margin: 0 auto;
}

/* ============================================================
   SERVICES (dark) — image grid
   ============================================================ */
.services {
  color: var(--cream);
  position: relative;
  background: linear-gradient(165deg, #1d1d1d 0%, #000 100%);
}
.services .section { padding-top: clamp(5rem, 12vh, 9rem); padding-bottom: clamp(5rem, 12vh, 9rem); }
.services .section-head .num,
.services .section-head .label { color: rgba(239,233,220,0.6); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 2.4vw, 2.4rem);
}
.svc {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line-light);
  background: var(--black-2);
  overflow: hidden;
}
.svc__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.svc__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.9s var(--ease);
}
.svc:hover .svc__media img { transform: scale(1.07); }
.svc__media .svc__num {
  position: absolute;
  top: 0.9rem;
  left: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: #fff;
  background: rgba(8,8,7,0.55);
  backdrop-filter: blur(2px);
  padding: 0.4em 0.7em;
  border: 1px solid rgba(255,255,255,0.2);
}
.svc__body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: clamp(1.2rem, 1.6vw, 1.7rem);
  flex: 1;
}
.svc__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(1.1rem, 1.5vw, 1.42rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: #fff;
}
.svc__desc {
  font-size: 0.88rem;
  color: rgba(239,233,220,0.62);
  line-height: 1.55;
}
.svc__more {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.85;
  transition: gap 0.4s var(--ease);
}
.svc:hover .svc__more { gap: 0.9rem; }

/* ============================================================
   PROCESS
   ============================================================ */
.process { background: var(--canvas); }
.process__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.process__intro { position: sticky; top: 18vh; }
.process__intro h2 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0.6rem 0 1.4rem;
}
.process__intro p { color: var(--ink-soft); max-width: 34ch; }
.process__steps { display: flex; flex-direction: column; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.2rem, 3vw, 2.6rem);
  padding: clamp(1.6rem, 4vh, 2.6rem) 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  color: var(--teal);
  line-height: 1.1;
  letter-spacing: 0.02em;
}
.step__body h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: 0.01em;
  margin-bottom: 0.5rem;
}
.step__body p { color: var(--ink-soft); max-width: 48ch; }

/* ============================================================
   CONTACT (teal)
   ============================================================ */
.contact {
  background: var(--teal);
  color: #f2ede4;
}
.contact .section { padding-top: clamp(5rem, 12vh, 9rem); padding-bottom: clamp(5rem, 12vh, 9rem); }
.contact__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
}
.contact__left .eyebrow { color: rgba(242,237,228,0.75); }
.contact__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(2rem, 4.2vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-wrap: balance;
  margin: 1rem 0 2.4rem;
  max-width: 16ch;
}
.contact__title .accent {
  color: #a9ecf2;
}
.contact__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1.8rem 2rem;
  border-top: 1px solid var(--line-light);
  padding-top: 2rem;
  max-width: 560px;
}
.detail .k {
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 0.5rem;
}
.detail .v { font-size: 1.02rem; line-height: 1.5; }
.detail a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(242,237,228,0.4); padding-bottom: 1px; }
.detail a:hover { border-color: #fff; }

/* form */
.form { display: flex; flex-direction: column; gap: 1.8rem; }
.field { position: relative; }
.field label {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.7;
  display: block;
  margin-bottom: 0.7rem;
}
.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(242,237,228,0.4);
  color: #fff;
  font-family: var(--sans);
  font-size: 1.05rem;
  padding: 0.6rem 0;
  transition: border-color 0.4s var(--ease);
}
.field input:focus,
.field textarea:focus { outline: none; border-color: #fff; }
.field textarea { resize: vertical; min-height: 70px; }
.form__submit {
  align-self: flex-start;
  margin-top: 0.5rem;
  background: var(--cream);
  color: var(--teal-deep);
  border: none;
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 1.1em 2.4em;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.form__submit:hover { transform: translateY(-2px); background: #fff; }
.form__note { font-size: 0.8rem; opacity: 0.7; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--charcoal);
  color: var(--cream);
  padding: clamp(3.5rem, 8vh, 6rem) var(--pad-x) 2.5rem;
}
.footer__inner { max-width: var(--maxw); margin: 0 auto; }
.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  padding-bottom: clamp(2.5rem, 6vh, 4rem);
  border-bottom: 1px solid var(--line-light);
}
.footer__brand .mark {
  font-family: var(--display);
  font-size: clamp(3.5rem, 12vw, 11rem);
  letter-spacing: 0.08em;
  line-height: 0.9;
  text-transform: uppercase;
}
.footer__brand .sub {
  font-size: 0.66rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 0.8rem;
  padding-left: 0.3em;
}
.footer__cta a {
  color: inherit;
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease);
}
.footer__cta a:hover { border-color: var(--cream); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(239,233,220,0.6);
}
.footer__links { display: flex; gap: 1.8rem; flex-wrap: wrap; }
.footer__links a { color: inherit; text-decoration: none; }
.footer__links a:hover { color: #fff; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}
[data-reveal].in { opacity: 1; transform: none; }

[data-reveal-line] { overflow: hidden; }
[data-reveal-line] > * {
  display: block;
  transform: translateY(105%);
  transition: transform 0.95s var(--ease);
  transition-delay: var(--d, 0s);
}
[data-reveal-line].in > * { transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  [data-reveal], [data-reveal-line] > * { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .philosophy__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .process__grid { grid-template-columns: 1fr; }
  .process__intro { position: static; }
  .contact__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Tablet / mobile nav: switch to hamburger ---- */
@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__menu-btn { display: inline-flex; }
  /* keep the bars readable before scroll over the dark hero */
  .nav:not(.scrolled) { color: #fff; }
}

@media (max-width: 720px) {
  :root { --pad-x: 22px; }
  body { font-size: 16px; }

  /* lock horizontal scroll from any wide direct-edits */
  html, body { overflow-x: hidden; }

  /* ---- Hero ---- */
  .hero { align-items: flex-end; }
  .hero__media img { object-position: center 50%; }
  .hero__inner { padding-bottom: clamp(2.4rem, 9vh, 4rem); }
  .hero__title {
    font-size: clamp(2rem, 9vw, 3rem) !important;
    line-height: 1.08 !important;
    max-width: 14ch;
  }
  .hero__foot { flex-direction: column; align-items: flex-end; gap: 1.5rem; }
  .hero__foot p { font-size: 0.92rem; max-width: 100%; }
  .hero__cue { display: none; }

  /* ---- Section rhythm ---- */
  .section { padding-left: var(--pad-x) !important; padding-right: var(--pad-x) !important; }
  .philosophy.section { padding: clamp(3.2rem,11vw,4.5rem) var(--pad-x) clamp(3.6rem,13vw,5rem) !important; }

  /* neutralize the wide inline direct-edit on the statement */
  .philosophy__statement {
    width: auto !important;
    max-width: 100% !important;
    margin: 0 0 2rem 0 !important;
    font-size: clamp(1.7rem, 7.4vw, 2.4rem) !important;
    letter-spacing: -0.01em !important;
    line-height: 1.12 !important;
  }

  /* ---- Services single column ---- */
  .services__grid { grid-template-columns: 1fr; gap: 1.1rem; }
  .svc__media { aspect-ratio: 16 / 10; }

  /* ---- Process ---- */
  .process__steps { gap: 1.6rem; }
  .step { gap: 1rem; }

  /* ---- Contact ---- */
  .contact__details { grid-template-columns: 1fr 1fr; }
  .form__submit { width: 100%; }

  /* ---- Footer ---- */
  .footer__top { flex-direction: column; align-items: flex-start; gap: 1.6rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  /* generous tap targets */
  .nav__cta, .form__submit, .mobile-menu__cta { min-height: 48px; }
  input, textarea { font-size: 16px; } /* prevents iOS zoom-on-focus */
}

@media (max-width: 420px) {
  .contact__details { grid-template-columns: 1fr; }
  .hero__eyebrow span:last-child { font-size: 0.62rem; }
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  position: relative;
  min-height: 78svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--black);
}
.about-hero__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.about-hero__media img {
  width: 100%; height: 112%;
  object-fit: cover;
  object-position: center 55%;
  transform: scale(1.05);
  animation: heroZoom 16s ease-out forwards;
}
.about-hero__overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8,8,7,0.55) 0%, rgba(8,8,7,0.30) 36%, rgba(6,6,5,0.92) 100%),
    linear-gradient(90deg, rgba(6,6,5,0.72) 0%, rgba(6,6,5,0.28) 52%, rgba(6,6,5,0) 82%);
}
.about-hero__inner {
  position: relative; z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x) clamp(3rem, 7vh, 5.5rem);
  color: var(--cream);
}
.about-hero__eyebrow {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: clamp(1.2rem, 2.6vh, 1.8rem);
  font-size: 0.72rem; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--brass-soft);
}
.about-hero__eyebrow .line { width: clamp(36px,5vw,76px); height: 1px; background: var(--brass); }
.about-hero__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 5.4vw, 5rem);
  line-height: 1.04;
  letter-spacing: 0.005em;
  max-width: 20ch;
  text-wrap: balance;
  color: #fff;
  text-shadow: 0 2px 30px rgba(4,4,3,0.5);
}
.about-hero__title .accent { color: var(--brass-soft); }

.about-intro { background: var(--canvas); }
.about-intro__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.about-intro__label {
  color: var(--ink-soft);
  justify-content: center;
  margin-bottom: clamp(1.5rem, 4vh, 2.5rem);
}
.about-intro__body p {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}
.about-intro__body p + p { margin-top: 1.3rem; }

.founders { background: var(--canvas); }
.founders .section { padding-top: clamp(2rem, 4vh, 3rem); }
.founders__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.6rem, 3vw, 2.6rem);
  margin-top: clamp(2.4rem, 5vh, 3.6rem);
}
.founder {
  background: var(--canvas-2);
  border: 1px solid var(--line);
  padding: clamp(1.4rem, 2.4vw, 2.4rem);
  display: flex;
  flex-direction: column;
}
.founder__photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--black);
}
.founder__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 1s var(--ease);
}
.founder:hover .founder__photo img { transform: scale(1.06); }
.founder__name {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
  margin-top: clamp(1.4rem, 2.4vw, 1.9rem);
}
.founder__role {
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin-top: 0.7rem;
}
.founder__rule { width: 38px; height: 2px; background: var(--brass); margin: 1.2rem 0; }
.founder__bio {
  font-size: 0.98rem;
  line-height: 1.62;
  color: var(--ink-soft);
}

.about-cta { background: var(--black); color: var(--cream); }
.about-cta .section {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 1.6rem;
}
.about-cta__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 3.6rem);
  line-height: 1.06;
  max-width: 18ch;
  color: #fff;
}
.about-cta__title .accent { color: var(--brass-soft); }
.about-cta__btn {
  display: inline-flex; align-items: center; gap: 0.7rem;
  text-decoration: none;
  color: var(--black);
  background: var(--brass-soft);
  font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
  padding: 1.1em 1.8em;
  border-radius: 999px;
  transition: transform 0.4s var(--ease);
}
.about-cta__btn:hover { transform: translateY(-2px); }

/* ---- About page: responsive ---- */
@media (max-width: 1000px) {
  .about-intro__grid { grid-template-columns: 1fr; gap: 1.4rem; }
}
@media (max-width: 720px) {
  .about-hero { min-height: 64svh; }
  .about-hero__title { font-size: clamp(2rem, 9vw, 3rem); max-width: 16ch; }
  .founders__grid { grid-template-columns: 1fr; gap: 1.3rem; }
  .about-cta__btn { min-height: 48px; }
}
