/* ================================================================
   AETHERARIAL — Stylesheet
   Editorial luxury / monastic restraint
   ================================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Color — warm parchment + deep ink + brass */
  --bg:           #ECE3CE;      /* parchment */
  --bg-deep:      #E2D7BD;      /* deeper panels */
  --bg-soft:      #F4EDD9;      /* subtle highlight */
  --ink:          #1B1712;      /* deep warm black */
  --ink-soft:     #56493C;      /* secondary text */
  --ink-faint:    #8C7E68;      /* tertiary, metadata */
  --rule:         #B9AB8A;      /* hairline rules */
  --rule-faint:   #D4C8A8;
  --accent:       #8C6A3A;      /* aged brass */
  --accent-deep:  #5E4624;
  --paper-shadow: rgba(27, 23, 18, 0.06);

  /* Type */
  --f-wordmark:   "Italiana", "Cormorant Garamond", Georgia, serif;
  --f-display:    "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --f-body:       "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --f-ui:         "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Geometry */
  --max:          1480px;
  --gutter:       clamp(1.25rem, 4vw, 3.5rem);
  --section-pad:  clamp(5rem, 11vw, 10rem);

  /* Motion */
  --ease:         cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-weight: 400;
  font-feature-settings: "kern" 1, "liga" 1, "onum" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

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

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

a {
  color: var(--ink);
  text-decoration: none;
  transition: color .3s var(--ease);
}

a:hover { color: var(--accent); }

::selection {
  background: var(--accent);
  color: var(--bg);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Paper grain overlay ---------- */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
  opacity: 0.20;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.10  0 0 0 0 0.09  0 0 0 0 0.07  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
}

/* ================================================================
   TOPBAR
   ================================================================ */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--gutter);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px) saturate(1.1);
  -webkit-backdrop-filter: blur(8px) saturate(1.1);
  border-bottom: 1px solid transparent;
  transform: translateY(-100%);
  transition:
    transform .6s var(--ease),
    border-color .6s var(--ease),
    background .6s var(--ease);
}

.topbar.is-visible {
  transform: translateY(0);
  border-bottom-color: var(--rule-faint);
}

.topbar__mark {
  font-family: var(--f-wordmark);
  font-size: 1.4rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

.topbar__nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.6vw, 2.4rem);
  font-family: var(--f-ui);
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

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

.topbar__cta {
  position: relative;
  color: var(--ink) !important;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
}

@media (max-width: 720px) {
  .topbar__nav { gap: 1rem; }
  .topbar__nav a:not(.topbar__cta) { display: none; }
}

/* ================================================================
   WORDMARK
   ================================================================ */
.wordmark {
  font-family: var(--f-wordmark);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1;
}

.wordmark--small {
  font-size: 1.5rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.wordmark--display {
  font-size: clamp(2.8rem, 13vw, 12rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
  line-height: 0.92;
  color: var(--bg);
  text-shadow: 0 1px 30px rgba(0,0,0,0.25);
}

.wordmark--display .letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(40%);
  animation: letter-rise 1.4s var(--ease) forwards;
}

/* Visual gap between AETHER | ARIAL — 7th letter is the second "a" */
.wordmark--display .letter:nth-child(7) {
  margin-left: 0.22em;
}

/* Same gap for text-rendered wordmark instances */
.wm-gap {
  display: inline-block;
  width: 0.32em;
}

.wordmark--display .letter:nth-child(1)  { animation-delay: 0.10s; }
.wordmark--display .letter:nth-child(2)  { animation-delay: 0.16s; }
.wordmark--display .letter:nth-child(3)  { animation-delay: 0.22s; }
.wordmark--display .letter:nth-child(4)  { animation-delay: 0.28s; }
.wordmark--display .letter:nth-child(5)  { animation-delay: 0.34s; }
.wordmark--display .letter:nth-child(6)  { animation-delay: 0.40s; }
.wordmark--display .letter:nth-child(7)  { animation-delay: 0.46s; }
.wordmark--display .letter:nth-child(8)  { animation-delay: 0.52s; }
.wordmark--display .letter:nth-child(9)  { animation-delay: 0.58s; }
.wordmark--display .letter:nth-child(10) { animation-delay: 0.64s; }
.wordmark--display .letter:nth-child(11) { animation-delay: 0.70s; }

@keyframes letter-rise {
  to { opacity: 1; transform: translateY(0); }
}

.wordmark--footer {
  font-size: clamp(3.2rem, 9vw, 7rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  display: block;
  line-height: 0.95;
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  width: 100%;
  overflow: hidden;
  color: var(--bg);
  background: #0d0c0a;
}

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

.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  animation: hero-zoom 28s var(--ease) forwards;
  filter: brightness(0.78) saturate(0.92) contrast(1.05);
}

@keyframes hero-zoom {
  from { transform: scale(1.0); }
  to   { transform: scale(1.10); }
}

.hero__vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.6) 100%),
    radial-gradient(ellipse at center, rgba(0,0,0,0) 40%, rgba(0,0,0,0.45) 100%);
  z-index: 2;
}

.hero__overlay {
  position: relative;
  z-index: 3;
  height: 100%;
  width: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(1.5rem, 3vw, 2.6rem) var(--gutter);
}

.hero__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  opacity: 0;
  animation: fade-down 1.2s var(--ease) 0.2s forwards;
}

@keyframes fade-down {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__meta {
  font-family: var(--f-ui);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(236, 227, 206, 0.78);
}

.hero__center {
  display: grid;
  place-content: center;
  text-align: center;
  padding-block: 4vh;
}

.hero__rule {
  display: flex;
  justify-content: center;
  margin: 1.4rem 0 0.8rem;
  opacity: 0;
  animation: fade-in 1s var(--ease) 1.2s forwards;
}

.hero__rule span {
  display: block;
  width: 64px;
  height: 1px;
  background: var(--bg);
  opacity: 0.7;
}

.hero__tagline {
  font-family: var(--f-display);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 300;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.6;
  margin: 0;
  opacity: 0;
  animation: fade-in 1s var(--ease) 1.3s forwards;
  color: rgba(236, 227, 206, 0.94);
}

.hero__tagline em {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 1.25em;
  color: var(--bg);
}

@keyframes fade-in {
  to { opacity: 1; }
}

.hero__footline {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  opacity: 0;
  animation: fade-up 1s var(--ease) 1.5s forwards;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__credit {
  font-family: var(--f-ui);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(236, 227, 206, 0.78);
}

.scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--bg);
  font-family: var(--f-ui);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.scroll-cue__line {
  display: block;
  width: 1px;
  height: 48px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.scroll-cue__line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  animation: cue-drop 2.2s var(--ease) infinite;
}
@keyframes cue-drop {
  0%   { transform: translateY(-100%); }
  60%  { transform: translateY(100%); }
  100% { transform: translateY(100%); }
}

/* ================================================================
   SECTION — shared
   ================================================================ */
.section {
  padding-block: var(--section-pad);
  padding-inline: var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}

.section__numeral {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-family: var(--f-ui);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: clamp(2.4rem, 5vw, 4.2rem);
}

.section__numeral .num {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--accent);
}

.section__numeral .rule {
  flex: 0 0 80px;
  height: 1px;
  background: var(--rule);
}

.section__numeral .label {
  color: var(--ink-soft);
}

/* Shared display type */
.display-h2 {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(2.2rem, 5.2vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0 0 1.4rem;
  color: var(--ink);
}

.display-h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent-deep);
}

.lede {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.15rem, 1.55vw, 1.45rem);
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 1.6rem;
}

.body {
  font-family: var(--f-display);
  font-size: clamp(1.05rem, 1.2vw, 1.18rem);
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 1.4rem;
}

.drop-cap {
  float: left;
  font-family: var(--f-display);
  font-weight: 500;
  font-style: normal;
  font-size: 4.6em;
  line-height: 0.85;
  padding: 0.1em 0.12em 0 0;
  color: var(--accent);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 1.0s var(--ease),
    transform 1.0s var(--ease);
}

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

/* ================================================================
   ABOUT
   ================================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2.5rem, 5vw, 6rem);
  align-items: start;
}

@media (max-width: 880px) {
  .about__grid {
    grid-template-columns: 1fr;
  }
}

.about__copy { max-width: 60ch; }

.credentials {
  list-style: none;
  padding: 0;
  margin: 2.4rem 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
  border-top: 1px solid var(--rule);
  padding-top: 1.8rem;
}

.credentials li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  align-items: baseline;
  gap: 0.6rem;
  font-family: var(--f-ui);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.credentials li span {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--accent);
}

.about__portrait {
  position: relative;
  margin: 0;
  padding-top: 1.2rem;
}

.about__portrait img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.25), 0 1px 0 var(--rule-faint);
  filter: contrast(1.02) saturate(0.95);
}

.about__portrait figcaption {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  font-family: var(--f-ui);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ================================================================
   SERVICES
   ================================================================ */
.services__head {
  max-width: 60ch;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.services__lede {
  font-family: var(--f-display);
  font-size: 1.18rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

.services__grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
}

@media (max-width: 980px) {
  .services__grid { grid-template-columns: 1fr; gap: 4rem; }
}

.service__image {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  position: relative;
}

.service__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease), filter 1.4s var(--ease);
  filter: saturate(0.92) contrast(1.02);
}

.service:hover .service__image img {
  transform: scale(1.04);
  filter: saturate(1) contrast(1.05);
}

.service__body {
  padding-top: 1.8rem;
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.4rem 1rem;
  align-items: baseline;
}

.service__num {
  grid-row: span 3;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--accent);
  padding-top: 0.4rem;
  border-top: 1px solid var(--accent);
  align-self: start;
  text-align: left;
  width: 1.6rem;
}

.service__title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  margin: 0;
  letter-spacing: -0.005em;
  color: var(--ink);
}

.service__copy {
  font-family: var(--f-display);
  font-size: 1.06rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0.6rem 0 0;
}

.service__meta {
  margin: 1rem 0 0;
  font-family: var(--f-ui);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ================================================================
   WORK / PORTFOLIO — editorial clusters
   ================================================================ */
.work__head {
  max-width: 60ch;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.work__lede {
  font-family: var(--f-display);
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

.work__editorial {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(4rem, 9vw, 8rem);
}

/* Cluster: triptych — 3 portrait frames, asymmetric vertical offset */
.cluster--triptych {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.2rem, 2.4vw, 2.6rem);
  align-items: start;
}

.cluster--triptych .frame:nth-child(1) {
  grid-column: 1 / span 4;
  margin-top: 0;
}
.cluster--triptych .frame:nth-child(2) {
  grid-column: 5 / span 4;
  margin-top: clamp(2rem, 5vw, 5rem);
}
.cluster--triptych .frame:nth-child(3) {
  grid-column: 9 / span 4;
  margin-top: clamp(0rem, 2vw, 2rem);
}

@media (max-width: 760px) {
  .cluster--triptych {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .cluster--triptych .frame {
    grid-column: auto !important;
    margin-top: 0 !important;
  }
  .cluster--triptych .frame:nth-child(3) {
    grid-column: 1 / span 2 !important;
    max-width: 70%;
    margin-left: auto !important;
    margin-top: 1.2rem !important;
  }
}

/* Cluster: wide letterbox — full bleed-ish */
.cluster--wide {
  display: grid;
  grid-template-columns: 1fr;
  margin-inline: calc(var(--gutter) * -0.3);
}

.cluster--wide .frame--letterbox {
  width: 100%;
}

/* Cluster: pair — 2 portrait frames, side by side, second offset down */
.cluster--pair {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}
.cluster--pair .frame:nth-child(1) {
  grid-column: 2 / span 5;
}
.cluster--pair .frame:nth-child(2) {
  grid-column: 8 / span 4;
  margin-top: clamp(3rem, 8vw, 7rem);
}

@media (max-width: 760px) {
  .cluster--pair {
    grid-template-columns: 1fr 1fr;
  }
  .cluster--pair .frame:nth-child(1),
  .cluster--pair .frame:nth-child(2) {
    grid-column: auto;
    margin-top: 0;
  }
  .cluster--pair .frame:nth-child(2) { margin-top: 2rem; }
}

/* Cluster: single + editorial caption */
.cluster--single-caption {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: end;
}
.cluster--single-caption .frame {
  grid-column: 1 / span 5;
}
.cluster--single-caption .cluster__caption {
  grid-column: 7 / span 5;
  padding-bottom: 1rem;
}

.cluster__caption h3 {
  font-family: var(--f-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.1;
  margin: 0 0 1.2rem;
  color: var(--accent-deep);
}
.cluster__caption p {
  font-family: var(--f-display);
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 1rem;
}
.cluster__caption-meta {
  font-family: var(--f-ui) !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint) !important;
}

@media (max-width: 760px) {
  .cluster--single-caption {
    grid-template-columns: 1fr;
  }
  .cluster--single-caption .frame,
  .cluster--single-caption .cluster__caption {
    grid-column: auto;
  }
}

/* Cluster: landscape — 3:2 horizontal centered */
.cluster--landscape {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}
.cluster--landscape .frame {
  grid-column: 2 / span 10;
}

@media (max-width: 760px) {
  .cluster--landscape .frame {
    grid-column: 1 / span 12;
  }
}

/* Frame — image + caption */
.frame {
  margin: 0;
  position: relative;
}

.frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: 0 24px 60px -36px rgba(0,0,0,0.4), 0 1px 0 var(--rule-faint);
  filter: contrast(1.02) saturate(0.96);
  transition: filter 1s var(--ease);
}

.frame:hover img {
  filter: contrast(1.04) saturate(1.02);
}

.frame--portrait img { aspect-ratio: 3 / 4; }
.frame--landscape img { aspect-ratio: 3 / 2; }
.frame--letterbox img { aspect-ratio: 21 / 9; }

.frame figcaption {
  margin-top: 0.85rem;
  font-family: var(--f-ui);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.work__footnote {
  margin: clamp(3rem, 6vw, 5rem) auto 0;
  max-width: 56ch;
  text-align: center;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--ink-soft);
  padding-block: 1.6rem;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

/* ================================================================
   PROCESS
   ================================================================ */
.process__head {
  max-width: 60ch;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.process__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  border-top: 1px solid var(--rule);
  padding-top: 2.4rem;
}

@media (max-width: 960px) {
  .process__list { grid-template-columns: repeat(2, 1fr); gap: 3rem 2rem; }
}
@media (max-width: 560px) {
  .process__list { grid-template-columns: 1fr; }
}

.process__step {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 1.2rem;
}

.process__num {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.process__step h3 {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: 1.7rem;
  margin: 0 0 0.6rem;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.process__step p {
  font-family: var(--f-display);
  font-size: 1.04rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

/* ================================================================
   VOICES / TESTIMONIALS
   ================================================================ */
.voices {
  background: var(--bg-deep);
  max-width: none;
  margin: 0;
  padding-inline: var(--gutter);
  position: relative;
}

.voices::before,
.voices::after {
  content: "";
  display: block;
  height: 1px;
  background: var(--rule);
  max-width: var(--max);
  margin: 0 auto;
}

.voices .section__numeral {
  max-width: var(--max);
  margin-inline: auto;
}

.voices__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  max-width: var(--max);
  margin: 0 auto;
}

@media (max-width: 960px) {
  .voices__grid { grid-template-columns: 1fr; gap: 3.5rem; }
}

.voice {
  margin: 0;
  position: relative;
  padding-top: 2.4rem;
}

.voice::before {
  content: "“";
  position: absolute;
  top: -0.2rem;
  left: -0.2rem;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 4.6rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.6;
}

.voice blockquote {
  margin: 0 0 1.4rem;
}

.voice blockquote p {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.2rem, 1.5vw, 1.45rem);
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
}

.voice figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  border-top: 1px solid var(--rule);
  padding-top: 1rem;
}

.voice__name {
  font-family: var(--f-ui);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
}

.voice__place {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-faint);
}

/* ================================================================
   INQUIRE
   ================================================================ */
.inquire__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

@media (max-width: 880px) {
  .inquire__grid { grid-template-columns: 1fr; }
}

.inquire__copy { max-width: 56ch; }

.inquire__lede {
  font-family: var(--f-display);
  font-size: 1.18rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 2rem;
}

.inquire__direct {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin: 0;
}

.inquire__direct a {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
}

/* Form */
.inquire__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem 1.4rem;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--bg-soft);
  border: 1px solid var(--rule);
}

.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field--wide { grid-column: 1 / -1; }

.field label {
  font-family: var(--f-ui);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.field input,
.field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  padding: 0.5rem 0 0.6rem;
  font-family: var(--f-display);
  font-size: 1.08rem;
  color: var(--ink);
  outline: none;
  transition: border-color .3s var(--ease);
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-faint);
  font-style: italic;
}

.field input:focus,
.field textarea:focus {
  border-bottom-color: var(--accent);
}

.field--submit {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1.4rem;
  margin-top: 0.6rem;
}

.field button {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--ink);
  color: var(--bg);
  border: none;
  padding: 1rem 1.8rem;
  font-family: var(--f-ui);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease);
}

.field button .arrow {
  font-family: var(--f-display);
  font-size: 1.2rem;
  letter-spacing: 0;
  transition: transform .35s var(--ease);
}

.field button:hover {
  background: var(--accent-deep);
}
.field button:hover .arrow {
  transform: translateX(6px);
}

.form__note {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-faint);
  margin: 0;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--ink);
  color: #BFB59A;
  padding: clamp(4rem, 9vw, 8rem) var(--gutter) 2.6rem;
  margin-top: clamp(4rem, 8vw, 8rem);
}

.footer * { color: inherit; }

.footer__wordmark {
  max-width: var(--max);
  margin: 0 auto clamp(3rem, 5vw, 5rem);
  text-align: center;
}

.footer .wordmark--footer {
  color: #E6DCB8;
}

.footer__sub {
  display: block;
  margin-top: 1rem;
  font-family: var(--f-ui);
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #948770;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid #3D362C;
  border-bottom: 1px solid #3D362C;
  padding-block: 2.6rem;
}

@media (max-width: 880px) {
  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
}

.footer__col p {
  margin: 0;
  font-family: var(--f-display);
  font-size: 1.02rem;
  line-height: 1.7;
  color: #C5BBA0;
}

.footer__col a {
  color: #E6DCB8;
  border-bottom: 1px solid #3D362C;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.footer__col a:hover {
  color: #F4EDD9;
  border-bottom-color: var(--accent);
}

.footer__label {
  display: block;
  font-family: var(--f-ui);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #948770;
  margin-bottom: 0.9rem;
}

.footer__base {
  max-width: var(--max);
  margin: 2.6rem auto 0;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  font-family: var(--f-ui);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7E725D;
}

/* ================================================================
   MOBILE — battle-tested breakpoints
   ================================================================ */

/* Use dynamic viewport units where supported (iOS Safari friendly) */
@supports (height: 100dvh) {
  .hero {
    height: 100dvh;
  }
}

/* Hover effects only where hover is real (prevents sticky-hover on touch) */
@media (hover: none) {
  .service:hover .service__image img { transform: none; filter: saturate(0.92) contrast(1.02); }
  .frame:hover img { filter: contrast(1.02) saturate(0.96); }
  .field button:hover { background: var(--ink); }
  .field button:hover .arrow { transform: none; }
}

/* iPad-ish — tighten letter-spacing of nav */
@media (max-width: 1024px) {
  .topbar__nav { letter-spacing: 0.18em; }
}

/* Mid-narrow — 880px and below */
@media (max-width: 880px) {
  .hero__meta { display: none; }
}

/* Mobile — 720px and below */
@media (max-width: 720px) {
  :root {
    --gutter: clamp(1.1rem, 5vw, 1.6rem);
    --section-pad: clamp(4rem, 12vw, 7rem);
  }

  .topbar {
    padding: 0.9rem var(--gutter);
  }
  .topbar__mark {
    font-size: 1.15rem;
    letter-spacing: 0.18em;
  }
  .topbar__cta {
    font-size: 0.72rem;
    padding: 0.4rem 0 0.3rem;  /* taller tap target */
  }

  .hero__overlay {
    padding: 1.4rem var(--gutter);
  }
  .hero__credit { display: none; }
  .scroll-cue {
    font-size: 0.66rem;
    letter-spacing: 0.24em;
  }
  .scroll-cue__line { height: 36px; }

  .hero__topline {
    justify-content: center;
  }

  .hero__tagline {
    font-size: 0.92rem;
    letter-spacing: 0.14em;
    line-height: 1.7;
  }
  .hero__tagline em {
    font-size: 1.35em;
  }

  .section__numeral {
    gap: 0.7rem;
    margin-bottom: 2.2rem;
    flex-wrap: wrap;
  }
  .section__numeral .rule { flex: 0 0 40px; }

  .display-h2 {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .drop-cap {
    font-size: 3.6em;
  }

  /* About */
  .credentials li {
    grid-template-columns: 1.4rem 1fr;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
  }

  /* Service body — gentler stack */
  .service__body {
    grid-template-columns: 1.6rem 1fr;
    padding-top: 1.4rem;
  }
  .service__num {
    font-size: 1.05rem;
    padding-top: 0.3rem;
    width: 1.2rem;
  }
  .service__title {
    font-size: 1.55rem;
  }

  /* Work — tighten triptych */
  .work__editorial { gap: 4.5rem; }

  .cluster--triptych .frame:nth-child(3) {
    max-width: 80%;
    margin-left: auto !important;
    margin-top: 0.6rem !important;
  }

  /* Cluster captions on mobile align tighter */
  .cluster__caption {
    padding-bottom: 0;
  }
  .cluster__caption h3 {
    font-size: 1.7rem;
  }
  .cluster__caption p {
    font-size: 1rem;
  }

  .work__footnote {
    font-size: 0.98rem;
    padding-block: 1.2rem;
  }

  /* Process */
  .process__num { font-size: 2.8rem; }
  .process__step h3 { font-size: 1.5rem; }

  /* Voices */
  .voice blockquote p {
    font-size: 1.15rem;
  }
  .voice::before {
    font-size: 3.6rem;
  }

  /* Form — single column, stacked submit row */
  .inquire__form {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    padding: 1.4rem 1.2rem;
  }
  .field--submit {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    text-align: left;
  }
  .field button {
    width: 100%;
    justify-content: center;
    padding: 1.1rem 1.4rem;
    letter-spacing: 0.22em;
  }
  .form__note {
    font-size: 0.9rem;
  }

  /* Footer */
  .footer {
    padding: clamp(3rem, 10vw, 5rem) var(--gutter) 2rem;
  }
  .footer__base {
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    gap: 0.8rem;
  }
  .footer__sub {
    font-size: 0.66rem;
    letter-spacing: 0.22em;
  }
  .footer__col p {
    font-size: 0.98rem;
  }
}

/* Very small phones — 380px and below */
@media (max-width: 380px) {
  .wordmark--display {
    font-size: clamp(2.4rem, 11vw, 3.4rem);
    letter-spacing: 0.02em;
  }
  .wordmark--display .letter:nth-child(7) {
    margin-left: 0.16em;
  }
  .topbar__mark {
    font-size: 1rem;
    letter-spacing: 0.16em;
  }
}

/* iOS safe-area */
@supports (padding: max(env(safe-area-inset-bottom), 0px)) {
  .footer {
    padding-bottom: max(2.6rem, env(safe-area-inset-bottom));
  }
  .topbar {
    padding-left: max(var(--gutter), env(safe-area-inset-left));
    padding-right: max(var(--gutter), env(safe-area-inset-right));
  }
}

/* ================================================================
   Motion preferences
   ================================================================ */
@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;
  }
  .hero__media img { animation: none; }
  .reveal { opacity: 1; transform: none; }
  .wordmark--display .letter { opacity: 1; transform: none; }
}
