/* ---------- design tokens ---------- */
:root {
  --bg: #f7f4ef;
  --bg-dark: #0e1116;
  --bg-dark-2: #161a21;
  --ink: #12161c;
  --ink-soft: #4a4f57;
  --line: rgba(18, 22, 28, 0.12);
  --line-dark: rgba(255, 255, 255, 0.12);
  --gold: #b08a4a;
  --gold-soft: #d4b27a;
  --paper: #ffffff;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max: 1240px;
  --pad-x: clamp(20px, 5vw, 64px);
  --section-y: clamp(80px, 12vw, 160px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* anchor jumps land below the fixed header */
:target,
section[id] {
  scroll-margin-top: 84px;
}

/* accessible, on-brand focus ring */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible,
.cta-link:focus-visible,
.mobile-cta:focus-visible {
  outline-offset: 4px;
}

/* scroll-progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  height: 2px;
  width: 100%;
  background: transparent;
  pointer-events: none;
}
.scroll-progress::after {
  content: "";
  display: block;
  height: 100%;
  width: var(--scroll, 0%);
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transition: width 0.08s linear;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

p {
  margin: 0 0 1em;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.4em;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.25;
}

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 18px;
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 20px var(--pad-x);
  background: rgba(247, 244, 239, 0);
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(247, 244, 239, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}

/* hero is dark, so when not scrolled show light header */
.site-header:not(.is-scrolled) .brand-name,
.site-header:not(.is-scrolled) .brand-name-thin,
.site-header:not(.is-scrolled) .site-nav a {
  color: rgba(255, 255, 255, 0.92);
}
.site-header:not(.is-scrolled) .brand-name-thin {
  color: rgba(255, 255, 255, 0.7);
}
.site-header:not(.is-scrolled) .brand-mark {
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
}
.site-header:not(.is-scrolled) .cta-link {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}
.site-header:not(.is-scrolled) .cta-link:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.site-header:not(.is-scrolled) .nav-toggle {
  border-color: rgba(255, 255, 255, 0.7);
}
.site-header:not(.is-scrolled) .nav-toggle span {
  background: #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  font-family: var(--serif);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 50%;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0;
  transition: background 0.3s ease, color 0.3s ease;
}

.brand-name {
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  font-weight: 600;
  transition: color 0.3s ease;
}

.brand-name-thin {
  font-weight: 400;
  color: var(--ink-soft);
  transition: color 0.3s ease;
}

.site-nav {
  display: flex;
  gap: 28px;
}

.site-nav a {
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 500;
  transition: color 0.3s ease;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
}

.site-header:not(.is-scrolled) .site-nav a:hover,
.site-header:not(.is-scrolled) .site-nav a.is-active {
  color: #fff;
}

.site-nav a.is-active::after,
.site-nav a:hover::after {
  transform: scaleX(1);
}

.cta-link {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.3s ease;
}

.cta-link:hover {
  background: var(--ink);
  color: var(--bg);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  margin-left: 10px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  transition: border-color 0.3s ease;
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  transform: translateX(-50%);
  transition: transform 0.25s ease, top 0.25s ease, background 0.3s ease;
}

.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 19px;
  transform: translateX(-50%) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  top: 19px;
  transform: translateX(-50%) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 79px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 49;
  background: rgba(247, 244, 239, 0.97);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 20px var(--pad-x) 28px;
  display: none;
}

.mobile-menu[data-open="true"] {
  display: block;
  animation: menuIn 0.22s ease;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-menu a {
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: 0.005em;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

@keyframes menuIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 760px) {
  .site-nav { display: none; }
  .cta-link { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .brand { margin-right: auto; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(120px, 18vw, 200px) var(--pad-x) clamp(60px, 8vw, 100px);
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 10, 14, 0.4) 0%, rgba(8, 10, 14, 0.5) 40%, rgba(8, 10, 14, 0.78) 100%),
    linear-gradient(90deg, rgba(8, 10, 14, 0.65) 0%, rgba(8, 10, 14, 0.25) 55%, transparent 100%);
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}

.hero .eyebrow {
  color: var(--gold-soft);
}

.hero h1 {
  max-width: 16ch;
  color: #fff;
  text-shadow: 0 1px 30px rgba(0, 0, 0, 0.25);
}

.hero .lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 56ch;
  margin-top: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

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

.btn-primary:hover {
  background: var(--gold);
  color: #fff;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.btn-ghost:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.hero-meta {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  max-width: var(--max);
  width: 100%;
  margin: clamp(60px, 10vw, 120px) auto 0;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-meta > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.meta-num {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 3rem);
  color: #fff;
  line-height: 1;
}

.meta-label {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.hero-scroll {
  position: absolute;
  z-index: 1;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  display: grid;
  place-items: center;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.hero-scroll:hover { opacity: 1; }

.hero-scroll span {
  display: block;
  width: 2px;
  height: 8px;
  background: #fff;
  border-radius: 2px;
  animation: scrollHint 1.8s ease-in-out infinite;
}

@keyframes scrollHint {
  0%, 100% { transform: translateY(-4px); opacity: 0.3; }
  50% { transform: translateY(4px); opacity: 1; }
}

@media (max-width: 640px) {
  .hero-meta { grid-template-columns: 1fr; gap: 18px; }
  .hero-scroll { display: none; }
}

/* ---------- generic sections ---------- */
.section {
  padding: var(--section-y) var(--pad-x);
}

.section-header {
  max-width: var(--max);
  margin: 0 auto clamp(40px, 5vw, 64px);
}

.section-header.centered {
  text-align: center;
}

.section-header.centered .section-lede {
  margin: 8px auto 0;
}

.section-lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 64ch;
  margin-top: 8px;
}

.section-body {
  color: var(--ink-soft);
  max-width: 56ch;
}

/* ---------- about ---------- */
.about-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.about-copy .eyebrow { margin-bottom: 18px; }

.about-figure {
  margin: 0;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 30px 60px -30px rgba(18, 22, 28, 0.35);
}

.about-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s ease;
}

.about-figure:hover img {
  transform: scale(1.03);
}

@media (max-width: 800px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-figure { aspect-ratio: 4 / 3; max-height: 480px; }
}

/* ---------- manifesto (broken-line typography) ---------- */
.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;
}

.manifesto {
  background: var(--bg);
  padding: clamp(110px, 16vw, 200px) var(--pad-x);
  text-align: center;
  position: relative;
}

.manifesto::before,
.manifesto::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.manifesto::before { top: clamp(56px, 8vw, 100px); }
.manifesto::after  { bottom: clamp(56px, 8vw, 100px); }

.manifesto-inner {
  max-width: 880px;
  margin: 0 auto;
}

.manifesto-eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.manifesto-line {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 5.2vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0 0 clamp(20px, 2.8vw, 36px);
}

.manifesto-line br {
  /* The intentional line-break — preserved at all viewports */
  display: block;
  content: "";
}

.manifesto-line:last-of-type {
  margin-bottom: 0;
}

.manifesto-sign {
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: clamp(48px, 6vw, 72px) 0 0;
}

/* ---------- interiors ---------- */
.section-interiors {
  background: var(--bg);
}

/* Chapters — magazine editorial layout
   Each chapter uses a 12-column grid with the numeral, photo, and copy placed
   asymmetrically. Alternates orientation L/R for visual rhythm.
   Photos are intentionally modest in size — the typography and whitespace lead. */
.chapters {
  max-width: var(--max);
  margin: clamp(40px, 6vw, 80px) auto 0;
  display: grid;
  gap: clamp(120px, 16vw, 200px);
}

.chapter {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  column-gap: clamp(16px, 3vw, 40px);
  row-gap: clamp(24px, 3.5vw, 40px);
  align-items: center;
  position: relative;
}

/* Layout — numeral on the LEFT, modest-sized media in the middle, copy on the right */
.chapter-l .chapter-numeral { grid-column: 1 / span 3;  grid-row: 1 / span 2; }
.chapter-l .chapter-label   { grid-column: 5 / span 8;  grid-row: 1; }
.chapter-l .chapter-media   { grid-column: 5 / span 4;  grid-row: 2; }
.chapter-l .chapter-copy    { grid-column: 10 / span 3; grid-row: 2; }

/* Mirror — numeral on the RIGHT, media in the middle, copy on the left */
.chapter-r .chapter-numeral { grid-column: 10 / span 3; grid-row: 1 / span 2; }
.chapter-r .chapter-label   { grid-column: 1 / span 8;  grid-row: 1; text-align: right; }
.chapter-r .chapter-media   { grid-column: 5 / span 4;  grid-row: 2; }
.chapter-r .chapter-copy    { grid-column: 1 / span 3;  grid-row: 2; }

.chapter-numeral {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(6rem, 14vw, 12rem);
  line-height: 0.78;
  letter-spacing: -0.04em;
  color: var(--gold);
  opacity: 0.95;
  align-self: center;
  text-align: center;
  user-select: none;
}

.chapter-r .chapter-numeral { text-align: center; }

.chapter-label {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  align-self: end;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  display: block;
}

.chapter-media {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 4 / 3;
  background: #0a0c10;
}

.chapter-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.chapter-media:hover img { transform: scale(1.03); }

.chapter-copy {
  align-self: end;
  padding-bottom: 8px;
}

.chapter-copy h3 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.1;
  margin: 0 0 14px;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.chapter-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Mobile — collapse to single column, keep numeral as bold display element */
@media (max-width: 880px) {
  .chapter,
  .chapter-l,
  .chapter-r {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    column-gap: 0;
    row-gap: 18px;
  }
  .chapter-l .chapter-numeral,
  .chapter-r .chapter-numeral {
    grid-column: 1;
    grid-row: 1;
    text-align: left;
    font-size: clamp(6rem, 30vw, 9rem);
    line-height: 0.85;
    margin-bottom: -10px;
  }
  .chapter-l .chapter-label,
  .chapter-r .chapter-label {
    grid-column: 1;
    grid-row: 2;
    text-align: left;
    align-self: stretch;
  }
  .chapter-l .chapter-media,
  .chapter-r .chapter-media {
    grid-column: 1;
    grid-row: 3;
  }
  .chapter-l .chapter-copy,
  .chapter-r .chapter-copy {
    grid-column: 1;
    grid-row: 4;
  }
}

/* Closing shot — contained, not full-bleed */
.closing-shot {
  margin: clamp(100px, 14vw, 180px) auto 0;
  max-width: 960px;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 16 / 9;
  background: #0a0c10;
}

.closing-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.closing-shot figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px clamp(20px, 4vw, 40px);
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 28px);
  color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(180deg, transparent 0%, rgba(8, 10, 14, 0.55) 100%);
}

.closing-rule {
  height: 1px;
  flex: 0 0 clamp(40px, 8vw, 100px);
  background: var(--gold-soft);
}

.closing-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.closing-text em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold-soft);
  letter-spacing: 0.04em;
}

.closing-text span {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 760px) {
  .closing-shot { aspect-ratio: 4 / 5; }
  .closing-shot img { object-position: center; }
}

.interiors-note {
  max-width: var(--max);
  margin: 24px auto 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* ---------- founder ---------- */
.section-founder {
  background: var(--bg);
  padding-top: clamp(70px, 9vw, 120px);
  padding-bottom: clamp(70px, 9vw, 120px);
}

.founder-wrap {
  max-width: 880px;
  margin: 0 auto;
  text-align: left;
}

.founder-quote {
  margin: 0;
  padding: 0;
}

.founder-quote p {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3.2vw, 2.4rem);
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 18px 0 32px;
  max-width: 36ch;
}

.founder-quote footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-style: normal;
}

.founder-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--ink);
  letter-spacing: 0.005em;
}

.founder-role {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.founder-link {
  margin-top: 14px;
  font-size: 0.86rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.01em;
  align-self: flex-start;
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.founder-link:hover {
  border-bottom-color: var(--gold);
  color: var(--ink);
}

/* ---------- FAQ ---------- */
.section-faq {
  background: var(--bg);
}

.faq {
  max-width: 880px;
  margin: 0 auto;
}

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

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

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  color: var(--ink);
  line-height: 1.3;
  transition: color 0.2s ease;
}

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

.faq-item summary:hover { color: var(--gold); }

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-family: var(--sans);
  color: var(--gold);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.faq-item[open] .faq-icon {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: rotate(45deg);
}

.faq-body {
  padding: 0 0 28px;
  color: var(--ink-soft);
  max-width: 64ch;
}

.faq-body p { margin: 0; }

/* ---------- approach ---------- */
.section-approach {
  background:
    radial-gradient(800px 380px at 50% 0%, rgba(176, 138, 74, 0.06), transparent 70%),
    var(--bg);
}

.principles {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
}

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

.principle {
  position: relative;
  padding: 36px 28px 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.principle:hover {
  transform: translateY(-3px);
  border-color: rgba(176, 138, 74, 0.55);
  box-shadow: 0 30px 60px -30px rgba(18, 22, 28, 0.2);
}

.principle-num {
  display: block;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.principle h3 {
  margin-bottom: 12px;
}

.principle p {
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- dark sections ---------- */
.section-dark {
  background: var(--bg-dark);
  color: #e8e6e1;
}

.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-dark .section-lede,
.section-dark .section-body {
  color: rgba(232, 230, 225, 0.78);
}

.section-dark .eyebrow {
  color: var(--gold-soft);
}

/* ---------- portfolio cards ---------- */
.cards {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

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

.card {
  position: relative;
  background: var(--bg-dark-2);
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 178, 122, 0.6);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.5);
}

.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0a0c10;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s ease;
}

.card:hover .card-media img {
  transform: scale(1.06);
}

.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(8, 10, 14, 0.55) 100%);
  pointer-events: none;
}

.card-body {
  padding: 28px 32px 32px;
}

.card-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 12px;
}

.card h3 {
  color: #fff;
  margin-bottom: 10px;
}

.card p {
  color: rgba(232, 230, 225, 0.7);
  margin: 0 0 18px;
}

.card-meta {
  list-style: none;
  padding: 18px 0 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  border-top: 1px solid var(--line-dark);
}

.card-meta li {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: rgba(232, 230, 225, 0.78);
}

.portfolio-note {
  max-width: var(--max);
  margin: 32px auto 0;
  font-size: 0.85rem;
  color: rgba(232, 230, 225, 0.55);
  font-style: italic;
}

/* ---------- services ---------- */
.services {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

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

.service {
  position: relative;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.service-num {
  position: absolute;
  top: -2px;
  left: 0;
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.service h3 {
  margin-bottom: 10px;
}

.service p {
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- technology ---------- */
.section-tech {
  position: relative;
  overflow: hidden;
}

.tech-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.22;
}

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

.tech-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 17, 22, 0.85), rgba(14, 17, 22, 0.92));
}

.section-tech .section-header,
.section-tech .tech { position: relative; z-index: 1; }

.tech {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

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

.tech-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.tech-list li {
  padding: 24px 28px;
  background: rgba(22, 26, 33, 0.7);
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.tech-list h3 {
  color: #fff;
  margin-bottom: 6px;
}

.tech-list p {
  color: rgba(232, 230, 225, 0.72);
  margin: 0;
}

/* ---------- contact ---------- */
.section-contact {
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(176, 138, 74, 0.1), transparent 60%),
    var(--bg);
}

.contact-wrap {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

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

.contact-intro h2 { margin-top: 6px; }

.contact-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 22px;
}

.contact-list li { display: block; }

.contact-label {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.contact-list p {
  margin: 0;
  font-size: 0.98rem;
}

.contact-list a:hover { color: var(--gold); }

/* ---------- contact form ---------- */
.contact-form {
  background: var(--paper);
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
  box-shadow: 0 30px 60px -30px rgba(18, 22, 28, 0.15);
}

@media (max-width: 600px) {
  .contact-form { grid-template-columns: 1fr; }
}

.field { display: flex; flex-direction: column; }
.field-full { grid-column: 1 / -1; }

.field label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  outline: none;
  transition: border-color 0.2s ease;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.field select {
  background:
    linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%) calc(100% - 10px) 50% / 6px 6px no-repeat,
    transparent;
  padding-right: 22px;
  cursor: pointer;
}

.field textarea { resize: vertical; min-height: 96px; line-height: 1.5; }

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

.field input:user-invalid,
.field select:user-invalid,
.field textarea:user-invalid {
  border-bottom-color: #b3261e;
}

.field input:user-invalid + .field-error,
.field select:user-invalid + .field-error,
.field textarea:user-invalid + .field-error {
  display: block;
}

.field-error {
  display: none;
  margin: 6px 0 0;
  font-size: 0.8rem;
  color: #b3261e;
}

.field input::placeholder,
.field textarea::placeholder { color: rgba(74, 79, 87, 0.5); }

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 8px;
}

.form-note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
  max-width: 36ch;
}

.btn-dark {
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
}

.btn-dark:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.form-status {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  min-height: 1.4em;
}

.form-status.is-success { color: #2f7a3a; }
.form-status.is-error { color: #b3261e; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--bg-dark);
  color: rgba(232, 230, 225, 0.7);
  padding: clamp(56px, 8vw, 96px) var(--pad-x) 32px;
  border-top: 1px solid var(--line-dark);
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line-dark);
}

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

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

.footer-col p, .footer-col address {
  margin: 14px 0 0;
  color: rgba(232, 230, 225, 0.7);
  font-size: 0.92rem;
  font-style: normal;
  line-height: 1.6;
}

.footer-brand .brand {
  margin: 0;
  color: #fff;
}

.footer-brand .brand-mark {
  background: var(--bg);
  color: var(--ink);
}

.footer-brand .brand-name {
  color: #fff;
}

.footer-brand .brand-name-thin {
  color: rgba(255, 255, 255, 0.65);
}

.footer-label {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 500;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-col ul a {
  font-size: 0.92rem;
  color: rgba(232, 230, 225, 0.75);
  transition: color 0.2s ease;
}

.footer-col ul a:hover { color: var(--gold-soft); }

.footer-bottom {
  max-width: var(--max);
  margin: 28px auto 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 0.82rem;
  color: rgba(232, 230, 225, 0.55);
}

.footer-bottom p { margin: 0; }

.footer-sister {
  margin-left: auto;
}

.footer-sister a {
  color: rgba(232, 230, 225, 0.75);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-sister a:hover { color: var(--gold-soft); }

/* ---------- reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- sticky mobile CTA ---------- */
.mobile-cta {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 48;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
  pointer-events: none;
}

.mobile-cta.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.mobile-cta:hover { background: var(--gold); }

@media (max-width: 760px) {
  .mobile-cta { display: inline-flex; }
}

@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; transform: none; }
}
