/* AS Homs — v2 mockup stylesheet
 * Monumental photography, confident restraint.
 * See /DESIGN.md v2 for the direction.
 */

/* ─── Fonts: Fontshare (not Google) ─────────────────────────────── */
/* Loaded in HTML via <link> — see index.html */

/* ─── Tokens ──────────────────────────────────────────────────────── */

:root {
  --bone: #EFEBE3;
  --bone-raised: #F6F2EB;
  --ink: #1A1613;
  --ink-soft: #5C544B;
  --ink-faint: #6E6358;
  --coffee: #473F38;
  --brand-brown: #7E4F23;
  --line: #D9D1C3;

  --font-display: 'Zodiak', 'Reckless', Georgia, serif;
  --font-body: 'Switzer', 'Neue Haas Grotesk', -apple-system, sans-serif;

  --container: 1360px;
  --gutter: 56px;
  --section-pad: 160px;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
}

@media (max-width: 900px) {
  :root {
    --gutter: 20px;
    --section-pad: 96px;
  }
}

/* ─── Reset ──────────────────────────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
  background: var(--bone);
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  filter: saturate(1.03) contrast(1.02);
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ─── Accessibility: focus states + skip-link ──────────────────── */

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}

.nav a:focus-visible,
.footer a:focus-visible,
.btn:focus-visible {
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--bone);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transform: translateY(-120%);
  transition: transform 200ms var(--ease);
  z-index: 100;
}

.skip-link:focus-visible {
  transform: translateY(0);
  outline: none;
}

/* ─── Reduced motion ──────────────────────────────────────────── */

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

/* ─── Container ──────────────────────────────────────────────────── */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.full {
  width: 100%;
}

/* ─── Type ───────────────────────────────────────────────────────── */

.d-xl {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(68px, 10vw, 148px);
  line-height: 0.92;
  letter-spacing: -0.02em;
}

.d-lg {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.015em;
}

.d-md {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.d-sm {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.15;
}

.body-lg {
  font-size: 19px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--ink);
}

.body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
}

.body-soft { color: var(--ink-soft); }
.body-faint { color: var(--ink-faint); }

.caption {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
}

em, .italic {
  font-family: var(--font-display);
  font-style: italic;
}

/* ─── Nav ────────────────────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 20px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 400ms var(--ease), backdrop-filter 400ms var(--ease), padding 400ms var(--ease), color 300ms var(--ease);
  color: var(--ink);
}

/* On hero pages the nav sits over a photo until the user scrolls — tint to bone */
.nav--on-hero:not(.nav--scrolled) { color: var(--bone); }

/* Top-of-hero scrim: ensures legibility of the nav over the photo */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(26, 22, 19, 0.45) 0%, transparent 100%);
  z-index: 4;
  pointer-events: none;
}

.nav--scrolled {
  padding-top: 16px;
  padding-bottom: 16px;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1;
  color: inherit;
}

.nav__brand-mark {
  display: block;
  height: 40px;
  width: auto;
  mix-blend-mode: multiply;
}

/* When nav is over hero (dark), light-isolate the mark */
.nav--on-hero:not(.nav--scrolled) .nav__brand-mark {
  mix-blend-mode: screen;
  filter: brightness(1.3) contrast(1.1);
}

.nav__list {
  display: flex;
  gap: 36px;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
}

.nav__link {
  position: relative;
  padding: 4px 0;
  opacity: 0.75;
  transition: opacity 200ms var(--ease);
}

.nav__link:hover,
.nav__link[aria-current="page"] { opacity: 1; }

.nav__link[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: currentColor;
}

.nav__toggle {
  display: none;
  width: 36px;
  height: 36px;
  position: relative;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.nav__toggle span {
  position: absolute;
  left: 6px;
  right: 6px;
  height: 1px;
  background: currentColor;
  transition: transform 300ms var(--ease), top 300ms var(--ease), opacity 200ms var(--ease);
}

.nav__toggle span:nth-child(1) { top: 15px; }
.nav__toggle span:nth-child(2) { top: 21px; }

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  top: 18px;
  transform: rotate(45deg);
}
.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  top: 18px;
  transform: rotate(-45deg);
}

@media (max-width: 768px) {
  .nav__toggle { display: block; }

  .nav__list {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bone);
    color: var(--ink);
    mix-blend-mode: normal;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    font-size: 28px;
    font-family: var(--font-display);
    font-weight: 400;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 400ms var(--ease), transform 400ms var(--ease);
    z-index: 40;
  }

  .nav__list.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav__link { font-size: 32px; opacity: 1; }

  body.nav-open { overflow: hidden; }
}

/* ─── Hero (full-bleed) ──────────────────────────────────────────── */

.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: var(--ink);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 22, 19, 0.35) 0%,
    rgba(26, 22, 19, 0.0) 25%,
    rgba(26, 22, 19, 0.0) 55%,
    rgba(26, 22, 19, 0.55) 100%
  );
  z-index: 2;
}

.hero__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 0 var(--gutter) 72px;
  color: var(--bone);
}

.hero__content-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 56px;
  align-items: end;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(56px, 7.5vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  max-width: 14ch;
  color: var(--bone);
}

.hero__title em {
  color: var(--bone);
  opacity: 0.72;
}

.hero__sub {
  max-width: 28ch;
  font-size: 15px;
  line-height: 1.6;
  color: var(--bone);
  opacity: 0.82;
  padding-bottom: 8px;
}

.hero__meta {
  position: absolute;
  top: 50%;
  right: var(--gutter);
  transform: translateY(-50%) rotate(90deg);
  transform-origin: right center;
  z-index: 3;
  color: var(--bone);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .hero__content { padding-bottom: 48px; }
  .hero__content-inner { grid-template-columns: 1fr; gap: 20px; }
  .hero__meta { display: none; }
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: scale(1.04);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Section rhythm ─────────────────────────────────────────────── */

.section {
  padding: var(--section-pad) 0;
}

.section--split {
  padding: 0;
}

/* ─── Intro — large statement ────────────────────────────────────── */

.intro__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 72px;
  align-items: start;
}

.intro__eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  padding-top: 20px;
}

.intro__statement {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.intro__statement em {
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .intro__grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ─── Projects (home list) — monumental photo blocks ─────────────── */

.projects {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.project {
  position: relative;
  min-height: 92vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--bone);
}

.project:nth-child(even) {
  direction: rtl;
}

.project:nth-child(even) > * {
  direction: ltr;
}

.project__media {
  position: relative;
  overflow: hidden;
  background: var(--line);
}

.project__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1200ms var(--ease-soft);
}

.project:hover .project__media img {
  transform: scale(1.025);
}

.project__content {
  padding: 96px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}

.project__index {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  text-transform: uppercase;
}

.project__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.project__title em {
  color: var(--ink-soft);
}

.project__description {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 42ch;
}

.project__meta {
  display: flex;
  gap: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.project__meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.project__meta-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  text-transform: uppercase;
}

.project__meta-value {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink);
}

.project__link {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink);
  width: fit-content;
  transition: gap 300ms var(--ease);
}

.project__link:hover { gap: 18px; }

@media (max-width: 900px) {
  .project {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .project:nth-child(even) { direction: ltr; }
  .project__media { aspect-ratio: 4 / 3; }
  .project__content { padding: 56px var(--gutter); gap: 24px; }
  .project__meta { gap: 24px; }
}

/* ─── Peek strip — "more from this project" ─────────────────────── */

.peek {
  padding: 120px 0 var(--section-pad);
  background: var(--bone);
}

.peek__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 32px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.peek__label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

.peek__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: gap 300ms var(--ease);
}

.peek__link:hover { gap: 16px; color: var(--ink-soft); }

.peek__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.peek__item {
  position: relative;
  overflow: hidden;
  margin: 0;
  cursor: pointer;
}

.peek__item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--line);
  transition: transform 1000ms var(--ease-soft);
}

.peek__item:hover img {
  transform: scale(1.04);
}

.peek__cap {
  margin-top: 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .peek { padding: 80px 0 var(--section-pad); }
  .peek__head { flex-direction: column; gap: 16px; align-items: flex-start; }
  .peek__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* ─── Services — minimal list ────────────────────────────────────── */

.services {
  padding: var(--section-pad) 0;
  background: var(--bone-raised);
}

.services__head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 72px;
  margin-bottom: 96px;
}

.services__eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  padding-top: 24px;
}

.services__intro {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.services__list {
  list-style: none;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 48px;
  align-items: baseline;
  padding: 48px 0;
  border-top: 1px solid var(--line);
  transition: padding-left 500ms var(--ease);
  cursor: default;
}

.service-row:last-child {
  border-bottom: 1px solid var(--line);
}

.service-row:hover {
  padding-left: 16px;
}

.service-row__name {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.service-row__desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.service-row__fit {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  text-align: right;
}

@media (max-width: 900px) {
  .services__head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 56px; }
  .service-row { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
  .service-row__fit { text-align: left; }
}

/* ─── Pullquote (quiet, not editorial) ──────────────────────────── */

.pullquote {
  padding: var(--section-pad) 0;
  background: var(--bone);
}

.pullquote__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.pullquote__q {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.pullquote__q em {
  color: var(--ink-soft);
}

.pullquote__attr {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}

.pullquote__attr::before {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: var(--ink-faint);
}

.pullquote__scaffold-note {
  margin-top: 48px;
  padding: 12px 16px;
  background: var(--bone-raised);
  border: 1px dashed var(--line);
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
  display: inline-block;
}

/* ─── CTA strip — dark, calm ─────────────────────────────────────── */

.cta {
  background: var(--coffee);
  color: var(--bone);
  padding: 160px 0;
}

.cta__grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 96px;
  align-items: end;
}

.cta__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 5.5vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--bone);
  max-width: 14ch;
}

.cta__title em {
  color: var(--bone);
  opacity: 0.6;
}

.cta__text {
  font-size: 17px;
  line-height: 1.55;
  color: var(--bone);
  opacity: 0.72;
  margin-bottom: 40px;
  max-width: 42ch;
}

.cta__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 0;
  transition: all 300ms var(--ease);
  cursor: pointer;
}

.btn--primary {
  background: var(--bone);
  color: var(--ink);
}

.btn--primary:hover {
  background: var(--bone-raised);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--bone);
  border: 1px solid var(--bone);
}

.btn--outline:hover {
  background: var(--bone);
  color: var(--ink);
}

.btn__arrow {
  transition: transform 300ms var(--ease);
}

.btn:hover .btn__arrow { transform: translateX(4px); }

@media (max-width: 900px) {
  .cta { padding: 96px 0; }
  .cta__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ─── Footer ─────────────────────────────────────────────────────── */

.footer {
  background: var(--bone);
  padding: 80px 0 40px;
  border-top: 1px solid var(--line);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 72px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1;
  margin-bottom: 20px;
  color: var(--ink);
}

.footer__brand-mark {
  display: block;
  height: 72px;
  width: auto;
  mix-blend-mode: multiply;
}

.footer__tag {
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 32ch;
  line-height: 1.5;
}

.footer__heading {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  margin-bottom: 20px;
}

.footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  color: var(--ink);
}

.footer__list a {
  transition: color 200ms var(--ease);
}

.footer__list a:hover { color: var(--ink-soft); }

.footer__bar {
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--ink-faint);
}

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bar { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* ─── Scroll reveal ──────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── About — portrait + bio split hero ──────────────────────────── */

.about-hero {
  padding-top: 120px;
  padding-bottom: 0;
}

.about-hero__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  min-height: 86vh;
  gap: 0;
}

.about-hero__portrait {
  position: relative;
  overflow: hidden;
  background: var(--line);
}

.about-hero__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero__text {
  padding: 96px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 36px;
}

.about-hero__eyebrow {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}

.about-hero__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 6vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.about-hero__name em {
  color: var(--ink-soft);
}

.about-hero__body {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
  max-width: 48ch;
}

.about-hero__body p + p { margin-top: 16px; }

@media (max-width: 900px) {
  .about-hero__grid { grid-template-columns: 1fr; }
  .about-hero__portrait { aspect-ratio: 3 / 4; }
  .about-hero__text { padding: 64px var(--gutter); gap: 24px; }
}

/* ─── Values (3 pillars) ─────────────────────────────────────────── */

.values {
  padding: var(--section-pad) 0;
}

.values__head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 72px;
  margin-bottom: 96px;
}

.values__eyebrow {
  font-size: 13px;
  color: var(--ink-soft);
  padding-top: 20px;
}

.values__intro {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 20ch;
}

.values__intro em { color: var(--ink-soft); }

.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 72px;
}

.value__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.5vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.value__title em { color: var(--ink-soft); }

.value__text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .values__head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 56px; }
  .values__grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ─── Process (sequential steps) ─────────────────────────────────── */

.process {
  padding: var(--section-pad) 0;
  background: var(--bone-raised);
}

.process__head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 72px;
  margin-bottom: 72px;
}

.process__intro {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 20ch;
}

.process__intro em { color: var(--ink-soft); }

.process__list {
  list-style: none;
}

.process-step {
  display: grid;
  grid-template-columns: 1fr 2fr 3fr;
  gap: 48px;
  padding: 56px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}

.process-step:last-child { border-bottom: 1px solid var(--line); }

.process-step__num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1;
  color: var(--ink-faint);
  letter-spacing: -0.02em;
}

.process-step__name {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.process-step__desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .process__head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 56px; }
  .process-step { grid-template-columns: auto 1fr; gap: 20px; padding: 32px 0; }
  .process-step__desc { grid-column: 1 / -1; }
}

/* ─── Scope clarity block ("What I'm not") ───────────────────────── */

.scope {
  padding: var(--section-pad) 0;
}

.scope__grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 72px;
  align-items: start;
  padding: 64px 72px;
  background: var(--coffee);
  color: var(--bone);
}

.scope__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--bone);
}

.scope__title em { color: var(--bone); opacity: 0.55; }

.scope__body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--bone);
  opacity: 0.78;
}

.scope__body p + p { margin-top: 16px; }

@media (max-width: 900px) {
  .scope__grid { grid-template-columns: 1fr; gap: 24px; padding: 48px 32px; }
}

/* ─── Services (deep page) ──────────────────────────────────────── */

.service-detail {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 72px;
  padding: 88px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.service-detail:last-of-type { border-bottom: 1px solid var(--line); }

.service-detail__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.service-detail__title em { color: var(--ink-soft); }

.service-detail__body {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  max-width: 54ch;
}

.service-detail__body p + p { margin-top: 16px; }

.service-detail__fit {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .service-detail { grid-template-columns: 1fr; gap: 24px; padding: 56px 0; }
}

/* ─── Video tour (Portfolio page) ────────────────────────────────── */

.video-tour {
  padding: var(--section-pad) 0 0;
}

.video-tour__head {
  display: flex;
  align-items: baseline;
  gap: 32px;
  margin-bottom: 36px;
}

.video-tour__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.video-tour__title em { color: var(--ink-soft); }

.video-tour__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--coffee);
  overflow: hidden;
  border: 1px solid var(--line);
}

.video-tour__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 768px) {
  .video-tour__head { flex-direction: column; gap: 8px; }
}

/* ─── Case study (Portfolio page) ────────────────────────────────── */

.case-brief {
  padding: var(--section-pad) 0;
}

.case-brief__grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 96px;
  align-items: start;
}

.case-brief__meta {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.case-brief__meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.case-brief__meta-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  text-transform: uppercase;
}

.case-brief__meta-value {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.1;
  color: var(--ink);
}

.case-brief__narrative {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
}

.case-brief__narrative p + p { margin-top: 20px; }

.case-brief__narrative p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 4.5em;
  line-height: 0.85;
  float: left;
  padding-right: 12px;
  padding-top: 6px;
  color: var(--ink);
}

@media (max-width: 900px) {
  .case-brief__grid { grid-template-columns: 1fr; gap: 48px; }
}

.rooms { padding-bottom: var(--section-pad); }

.room {
  padding: 96px 0;
  border-top: 1px solid var(--line);
}

.room__head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 72px;
  margin-bottom: 56px;
  align-items: baseline;
}

.room__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.room__title em { color: var(--ink-soft); }

.room__text {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 56ch;
}

.room__gallery {
  display: grid;
  gap: 24px;
}

.room__gallery--wide { grid-template-columns: 1fr; }
.room__gallery--pair { grid-template-columns: 1fr 1fr; }
.room__gallery--triptych { grid-template-columns: 2fr 1fr 1fr; }
.room__gallery--row3 { grid-template-columns: repeat(3, 1fr); }

.room__gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--line);
}

.room__gallery--wide img { aspect-ratio: 16 / 9; }
.room__gallery--triptych img:first-child { aspect-ratio: 4 / 5; }

@media (max-width: 900px) {
  .room__head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 32px; }
  .room__gallery--pair,
  .room__gallery--triptych,
  .room__gallery--row3 { grid-template-columns: 1fr; }
}

.credits {
  padding: var(--section-pad) 0;
  background: var(--bone-raised);
}

.credits__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 72px;
}

.credits__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.credits__list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 48px;
}

.credit__label {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.credit__value {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink);
}

@media (max-width: 900px) {
  .credits__grid { grid-template-columns: 1fr; gap: 32px; }
  .credits__list { grid-template-columns: 1fr; gap: 24px; }
}

/* ─── Contact page ───────────────────────────────────────────────── */

.contact-hero {
  padding: 180px 0 96px;
}

.contact-hero__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 96px;
  align-items: end;
}

.contact-hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(56px, 7vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 14ch;
}

.contact-hero__title em { color: var(--ink-soft); }

.contact-hero__sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  padding-bottom: 12px;
}

.contact-hero__sub strong {
  color: var(--ink);
  font-weight: 500;
}

@media (max-width: 900px) {
  .contact-hero { padding: 120px 0 48px; }
  .contact-hero__grid { grid-template-columns: 1fr; gap: 32px; }
}

.contact-body {
  padding: 96px 0 var(--section-pad);
}

.contact-body__grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 96px;
  align-items: start;
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 20px;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form__field--full { grid-column: 1 / -1; }

.form__label {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

.form__input,
.form__textarea,
.form__select {
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  outline: none;
  transition: border-color 200ms var(--ease);
  border-radius: 0;
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus { border-color: var(--ink); }

.form__textarea {
  min-height: 120px;
  resize: vertical;
  font-family: var(--font-body);
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%235C544B' stroke-width='1.5' d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 28px;
}

.form__radios {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.radio {
  position: relative;
}

.radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio label {
  display: inline-block;
  padding: 10px 18px;
  font-size: 14px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 200ms var(--ease);
}

.radio input:checked + label {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--bone-raised);
}

.form__submit {
  grid-column: 1 / -1;
  margin-top: 24px;
}

.contact-side {
  padding: 48px;
  background: var(--bone-raised);
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.contact-side__portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--line);
}

.contact-side__name {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 6px;
}

.contact-side__role {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
}

.contact-side__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
}

.contact-side__list a:hover { color: var(--ink-soft); }

.contact-side__note {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .contact-body__grid { grid-template-columns: 1fr; gap: 48px; }
  .form { grid-template-columns: 1fr; }
  .contact-side { padding: 32px; }
}

/* ─── Page hero (used on Services) ──────────────────────────────── */

.page-hero {
  padding: 180px 0 96px;
}

.page-hero__grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 96px;
  align-items: end;
}

.page-hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(56px, 7vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 10ch;
}

.page-hero__title em { color: var(--ink-soft); }

.page-hero__sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  padding-bottom: 16px;
  max-width: 46ch;
}

@media (max-width: 900px) {
  .page-hero { padding: 120px 0 48px; }
  .page-hero__grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ─── Nav color-mode override for light-background pages ─────────── */

.nav--light {
  mix-blend-mode: normal;
  color: var(--ink);
}

.nav--light .nav__link { color: var(--ink); opacity: 0.7; }
.nav--light .nav__link:hover,
.nav--light .nav__link[aria-current="page"] { opacity: 1; }

/* ─── FAQ accordion ─────────────────────────────────────────────── */

.faq__head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 72px;
  margin-bottom: 72px;
}

.faq__list {
  margin-left: 228px;
  max-width: 72ch;
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-item__q {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.25;
  color: var(--ink);
  padding: 32px 48px 32px 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: color 300ms var(--ease);
  letter-spacing: -0.005em;
}

.faq-item__q::-webkit-details-marker { display: none; }

.faq-item__q::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 300;
  color: var(--ink-faint);
  transition: transform 400ms var(--ease), color 300ms var(--ease);
}

.faq-item[open] .faq-item__q::after {
  content: '−';
  color: var(--ink);
}

.faq-item__q:hover { color: var(--ink-soft); }

.faq-item__a {
  padding: 0 48px 32px 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 60ch;
}

@media (max-width: 900px) {
  .faq__head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; }
  .faq__list { margin-left: 0; }
}

/* ─── Legal pages (privacy, terms) ──────────────────────────────── */

.legal {
  max-width: 68ch;
  margin-left: 228px;
}

.legal__updated {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  text-transform: uppercase;
  margin-bottom: 48px;
}

.legal__h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.2;
  color: var(--ink);
  margin-top: 48px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.legal p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 12px;
}

.legal__list {
  list-style: none;
  margin-bottom: 16px;
  padding-left: 0;
}

.legal__list li {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  padding-left: 20px;
  margin-bottom: 6px;
  position: relative;
}

.legal__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--ink-faint);
}

.legal a {
  text-decoration: underline;
  text-decoration-color: var(--ink-faint);
  text-underline-offset: 3px;
}

.legal a:hover { text-decoration-color: var(--ink); }

@media (max-width: 900px) {
  .legal { margin-left: 0; }
}

/* ─── Form consent + validation ────────────────────────────────── */

.form__consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 0;
  grid-column: 1 / -1;
}

.form__consent input[type="checkbox"] {
  margin-top: 4px;
  width: 16px;
  height: 16px;
  accent-color: var(--ink);
  cursor: pointer;
  flex-shrink: 0;
}

.form__consent label {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
  cursor: pointer;
}

.form__consent a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form__input:invalid:not(:placeholder-shown),
.form__textarea:invalid:not(:placeholder-shown) {
  border-color: var(--sienna-deep, #8E4320);
}

/* ─── Pre-hide states for GSAP motion (only when JS has set .js-motion) */
/* These prevent flash of unstyled content when GSAP is about to animate. */
/* If JS fails, .js-motion is never added → everything shows normally.    */

.js-motion .hero__media img {
  opacity: 0;
  transform: scale(1.08);
}

.js-motion .hero__title {
  clip-path: inset(100% 0 0 0);
  -webkit-clip-path: inset(100% 0 0 0);
}

.js-motion .hero__sub,
.js-motion .hero__meta {
  opacity: 0;
}

.js-motion .about-hero__portrait img {
  opacity: 0;
  transform: scale(1.06);
}

.js-motion .project__media {
  clip-path: inset(100% 0 0 0);
  -webkit-clip-path: inset(100% 0 0 0);
}

.js-motion .room__head {
  opacity: 0;
  transform: translateY(32px);
}

.js-motion .room__gallery img {
  opacity: 0;
  transform: translateY(40px);
}

/* ─── Mockup badge (dev-only) ────────────────────────────────────── */

.mockup-note {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--ink);
  color: var(--bone);
  padding: 12px 18px;
  font-size: 11px;
  letter-spacing: 0.04em;
  font-family: var(--font-body);
  font-weight: 500;
  z-index: 100;
  opacity: 0.82;
}

.mockup-note em {
  color: var(--bone);
  opacity: 0.6;
  font-size: 13px;
  margin: 0 2px;
}
