/* ============================================================
   STOIC BUILDING — Design System
   ============================================================ */

:root {
  /* Palette — warm charcoal + bone + timber */
  --ink:        #161311;
  --ink-soft:   #22201d;
  --bone:       #f4f0e9;
  --bone-dim:   #e6dfd3;
  --stone:      #a9a196;
  --stone-dark: #6f675d;
  --timber:     #b6763f;   /* warm tan / timber accent */
  --timber-lt:  #cf9564;
  --line:       rgba(244, 240, 233, 0.14);
  --line-dark:  rgba(22, 19, 17, 0.12);

  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", system-ui, -apple-system, sans-serif;

  --maxw: 1240px;
  --ease:  cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 4px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--ink);
  color: var(--bone);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 3rem); }
.section { padding-block: clamp(4.5rem, 11vw, 9rem); }

/* ---------- Typography ---------- */
.eyebrow, .section-label {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--timber-lt);
  font-weight: 500;
}
.section-label { margin-bottom: 1.2rem; }
.section-label.center { text-align: center; }

.section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.section-title em { font-style: italic; color: var(--timber-lt); }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--bone-dim);
  line-height: 1.6;
}

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.9rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.4s var(--ease);
  white-space: nowrap;
}
.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.72rem; }
.btn-block { width: 100%; }

.btn-solid { background: var(--timber); color: #fff; }
.btn-solid:hover { background: var(--timber-lt); transform: translateY(-2px); }

.btn-outline { border: 1px solid var(--line); color: var(--bone); }
.btn-outline:hover { border-color: var(--timber-lt); color: var(--timber-lt); }

.btn-ghost { color: var(--bone); }
.btn-ghost:hover { color: var(--timber-lt); gap: 0.9rem; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: var(--timber-lt); z-index: 1000; transition: width 0.1s linear;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding-block: 1.4rem;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(22, 19, 17, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-block: 0.85rem;
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }

.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand-logo {
  width: 42px; height: 42px; object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.brand-mark[hidden] { display: none; }
.brand-mark {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border: 1px solid var(--timber-lt);
  color: var(--timber-lt);
  font-family: var(--font-serif); font-size: 1.25rem; font-style: italic;
  border-radius: 3px;
}
.brand-text {
  font-family: var(--font-serif);
  font-size: 1.15rem; letter-spacing: 0.02em; font-weight: 500;
}

.nav-desktop { display: flex; gap: 2.4rem; }
.nav-desktop a {
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--bone-dim); position: relative; padding-block: 0.3rem;
  transition: color 0.3s var(--ease);
}
.nav-desktop a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--timber-lt); transition: width 0.35s var(--ease);
}
.nav-desktop a:hover { color: var(--bone); }
.nav-desktop a:hover::after { width: 100%; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 950; }
.menu-toggle span { width: 26px; height: 2px; background: var(--bone); transition: all 0.35s var(--ease); }
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 890;
  background: var(--ink);
  display: flex; flex-direction: column; justify-content: center;
  padding: 6rem 2rem 2rem;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 1.6rem; }
.mobile-menu nav a {
  font-family: var(--font-serif); font-size: 2rem; color: var(--bone);
}
.mobile-menu nav a.btn { font-family: var(--font-sans); font-size: 0.85rem; margin-top: 1rem; }
.mobile-menu-foot {
  margin-top: auto; display: flex; flex-direction: column; gap: 0.4rem;
  color: var(--stone); font-size: 0.9rem; padding-top: 2rem; border-top: 1px solid var(--line);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-bottom: clamp(4rem, 10vh, 8rem);
  overflow: hidden;
}
@media (min-width: 1600px) {
  .hero { min-height: min(100svh, 960px); align-items: center; }
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
  animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(22,19,17,0.55) 0%, rgba(22,19,17,0.28) 30%, rgba(22,19,17,0.92) 100%),
    linear-gradient(90deg, rgba(22,19,17,0.9) 0%, rgba(22,19,17,0.45) 45%, transparent 78%);
}

.hero-content { text-shadow: 0 2px 24px rgba(0,0,0,0.55); }
.hero-content .eyebrow { color: #e6cba8; font-weight: 600; }
.hero-title {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 1.04; letter-spacing: -0.02em;
  margin: 1.4rem 0 1.6rem;
  max-width: 16ch;
}
.hero-title em { font-style: italic; color: var(--timber-lt); font-weight: 400; }
.hero-sub { max-width: 52ch; font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--bone-dim); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }

.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  font-size: 0.65rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--stone);
}
.hero-scroll-line { width: 1px; height: 46px; background: linear-gradient(var(--timber-lt), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100% { opacity: 0.3; transform: scaleY(0.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  border-block: 1px solid var(--line);
  padding-block: 1.4rem; overflow: hidden; background: var(--ink-soft);
}
.marquee-track {
  display: flex; align-items: center; gap: 2.5rem; width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee-track span {
  font-family: var(--font-serif); font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  font-style: italic; color: var(--bone-dim); white-space: nowrap;
}
.marquee-track .dot { color: var(--timber); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   PHILOSOPHY
   ============================================================ */
.philosophy-text p { color: var(--bone-dim); margin-bottom: 1.2rem; }
.philosophy-text .section-title { margin-bottom: 1.6rem; }
.philosophy-signature { margin-top: 2.2rem; display: flex; flex-direction: column; }
.sig-name { font-family: var(--font-serif); font-style: italic; font-size: 1.7rem; color: var(--bone); }
.sig-role { font-size: 0.8rem; letter-spacing: 0.08em; color: var(--stone); text-transform: uppercase; }

.philosophy-media { position: relative; }
.philosophy-media img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius);
}
.floating-stat {
  position: absolute; bottom: -1.5rem; left: -1.5rem;
  background: var(--timber); color: #fff;
  padding: 1.4rem 1.6rem; border-radius: var(--radius);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.15rem;
  max-width: 200px; box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.floating-stat .stat-num { font-family: var(--font-serif); font-size: 2.6rem; line-height: 1; }
.floating-stat .stat-suffix { font-family: var(--font-serif); font-size: 1.6rem; }
.floating-stat .stat-label { flex-basis: 100%; font-size: 0.72rem; letter-spacing: 0.06em; margin-top: 0.4rem; opacity: 0.9; }

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--ink-soft); }
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.service-card {
  padding: clamp(2rem, 4vw, 3.2rem);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  position: relative; transition: background 0.4s var(--ease);
}
.service-card:hover { background: rgba(182,118,63,0.07); }
.service-index {
  font-family: var(--font-serif); font-size: 0.9rem; color: var(--timber-lt);
  display: block; margin-bottom: 1.6rem; letter-spacing: 0.1em;
}
.service-card h3 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 0.8rem; }
.service-card p { color: var(--bone-dim); font-size: 0.98rem; }

/* ============================================================
   PROCESS
   ============================================================ */
.process-list { display: grid; gap: 0; }
.process-step {
  display: grid; grid-template-columns: 120px 1fr; gap: 2rem;
  padding-block: clamp(1.6rem, 3.5vw, 2.6rem);
  border-top: 1px solid var(--line); align-items: baseline;
  transition: padding-left 0.4s var(--ease);
}
.process-step:last-child { border-bottom: 1px solid var(--line); }
.process-step:hover { padding-left: 1rem; }
.step-num { font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3rem); color: var(--timber); font-style: italic; }
.process-step h3 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.3rem, 2.6vw, 1.8rem); margin-bottom: 0.5rem; }
.process-step p { color: var(--bone-dim); max-width: 620px; }

/* ============================================================
   WORK / GALLERY
   ============================================================ */
/* Advanced slider: full-bleed changing background, text left, card carousel right.
   Fluid at every size: cards size from the viewport, the visible-card count is
   computed in JS, and layout switches by width AND height. */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.work-slider {
  --cw: clamp(170px, 14vw, 320px);        /* card width */
  --ch: min(calc(var(--cw) * 1.38), 50svh); /* card height */
  --cg: clamp(12px, 1.1vw, 22px);          /* card gap */
  --pad-x: clamp(1.25rem, 5vw, 7rem);
  position: relative; overflow: hidden; isolation: isolate;
  width: 100%; min-height: 100svh;
  display: flex; align-items: center;
  padding-block: clamp(5.5rem, 12svh, 9rem) clamp(3rem, 8svh, 6rem);
  background: var(--ink);
  touch-action: pan-y;
}
.ws-bgs, .ws-bg, .ws-shade { position: absolute; inset: 0; }
.ws-bgs { z-index: -2; }
.ws-bg { opacity: 0; }
.ws-bg.is-active, .ws-bg.is-prev { opacity: 1; }
.ws-bg.is-prev { z-index: 1; }
.ws-bg.is-active { z-index: 2; }
.ws-bg img { width: 100%; height: 100%; object-fit: cover; }
.ws-shade {
  z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(22,19,17,0.92) 0%, rgba(22,19,17,0.72) 35%, rgba(22,19,17,0.3) 65%, rgba(22,19,17,0.5) 100%),
    linear-gradient(0deg, rgba(22,19,17,0.85) 0%, transparent 35%),
    linear-gradient(180deg, rgba(22,19,17,0.6) 0%, transparent 25%);
}

.ws-inner {
  width: 100%; max-width: 2200px; margin-inline: auto;
  padding-inline: var(--pad-x);
  display: grid; align-items: center;
  grid-template-columns: auto minmax(320px, 0.85fr) minmax(0, 1.3fr);
  gap: clamp(1.5rem, 4vw, 6rem);
}

/* Vertical indicator */
.ws-indicator {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  font-family: var(--font-serif); color: var(--stone); font-variant-numeric: tabular-nums;
}
.ws-ind-cur { font-size: clamp(1.3rem, 1.6vw, 2rem); font-style: italic; color: var(--timber-lt); }
.ws-ind-total { font-size: 0.95rem; }
.ws-ind-track { position: relative; width: 1px; height: clamp(110px, 24svh, 260px); background: rgba(244,240,233,0.2); }
.ws-ind-fill {
  position: absolute; left: -1px; top: 0; width: 3px; height: 100%;
  background: var(--timber-lt); transform-origin: top; transform: scaleY(0.1667);
  transition: transform 0.9s var(--ease);
}

/* Text (direction-aware) */
.ws-content { min-width: 0; max-width: 680px; }
.ws-content .section-label { margin-bottom: clamp(1rem, 3svh, 1.6rem); }
.ws-texts { display: grid; grid-template-columns: minmax(0, 1fr); }
.ws-text {
  grid-area: 1 / 1; min-width: 0; pointer-events: none;
  display: flex; flex-direction: column; gap: clamp(0.7rem, 2svh, 1.1rem);
}
.ws-text.is-active { pointer-events: auto; }
.ws-text > * {
  opacity: 0; transform: translateX(var(--ws-enter, 48px));
  transition: opacity 0.55s var(--ease), transform 0.8s var(--ease);
}
.ws-text.is-leaving > * { opacity: 0; transform: translateX(var(--ws-leave, -48px)); transition-delay: 0s; }
.ws-text.is-active > * { opacity: 1; transform: none; }
.ws-text.is-active > :nth-child(1) { transition-delay: 0.25s; }
.ws-text.is-active > :nth-child(2) { transition-delay: 0.35s; }
.ws-text.is-active > :nth-child(3) { transition-delay: 0.45s; }
.work-slider[data-dir="prev"] { --ws-enter: -48px; --ws-leave: 48px; }
.ws-kicker {
  display: inline-flex; align-items: center; gap: 0.8rem;
  font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--timber-lt);
}
.ws-kicker::before { content: ""; width: 36px; height: 1px; background: var(--timber-lt); }
.ws-title {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(2rem, min(4.2vw, 8svh), 5.2rem); line-height: 1.04; color: var(--bone);
  overflow-wrap: break-word; text-wrap: balance;
  text-shadow: 0 2px 30px rgba(0,0,0,0.4);
}
.ws-desc { color: var(--bone-dim); font-size: clamp(0.98rem, 1.1vw, 1.2rem); max-width: 46ch; }
.ws-cta { margin-top: clamp(1.4rem, 4svh, 2.4rem); }

/* Card carousel */
.ws-side { min-width: 0; }
.ws-cards-viewport { overflow: hidden; padding: 6px; margin: -6px; }
.ws-cards { position: relative; height: var(--ch); column-gap: var(--cg); /* read by JS */ }
.ws-card {
  --o: 0;
  position: absolute; left: 0; top: 0;
  width: var(--cw); height: 100%;
  padding: 0; border: 0; cursor: pointer; overflow: hidden;
  border-radius: var(--radius); background: var(--ink-soft);
  transform: translateX(calc(var(--o) * (var(--cw) + var(--cg))));
  opacity: 0; visibility: hidden;
  box-shadow: 0 24px 50px -20px rgba(0,0,0,0.75);
  transition: transform 0.9s var(--ease), opacity 0.6s var(--ease), visibility 0s linear 0.9s;
}
.ws-card.is-visible { opacity: 1; visibility: visible; transition: transform 0.9s var(--ease), opacity 0.6s var(--ease), visibility 0s; }
.ws-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.ws-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(22,19,17,0.9) 0%, transparent 55%);
  border: 1px solid transparent; border-radius: inherit; transition: border-color 0.4s var(--ease);
}
.ws-card:hover img { transform: scale(1.06); }
.ws-card.is-active::after { border-color: var(--timber-lt); }
.ws-card-meta {
  position: absolute; z-index: 1; left: 0.9rem; right: 0.9rem; bottom: 0.9rem;
  display: flex; flex-direction: column; gap: 0.3rem; text-align: left;
}
.ws-card-num { font-family: var(--font-serif); font-style: italic; color: var(--timber-lt); font-size: 1rem; }
.ws-card-title { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bone); line-height: 1.4; }

.ws-controls { display: flex; align-items: center; gap: 0.7rem; margin-top: clamp(1rem, 3svh, 1.8rem); }
.ws-arrow {
  flex: none; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.15rem; color: var(--bone); cursor: pointer;
  border: 1px solid rgba(244,240,233,0.35); background: rgba(22,19,17,0.35);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.ws-arrow:hover { background: var(--timber); border-color: var(--timber); transform: translateY(-2px); }
.ws-progress { flex: 1; height: 2px; margin-left: 0.8rem; background: rgba(244,240,233,0.18); overflow: hidden; }
.ws-progress span { display: block; width: 100%; height: 100%; background: var(--timber-lt); transform: scaleX(0); transform-origin: left; }
.ws-arrow:focus-visible, .ws-card:focus-visible, .ws-dot:focus-visible { outline: 2px solid var(--timber-lt); outline-offset: 3px; }

/* Dots (small screens) */
.ws-dots { display: none; }
.ws-dot {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(244,240,233,0.35); transition: width 0.4s var(--ease), background 0.4s var(--ease);
}
.ws-dot.is-active { width: 28px; background: var(--timber-lt); }

/* Tablets / small laptops: stack text over a full-width card row */
@media (max-width: 1099px) {
  .work-slider { --cw: clamp(150px, 22vw, 240px); --ch: min(calc(var(--cw) * 1.3), 26svh); align-items: flex-end; }
  .ws-inner { grid-template-columns: minmax(0, 1fr); gap: clamp(1.6rem, 4svh, 2.6rem); }
  .ws-indicator { display: none; }
  .ws-title { font-size: clamp(2rem, min(6.5vw, 7svh), 3.8rem); }
  .ws-shade { background: linear-gradient(0deg, rgba(22,19,17,0.95) 0%, rgba(22,19,17,0.72) 55%, rgba(22,19,17,0.4) 100%); }
}
/* Phones, and any screen too short for the card row (e.g. landscape phones) */
@media (max-width: 599px), (max-height: 560px) {
  .ws-cards-viewport, .ws-progress { display: none; }
  .ws-controls { margin-top: 0; }
  .ws-dots { display: flex; gap: 0.5rem; position: absolute; left: 50%; bottom: clamp(1rem, 3svh, 1.6rem); transform: translateX(-50%); z-index: 2; }
  .work-slider { padding-bottom: clamp(3.5rem, 9svh, 4.5rem); }
}
@media (max-width: 599px) {
  .ws-arrow { width: 46px; height: 46px; }
}
/* Very short screens (landscape phones): tighten everything so it fits one screen */
@media (max-height: 560px) {
  .work-slider { padding-top: 4.8rem; align-items: center; }
  .ws-inner { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1.5rem; }
  .ws-indicator { display: none; }
  .ws-content .section-label { margin-bottom: 0.6rem; }
  .ws-title { font-size: clamp(1.7rem, 9svh, 2.6rem); }
  .ws-desc { font-size: 0.92rem; }
  .ws-cta { margin-top: 1rem; padding-block: 0.7rem; }
}
@media (max-height: 380px) { .ws-desc { display: none; } }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { text-align: center; }
.quote { max-width: 900px; margin: 2rem auto 0; }
.quote p {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(1.5rem, 4vw, 2.6rem); line-height: 1.35;
  letter-spacing: -0.01em;
}
.quote em { font-style: italic; color: var(--timber-lt); }
.quote cite {
  display: block; margin-top: 1.8rem; font-style: normal;
  font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 820px; margin: 2.6rem auto 0; }
.faq-item {
  border-top: 1px solid var(--line); padding: 1.4rem 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem); line-height: 1.3;
  color: var(--bone); transition: color 0.25s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none;
  font-family: var(--font-sans); font-weight: 300;
  font-size: 1.6rem; line-height: 1; color: var(--timber-lt);
  transition: transform 0.3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--timber-lt); }
.faq-item p {
  margin-top: 0.9rem; max-width: 64ch;
  color: var(--bone-dim); line-height: 1.7;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--ink-soft); }
.contact-intro .section-title { margin-block: 1.4rem 1.6rem; }
.contact-details { margin-top: 2.4rem; display: grid; gap: 1.2rem; }
.contact-details li { display: flex; flex-direction: column; gap: 0.15rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.cd-label { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone); }
.contact-details a, .contact-details li > span:last-child { font-size: 1.15rem; color: var(--bone); }
.contact-details a:hover { color: var(--timber-lt); }

/* Form */
.contact-form { display: grid; gap: 1.6rem; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; padding: 1.1rem 0 0.6rem; background: transparent;
  border: none; border-bottom: 1px solid var(--line); color: var(--bone);
  font-family: var(--font-sans); font-size: 1rem; transition: border-color 0.3s var(--ease);
}
.field textarea { resize: vertical; }
.field select { padding-top: 1.4rem; }
.field select option { background: var(--ink); color: var(--bone); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--timber-lt);
}
.field label {
  position: absolute; left: 0; top: 1.1rem; color: var(--stone);
  font-size: 1rem; pointer-events: none; transition: all 0.25s var(--ease);
}
.field label.label-static,
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select:valid + label {
  top: -0.2rem; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--timber-lt);
}
.form-note { font-size: 0.9rem; color: var(--timber-lt); }
.form-note.error { color: #e08a6b; }

.inquiry-cta { margin-top: 2.6rem; }

/* ============================================================
   PROJECT INQUIRY PAGE
   ============================================================ */
.inquiry {
  background: var(--ink);
  padding-top: clamp(7rem, 14vw, 10rem);
}
.inquiry-head { max-width: 720px; margin-inline: auto; text-align: center; }
.inquiry-head .section-label { margin-inline: auto; }
.inquiry-head .lead { margin-top: 1.4rem; }

.inquiry-form {
  max-width: 860px;
  margin: clamp(2.5rem, 6vw, 4rem) auto 0;
  display: grid;
  gap: clamp(2rem, 4vw, 2.8rem);
}

.form-group {
  border: none;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}
.form-group legend {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  color: var(--bone);
  padding: 0;
  margin-bottom: 1.8rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem 2rem;
}
.form-grid .field.full { grid-column: 1 / -1; }
.field .req { color: var(--timber-lt); }

/* Radio pills */
.radio-group { margin-top: 2rem; }
.radio-group-label {
  display: block;
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--stone); margin-bottom: 1rem;
}
.radio-options { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.radio-pill { position: relative; cursor: pointer; }
.radio-pill input {
  position: absolute; opacity: 0; inset: 0; cursor: pointer;
}
.radio-pill span {
  display: inline-block;
  padding: 0.7rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.85rem; color: var(--bone-dim);
  transition: all 0.3s var(--ease);
}
.radio-pill:hover span { border-color: var(--timber-lt); color: var(--bone); }
.radio-pill input:checked + span {
  background: var(--timber); border-color: var(--timber); color: #fff;
}
.radio-pill input:focus-visible + span { outline: 2px solid var(--timber-lt); outline-offset: 2px; }

/* File upload */
.upload-field { margin-top: 2.2rem; }
.upload-label {
  display: block;
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--stone); margin-bottom: 0.4rem;
}
.upload-hint { color: var(--stone); font-size: 0.9rem; margin-bottom: 0.9rem; }
.upload-drop {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  padding: 2.4rem 1.5rem; text-align: center; cursor: pointer;
  border: 1.5px dashed var(--line); border-radius: var(--radius);
  background: rgba(244, 240, 233, 0.02);
  transition: all 0.3s var(--ease);
}
.upload-drop:hover, .upload-drop.dragover {
  border-color: var(--timber-lt);
  background: rgba(182, 118, 63, 0.07);
}
.upload-drop input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.upload-icon {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--timber); color: #fff; font-size: 1.2rem;
}
.upload-text { color: var(--bone-dim); font-size: 0.98rem; }
.upload-text strong { color: var(--timber-lt); font-weight: 600; }
.upload-formats { font-size: 0.72rem; letter-spacing: 0.08em; color: var(--stone); text-transform: uppercase; }
.upload-list { margin-top: 1rem; display: grid; gap: 0.5rem; }
.upload-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.6rem 0.9rem; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 0.88rem; color: var(--bone-dim);
}
.upload-list li .file-size { color: var(--stone); font-size: 0.78rem; white-space: nowrap; }

.inquiry-actions { margin-top: 1rem; display: grid; gap: 1rem; justify-items: start; }
.inquiry-actions .btn { padding-inline: 2.6rem; }

/* Success / confirmation */
.inquiry-success[hidden] { display: none; }
.inquiry-success {
  max-width: 640px; margin: clamp(2rem, 5vw, 3rem) auto 0;
  text-align: center;
}
.inquiry-success-inner {
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--ink-soft);
}
.success-mark {
  display: grid; place-items: center;
  width: 64px; height: 64px; margin: 0 auto 1.4rem;
  border-radius: 50%; background: var(--timber); color: #fff;
  font-size: 1.8rem; line-height: 1;
}
.inquiry-success h2 {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1.25; color: var(--bone);
  margin-bottom: 1rem;
}
.inquiry-success p { color: var(--bone-dim); margin-bottom: 2rem; }

@media (max-width: 620px) {
  .form-grid { grid-template-columns: 1fr; }
  .inquiry-actions { justify-items: stretch; }
  .inquiry-actions .btn { width: 100%; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); padding-top: clamp(3rem, 7vw, 5rem); }
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem;
  padding-bottom: 3rem; border-bottom: 1px solid var(--line);
}
.footer-logo-link { display: inline-block; }
.footer-logo { width: auto; height: 64px; max-width: 100%; }
.footer-logo-fallback[hidden] { display: none; }
.footer-brand p { color: var(--stone); max-width: 340px; margin-top: 1.2rem; font-size: 0.95rem; }
.footer-col h4 { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone); margin-bottom: 1.2rem; }
.footer-col a { display: block; color: var(--bone-dim); margin-bottom: 0.7rem; font-size: 0.95rem; transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--timber-lt); }
.social-row { display: flex; gap: 0.7rem; margin-top: 1rem; }
.footer-col a.social-icon {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; margin: 0; padding: 0; border-radius: 50%;
  background: var(--timber); color: #fff; line-height: 0;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease);
}
.footer-col a.social-icon:hover { background: var(--timber-lt); color: #fff; transform: translateY(-3px); }
.footer-col a.social-icon svg { display: block; width: 19px; height: 19px; fill: currentColor; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem;
  padding-block: 1.8rem; font-size: 0.8rem; color: var(--stone); letter-spacing: 0.04em;
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.06s; }
.reveal:nth-child(3) { transition-delay: 0.12s; }
.reveal:nth-child(4) { transition-delay: 0.18s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav-desktop, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .grid-2 { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .floating-stat { left: auto; right: 1rem; bottom: 1rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .process-step { grid-template-columns: 60px 1fr; gap: 1rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
