/* ============================================================
   Vision With JiJi — Timeless Elegance
   ============================================================ */

:root {
  --ink: #180A2F;          /* brand */
  --ink-2: #241338;
  --ink-soft: #4a3f5e;
  --cream: #F4F1EA;
  --bone: #FBFAF7;
  --paper: #EDE8DE;
  --brass: #B08D57;
  --brass-light: #C9A86A;
  --line: rgba(24,10,47,0.12);
  --shadow: 0 30px 80px -30px rgba(24,10,47,0.35);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(1.4rem, 5vw, 7rem);
}

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

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

body {
  font-family: var(--sans);
  background: var(--bone);
  color: var(--ink);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--ink); color: var(--cream); }

/* ---------- Typography helpers ---------- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5.2vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
}
.eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--brass);
  margin-bottom: 1.4rem;
}
.eyebrow.light { color: var(--brass-light); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--ink); }
.lede em { font-family: var(--serif); font-style: italic; font-size: 1.15em; }

.section { padding: clamp(4.5rem, 10vw, 9rem) var(--pad); }

/* ============================================================
   Preloader
   ============================================================ */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--ink);
  display: grid; place-items: center;
  transition: transform 0.9s var(--ease);
}
.preloader.done { transform: translateY(-100%); }
.preloader__inner { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; }
.preloader__mark {
  width: 90px; filter: brightness(0) invert(1);
  opacity: 0; transform: scale(0.8);
  animation: markIn 1s var(--ease) forwards;
}
@keyframes markIn { to { opacity: 1; transform: scale(1); } }
.preloader__bar {
  width: 180px; height: 1px; background: rgba(255,255,255,0.18); overflow: hidden;
}
.preloader__bar span { display: block; height: 100%; width: 0; background: var(--brass-light); }
.preloader__count {
  font-family: var(--serif); font-size: 0.9rem; letter-spacing: 0.2em;
  color: rgba(255,255,255,0.6);
}

/* ============================================================
   Custom cursor
   ============================================================ */
.cursor, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9998;
  pointer-events: none; border-radius: 50%;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor { width: 7px; height: 7px; background: #fff; transition: opacity .3s, width .25s var(--ease), height .25s var(--ease); }
.cursor-ring {
  width: 38px; height: 38px; border: 1px solid rgba(255,255,255,0.7);
  transition: transform .18s var(--ease), width .3s var(--ease), height .3s var(--ease), opacity .3s, background .3s;
}
.cursor-ring.hover { width: 64px; height: 64px; background: rgba(255,255,255,0.06); }
.cursor-ring.view {
  width: 92px; height: 92px; mix-blend-mode: normal;
  background: var(--brass); border-color: transparent;
}
.cursor-ring.view::after { content: "View"; font-family: var(--sans); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.cursor-ring.view ~ .cursor, .cursor.hide { opacity: 0; }
body.cursor-ready { cursor: none; }
body.cursor-ready a, body.cursor-ready button { cursor: none; }
@media (hover: none), (max-width: 820px) { .cursor, .cursor-ring { display: none; } body.cursor-ready { cursor: auto; } }

/* ============================================================
   Scroll progress
   ============================================================ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--brass), var(--brass-light));
  z-index: 9997;
}

/* ============================================================
   Header
   ============================================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem var(--pad);
  transition: background .5s var(--ease), padding .5s var(--ease), box-shadow .5s var(--ease);
}
.header.scrolled {
  background: rgba(251,250,247,0.86);
  backdrop-filter: blur(14px);
  padding: 0.7rem var(--pad);
  box-shadow: 0 1px 0 var(--line);
}
.header__logo {
  height: 56px; width: auto;
  filter: brightness(0) invert(1);
  transition: height .5s var(--ease), filter .5s var(--ease);
}
.header.scrolled .header__logo { height: 40px; filter: none; }

.nav { display: flex; align-items: center; gap: 1.85rem; }
.nav a {
  font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff; position: relative; padding: .3rem 0; transition: color .4s;
}
.header.scrolled .nav a { color: var(--ink); }
.nav a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: currentColor; transition: width .4s var(--ease);
}
.nav a:not(.nav__cta):hover::after { width: 100%; }
.nav__cta {
  border: 1px solid currentColor; padding: .6rem 1.3rem !important;
  border-radius: 100px; transition: background .4s, color .4s, border-color .4s;
}
.nav__cta:hover { background: var(--brass); border-color: var(--brass); color: var(--ink) !important; }

.burger { display: none; background: none; border: 0; flex-direction: column; gap: 6px; }
.burger span { width: 26px; height: 1.5px; background: #fff; transition: .4s var(--ease); }
.header.scrolled .burger span { background: var(--ink); }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; height: 100vh; min-height: 620px; display: flex; align-items: flex-end; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 110%; object-fit: cover;
  transform: scale(1.12); animation: kenburns 16s ease-out forwards;
  will-change: transform;
}
@keyframes kenburns { to { transform: scale(1); } }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(24,10,47,0.86) 0%, rgba(24,10,47,0.62) 34%, rgba(24,10,47,0.22) 62%, rgba(24,10,47,0.05) 100%),
    linear-gradient(to top, rgba(24,10,47,0.7) 0%, rgba(24,10,47,0) 55%);
}
.hero__content {
  position: relative;
  padding: clamp(7rem, 17vh, 10.5rem) var(--pad) clamp(3.5rem, 9vh, 6rem);
  max-width: 1100px; color: #fff;
}
.hero__eyebrow { color: var(--brass-light); letter-spacing: 0.34em; text-transform: uppercase; font-size: .8rem; margin-bottom: 1.5rem; }
.hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.6rem, 6.6vw, 6rem); line-height: 1.08; letter-spacing: -0.015em;
}
/* padding-bottom gives descenders (g, y) room inside the reveal mask;
   the matching negative margin keeps the visual line spacing unchanged. */
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.16em; margin-bottom: -0.12em; }
.hero__title .word { display: inline-block; transform: translateY(120%); }
.hero__title .word.i { font-style: italic; color: var(--brass-light); }
.hero__sub { max-width: 38ch; margin: 1.6rem 0 2.2rem; font-size: clamp(1rem, 1.5vw, 1.18rem); color: rgba(255,255,255,0.86); }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; right: var(--pad); bottom: 3rem; display: flex; flex-direction: column;
  align-items: center; gap: .8rem; color: rgba(255,255,255,0.7);
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; writing-mode: vertical-rl;
}
.hero__scroll-line { width: 1px; height: 60px; background: rgba(255,255,255,0.4); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 40%; background: var(--brass-light); animation: scrollLine 2.2s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 100% { transform: translateY(250%); } }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 1.05rem 2.1rem; border-radius: 100px; overflow: hidden; font-weight: 400;
  transition: color .4s var(--ease);
}
.btn span { position: relative; z-index: 2; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: 1; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.btn:hover::before { transform: scaleX(1); }
.btn--solid { background: var(--brass); color: var(--ink); }
.btn--solid::before { background: #fff; }
.btn--ghost { border: 1px solid rgba(255,255,255,0.55); color: #fff; }
.btn--ghost::before { background: #fff; }
.btn--ghost:hover { color: var(--ink); }
.btn--light { background: var(--brass-light); color: var(--ink); }
.btn--light::before { background: #fff; }

/* ---------- link arrow ---------- */
.link-arrow {
  display: inline-flex; align-items: center; gap: .6rem; margin-top: 2rem;
  font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
  border-bottom: 1px solid var(--line); padding-bottom: .4rem;
}
.link-arrow span { transition: transform .4s var(--ease); }
.link-arrow:hover span { transform: translateX(8px); }

/* ============================================================
   Studio
   ============================================================ */
.studio { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.studio__text { max-width: 540px; }
.studio__text .display { margin-bottom: 1.8rem; }
.studio__text p { margin-bottom: 1.2rem; color: var(--ink-soft); }
.studio__text .lede { color: var(--ink); }
.studio__media { overflow: hidden; border-radius: 4px; }
.studio__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transform: scale(1.05); }

/* ============================================================
   Stats
   ============================================================ */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat { padding: clamp(2.5rem, 5vw, 4rem) 1.5rem; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__num, .stat__suffix { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 500; line-height: 1; }
.stat__suffix { color: var(--brass); }
.stat p { margin-top: .8rem; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }

/* ============================================================
   Services
   ============================================================ */
.services__head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.services__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service { position: relative; background: var(--bone); padding: clamp(2rem, 4vw, 3.4rem); overflow: hidden; transition: background .5s var(--ease); }
.service__no { font-family: var(--serif); font-size: 1rem; color: var(--brass); letter-spacing: .1em; }
.service h3 { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 500; margin: 1rem 0 .8rem; transition: color .5s; }
.service p { color: var(--ink-soft); max-width: 42ch; transition: color .5s; }
.service__line { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--brass); transition: width .6s var(--ease); }
.service:hover { background: var(--ink); }
.service:hover h3, .service:hover p { color: var(--cream); }
.service:hover .service__no { color: var(--brass-light); }
.service:hover .service__line { width: 100%; }

/* ============================================================
   Work
   ============================================================ */
.work__head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.work__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.4rem, 3vw, 2.5rem); }
.project { display: block; }
.project:nth-child(odd) { transform: translateY(0); }
.project:nth-child(even) { transform: translateY(3.5rem); }
.project__media { overflow: hidden; border-radius: 4px; position: relative; }
.project__media::after { content: ""; position: absolute; inset: 0; background: var(--ink); opacity: 0; transition: opacity .6s var(--ease); }
.project__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 1.1s var(--ease); }
.project:hover .project__media img { transform: scale(1.06); }
.project:hover .project__media::after { opacity: 0.12; }
.project__meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: 1.1rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.project__meta h3 { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 500; transition: color .4s; }
.project:hover .project__meta h3 { color: var(--brass); }
.project__tag { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }

/* ============================================================
   Feature banner
   ============================================================ */
.feature { position: relative; min-height: 80vh; display: grid; place-items: center; overflow: hidden; }
.feature__bg { position: absolute; inset: -15% 0; background-size: cover; background-position: center; will-change: transform; }
.feature::after { content: ""; position: absolute; inset: 0; background: rgba(24,10,47,0.62); }
.feature__inner { position: relative; z-index: 2; text-align: center; max-width: 1000px; padding: 0 var(--pad); color: #fff; }
.feature__quote { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: clamp(1.7rem, 4.2vw, 3.4rem); line-height: 1.18; }
.feature__cite { margin-top: 1.8rem; letter-spacing: .18em; text-transform: uppercase; font-size: .8rem; color: var(--brass-light); }

/* ============================================================
   Process
   ============================================================ */
.process__head { max-width: 700px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.process__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }
.step { position: relative; padding-top: 2rem; border-top: 1px solid var(--ink); }
.step__no { font-family: var(--serif); font-size: 2.4rem; color: var(--brass); display: block; margin-bottom: 1rem; }
.step h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; margin-bottom: .6rem; }
.step p { color: var(--ink-soft); font-size: .96rem; }

/* ============================================================
   CTA
   ============================================================ */
.cta { background: var(--ink); color: var(--cream); }
.cta__inner { max-width: 760px; margin: 0 auto; text-align: center; }
.cta__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 5.5vw, 4.4rem); line-height: 1.05; }
.cta__sub { color: rgba(244,241,234,0.7); margin: 1.4rem 0 3rem; }
.cta__form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; text-align: left; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(244,241,234,0.25);
  padding: 1rem 0 .7rem; color: var(--cream); font-family: var(--sans); font-size: 1rem; font-weight: 300;
  transition: border-color .4s;
}
.field input:focus { outline: 0; border-color: var(--brass-light); }
.field label {
  position: absolute; left: 0; top: 1rem; color: rgba(244,241,234,0.5); pointer-events: none;
  transition: .35s var(--ease); letter-spacing: .04em;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label {
  top: -.7rem; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-light);
}
.cta__form .btn { grid-column: 1 / -1; justify-self: start; margin-top: 1rem; }
.form-note { grid-column: 1/-1; font-size: .85rem; color: var(--brass-light); min-height: 1.2em; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--ink); color: var(--cream); padding: clamp(3rem, 6vw, 5rem) var(--pad) 2rem; border-top: 1px solid rgba(255,255,255,0.08); }
.footer__top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 3rem; padding-bottom: 3rem; }
.footer__logo { height: 80px; filter: brightness(0) invert(1); margin-bottom: 1.4rem; }
.footer__brand p { color: rgba(244,241,234,0.6); max-width: 32ch; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer__cols h4 { font-family: var(--sans); font-weight: 500; font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-light); margin-bottom: 1.2rem; }
.footer__cols a, .footer__cols span { display: block; color: rgba(244,241,234,0.7); margin-bottom: .7rem; transition: color .3s; font-size: .95rem; }
.footer__cols a:hover { color: var(--brass-light); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.08); font-size: .82rem; color: rgba(244,241,234,0.5); flex-wrap: wrap; gap: 1rem; }
.footer__top-link:hover { color: var(--brass-light); }

/* ============================================================
   Reveal animations
   ============================================================ */
.reveal-up { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal-up.in { opacity: 1; transform: none; }
.reveal-img img { transition: transform 1.6s var(--ease), clip-path 1.4s var(--ease); }
.reveal-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease); }
.reveal-img.in { clip-path: inset(0 0 0 0); }
[data-stagger] { transition-delay: var(--d, 0s); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal-up, .reveal-img { opacity: 1; transform: none; clip-path: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .studio { grid-template-columns: 1fr; }
  .studio__media { order: -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  /* width/height in viewport units so the menu fills the screen even when an
     ancestor (the solid header's backdrop-filter) becomes its containing block. */
  .nav { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: var(--ink); flex-direction: column; justify-content: center; gap: 2rem; transform: translateY(-110%); transition: transform .6s var(--ease); }
  .nav.open { transform: translateY(0); }
  .nav a { color: #fff !important; font-size: 1.1rem; }
  .header.scrolled .nav a { color: #fff !important; }
  .burger { display: flex; z-index: 1001; }
  .burger.open span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .burger.open span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .burger.open span { background: #fff !important; }
}
@media (max-width: 640px) {
  .services__grid { grid-template-columns: 1fr; }
  .work__list { grid-template-columns: 1fr; }
  .project:nth-child(even) { transform: none; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .process__steps { grid-template-columns: 1fr; }
  .cta__form { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .hero__scroll { display: none; }
}

/* ============================================================
   Inner pages — shared components
   ============================================================ */

/* active nav item */
.nav a.active { color: var(--brass-light); }
.header:not(.scrolled) .nav a.active { color: var(--brass-light); }

/* ---------- Page hero ---------- */
.page-hero {
  position: relative; min-height: clamp(440px, 64vh, 640px);
  display: flex; align-items: flex-end; overflow: hidden; color: #fff;
}
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 112%; object-fit: cover; transform: scale(1.08); animation: kenburns 14s ease-out forwards; }
.page-hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(24,10,47,0.84) 0%, rgba(24,10,47,0.55) 40%, rgba(24,10,47,0.2) 100%),
    linear-gradient(to top, rgba(24,10,47,0.7) 0%, rgba(24,10,47,0) 60%);
}
.page-hero__content { position: relative; padding: clamp(7rem, 18vh, 11rem) var(--pad) clamp(3rem, 7vh, 5rem); max-width: 1000px; }
.page-hero__crumb { font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 1.3rem; }
.page-hero__crumb a:hover { color: var(--brass-light); }
.page-hero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 6.4vw, 5.4rem); line-height: 1.04; letter-spacing: -0.015em; }
.page-hero__title em { font-style: italic; color: var(--brass-light); }
.page-hero__sub { max-width: 52ch; margin-top: 1.6rem; font-size: clamp(1rem, 1.5vw, 1.2rem); color: rgba(255,255,255,0.85); }

/* ---------- Generic split (text + image) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split--flip .split__media { order: -1; }
.split__text { max-width: 560px; }
.split__text .display { margin-bottom: 1.6rem; }
.split__text p { margin-bottom: 1.2rem; color: var(--ink-soft); }
.split__text .lede { color: var(--ink); }
.split__media { overflow: hidden; border-radius: 4px; }
.split__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.split--wide .split__media img { aspect-ratio: 3/4; }

/* ---------- Section intro ---------- */
.intro { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.intro--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Cards grid (values / offerings) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card { background: var(--bone); padding: clamp(2rem, 3.5vw, 3rem); transition: background .5s var(--ease); position: relative; overflow: hidden; }
.card__no { font-family: var(--serif); color: var(--brass); }
.card h3 { font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 500; margin: .9rem 0 .7rem; transition: color .5s; }
.card p { color: var(--ink-soft); transition: color .5s; }
.card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--brass); transition: width .6s var(--ease); }
.card:hover { background: var(--ink); }
.card:hover h3, .card:hover p { color: var(--cream); }
.card:hover .card__no { color: var(--brass-light); }
.card:hover::after { width: 100%; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.2rem, 2.5vw, 2.2rem); }
.member__photo { overflow: hidden; border-radius: 4px; position: relative; }
.member__photo img { width: 100%; aspect-ratio: 3/4; object-fit: cover; filter: grayscale(1); transition: filter .7s var(--ease), transform 1.1s var(--ease); }
.member:hover .member__photo img { filter: grayscale(0); transform: scale(1.05); }
.member h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; margin: 1rem 0 .2rem; }
.member span { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }

/* ---------- Timeline / milestones ---------- */
.timeline { max-width: 820px; margin: 0 auto; }
.milestone { display: grid; grid-template-columns: 150px 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); padding: 2.2rem 0; border-top: 1px solid var(--line); }
.milestone:last-child { border-bottom: 1px solid var(--line); }
.milestone__year { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--brass); }
.milestone h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; margin-bottom: .5rem; }
.milestone p { color: var(--ink-soft); max-width: 52ch; }

/* ---------- Projects page ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.filter {
  font-family: var(--sans); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .65rem 1.4rem; border-radius: 100px; border: 1px solid var(--line); background: transparent;
  color: var(--ink-soft); cursor: pointer; transition: all .35s var(--ease);
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.active { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 2.5vw, 2.2rem); }
.proj-grid .project { transform: none !important; }
.project.hidden { display: none; }
.proj-grid .project__media img { aspect-ratio: 4/5; }

/* ---------- Partner logos ---------- */
.logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.logos span {
  background: var(--bone); display: grid; place-items: center; padding: 2rem 1rem; min-height: 120px;
  font-family: var(--serif); font-size: 1.15rem; color: var(--ink-soft); letter-spacing: .04em;
  text-align: center; transition: background .4s, color .4s;
}
.logos span:hover { background: var(--cream); color: var(--ink); }

/* ---------- Detailed process (alternating big blocks) ---------- */
.pstep { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: clamp(2.5rem, 6vw, 5rem) 0; border-top: 1px solid var(--line); }
.pstep:nth-child(even) .pstep__media { order: -1; }
.pstep__media { overflow: hidden; border-radius: 4px; }
.pstep__media img { width: 100%; aspect-ratio: 5/4; object-fit: cover; transition: transform 1.2s var(--ease); }
.pstep:hover .pstep__media img { transform: scale(1.05); }
.pstep__no { font-family: var(--serif); font-size: clamp(3rem, 6vw, 5rem); color: var(--brass); line-height: 1; display: block; margin-bottom: 1rem; }
.pstep h3 { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 500; margin-bottom: 1rem; }
.pstep p { color: var(--ink-soft); margin-bottom: 1rem; max-width: 50ch; }
.pstep ul { list-style: none; }
.pstep li { padding-left: 1.4rem; position: relative; color: var(--ink-soft); margin-bottom: .5rem; }
.pstep li::before { content: "✦"; position: absolute; left: 0; color: var(--brass); font-size: .8rem; top: .15rem; }

/* ---------- Accordion / FAQ ---------- */
.accordion { max-width: 860px; margin: 0 auto; }
.accordion__item { border-top: 1px solid var(--line); }
.accordion__item:last-child { border-bottom: 1px solid var(--line); }
.accordion__head { display: flex; justify-content: space-between; align-items: center; gap: 2rem; width: 100%; background: none; border: 0; cursor: pointer; padding: 1.6rem 0; text-align: left; font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.6rem); color: var(--ink); }
.accordion__icon { flex-shrink: 0; width: 22px; height: 22px; position: relative; }
.accordion__icon::before, .accordion__icon::after { content: ""; position: absolute; background: var(--brass); transition: transform .4s var(--ease); }
.accordion__icon::before { top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.accordion__icon::after { left: 50%; top: 0; height: 100%; width: 1.5px; transform: translateX(-50%); }
.accordion__item.open .accordion__icon::after { transform: translateX(-50%) scaleY(0); }
.accordion__body { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.accordion__item.open .accordion__body { max-height: 320px; }
.accordion__body p { color: var(--ink-soft); padding-bottom: 1.6rem; max-width: 70ch; }

/* ---------- Banner CTA strip ---------- */
.section--cream { background: var(--cream); }
.section--ink { background: var(--ink); color: var(--cream); }
.section--ink .display, .section--ink .lede { color: var(--cream); }
.section--ink p { color: rgba(244,241,234,0.72); }

/* ============================================================
   Inner pages — responsive
   ============================================================ */
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; }
  .split__media, .split--flip .split__media, .pstep:nth-child(even) .pstep__media { order: -1; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .proj-grid { grid-template-columns: repeat(2, 1fr); }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .pstep { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .proj-grid { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .milestone { grid-template-columns: 1fr; gap: .5rem; }
}

/* ============================================================
   Story — gamified enquiry wizard
   ============================================================ */
.story {
  min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  padding: clamp(8rem, 16vh, 11rem) var(--pad) clamp(3rem, 8vh, 6rem);
  position: relative; background:
    radial-gradient(1200px 600px at 80% -10%, rgba(176,141,87,0.08), transparent 60%),
    var(--bone);
  overflow: hidden;
}

/* progress bar */
.story__bar { max-width: 960px; width: 100%; margin: 0 auto 2.5rem; }
.story__bar-track { height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.story__bar-track span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brass), var(--brass-light)); transition: width .6s var(--ease); }
.story__bar-meta { display: flex; justify-content: space-between; margin-top: .8rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.story__bar-meta #stepCount { color: var(--brass); }

/* stage + steps */
.story__stage { max-width: 960px; width: 100%; margin: 0 auto; position: relative; }
.qstep { display: none; animation: qin .7s var(--ease) both; }
.qstep.is-active { display: block; }
@keyframes qin { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.qstep.is-leaving { animation: qout .35s var(--ease) both; }
@keyframes qout { to { opacity: 0; transform: translateY(-18px); } }

.q-eyebrow { font-size: .74rem; letter-spacing: .3em; text-transform: uppercase; color: var(--brass); margin-bottom: 1rem; }
.q-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 5.5vw, 4.2rem); line-height: 1.02; letter-spacing: -0.01em; margin-bottom: 1.2rem; }
.q-title em { font-style: italic; color: var(--brass); }
.q-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 50ch; margin-bottom: 2rem; }
.q-hint { color: var(--ink-soft); max-width: 52ch; margin-bottom: 2rem; }
.q-tiny { font-size: .82rem; color: var(--ink-soft); margin-top: 1.4rem; letter-spacing: .02em; }
.q-start { margin-top: .5rem; }

/* choice grids */
.choice-grid { display: grid; gap: 1rem; }
.choice-grid--types { grid-template-columns: repeat(3, 1fr); }
.choice-grid--budget { grid-template-columns: 1fr; max-width: 620px; }
.choice-grid--themes { grid-template-columns: repeat(3, 1fr); }

.choice {
  position: relative; text-align: left; cursor: pointer; background: var(--bone);
  border: 1px solid var(--line); border-radius: 6px; padding: 1.5rem;
  font-family: var(--sans); color: var(--ink); transition: border-color .35s var(--ease), background .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
  display: flex; flex-direction: column; gap: .35rem;
}
.choice:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow); }
.choice__icon { color: var(--brass); margin-bottom: .6rem; }
.choice__icon svg { width: 30px; height: 30px; }
.choice__label { font-size: 1.05rem; font-weight: 500; }
.choice__desc { font-size: .84rem; color: var(--ink-soft); }
.choice__check {
  position: absolute; top: 1rem; right: 1rem; width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid var(--line); transition: all .35s var(--ease);
}
.choice__check::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink); font-size: .7rem; opacity: 0; transform: scale(.4); transition: all .35s var(--ease); }
.choice.selected { background: var(--ink); border-color: var(--ink); color: var(--cream); transform: translateY(-3px); }
.choice.selected .choice__desc { color: rgba(244,241,234,0.72); }
.choice.selected .choice__icon { color: var(--brass-light); }
.choice.selected .choice__check { background: var(--brass); border-color: var(--brass); }
.choice.selected .choice__check::after { color: var(--ink); opacity: 1; transform: scale(1); }
.choice.pulse { animation: pulse .4s var(--ease); }
@keyframes pulse { 50% { transform: translateY(-3px) scale(1.03); } }

/* budget rows */
.choice--row { flex-direction: row; align-items: center; gap: 1.2rem; padding: 1.15rem 1.5rem; }
.choice--row .choice__label { flex-shrink: 0; width: 11rem; }
.choice__bar { flex: 1; height: 4px; border-radius: 4px; background: var(--line); position: relative; overflow: hidden; margin-right: 2rem; }
.choice__bar::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--brass); transition: background .35s; }
.choice--row.selected .choice__bar { background: rgba(255,255,255,0.18); }
.choice--row.selected .choice__bar::after { background: var(--brass-light); }

/* theme swatches */
.choice--theme { align-items: flex-start; }
.swatch { width: 100%; height: 74px; border-radius: 4px; margin-bottom: .8rem; background: linear-gradient(120deg, var(--a) 0 33%, var(--b) 33% 66%, var(--c) 66% 100%); }

/* range slider */
.range-wrap { max-width: 640px; }
.range-value { font-family: var(--serif); display: flex; align-items: baseline; gap: .6rem; margin-bottom: 1.4rem; }
.range-value #sizeVal { font-size: clamp(3rem, 8vw, 5rem); line-height: 1; color: var(--ink); }
.range-unit { font-size: 1.2rem; color: var(--brass); letter-spacing: .04em; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: var(--line); outline: none; }
.range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); border: 3px solid var(--brass); cursor: pointer; transition: transform .2s; }
.range::-webkit-slider-thumb:hover { transform: scale(1.12); }
.range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); border: 3px solid var(--brass); cursor: pointer; }
.range-scale { display: flex; justify-content: space-between; margin-top: .7rem; font-size: .76rem; color: var(--ink-soft); letter-spacing: .08em; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.chip { font-family: var(--sans); font-size: .82rem; letter-spacing: .04em; padding: .55rem 1.1rem; border-radius: 100px; border: 1px solid var(--line); background: transparent; color: var(--ink-soft); cursor: pointer; transition: all .3s var(--ease); }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: var(--cream); }

/* text + textarea */
.q-input, .q-textarea {
  width: 100%; max-width: 640px; background: transparent; border: 0; border-bottom: 1.5px solid var(--line);
  font-family: var(--serif); color: var(--ink); padding: .8rem 0; transition: border-color .35s;
}
.q-input { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
.q-input::placeholder { color: var(--ink-soft); opacity: .5; }
.q-input:focus { outline: 0; border-color: var(--brass); }
.q-textarea { font-size: clamp(1.1rem, 1.8vw, 1.4rem); line-height: 1.5; border: 1px solid var(--line); border-radius: 6px; padding: 1.2rem 1.3rem; resize: vertical; max-width: 760px; font-family: var(--sans); font-weight: 300; }
.q-textarea:focus { outline: 0; border-color: var(--brass); }

/* summary */
.summary-list { max-width: 680px; margin: 0 0 2.2rem; }
.summary-list div { display: flex; justify-content: space-between; gap: 2rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.summary-list dt { font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); flex-shrink: 0; }
.summary-list dd { text-align: right; font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
.story-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; max-width: 680px; margin-bottom: 1rem; }
.field--light input { color: var(--ink); border-bottom-color: var(--line); }
.field--light label { color: var(--ink-soft); }
.field--light input:focus { border-color: var(--brass); }
.field--light input:focus + label, .field--light input:not(:placeholder-shown) + label { color: var(--brass); }

/* success */
.qstep--success { text-align: center; padding-top: 1rem; }
.qstep--success .q-lead { margin-left: auto; margin-right: auto; }
.success-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn--ghost-dark { border: 1px solid var(--line); color: var(--ink); }
.btn--ghost-dark::before { background: var(--ink); }
.btn--ghost-dark:hover { color: var(--cream); }
.success-spark { display: flex; justify-content: center; gap: 1.2rem; margin-bottom: 1.5rem; color: var(--brass); }
.success-spark span { font-size: 1.2rem; animation: spark 1.6s var(--ease) infinite; opacity: 0; }
.success-spark span:nth-child(1){ animation-delay: 0s; } .success-spark span:nth-child(2){ animation-delay: .15s; }
.success-spark span:nth-child(3){ animation-delay: .3s; font-size: 1.7rem; } .success-spark span:nth-child(4){ animation-delay: .45s; }
.success-spark span:nth-child(5){ animation-delay: .6s; }
@keyframes spark { 0%,100% { opacity: .2; transform: translateY(4px) scale(.9); } 50% { opacity: 1; transform: translateY(-4px) scale(1.1); } }

/* nav controls */
.story__nav { max-width: 960px; width: 100%; margin: 2.8rem auto 0; display: flex; justify-content: space-between; align-items: center; }
.story__nav[hidden] { display: none; }
.story__back { background: none; border: 0; font-family: var(--sans); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); cursor: pointer; transition: color .3s; padding: .6rem 0; }
.story__back:hover { color: var(--ink); }
.story__back:disabled { opacity: .3; cursor: default; }
.story__next:disabled { opacity: .35; pointer-events: none; }

@media (max-width: 820px) {
  .choice-grid--types, .choice-grid--themes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .choice-grid--types, .choice-grid--themes { grid-template-columns: 1fr 1fr; }
  .choice--row { flex-wrap: wrap; }
  .choice--row .choice__label { width: auto; }
  .choice__bar { width: 100%; flex-basis: 100%; margin-right: 0; }
  .story-contact { grid-template-columns: 1fr; }
  .summary-list div { flex-direction: column; gap: .3rem; }
  .summary-list dd { text-align: left; }
}
