/* ==========================================================================
   Studio 77 — Site stylesheet
   Every value here derives from the design-system tokens (see tokens/*.css).
   Component classes below reproduce the exact styling of the Claude Design
   components (Button, Tag, Badge, Card, Input, Select, Toast) as static CSS.
   ========================================================================== */

/* ---- Fluid overrides: the design's fixed px scale, made responsive ----
   Base (mobile) values scale UP to the design's desktop values via clamp(),
   so type/spacing never snap awkwardly between breakpoints. Desktop maxima
   match the tokens exactly. */
:root {
  --page-gutter: clamp(20px, 6vw, 48px);   /* header/section horizontal padding: 48px on desktop */
  --section-y:   clamp(56px, 9vw, 96px);   /* vertical section rhythm: 96px on desktop */

  --fs-display:  clamp(40px, 8vw, 76px);   /* home H1 */
  --fs-h1:       clamp(34px, 6vw, 56px);   /* page H1 */
  --fs-h1-lg:    clamp(34px, 5.5vw, 52px); /* studio H1 */
  --fs-h2:       clamp(28px, 4.4vw, 44px); /* CTA headings */
  --fs-h2-sm:    clamp(26px, 3.6vw, 40px); /* section headings */
  --fs-quote:    clamp(22px, 3.4vw, 34px); /* approach / belief pull-quotes */
  --fs-lead:     clamp(17px, 2vw, 19px);   /* hero sub-copy */
}

/* ---- Base page ---- */
html { scroll-behavior: smooth; }
body {
  background: var(--surface-page);
  color: var(--text-body);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;             /* belt-and-braces against horizontal scroll */
}
a { color: var(--text-link); text-decoration: none; }
a:hover { color: var(--text-link-hover); }
img { max-width: 100%; }

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

/* Visually-hidden but screen-reader accessible */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Skip link */
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 300;
  background: var(--espresso); color: var(--bone);
  padding: 10px 16px; border-radius: var(--radius);
  font-size: 13px; letter-spacing: 0.02em;
  transition: top var(--duration) var(--ease);
}
.skip-link:focus { top: 12px; color: var(--bone); }

/* Consistent, visible keyboard focus everywhere */
:focus-visible { outline: 2px solid var(--border-focus); outline-offset: 2px; border-radius: 2px; }

/* ---- Overline motif (mirrors .s77-overline from base.css for standalone use) ---- */
.overline {
  font-family: var(--font-body);
  font-size: var(--text-overline);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-overline);
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ==========================================================================
   Announcement bar
   ========================================================================== */
.announce {
  background: var(--espresso);
  color: var(--bone);
  text-align: center;
  padding: 9px var(--page-gutter);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 16px var(--page-gutter);
  background: rgba(245, 239, 228, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-hairline);
}
.brand {
  grid-column: 2; justify-self: center;
  display: inline-flex; align-items: center; gap: 5px;
  line-height: 1; color: var(--text-strong);
}
.brand:hover { color: var(--text-strong); }
/* Height matched to the wordmark; width:auto keeps the lamp's proportions (no distortion). */
.brand__mark { height: 26px; width: auto; display: block; }
.brand__word {
  font-family: var(--font-display);
  font-size: 22px; font-weight: var(--weight-medium);
  letter-spacing: 0.01em; color: var(--sienna-600);   /* matches the sienna lamp mark */
}
.header__spacer { grid-column: 3; }   /* balances the toggle so the logo stays centered */

/* Hamburger — opens the sidebar. Visible on every screen size now. */
.nav-toggle {
  grid-column: 1; justify-self: start;
  display: inline-flex; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--border-hairline);
  border-radius: var(--radius); cursor: pointer; color: var(--text-strong);
  transition: border-color var(--duration) var(--ease), background var(--duration) var(--ease);
}
.nav-toggle:hover { border-color: var(--border-strong); background: rgba(255,255,255,0.35); }
.nav-toggle svg { width: 20px; height: 20px; }

/* ---- Sidebar drawer ---- */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__scrim {
  position: absolute; inset: 0; background: rgba(26,21,18,0.45);
  opacity: 0; transition: opacity var(--duration-slow) var(--ease);
}
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; left: 0; bottom: 0; width: min(380px, 84vw);
  background: var(--bone); border-right: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-lg);
  padding: clamp(24px,4vw,40px) clamp(24px,4vw,40px) clamp(28px,4vw,40px);
  display: flex; flex-direction: column;
  transform: translateX(-100%); transition: transform var(--duration-slow) var(--ease);
  overflow-y: auto;
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__close {
  align-self: flex-end; width: 44px; height: 44px; margin: -8px -8px 8px 0;
  background: transparent; border: none; cursor: pointer;
  color: var(--text-strong); font-size: 26px; line-height: 1;
}
.drawer__nav { display: flex; flex-direction: column; margin-top: 8px; }
.drawer__link {
  font-family: var(--font-display); font-size: clamp(26px,4vw,34px); font-weight: var(--weight-regular);
  color: var(--text-strong); padding: 14px 0;
  border-bottom: 1px solid var(--border-hairline);
  transition: color var(--duration) var(--ease);
}
.drawer__link:first-child { border-top: 1px solid var(--border-hairline); }
.drawer__link:hover { color: var(--color-brand); }
.drawer__link[aria-current="page"] { color: var(--color-brand); }
.drawer__cta { margin-top: 32px; }
.drawer__meta { margin-top: auto; padding-top: 32px; display: flex; flex-direction: column; gap: 8px; }
.drawer__meta a { font-size: 13px; letter-spacing: 0.04em; color: var(--text-muted); }
.drawer__meta a:hover { color: var(--text-strong); }

/* ==========================================================================
   Buttons  (reproduces DS Button.jsx exactly)
   ========================================================================== */
.btn {
  font-family: var(--font-body); font-weight: var(--weight-medium);
  letter-spacing: 0.02em; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  line-height: 1; white-space: nowrap; text-decoration: none;
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease),
              border-color var(--duration) var(--ease), opacity var(--duration) var(--ease),
              transform var(--duration) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 8px 16px;  font-size: 13px; min-height: 36px; }
.btn--md { padding: 11px 24px; font-size: 15px; min-height: 44px; }
.btn--lg { padding: 15px 32px; font-size: 16px; min-height: 52px; }
.btn--block { width: 100%; }

.btn--primary   { background: var(--color-brand); color: var(--text-on-brand); border-color: var(--color-brand); }
.btn--primary:hover { background: var(--color-brand-hover); color: var(--text-on-brand); border-color: var(--color-brand-hover); }
.btn--secondary { background: transparent; color: var(--color-brand); border-color: var(--color-brand); }
.btn--secondary:hover { background: var(--sienna-50); color: var(--color-brand); border-color: var(--color-brand-hover); }
.btn--ghost     { background: transparent; color: var(--text-strong); border-color: transparent; }
.btn--ghost:hover { background: var(--surface-sunken); color: var(--text-strong); }
.btn--accent    { background: var(--color-accent); color: var(--espresso); border-color: var(--color-accent); }
.btn--accent:hover { background: var(--brass-500); color: var(--espresso); }

/* ==========================================================================
   Tag  (filter chip — reproduces DS Tag.jsx)
   ========================================================================== */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; min-height: 32px; box-sizing: border-box;
  border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: 13px; font-weight: var(--weight-regular);
  background: var(--surface-card); color: var(--text-body);
  border: 1px solid var(--border-hairline); cursor: pointer;
  transition: border-color var(--duration) var(--ease), background var(--duration) var(--ease), color var(--duration) var(--ease);
}
.tag:hover { border-color: var(--border-strong); }
.tag[aria-pressed="true"] {
  background: var(--sienna-600); color: var(--bone); border-color: var(--sienna-600);
}

/* ==========================================================================
   Badge  (reproduces DS Badge.jsx)
   ========================================================================== */
.badge {
  display: inline-flex; align-items: center;
  padding: 3px 9px; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: 11px; font-weight: var(--weight-medium);
  letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.4; white-space: nowrap;
}
.badge--brand  { background: var(--sienna-50);  color: var(--sienna-700); border: 1px solid var(--sienna-100); }
.badge--accent { background: var(--brass-100);  color: var(--brass-700);  border: 1px solid var(--brass-200); }

/* ==========================================================================
   Card  (reproduces DS Card.jsx — padding lg = 32px)
   ========================================================================== */
.card {
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius);
  padding: var(--space-xl);
  color: var(--text-body);
}

/* ==========================================================================
   Form fields  (reproduces DS Input.jsx / Select.jsx)
   ========================================================================== */
.field { width: 100%; font-family: var(--font-body); }
.field__label {
  display: block; margin-bottom: 6px;
  font-size: 13px; font-weight: var(--weight-medium); color: var(--text-strong);
}
.field__control {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 11px 14px;
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.field__control:focus-within { border-color: var(--border-focus); box-shadow: 0 0 0 3px var(--sienna-50); }
.field input,
.field textarea {
  border: none; outline: none; background: transparent; font: inherit;
  font-size: 15px; color: var(--text-body); width: 100%; padding: 0; resize: vertical;
}
.field textarea { min-height: 44px; line-height: 1.5; }
.field ::placeholder { color: var(--text-subtle); }

/* Select — native, styled, with chevron cap */
.select-wrap { position: relative; }
.select-wrap select {
  appearance: none; -webkit-appearance: none;
  width: 100%; padding: 11px 40px 11px 14px; font: inherit; font-size: 15px;
  color: var(--text-body); background: var(--surface-card);
  border: 1px solid var(--border-strong); border-radius: var(--radius);
  cursor: pointer; min-height: 46px;
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.select-wrap select:focus { outline: none; border-color: var(--border-focus); box-shadow: 0 0 0 3px var(--sienna-50); }
.select-wrap::after {
  content: "\25BE"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  pointer-events: none; color: var(--text-subtle); font-size: 12px;
}

/* ==========================================================================
   Toast  (reproduces DS Toast.jsx)
   ========================================================================== */
.toast-wrap { position: fixed; bottom: 24px; right: 24px; z-index: 200; }
.toast {
  display: flex; align-items: flex-start; gap: var(--space-md);
  background: var(--surface-card); border-radius: var(--radius);
  border: 1px solid var(--border-hairline); box-shadow: var(--shadow-md);
  border-left: 3px solid var(--status-success);
  padding: var(--space-md) var(--space-lg);
  min-width: 280px; max-width: 400px;
  font-family: var(--font-body); color: var(--text-body);
}
.toast__title { font-weight: var(--weight-medium); color: var(--text-strong); font-size: 14px; margin-bottom: 2px; }
.toast__body  { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.toast__close { border: none; background: transparent; cursor: pointer; color: var(--text-subtle); font-size: 16px; line-height: 1; padding: 0; }

/* ==========================================================================
   Image slots — real photo (cover) or an on-brand placeholder tile
   ========================================================================== */
.media {
  position: relative; width: 100%;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--brass-200);
}
.media--21x9 { aspect-ratio: 21 / 9; }
.media--4x3  { aspect-ratio: 4 / 3; }
.media--4x5  { aspect-ratio: 4 / 5; }

.media__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform var(--duration-slow) var(--ease);
}
/* Placeholder tile — a quiet lamp mark centered on a brand tone */
.media__placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.media__placeholder svg { width: 46px; height: 46px; opacity: 0.5; }
.media__caption {
  position: absolute; left: 14px; bottom: 12px;
  color: var(--bone); pointer-events: none;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

/* Project card + hover */
.work-card { display: block; cursor: pointer; color: inherit; }
.work-card:hover { color: inherit; }
.work-card:hover .media__img { transform: scale(1.04); }
.work-card__title {
  font-family: var(--font-display); font-weight: var(--weight-medium);
  color: var(--text-strong); margin: 16px 0 4px;
}
.work-card__meta { font-size: 14px; color: var(--text-subtle); }

/* ==========================================================================
   Sections & layout
   ========================================================================== */
.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.section--tight { padding-top: clamp(40px, 6vw, 56px); padding-bottom: clamp(40px, 6vw, 56px); }
.band {
  background: var(--surface-card);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

/* Home hero */
.hero { padding-top: clamp(64px, 9vw, 104px); padding-bottom: clamp(40px, 5vw, 56px); }
.hero__title {
  font-family: var(--font-display); font-size: var(--fs-display);
  line-height: 1.02; font-weight: var(--weight-regular); color: var(--text-strong);
  margin: 0 0 28px; max-width: 940px; letter-spacing: -0.01em;
}
.hero__lead {
  font-size: var(--fs-lead); line-height: 1.6; color: var(--text-muted);
  max-width: 600px; margin: 0 0 36px;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- Full-bleed hero (homepage) ---- */
.hero-full {
  position: relative; width: 100%;
  height: 88svh; min-height: 520px;
  overflow: hidden; background: var(--neutral-200);
}
.hero-full__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-full__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(26,21,18,0.30) 0%, rgba(26,21,18,0) 26%,
    rgba(26,21,18,0) 52%, rgba(26,21,18,0.58) 100%);
}
.hero-full__overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(28px,5vw,56px) var(--page-gutter); }
.hero-full__inner { max-width: var(--container-max); margin: 0 auto; }
.hero-full .overline { color: var(--bone); margin-bottom: 16px; text-shadow: 0 1px 12px rgba(0,0,0,0.4); }
.hero-full__title {
  font-family: var(--font-display); color: var(--bone); font-weight: var(--weight-regular);
  font-size: clamp(32px, 6vw, 66px); line-height: 1.04; letter-spacing: -0.01em;
  margin: 0 0 22px; max-width: 18ch; text-shadow: 0 2px 28px rgba(0,0,0,0.34);
}
.hero-full__cue {
  display: inline-flex; align-items: center; gap: 10px; color: var(--bone);
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  border-bottom: 1px solid rgba(239,230,214,0.5); padding-bottom: 4px;
}
.hero-full__cue:hover { color: var(--bone); border-bottom-color: var(--bone); }
.hero-full__cue svg { width: 14px; height: 14px; }

/* ---- Project feed (large, clickable) ---- */
.projects-feed { padding: clamp(56px,9vw,96px) 0 clamp(40px,6vw,64px); }
.feed-head { text-align: center; margin-bottom: clamp(36px,6vw,56px); }
.feed-head .overline { display: block; margin-bottom: 12px; }
.feed-head h2 { font-family: var(--font-display); font-size: var(--fs-h2-sm); font-weight: var(--weight-medium); margin: 0; color: var(--text-strong); }
.feature { position: relative; display: block; margin-bottom: clamp(40px,6vw,72px); color: var(--bone); }
.feature:last-of-type { margin-bottom: 0; }
.feature:hover { color: var(--bone); }
.feature__media {
  position: relative; width: 100%; aspect-ratio: 3 / 2; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--border-hairline); background: var(--neutral-200);
}
.feature__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 650ms var(--ease); }
.feature:hover .feature__img { transform: scale(1.03); }
.feature__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(26,21,18,0.62) 0%, rgba(26,21,18,0.12) 40%, rgba(26,21,18,0) 70%);
}
.feature__label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: clamp(20px,3vw,34px); display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
}
.feature__name { font-family: var(--font-display); font-size: clamp(24px,3.4vw,40px); font-weight: var(--weight-regular); margin: 0 0 6px; color: var(--bone); }
.feature__loc { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bone); opacity: 0.9; }
.feature__cue {
  flex-shrink: 0; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bone);
  opacity: 0; transform: translateY(6px); transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.feature:hover .feature__cue, .feature:focus-visible .feature__cue { opacity: 0.95; transform: none; }
.feed-all { text-align: center; margin-top: clamp(40px,6vw,72px); }
.feed-all a { font-size: 14px; color: var(--text-muted); border-bottom: 1px solid var(--border-strong); padding-bottom: 3px; }
.feed-all a:hover { color: var(--text-strong); }

/* Staggered, offset editorial grid (Atelier Roux / Holly Waterfield style) */
.home-feed { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,44px) clamp(28px,4vw,52px); align-items: start; }
.home-feed .hf:nth-child(even) { margin-top: clamp(40px,7vw,96px); }   /* push the right column down */
.hf { display: block; color: inherit; }
.hf:hover { color: inherit; }
.hf__media {
  position: relative; width: 100%; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--border-hairline); background: var(--neutral-200);
}
.hf__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 650ms var(--ease); }
.hf:hover .hf__img { transform: scale(1.03); }
/* Name is hidden until hover, then revealed centered over the image. */
.hf__overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: clamp(16px,4vw,32px);
  background: rgba(26,21,18,0.30);
  opacity: 0; transition: opacity var(--duration) var(--ease);
}
.hf:hover .hf__overlay, .hf:focus-visible .hf__overlay { opacity: 1; }
.hf__title {
  color: var(--bone); font-family: var(--font-body); font-weight: var(--weight-light);
  text-transform: uppercase; letter-spacing: 0.18em; line-height: 1.5;
  font-size: clamp(16px,1.9vw,24px);
  transform: translateY(8px); transition: transform 320ms var(--ease);
  text-shadow: 0 1px 12px rgba(0,0,0,0.35);
}
.hf:hover .hf__title, .hf:focus-visible .hf__title { transform: none; }

@media (max-width: 720px) {
  .home-feed { grid-template-columns: 1fr; gap: 36px; }
  .home-feed .hf:nth-child(even) { margin-top: 0; }
}
/* Touch devices can't hover — show the name as a bottom caption instead. */
@media (hover: none) {
  .hf__overlay {
    opacity: 1; align-items: flex-end; justify-content: flex-start; text-align: left;
    background: linear-gradient(to top, rgba(26,21,18,0.60) 0%, rgba(26,21,18,0) 55%);
  }
  .hf__title { transform: none; font-size: 15px; }
}

@media (max-width: 720px) {
  .hero-full { height: 82svh; }
  .feature__label { flex-direction: column; align-items: flex-start; }
  .feature__cue { opacity: 0.95; transform: none; }   /* touch: always show the cue */
}
@media (prefers-reduced-motion: reduce) {
  .feature__img, .feature:hover .feature__img { transition: none; }
}

/* Section header row (title left, link right) */
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 40px; flex-wrap: wrap; gap: 20px;
}
.section-head h2 {
  font-family: var(--font-display); font-size: var(--fs-h2-sm);
  font-weight: var(--weight-medium); margin: 0; color: var(--text-strong);
}
.text-link {
  font-size: 14px; color: var(--text-muted);
  border-bottom: 1px solid var(--border-strong); padding-bottom: 3px;
}
.text-link:hover { color: var(--text-strong); }

/* Grids */
.grid { display: grid; gap: 32px; }
.grid--2 { grid-template-columns: 1fr 1fr; }
.grid--3 { grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid--services { grid-template-columns: 1fr 1fr; gap: 24px; }

/* Approach section */
.approach {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.approach__lead {
  font-family: var(--font-display); font-size: var(--fs-quote); line-height: 1.3;
  color: var(--text-strong); margin: 0 0 20px; font-weight: var(--weight-regular);
}
.approach__note { font-size: 16px; line-height: 1.7; color: var(--text-muted); margin: 0; }
.steps { display: flex; flex-direction: column; }
.step {
  display: flex; gap: 20px; padding: 20px 0;
  border-bottom: 1px solid var(--border-hairline);
}
.step__n { font-family: var(--font-display); font-size: 20px; color: var(--brass-400); min-width: 28px; }
.step__title { font-weight: var(--weight-medium); color: var(--text-strong); margin-bottom: 4px; }
.step__body { font-size: 15px; color: var(--text-muted); line-height: 1.6; }

/* CTA blocks */
.cta { max-width: 720px; margin: 0 auto; text-align: center; padding: clamp(64px,9vw,104px) 0; }
.cta h2 {
  font-family: var(--font-display); font-size: var(--fs-h2); font-weight: var(--weight-regular);
  color: var(--text-strong); margin: 0 0 20px; line-height: 1.1;
}
.cta p { font-size: 17px; color: var(--text-muted); margin: 0 0 32px; }
.cta__actions { display: flex; justify-content: center; }

/* Page intro (Work / Services headers) */
.page-intro { padding-top: clamp(56px, 7vw, 80px); }
.page-intro h1 {
  font-family: var(--font-display); font-size: var(--fs-h1); font-weight: var(--weight-regular);
  color: var(--text-strong); margin: 0 0 16px; line-height: 1.05; max-width: 800px;
}
.page-intro p { font-size: 18px; color: var(--text-muted); max-width: 600px; margin: 0 0 40px; line-height: 1.6; }

/* Filters row */
.filters { display: flex; gap: 8px; margin-bottom: 40px; flex-wrap: wrap; }

/* ---- Services ---- */
.service-card { display: flex; flex-direction: column; min-height: 220px; }
.service-card__n { font-family: var(--font-display); font-size: 22px; color: var(--brass-400); margin-bottom: 14px; }
.service-card__title { font-family: var(--font-display); font-size: 26px; font-weight: var(--weight-medium); color: var(--text-strong); margin: 0 0 10px; }
.service-card__body { font-size: 15px; line-height: 1.7; color: var(--text-muted); margin: 0; }

.process { border-top: 1px solid var(--border-hairline); padding-top: 56px; }
.process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.process__n { font-family: var(--font-display); font-size: 34px; color: var(--brass-400); margin-bottom: 12px; }
.process__title { font-weight: var(--weight-medium); color: var(--text-strong); margin-bottom: 6px; }
.process__body { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.investment {
  margin-top: 72px; background: var(--surface-card);
  border: 1px solid var(--border-hairline); border-radius: var(--radius);
  padding: 48px; display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 24px;
}
.investment__quote {
  font-family: var(--font-display); font-size: 24px; color: var(--text-strong);
  margin: 0; max-width: 560px; line-height: 1.35;
}

/* ---- Studio / About ---- */
.studio-hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 72px; align-items: center;
  padding-top: clamp(56px, 7vw, 80px); padding-bottom: clamp(56px, 7vw, 80px);
}
.studio-hero h1 {
  font-family: var(--font-display); font-size: var(--fs-h1-lg); font-weight: var(--weight-regular);
  color: var(--text-strong); margin: 0 0 24px; line-height: 1.08;
}
.studio-hero p { font-size: 18px; line-height: 1.7; color: var(--text-muted); margin: 0 0 20px; }
.studio-hero p:last-child { font-size: 17px; margin: 0; }
.studio-hero__portrait {
  width: 100%; height: auto; display: block; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--border-hairline);
  aspect-ratio: 1536 / 2046;
}
.belief { text-align: center; max-width: 1000px; margin: 0 auto; }
.belief__quote {
  font-family: var(--font-display); font-size: var(--fs-quote); font-style: italic;
  line-height: 1.4; color: var(--text-strong); margin: 0;
}
.belief__by { margin-top: 28px; font-size: 14px; color: var(--text-subtle); letter-spacing: 0.04em; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.stat { border-top: 2px solid var(--brass-400); padding-top: 20px; }
.stat__n { font-family: var(--font-display); font-size: 48px; color: var(--text-strong); line-height: 1; }
.stat__label { font-size: 15px; color: var(--text-muted); margin-top: 10px; line-height: 1.6; }

/* ---- Project detail ---- */
.detail-head { max-width: 1000px; margin: 0 auto; padding: clamp(40px,5vw,56px) var(--page-gutter) 0; }
.back-link { font-size: 14px; color: var(--text-muted); display: inline-flex; gap: 6px; }
.back-link:hover { color: var(--text-strong); }
.detail-titlerow { margin-top: 32px; display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; }
.detail-titlerow h1 { font-family: var(--font-display); font-size: var(--fs-h1); font-weight: var(--weight-regular); margin: 0; color: var(--text-strong); line-height: 1.02; }
.detail-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.detail-hero { max-width: var(--container-max); margin: 40px auto 0; padding: 0 var(--page-gutter); }
.detail-body {
  max-width: 1000px; margin: 0 auto; padding: 64px var(--page-gutter);
  display: grid; grid-template-columns: 2fr 1fr; gap: 64px;
}
.detail-lede { font-family: var(--font-display); font-size: 26px; line-height: 1.4; color: var(--text-strong); margin: 0 0 24px; }
.detail-prose { font-size: 17px; line-height: 1.7; color: var(--text-muted); margin: 0; }
.facts { display: flex; flex-direction: column; gap: 20px; }
.fact { display: flex; flex-direction: column; gap: 4px; padding-bottom: 16px; border-bottom: 1px solid var(--border-hairline); }
.fact__k { font-size: 11px; }
.fact__v { font-size: 16px; color: var(--text-strong); }
.detail-gallery { max-width: var(--container-max); margin: 0 auto 40px; padding: 0 var(--page-gutter); display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.detail-cta { max-width: 1000px; margin: 0 auto; padding: 24px var(--page-gutter) var(--section-y); text-align: center; border-top: 1px solid var(--border-hairline); }
.detail-cta__q { font-family: var(--font-display); font-size: 24px; color: var(--text-strong); margin: 56px 0 24px; }

/* ---- Contact ---- */
.contact {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  padding-top: clamp(56px,7vw,80px); padding-bottom: var(--section-y);
}
.contact h1 { font-family: var(--font-display); font-size: clamp(34px,5vw,48px); font-weight: var(--weight-regular); color: var(--text-strong); margin: 0 0 20px; line-height: 1.1; }
.contact__intro { font-size: 17px; line-height: 1.7; color: var(--text-muted); margin: 0 0 40px; }
.contact__rows { display: flex; flex-direction: column; gap: 20px; }
.contact__k { font-size: 11px; margin-bottom: 4px; }
.contact__v { font-size: 16px; color: var(--text-strong); }
.contact__v a { color: var(--text-strong); }
.contact__v a:hover { color: var(--text-link); }
.ig-link {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 32px;
  padding: 14px 18px; border: 1px solid var(--border-hairline); border-radius: var(--radius);
  color: var(--text-strong);
  transition: border-color var(--duration) var(--ease), background var(--duration) var(--ease);
}
.ig-link:hover { border-color: var(--border-strong); background: var(--surface-card); color: var(--text-strong); }
.ig-link__text { display: flex; flex-direction: column; line-height: 1.3; }
.contact__form { align-self: start; }
.form { display: flex; flex-direction: column; gap: 18px; }
.form-sent { text-align: center; padding: 24px 8px; }
.form-sent h3 { font-family: var(--font-display); font-size: 26px; margin: 0 0 10px; color: var(--text-strong); }
.form-sent p { color: var(--text-muted); margin: 0 0 24px; line-height: 1.6; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--espresso); color: var(--bone); padding: 80px var(--page-gutter) 40px; margin-top: auto; }
.footer__top { max-width: var(--container-max); margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 48px; }
.footer__brand { max-width: 320px; }
.footer__word { font-family: var(--font-display); font-size: 28px; margin-bottom: 6px; }
.footer__tag { color: var(--brass-300); margin-bottom: 20px; }
.footer__blurb { color: var(--neutral-300); font-size: 14px; line-height: 1.7; margin: 0; }
.footer__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer__coltitle { color: var(--brass-300); margin-bottom: 16px; }
.footer__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__list a { color: var(--neutral-300); font-size: 14px; }
.footer__list a:hover { color: var(--bone); }
.footer__bar {
  max-width: var(--container-max); margin: 56px auto 0; padding-top: 24px;
  border-top: 1px solid rgba(239,230,214,0.14);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: var(--neutral-400); letter-spacing: 0.04em;
}
.site-footer a { color: var(--neutral-300); }

/* ==========================================================================
   Scroll-reveal animations  (progressive enhancement)
   Elements start hidden ONLY when JS marks <html> with .js — so no-JS users
   and search engines always see content. Reduced motion disables movement.
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.is-visible {
  opacity: 1; transform: none;
  transition: opacity var(--duration-slow) var(--ease), transform var(--duration-slow) var(--ease);
}
/* Staggered children (grids, hero lines) */
.js .reveal[data-stagger] > * { opacity: 0; transform: translateY(14px); }
.js .reveal[data-stagger].is-visible > * {
  opacity: 1; transform: none;
  transition: opacity var(--duration-slow) var(--ease), transform var(--duration-slow) var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .reveal.is-visible,
  .js .reveal[data-stagger] > *, .js .reveal[data-stagger].is-visible > * {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  .btn:active { transform: none; }
  .media__img, .work-card:hover .media__img { transition: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .grid--3, .process__grid, .stats { grid-template-columns: 1fr 1fr; }
  .approach, .studio-hero, .contact, .detail-body { grid-template-columns: 1fr; gap: 40px; }
  .studio-hero__portrait { max-width: 460px; }
  .investment { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
  .grid--2, .grid--3, .grid--services, .process__grid, .stats,
  .detail-gallery, .detail-body { grid-template-columns: 1fr; }
  .grid { gap: 28px; }
  .investment { padding: 32px; }
  .section-head { align-items: flex-start; }
}

@media (max-width: 380px) {
  .footer__cols { gap: 32px; }
}
