/* ==========================================================================
   KM Design & Interiors — main stylesheet
   ========================================================================== */

:root {
  --ivory: #f7f3ee;
  --cream: #fbf9f6;
  --sand: #ece4d9;
  --stone: #d8cdbf;
  --clay: #a87b5a;
  --clay-d: #8a6246;
  --sage: #8b9282;
  --ink: #2a2622;
  --ink-2: #3a3530;
  --muted: #776d63;
  --white: #fff;
  --line: rgba(42, 38, 34, .14);

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --script: 'Pinyon Script', cursive;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --container: 1320px;
  --gutter: clamp(16px, 4vw, 56px);
  --section: clamp(72px, 10vw, 140px);
  --header-h: 96px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 300 17px/1.75 var(--sans);
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
p { margin: 0 0 1.2em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
::selection { background: var(--clay); color: var(--white); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }

.sr-only, .hp {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 1000; background: var(--ink); color: var(--ivory); padding: 10px 18px; transition: top .2s; }
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.section { padding: var(--section) 0; }

/* ---------- Typography ---------- */
.eyebrow {
  font: 500 12px/1.4 var(--sans);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ''; width: 32px; height: 1px; background: currentColor; }
.center .eyebrow, .section-head--center .eyebrow, .eyebrow.center { justify-content: center; }
.eyebrow--light { color: rgba(255, 255, 255, .85); }

.h2 {
  font: 400 clamp(36px, 5vw, 64px)/1.08 var(--serif);
  letter-spacing: -.01em;
  margin-bottom: 28px;
}
.h2 em, .hero__title em, .page-hero__title em { font-style: italic; font-weight: 300; color: var(--clay); }
.lead { font: 400 clamp(21px, 2vw, 26px)/1.5 var(--serif); color: var(--ink-2); }
.signature { font: 400 44px/1 var(--script); color: var(--clay); margin: 10px 0 26px; }

/* ---------- Buttons & links ---------- */
.btn {
  --bg: var(--ink); --fg: var(--ivory); --bd: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 38px;
  font: 500 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  color: var(--fg); background: var(--bg); border: 1px solid var(--bd);
  overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--clay);
  transform: scaleX(0); transform-origin: right;
  transition: transform .6s var(--ease-out);
}
.btn:hover::after { transform: scaleX(1); transform-origin: left; }
.btn:hover { border-color: var(--clay); color: var(--white); }
.btn--light { --bg: var(--ivory); --fg: var(--ink); --bd: var(--ivory); }
.btn--ghost { --bg: transparent; --fg: var(--white); --bd: rgba(255, 255, 255, .7); }
.btn--outline { --bg: transparent; --fg: currentColor; --bd: currentColor; }
.btn--sm { padding: 12px 22px; font-size: 11px; }
.btn--full { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 500 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  padding-bottom: 8px; border-bottom: 1px solid currentColor;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(6px); }
.link-arrow--light { color: var(--white); }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 999; display: grid; place-items: center;
  background: var(--ivory);
  transition: opacity .8s var(--ease) .2s, visibility .8s .2s;
}
.is-loaded .preloader { opacity: 0; visibility: hidden; }
.preloader__mark { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.preloader__km { font: 300 64px/1 var(--serif); letter-spacing: .2em; padding-left: .2em; animation: fadeUp 1s var(--ease-out) both; }
.preloader__line { width: 120px; height: 1px; background: var(--stone); position: relative; overflow: hidden; }
.preloader__line::after { content: ''; position: absolute; inset: 0; background: var(--clay); transform: translateX(-100%); animation: load 1.4s var(--ease) infinite; }
.preloader__sub { font: 500 10px/1 var(--sans); letter-spacing: .45em; text-transform: uppercase; color: var(--muted); animation: fadeUp 1s .2s var(--ease-out) both; }
@keyframes load { to { transform: translateX(100%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  color: var(--white);
  transition: background .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease);
}
.announce {
  background: var(--ink); color: var(--ivory);
  text-align: center; font-size: 12px; letter-spacing: .12em;
  max-height: 40px; overflow: hidden;
  transition: max-height .5s var(--ease), padding .5s var(--ease);
  padding: 10px 16px;
}
.announce p { margin: 0; }
.announce a { border-bottom: 1px solid rgba(255,255,255,.5); }
.header__bar {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 26px var(--gutter);
  transition: padding .5s var(--ease);
}
.site-header.is-scrolled { background: rgba(247, 243, 238, .96); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.site-header.is-scrolled .announce { max-height: 0; padding: 0 16px; }
.site-header.is-scrolled .header__bar { padding-top: 14px; padding-bottom: 14px; }
.site-header.is-hidden { transform: translateY(-100%); }

.nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); font: 400 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.nav--right { justify-content: flex-end; }
.nav a:not(.btn) { position: relative; padding: 6px 0; }
.nav a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .4s var(--ease); }
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); }

.logo { display: flex; flex-direction: column; align-items: center; line-height: 1; text-align: center; }
.logo__km { font: 400 40px/1 var(--serif); letter-spacing: .22em; padding-left: .22em; transition: font-size .5s var(--ease); }
.logo__text { font: 400 9.5px/1 var(--sans); letter-spacing: .48em; padding-left: .48em; text-transform: uppercase; margin-top: 8px; white-space: nowrap; }
.is-scrolled .logo__km { font-size: 32px; }
.logo--light { color: var(--ivory); align-items: flex-start; text-align: left; }
.logo--light .logo__km { padding-left: 0; }

.burger { display: none; width: 44px; height: 44px; position: relative; justify-self: end; z-index: 120; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; transition: transform .5s var(--ease), opacity .3s, top .5s var(--ease); }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 22px; right: 18px; }
.burger span:nth-child(3) { top: 29px; }
.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }
.menu-open .site-header { color: var(--ivory); background: transparent; box-shadow: none; backdrop-filter: none; }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px var(--gutter) 40px;
  background: var(--ink); color: var(--ivory);
  clip-path: circle(0% at calc(100% - 40px) 40px);
  transition: clip-path .9s var(--ease-out);
  visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; }
.mobile-menu__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .14; }
.mobile-menu__nav { position: relative; display: flex; flex-direction: column; gap: 6px; }
.mobile-menu__nav a {
  font: 300 clamp(38px, 9vw, 64px)/1.15 var(--serif);
  display: flex; align-items: baseline; gap: 18px;
  opacity: 0; transform: translateY(30px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), color .3s;
}
.mobile-menu__nav a span { font: 400 11px var(--sans); letter-spacing: .2em; color: var(--clay); }
.mobile-menu__nav a:hover { color: var(--clay); font-style: italic; }
.menu-open .mobile-menu__nav a { opacity: 1; transform: none; }
.menu-open .mobile-menu__nav a:nth-child(1) { transition-delay: .25s; }
.menu-open .mobile-menu__nav a:nth-child(2) { transition-delay: .3s; }
.menu-open .mobile-menu__nav a:nth-child(3) { transition-delay: .35s; }
.menu-open .mobile-menu__nav a:nth-child(4) { transition-delay: .4s; }
.menu-open .mobile-menu__nav a:nth-child(5) { transition-delay: .45s; }
.menu-open .mobile-menu__nav a:nth-child(6) { transition-delay: .5s; }
.mobile-menu__foot { position: relative; margin-top: auto; padding-top: 40px; display: flex; flex-direction: column; gap: 14px; font-size: 14px; color: rgba(247, 243, 238, .75); }
.socials { display: flex; gap: 22px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }

/* ---------- Hero slideshow ---------- */
/* The hero is at least one screen tall, but grows with its content so nothing can overlap on short screens */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; color: var(--white); background: var(--ink); }
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide { opacity: 0; transition: opacity 1.6s var(--ease); }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); transition: transform 8s linear; }
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__slide.is-active img { transform: scale(1); }
.hero__shade { position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(20,17,14,.45) 0%, rgba(20,17,14,.12) 35%, rgba(20,17,14,.18) 60%, rgba(20,17,14,.65) 100%); }
.hero__content { position: relative; z-index: 3; flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: 170px; padding-bottom: 64px; }
.hero__title { font: 300 clamp(52px, 9vw, 128px)/.98 var(--serif); letter-spacing: -.02em; margin-bottom: 26px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title em { color: var(--sand); }
.hero__lead { font: 400 clamp(19px, 1.8vw, 24px)/1.5 var(--serif); max-width: 520px; color: rgba(255,255,255,.9); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.hero__anim { animation: heroIn 1.3s var(--ease-out) both; animation-delay: calc(var(--d, 0s) + .5s); animation-play-state: paused; }
.is-loaded .hero__anim { animation-play-state: running; }
.hero__title .hero__anim { display: inline-block; animation-name: heroLine; }
@keyframes heroIn { from { opacity: 0; transform: translateY(30px); } }
@keyframes heroLine { from { transform: translateY(105%); } }

.hero__bottom { position: relative; z-index: 3; padding-bottom: 36px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.hero__caption { display: flex; flex-direction: column; gap: 6px; }
.hero__tag { font: 500 11px var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--sand); }
.hero__name { font: italic 300 24px var(--serif); }
.hero__caption.is-changing span { animation: capIn .9s var(--ease-out) both; }
@keyframes capIn { from { opacity: 0; transform: translateY(12px); } }
.hero__controls { display: flex; align-items: center; gap: 16px; }
.hero__count { font: 400 13px var(--sans); letter-spacing: .18em; }
.hero__count b { font-weight: 500; }
.hero__progress { width: 120px; height: 1px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.hero__progress span { position: absolute; inset: 0; background: var(--white); transform-origin: left; transform: scaleX(0); }
.hero__arrow { width: 50px; height: 50px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; display: grid; place-items: center; transition: background .4s, color .4s, border-color .4s; }
.hero__arrow svg { width: 18px; height: 18px; }
.hero__arrow:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.hero__scroll { position: absolute; z-index: 3; left: 50%; bottom: 34px; width: 1px; height: 56px; background: rgba(255,255,255,.3); overflow: hidden; }
.hero__scroll span { position: absolute; left: 0; width: 1px; height: 24px; background: var(--white); animation: scrollLine 2.2s var(--ease) infinite; }
@keyframes scrollLine { from { top: -24px; } to { top: 56px; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; height: 72vh; min-height: 480px; max-height: 780px; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: var(--ink); }
.page-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,17,14,.5), rgba(20,17,14,.15) 40%, rgba(20,17,14,.6)); z-index: 1; }
.page-hero__inner { position: relative; z-index: 2; padding-bottom: clamp(48px, 8vw, 96px); }
.page-hero__title { font: 300 clamp(54px, 9vw, 120px)/1 var(--serif); letter-spacing: -.02em; display: block; }
.page-hero__title em { color: var(--sand); }
.crumbs { display: flex; gap: 10px; margin-top: 22px; font: 400 12px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.crumbs a:hover { color: var(--white); }

/* ---------- Parallax ---------- */
.parallax { position: relative; overflow: hidden; }
.parallax__bg { position: absolute; inset: -15% 0; background-size: cover; background-position: center; will-change: transform; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal--clip { overflow: hidden; opacity: 1; transform: none; clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal--clip img { transform: scale(1.25); transition: transform 1.8s var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal--clip.is-in { clip-path: inset(0 0 0 0); }
.reveal--clip.is-in img { transform: scale(1); }

/* ---------- Section head ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(40px, 6vw, 72px); flex-wrap: wrap; }
.section-head .h2 { margin-bottom: 0; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }

/* ---------- Welcome ---------- */
.welcome__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
.welcome__media { position: relative; padding: 0 12% 18% 0; }
.welcome__img { overflow: hidden; }
.welcome__img img { width: 100%; height: 100%; object-fit: cover; }
.welcome__img--a { aspect-ratio: 4 / 5; }
.welcome__img--b { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; border: 10px solid var(--ivory); }
.welcome__badge { position: absolute; top: -40px; right: 4%; width: 130px; height: 130px; display: grid; place-items: center; color: var(--ink); }
.welcome__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; stroke: none; fill: currentColor; font: 500 10.5px var(--sans); letter-spacing: .3em; text-transform: uppercase; }
.welcome__badge span { font: 400 30px var(--serif); letter-spacing: .1em; }
.spin { animation: spin 22s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--sand); padding: 28px 0; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee__track { display: flex; width: max-content; align-items: center; gap: 44px; animation: marquee 40s linear infinite; }
.marquee span { font: italic 300 clamp(28px, 3.6vw, 48px)/1 var(--serif); white-space: nowrap; }
.marquee i { font-style: normal; color: var(--clay); font-size: 18px; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Service cards ---------- */
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.service-card { display: block; background: var(--cream); transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(42,38,34,.35); }
.service-card__img { aspect-ratio: 4 / 5; overflow: hidden; }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.service-card:hover .service-card__img img { transform: scale(1.07); }
.service-card__body { padding: 30px 30px 34px; position: relative; }
.service-card__num { position: absolute; top: -76px; right: 24px; font: 300 64px/1 var(--serif); color: var(--ivory); text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.service-card h3 { font: 400 30px/1.15 var(--serif); margin-bottom: 12px; }
.service-card p { font-size: 15.5px; color: var(--muted); }
.service-card__more { display: inline-flex; gap: 10px; align-items: center; font: 500 11px var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--clay); }
.service-card__more svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.service-card:hover .service-card__more svg { transform: translateX(6px); }

/* ---------- Featured projects ---------- */
.featured { background: var(--cream); }
.featured__grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(160px, 18vw, 250px); gap: clamp(12px, 1.6vw, 22px); margin-bottom: 64px; }
.project-tile { position: relative; overflow: hidden; display: block; background: var(--sand); }
.project-tile--1 { grid-column: 1 / 8; grid-row: span 3; }
.project-tile--2 { grid-column: 8 / 13; grid-row: span 2; }
.project-tile--3 { grid-column: 8 / 13; grid-row: span 2; }
.project-tile--4 { grid-column: 1 / 5; grid-row: span 2; }
.project-tile--5 { grid-column: 5 / 8; grid-row: span 1; }
.project-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.project-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,17,14,.65), transparent 55%); opacity: .7; transition: opacity .6s; }
.project-tile:hover img { transform: scale(1.06); }
.project-tile:hover::after { opacity: 1; }
.project-tile__info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(16px, 2vw, 30px); color: var(--white); transform: translateY(10px); transition: transform .6s var(--ease-out); }
.project-tile:hover .project-tile__info { transform: none; }
.project-tile__info span { font: 500 10.5px var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--sand); }
.project-tile__info h3 { font: 400 clamp(22px, 2.2vw, 32px)/1.15 var(--serif); }

/* ---------- Portrait placeholders (Kehinde) ---------- */
.portrait { margin: 0; position: relative; overflow: hidden; background: var(--sand); width: 100%; height: 100%; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait--ph { background: repeating-linear-gradient(135deg, var(--sand) 0 14px, #e6ddd1 14px 28px); }
.portrait__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 20px; color: var(--muted); }
.portrait__ph svg { width: 54px; height: 54px; stroke-width: 1; color: var(--clay); }
.portrait__ph small { font: 500 11px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.portrait__ph em { font: italic 400 14px var(--serif); opacity: .75; word-break: break-all; }

/* ---------- Meet Kehinde ---------- */
.meet { background: var(--ink); color: var(--ivory); position: relative; overflow: hidden; }
.meet::before { content: 'KM'; position: absolute; right: -2vw; bottom: -6vw; font: 300 32vw/1 var(--serif); color: rgba(255,255,255,.03); pointer-events: none; }
.meet__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 120px); align-items: center; position: relative; }
.meet__photos { position: relative; padding: 0 0 14% 14%; }
.meet__photos > div:first-child { aspect-ratio: 4 / 5; }
.meet__photos > div:last-child { position: absolute; left: 0; bottom: 0; width: 44%; aspect-ratio: 1; border: 10px solid var(--ink); }
.meet .portrait--ph { background: repeating-linear-gradient(135deg, #3a3530 0 14px, #403a34 14px 28px); }
.meet .portrait__ph, .meet .portrait__ph small { color: rgba(247,243,238,.75); }
.meet .h2 em { color: var(--sand); }
.meet blockquote { margin: 0 0 28px; padding-left: 26px; border-left: 1px solid var(--clay); font: italic 300 clamp(22px, 2.2vw, 30px)/1.4 var(--serif); color: var(--sand); }
.meet p { color: rgba(247,243,238,.8); }
.meet__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; margin-top: 12px; }

/* ---------- Before / After ---------- */
.transform__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.ba { position: relative; aspect-ratio: 4 / 3; overflow: hidden; user-select: none; background: var(--sand); }
.ba img { width: 100%; height: 100%; object-fit: cover; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__before img { filter: saturate(.6) brightness(.95); }
.ba__label { position: absolute; top: 20px; z-index: 2; padding: 8px 14px; background: rgba(247,243,238,.9); font: 500 10.5px var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.ba__label--l { left: 20px; } .ba__label--r { right: 20px; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--ivory); z-index: 2; pointer-events: none; }
.ba__handle span { position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: var(--ivory); display: grid; place-items: center; box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.ba__handle svg { width: 22px; height: 22px; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 3; margin: 0; }

.checklist { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before { content: ''; position: absolute; left: 0; top: .72em; width: 16px; height: 1px; background: var(--clay); }

/* ---------- Process ---------- */
.process { background: var(--sand); }
.process--alt { background: var(--cream); }
.process__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 48px); counter-reset: s; position: relative; }
.process__list::before { content: ''; position: absolute; top: 40px; left: 6%; right: 6%; height: 1px; background: var(--stone); }
.process__step { position: relative; text-align: center; padding: 0 6px; }
.process__num { width: 80px; height: 80px; margin: 0 auto 28px; border-radius: 50%; background: var(--ivory); border: 1px solid var(--stone); display: grid; place-items: center; font: 400 28px var(--serif); color: var(--clay); position: relative; transition: background .5s, color .5s, transform .5s var(--ease-out); }
.process__step:hover .process__num { background: var(--ink); color: var(--ivory); transform: translateY(-6px); }
.process__step h3 { font: 400 30px var(--serif); margin-bottom: 10px; }
.process__step p { font-size: 15.5px; color: var(--muted); }

/* ---------- Stats ---------- */
.stats { padding: clamp(90px, 12vw, 160px) 0; color: var(--white); }
.stats::before { content: ''; position: absolute; inset: 0; background: rgba(28,24,21,.6); z-index: 1; }
.stats__grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat b { display: block; font: 300 clamp(52px, 6vw, 84px)/1 var(--serif); margin-bottom: 12px; }
.stat span { font: 500 11.5px var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--sand); }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--ivory); text-align: center; }
.t-slider { max-width: 920px; margin: 0 auto; position: relative; }
.t-slider__quote { width: 54px; height: 54px; margin: 0 auto 20px; fill: var(--stone); stroke: none; }
.t-slider__track { display: grid; }
.t-slide { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), visibility .9s; }
.t-slide.is-active { opacity: 1; visibility: visible; transform: none; }
.t-slide blockquote { margin: 0 0 30px; font: 300 clamp(26px, 3.2vw, 42px)/1.35 var(--serif); }
.t-slide figcaption { display: flex; flex-direction: column; gap: 4px; }
.t-slide figcaption b { font: 500 13px var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.t-slide figcaption span { font: italic 400 18px var(--serif); color: var(--clay); }
.t-slider__dots { display: flex; justify-content: center; gap: 12px; margin-top: 40px; }
.t-slider__dots button { width: 36px; height: 14px; position: relative; }
.t-slider__dots button::after { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--stone); transition: background .4s, height .4s; }
.t-slider__dots button.is-active::after { background: var(--ink); height: 2px; }

/* ---------- Journal ---------- */
.journal { background: var(--cream); }
.journal__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 44px); }
.post { cursor: pointer; }
.post__img { aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 22px; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.post:hover .post__img img { transform: scale(1.06); }
.post__meta { display: flex; gap: 16px; font: 500 11px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.post__meta span { color: var(--clay); }
.post h3 { font: 400 clamp(24px, 2.2vw, 30px)/1.2 var(--serif); margin-bottom: 18px; transition: color .3s; }
.post:hover h3 { color: var(--clay); }

/* ---------- CTA ---------- */
.cta { padding: clamp(110px, 15vw, 200px) 0; color: var(--white); text-align: center; }
.cta::before { content: ''; position: absolute; inset: 0; background: rgba(28,24,21,.5); z-index: 1; }
.cta__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.cta .h2 { max-width: 860px; margin-bottom: 40px; }
.cta .h2 em { color: var(--sand); }

/* ---------- Instagram ---------- */
.insta { padding: var(--section) 0 0; text-align: center; background: var(--ivory); }
.insta__head .h2 { font-style: italic; font-size: clamp(30px, 4vw, 48px); }
.insta__head a:hover { color: var(--clay); }
.insta__grid { display: grid; grid-template-columns: repeat(6, 1fr); }
.insta__item { position: relative; aspect-ratio: 1; overflow: hidden; display: block; }
.insta__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.insta__icon { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(42,38,34,.45); color: var(--white); opacity: 0; transition: opacity .5s; }
.insta__icon svg { width: 34px; height: 34px; }
.insta__item:hover img { transform: scale(1.08); }
.insta__item:hover .insta__icon { opacity: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(247,243,238,.75); padding: clamp(64px, 8vw, 110px) 0 0; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.5fr; gap: clamp(32px, 4vw, 64px); padding-bottom: 64px; }
.footer__brand p { margin: 24px 0; max-width: 300px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer__col h4 { font: 500 11.5px var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--ivory); margin-bottom: 10px; }
.footer__col a { transition: color .3s; }
.footer__col a:hover { color: var(--sand); }
.socials--icons { gap: 12px; }
.socials--icons a { width: 42px; height: 42px; border: 1px solid rgba(247,243,238,.25); border-radius: 50%; display: grid; place-items: center; transition: background .4s, color .4s, border-color .4s; }
.socials--icons a:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.socials--icons svg { width: 17px; height: 17px; }
.newsletter { position: relative; width: 100%; display: flex; flex-wrap: wrap; border-bottom: 1px solid rgba(247,243,238,.35); }
.newsletter input[type=email] { flex: 1; min-width: 0; background: transparent; border: 0; padding: 14px 0; color: var(--ivory); font: 300 16px var(--sans); outline: none; }
.newsletter input::placeholder { color: rgba(247,243,238,.5); }
.newsletter button { width: 44px; display: grid; place-items: center; color: var(--ivory); }
.newsletter button svg { width: 20px; height: 20px; transition: transform .4s var(--ease); }
.newsletter button:hover svg { transform: translateX(5px); }
.newsletter .form-msg { position: absolute; top: calc(100% + 10px); left: 0; margin: 0; font-size: 13px; color: var(--sand); }
.newsletter .form-msg.is-error { color: #e8a796; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; padding-bottom: 26px; border-top: 1px solid rgba(247,243,238,.12); font-size: 12.5px; letter-spacing: .08em; }
.footer__bottom p { margin: 0; }
.to-top-link:hover { color: var(--sand); }

.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 50px; height: 50px; border-radius: 50%; background: var(--ink); color: var(--ivory); display: grid; place-items: center; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .4s, transform .4s var(--ease), background .3s; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.to-top svg { width: 20px; height: 20px; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--clay); }

/* ---------- About page ---------- */
.about-intro__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
.about-intro__photo { position: relative; aspect-ratio: 3 / 4; isolation: isolate; }
.about-intro__photo > .reveal--clip { height: 100%; }
.about-intro__photo::before { content: ''; position: absolute; inset: 24px -24px -24px 24px; border: 1px solid var(--clay); z-index: -1; }
.about-intro__caption { position: absolute; left: 0; bottom: -44px; font: italic 400 16px var(--serif); color: var(--muted); }
.quote-band { background: var(--sand); padding: clamp(72px, 9vw, 120px) 0; text-align: center; }
.quote-band blockquote { margin: 0 auto 20px; max-width: 980px; font: italic 300 clamp(30px, 4vw, 54px)/1.25 var(--serif); }
.quote-band cite { font: 500 12px var(--sans); font-style: normal; letter-spacing: .26em; text-transform: uppercase; color: var(--clay); }
.values__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.value { background: var(--ivory); padding: clamp(30px, 3vw, 48px); transition: background .5s; }
.value:hover { background: var(--cream); }
.value__num { font: italic 300 42px/1 var(--serif); color: var(--clay); display: block; margin-bottom: 24px; }
.value h3 { font: 400 28px/1.2 var(--serif); margin-bottom: 12px; }
.value p { font-size: 15.5px; color: var(--muted); margin: 0; }
.behind { background: var(--cream); }
.behind__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: repeat(2, clamp(200px, 24vw, 340px)); gap: clamp(12px, 1.6vw, 22px); }
.behind__grid > div:nth-child(1) { grid-row: span 2; }
.behind__grid > div:nth-child(4) { grid-column: 2 / 4; }
.split__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
.split__img { aspect-ratio: 5 / 6; }
.split__img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Services page ---------- */
.service-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }
.service-tabs a { padding: 10px 18px; border: 1px solid var(--line); border-radius: 40px; font-size: 13.5px; transition: background .3s, color .3s, border-color .3s; }
.service-tabs a:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.service-row { padding: clamp(56px, 7vw, 100px) 0; scroll-margin-top: 80px; }
.service-row:nth-child(even) { background: var(--cream); }
.service-row__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.service-row--rev .service-row__img { order: 2; }
.service-row__img { position: relative; aspect-ratio: 5 / 4; }
.service-row__img img { width: 100%; height: 100%; object-fit: cover; }
.service-row__num { position: absolute; bottom: 12px; right: 24px; font: 300 clamp(80px, 10vw, 140px)/1 var(--serif); color: var(--ivory); text-shadow: 0 4px 30px rgba(0,0,0,.2); }
.service-row--rev .service-row__num { right: auto; left: 24px; }
.service-row .h2 { font-size: clamp(34px, 4vw, 52px); }

.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 110px); }
.acc { border-bottom: 1px solid var(--line); }
.acc:first-child { border-top: 1px solid var(--line); }
.acc__btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; text-align: left; padding: 26px 0; font: 400 clamp(21px, 2vw, 25px)/1.3 var(--serif); transition: color .3s; }
.acc__btn:hover { color: var(--clay); }
.acc__icon { flex: none; width: 18px; height: 18px; position: relative; }
.acc__icon::before, .acc__icon::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .4s var(--ease); }
.acc__icon::after { transform: rotate(90deg); }
.acc__btn[aria-expanded="true"] .acc__icon::after { transform: rotate(0); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.acc__panel > div { overflow: hidden; }
.acc__panel p { color: var(--muted); padding-bottom: 26px; margin: 0; }
.acc.is-open .acc__panel { grid-template-rows: 1fr; }

/* ---------- Portfolio page ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 30px; margin-bottom: clamp(40px, 6vw, 64px); }
.filter { font: 400 13px var(--sans); letter-spacing: .2em; text-transform: uppercase; padding: 8px 0; position: relative; color: var(--muted); transition: color .3s; }
.filter sup { font-size: 9px; color: var(--clay); margin-left: 2px; }
.filter::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transition: transform .4s var(--ease); }
.filter:hover, .filter.is-active { color: var(--ink); }
.filter.is-active::after { transform: scaleX(1); }
.masonry { columns: 3; column-gap: clamp(14px, 1.6vw, 24px); }
.masonry__item { break-inside: avoid; margin: 0 0 clamp(14px, 1.6vw, 24px); }
.masonry__item.is-hidden { display: none; }
.masonry__item.is-filtering { animation: popIn .7s var(--ease-out) both; }
@keyframes popIn { from { opacity: 0; transform: scale(.96) translateY(20px); } }
.masonry__btn { display: block; width: 100%; position: relative; overflow: hidden; text-align: left; }
.masonry__btn img { width: 100%; height: auto; transition: transform 1.2s var(--ease-out); }
.masonry__item:nth-child(3n+1) .masonry__btn img { aspect-ratio: 4 / 5; object-fit: cover; }
.masonry__item:nth-child(3n+2) .masonry__btn img { aspect-ratio: 4 / 3; object-fit: cover; }
.masonry__item:nth-child(3n) .masonry__btn img { aspect-ratio: 1; object-fit: cover; }
.masonry__btn figcaption { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; color: var(--white); background: linear-gradient(0deg, rgba(20,17,14,.7), transparent 60%); opacity: 0; transition: opacity .5s; }
.masonry__btn figcaption span { font: 500 10.5px var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--sand); transform: translateY(12px); transition: transform .5s var(--ease-out); }
.masonry__btn figcaption b { font: 400 26px/1.2 var(--serif); transform: translateY(12px); transition: transform .5s .05s var(--ease-out); }
.masonry__plus { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); display: grid; place-items: center; font: 300 24px/1 var(--sans); font-style: normal; transform: scale(.6); transition: transform .5s var(--ease-out); }
.masonry__btn:hover img, .masonry__btn:focus-visible img { transform: scale(1.06); }
.masonry__btn:hover figcaption, .masonry__btn:focus-visible figcaption { opacity: 1; }
.masonry__btn:hover figcaption span, .masonry__btn:hover figcaption b, .masonry__btn:focus-visible figcaption span, .masonry__btn:focus-visible figcaption b { transform: none; }
.masonry__btn:hover .masonry__plus { transform: scale(1); }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(20,17,14,.96); display: grid; place-items: center; padding: 60px 80px; opacity: 0; transition: opacity .5s var(--ease); }
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__figure { margin: 0; max-width: 1200px; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.lightbox__figure img { max-height: 74vh; width: auto; max-width: 100%; object-fit: contain; transition: opacity .4s, transform .6s var(--ease-out); }
.lightbox__figure img.is-loading { opacity: 0; transform: scale(.98); }
.lightbox figcaption { text-align: center; color: var(--ivory); max-width: 640px; }
.lightbox__meta { display: block; font: 500 11px var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--sand); margin-bottom: 6px; }
.lightbox__title { display: block; font: 400 30px var(--serif); }
.lightbox__desc { color: rgba(247,243,238,.7); font-size: 15px; margin: 6px 0 0; }
.lightbox__close { position: absolute; top: 18px; right: 24px; font: 300 46px/1 var(--sans); color: var(--ivory); width: 50px; height: 50px; transition: transform .4s var(--ease); }
.lightbox__close:hover { transform: rotate(90deg); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(247,243,238,.35); color: var(--ivory); display: grid; place-items: center; transition: background .3s, color .3s; }
.lightbox__nav:hover { background: var(--ivory); color: var(--ink); }
.lightbox__nav svg { width: 20px; height: 20px; }
.lightbox__nav--prev { left: 20px; } .lightbox__nav--next { right: 20px; }
.lightbox__count { position: absolute; top: 30px; left: 30px; color: var(--ivory); font: 400 13px var(--sans); letter-spacing: .2em; }

/* ---------- Contact page ---------- */
.contact__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.contact__info > div:first-child { aspect-ratio: 4 / 3; margin-bottom: 40px; }
.contact__list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 18px; }
.contact__list li { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.contact__list span { font: 500 11px/2.2 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--clay); }
.contact__list a:hover { color: var(--clay); }
.contact__form-wrap { background: var(--white); padding: clamp(28px, 5vw, 64px); box-shadow: 0 40px 80px -50px rgba(42,38,34,.35); position: sticky; top: 110px; }
.contact-form h3, .form-success h3 { font: 400 38px var(--serif); margin-bottom: 30px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; margin-bottom: 28px; }
.field { position: relative; padding-top: 18px; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea, .field select {
  width: 100%; border: 0; border-bottom: 1px solid var(--stone); background: transparent;
  padding: 12px 0 10px; font: 300 17px var(--sans); color: var(--ink); outline: none; border-radius: 0;
  transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a87b5a' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right center; background-size: 18px; padding-right: 26px; }
.field select:invalid, .field select option[value=""] { color: var(--muted); }
.field label:not(.sr-only) { position: absolute; left: 0; top: 30px; color: var(--muted); font-size: 16px; pointer-events: none; transform-origin: left; transition: transform .35s var(--ease), color .35s; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-26px) scale(.78); color: var(--clay); letter-spacing: .04em; }
.field::after { content: ''; position: absolute; left: 0; right: 0; bottom: 22px; height: 1px; background: var(--clay); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.field:focus-within::after { transform: scaleX(1); }
.field__err { display: block; min-height: 22px; font-size: 12.5px; color: #a64b3c; padding-top: 4px; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #a64b3c; }
.form-alert { background: #f6e3df; color: #a64b3c; padding: 12px 16px; font-size: 15px; }
.form-note { font-size: 13px; color: var(--muted); text-align: center; margin: 16px 0 0; }
.btn.is-loading span { opacity: .4; }
.btn.is-loading::before { content: ''; width: 16px; height: 16px; border: 1.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; position: absolute; }
.form-success { text-align: center; padding: 30px 0; }
.form-success svg { width: 72px; height: 72px; color: var(--clay); margin: 0 auto 20px; }
.form-success svg circle { stroke-dasharray: 140; stroke-dashoffset: 140; animation: draw 1s var(--ease-out) forwards; }
.form-success svg path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .6s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__bar { grid-template-columns: 1fr auto; padding-top: 18px; padding-bottom: 18px; }
  .logo { align-items: flex-start; text-align: left; }
  .logo__km { font-size: 32px; padding-left: 0; }
  .is-scrolled .logo__km { font-size: 28px; }
  .logo__text { padding-left: 0; letter-spacing: .38em; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .values__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  body { font-size: 16px; }
  .welcome__grid, .meet__grid, .transform__grid, .about-intro__grid, .split__grid,
  .service-row__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .service-row--rev .service-row__img { order: 0; }
  .welcome__media { max-width: 560px; }
  .welcome__badge { width: 104px; height: 104px; top: -30px; }
  .meet__photos { max-width: 560px; }
  .service-cards { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .service-card { display: grid; grid-template-columns: 1fr; }
  .service-card__img { aspect-ratio: 16 / 10; }
  .featured__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .project-tile--1 { grid-column: 1 / -1; grid-row: span 2; }
  .project-tile--2, .project-tile--3, .project-tile--4, .project-tile--5 { grid-column: auto; grid-row: span 1; }
  .project-tile--5 { grid-column: 1 / -1; }
  .process__list { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .process__list::before { display: none; }
  .stats__grid { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .journal__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .insta__grid { grid-template-columns: repeat(3, 1fr); }
  .masonry { columns: 2; }
  .about-intro__photo { max-width: 520px; margin-bottom: 40px; }
  .behind__grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 240px; }
  .behind__grid > div:nth-child(1) { grid-row: span 2; }
  .behind__grid > div:nth-child(4) { grid-column: 1 / -1; }
  .contact__form-wrap { position: static; }
  .hero__scroll { display: none; }
}

@media (max-width: 640px) {
  :root { --section: 72px; }
  .announce { font-size: 10.5px; letter-spacing: .06em; }
  .hero { min-height: 560px; }
  .hero__content { padding-top: 140px; }
  .hero__title { font-size: clamp(42px, 12.5vw, 64px); }
  .hero__content { justify-content: flex-end; padding-bottom: 32px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__bottom { padding-bottom: 24px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero__progress { width: 70px; }
  .hero__arrow { width: 42px; height: 42px; }
  .hero__name { font-size: 20px; }
  .featured__grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .project-tile--1 { grid-row: span 1; }
  .project-tile__info { transform: none; }
  .process__list, .stats__grid { grid-template-columns: 1fr; }
  .values__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .masonry { columns: 1; }
  .masonry__btn figcaption { opacity: 1; }
  .masonry__btn figcaption span, .masonry__btn figcaption b { transform: none; }
  .masonry__plus { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .behind__grid { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .behind__grid > div:nth-child(1) { grid-row: span 1; }
  .lightbox { padding: 60px 12px 90px; }
  .lightbox__nav { top: auto; bottom: 20px; transform: none; }
  .lightbox__nav--prev { left: calc(50% - 66px); } .lightbox__nav--next { right: calc(50% - 66px); }
  .contact__list li { grid-template-columns: 1fr; gap: 2px; }
  .ba__handle span { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
  .signature { font-size: 38px; }
  .meet__ctas { gap: 22px; }
  .about-intro__photo::before { inset: 14px -10px -14px 14px; }
}

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

/* Small-screen helpers */
.show-sm { display: none; }
@media (max-width: 640px) {
  .hide-sm { display: none; }
  .show-sm { display: inline; }
  .announce p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hero__shade { background: linear-gradient(180deg, rgba(20,17,14,.5) 0%, rgba(20,17,14,.2) 30%, rgba(20,17,14,.55) 60%, rgba(20,17,14,.8) 100%); }
  .hero__lead { text-shadow: 0 1px 12px rgba(0,0,0,.35); }
}

/* Touch screens (phones, iPads) have no hover: always show project captions */
@media (hover: none) {
  .masonry__btn figcaption { opacity: 1; }
  .masonry__btn figcaption span, .masonry__btn figcaption b { transform: none; }
  .masonry__plus { transform: scale(1); }
  .project-tile::after { opacity: 1; }
  .project-tile__info { transform: none; }
}
