/* =====================================================================
   Front Street Studio — homepage
   Warm, editorial, a little playful. Cream paper with a soft sunrise
   bloom, a high-contrast serif carrying the voice, soft rounded cards
   that drift, a small set of hues standing in for the five services.
   Self-contained: this file styles the homepage on its own.
   ===================================================================== */

:root {
  --paper:      #FFFFFF;
  --paper-warm: #F6EEE2;
  --ink:        #2B2630;   /* warm plum-black, body + dark headlines */
  --ink-soft:   #A6A09B;   /* muted taupe, the hero headline */
  --muted:      #716B66;

  --coral:  #EC6240;       /* primary action (CTAs only) */
  --coral-d:#D64E2E;
  --ink-grad: linear-gradient(130deg, #1B1915 0%, #595249 100%);   /* replaces coral on non-CTA accents */
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='2' stitchTiles='stitch' result='t'/%3E%3CfeColorMatrix in='t' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.42 0.42 0.42 0 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --noise-big: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='b'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.34' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23b)'/%3E%3C/svg%3E");
  --rose:   #E0608A;
  --violet: #8B78C4;
  --amber:  #E9A838;
  --green:  #4FA07C;

  --line:   rgba(43, 38, 48, 0.12);
  --card:   #FFFFFF;

  --serif: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;  /* serif dropped; kept as alias so one body sans is used throughout */
  --display: "DM Sans", "Hanken Grotesk", system-ui, sans-serif;   /* headings */
  --cta: #FFC83D;          /* yellow CTA */
  --sans:  "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --r: 18px;
  --r-lg: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 30px 60px -28px rgba(60, 40, 30, 0.35);
  --shadow-sm: 0 16px 30px -18px rgba(60, 40, 30, 0.3);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background-color: var(--paper);   /* clean white; the only dramatic area is the dark grainy footer */
  font-size: clamp(16px, 1.04vw, 18px);
  line-height: 1.6;
  letter-spacing: 0.002em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: #1B1915; color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(40px, 5.5vw, 76px); position: relative; }

/* ---------- Type ---------- */
.serif { font-family: var(--serif); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.0; letter-spacing: -0.02em; }
.display {
  font-family: var(--display);
  font-weight: 500;
  font-optical-sizing: auto;
  font-size: clamp(3rem, 8.2vw, 6.6rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.h2 { font-size: clamp(1.8rem, 3vw, 2.55rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
.h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); font-weight: 600; letter-spacing: -0.018em; }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.28rem); color: var(--muted); line-height: 1.55; text-wrap: pretty; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: 0.95em 1.6em; border-radius: 999px; font-family: var(--sans);
  font-weight: 600; font-size: 1rem; cursor: pointer; border: 1.5px solid transparent;
  background: transparent; -webkit-appearance: none; appearance: none;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--cta); color: #1B1915; box-shadow: 0 10px 26px -8px rgba(255, 200, 61, 0.85), 0 2px 6px rgba(27, 25, 21, 0.12); }
.btn--primary:hover { background: #FFD45E; transform: translateY(-2px); box-shadow: 0 16px 34px -8px rgba(255, 200, 61, 0.95), 0 3px 8px rgba(27, 25, 21, 0.14); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: rgba(255,255,255,0.5); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

/* ---------- Header / floating pill nav ---------- */
.site-header { position: fixed; top: clamp(10px, 1.6vw, 20px); left: 0; right: 0; z-index: 100; padding-inline: var(--gutter); transition: transform 0.5s var(--ease), opacity 0.45s var(--ease); }
.site-header.nav-hidden { transform: translateY(-165%); opacity: 0; pointer-events: none; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.nav {
  max-width: var(--maxw); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border-radius: 999px; padding: 10px 12px 10px 24px;
  /* open, bar-less at the top of the page */
  background: transparent; border: 1px solid transparent; box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
/* once scrolling starts, the nav condenses into a glass bar */
.site-header.is-stuck .nav {
  background: rgba(248, 246, 242, 0.92);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow:
    0 14px 36px -16px rgba(60, 40, 30, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.95),
    inset 0 -10px 24px -12px rgba(255, 255, 255, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}
/* heavy liquid-glass warp where supported (Chromium) */
@supports (backdrop-filter: url(#glassWarp)) {
  .site-header.is-stuck .nav { background: rgba(255, 255, 255, 0.26); backdrop-filter: url(#glassWarp); }
}
.brand { font-family: var(--sans); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 0.4em; }
.brand .dot { width: 0.42em; height: 0.42em; border-radius: 50%; background: var(--cta); display: inline-block; }
.brand .out { font-style: normal; font-weight: 400; }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2vw, 30px); }
.nav-links a { font-size: 0.96rem; font-weight: 500; color: var(--muted); display: inline-flex; align-items: center; gap: 0.5em; transition: color 0.25s var(--ease); }
.nav-links a .nd { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.nav-links a .nd { background: var(--ink-grad); opacity: 0.9; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 0.7em 1.3em; font-size: 0.95rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
.nav-toggle span + span { margin-top: 5px; }
.mobile-menu { display: none; }

@media (max-width: 860px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .mobile-menu {
    position: fixed; inset: 84px 16px auto 16px; z-index: 99;
    background: #fff; border-radius: var(--r); box-shadow: var(--shadow);
    padding: 12px; flex-direction: column; gap: 2px;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { padding: 14px 16px; border-radius: 12px; font-size: 1.1rem; font-weight: 500; }
  .mobile-menu a:hover { background: var(--paper-warm); }
  .mobile-menu .btn { margin-top: 8px; justify-content: center; }
}
@media (min-width: 861px) { .mobile-menu { display: none !important; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; text-align: center; min-height: 88vh; min-height: 88svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-block: clamp(40px, 6vw, 80px); }
/* hero background video (yellow-ink bloom) behind the text */
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; background:
  radial-gradient(72% 70% at 50% 46%, rgba(255,255,255,0.55), rgba(255,255,255,0.3) 66%, rgba(255,255,255,0.48) 100%); }
.hero .container { position: relative; z-index: 2; }
.hero h1.display { font-family: var(--display); color: var(--ink); max-width: 15ch; margin-inline: auto; font-weight: 800; letter-spacing: -0.035em; line-height: 0.98; font-size: clamp(2.6rem, 5.8vw, 5.1rem); }
.hero .sub {
  font-family: var(--sans); font-weight: 400; font-size: clamp(1.08rem, 1.4vw, 1.28rem);
  line-height: 1.55; color: var(--muted); max-width: 46ch; margin: clamp(22px, 2.6vw, 30px) auto 0;
}

/* ---------- Proof strip ---------- */
.proofstrip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: clamp(16px, 2.2vw, 24px); }
.proofstrip .container { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: clamp(12px, 2.2vw, 34px); }
.proofstrip .ps-label { font-family: var(--sans); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.proofstrip .ps-item { font-family: var(--sans); font-weight: 500; font-size: 0.92rem; color: var(--muted); }
.svc-pill {
  display: inline-block; padding: 0.08em 0.6em; border-radius: 999px; font-family: var(--sans);
  font-weight: 600; font-size: 0.78em; line-height: 1.5; white-space: nowrap; border: 1.5px solid;
  transform: translateY(-0.06em);
}
.svc-pill.c-coral  { color: var(--coral);  border-color: rgba(236,98,64,0.4);  background: rgba(236,98,64,0.08); }
.svc-pill.c-violet { color: var(--violet); border-color: rgba(139,120,196,0.4); background: rgba(139,120,196,0.08); }
.svc-pill.c-rose   { color: var(--rose);   border-color: rgba(224,96,138,0.4);  background: rgba(224,96,138,0.08); }
.svc-pill.c-amber  { color: #b9811f;       border-color: rgba(233,168,56,0.5);  background: rgba(233,168,56,0.12); }
.svc-pill.c-green  { color: var(--green);  border-color: rgba(79,160,124,0.4);  background: rgba(79,160,124,0.08); }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: clamp(30px, 4vw, 42px); }

/* floating work cards around the hero */
.floaties { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.float-card {
  position: absolute; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow);
  background: var(--card); border: 1px solid rgba(255,255,255,0.8);
  opacity: 0; animation: cardIn 1s var(--ease) forwards, drift 9s ease-in-out infinite;
}
.float-card img { width: 100%; height: 100%; object-fit: cover; }
.float-card.swatch { display: grid; align-content: space-between; padding: 14px; }
.float-card.swatch .chip { width: 100%; height: 46px; border-radius: 10px; }
.float-card.swatch .hex { font-weight: 600; font-size: 0.8rem; color: var(--muted); letter-spacing: 0.02em; }
.float-card.quote { display: grid; place-content: center; padding: 18px; text-align: left; }
.float-card.quote p { font-family: var(--serif); font-size: 1.05rem; line-height: 1.3; color: var(--ink); }
.float-card.quote .who { font-family: var(--sans); font-size: 0.72rem; color: var(--muted); margin-top: 10px; font-weight: 600; }

.fc1 { width: clamp(150px, 15vw, 210px); aspect-ratio: 4/3;  left: 2%;  top: 14%; transform: rotate(-6deg); animation-delay: 0.1s, 0.4s; }
.fc2 { width: clamp(120px, 12vw, 170px); aspect-ratio: 3/4;  right: 3%; top: 8%;  transform: rotate(5deg);  animation-delay: 0.25s, 1.1s; }
.fc3 { width: clamp(120px, 11vw, 150px); aspect-ratio: 1/1;   left: 7%;  bottom: 8%; transform: rotate(4deg); animation-delay: 0.4s, 0.7s; }
.fc4 { width: clamp(160px, 16vw, 230px); aspect-ratio: 16/10; right: 1%; bottom: 10%; transform: rotate(-5deg); animation-delay: 0.3s, 1.4s; }
.fc5 { width: clamp(150px, 14vw, 200px); aspect-ratio: 5/4;   right: 13%; top: 46%; transform: rotate(7deg); animation-delay: 0.55s, 0.2s; }

@keyframes cardIn { from { opacity: 0; transform: translateY(26px) scale(0.94) rotate(var(--rot, 0deg)); } to { opacity: 1; } }
@keyframes drift { 0%,100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@media (prefers-reduced-motion: reduce) { .float-card { opacity: 1; animation: none; } }
@media (max-width: 1040px) { .floaties { display: none; } }

/* ---------- Statement ---------- */
.statement { text-align: center; }
.statement .big { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 3.4vw, 2.9rem); line-height: 1.25; letter-spacing: -0.01em; max-width: 20ch; margin-inline: auto; color: var(--ink); }
.statement .big em { font-style: italic; background: var(--ink-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---------- Services ---------- */
.svc-head { text-align: center; max-width: 680px; margin: 0 auto clamp(26px, 3.4vw, 42px); }
.svc-head .h2 { text-wrap: balance; }
.svc-head .h2 { color: var(--ink); }
.svc-head p { color: var(--muted); margin-top: 18px; font-size: 1.1rem; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.8vw, 22px); }
.svc {
  background: var(--card); border-radius: var(--r-lg); padding: clamp(26px, 2.6vw, 38px);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: flex; flex-direction: column; min-height: 230px;
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.svc .tag { height: 34px; display: inline-flex; align-items: center; color: var(--ink); }
.svc .tag svg { width: 32px; height: 32px; }
.svc h3 { font-size: clamp(1.2rem, 1.5vw, 1.4rem); margin-top: 20px; color: var(--ink); }
.svc p { color: var(--muted); margin-top: 10px; font-size: 0.98rem; line-height: 1.5; }
.svc .more { margin-top: auto; padding-top: 18px; font-family: var(--sans); font-weight: 600; font-size: 0.9rem; }
.c-coral-bg  { background: rgba(236,98,64,0.12);  color: var(--coral); }
.c-violet-bg { background: rgba(139,120,196,0.14); color: var(--violet); }
.c-rose-bg   { background: rgba(224,96,138,0.13);  color: var(--rose); }
.c-amber-bg  { background: rgba(233,168,56,0.16);  color: #b9811f; }
.c-green-bg  { background: rgba(79,160,124,0.13);  color: var(--green); }
.svc.t-coral, .svc.t-violet, .svc.t-rose, .svc.t-amber, .svc.t-green { background: var(--card); }
.svc .more { background: var(--ink-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.svc .more span { color: inherit; }
@media (max-width: 820px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .svc, .svc:nth-child(4), .svc:nth-child(5) { grid-column: auto; min-height: 0; }
}
@media (max-width: 520px) { .svc-grid { grid-template-columns: 1fr; } }

/* ---------- Work ---------- */
.work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(22px, 3vw, 36px); }
.work-head .h2 { color: var(--ink); }
.work-head a { font-family: var(--sans); font-weight: 600; background: var(--ink-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.work-grid { columns: 3; column-gap: clamp(16px, 1.8vw, 22px); }
.work-card { break-inside: avoid; margin-bottom: clamp(16px, 1.8vw, 22px); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); position: relative; display: block; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.work-card img { width: 100%; height: auto; transition: transform 0.6s var(--ease); }
.work-card:hover img { transform: scale(1.04); }
.work-card .cap { position: absolute; inset: auto 0 0 0; padding: 16px; background: linear-gradient(to top, rgba(25,18,22,0.82), transparent); color: #fff; opacity: 0; transition: opacity 0.4s var(--ease); }
.work-card:hover .cap { opacity: 1; }
.work-card .cap .t { font-family: var(--serif); font-size: 1.2rem; }
.work-card .cap .s { font-size: 0.82rem; opacity: 0.85; }
@media (max-width: 820px) { .work-grid { columns: 2; } }
@media (max-width: 520px) { .work-grid { columns: 1; } }

/* ---------- Closing CTA (sits on the continuous warm dome from the body) ---------- */
.cta { position: relative; text-align: center; padding-bottom: clamp(16px, 3vw, 36px); }
.cta .container { position: relative; z-index: 1; }
.cta-card {
  position: relative; padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 64px);
  background: transparent; border: 0; box-shadow: none;
}
.cta-card .h2 { color: var(--ink); max-width: 18ch; margin-inline: auto; }
.cta-card p { color: var(--muted); margin: 20px auto 0; max-width: 40ch; font-size: 1.1rem; }
.cta-card .hero-actions { margin-top: 34px; }

/* ---------- Manifesto ---------- */
.manifesto { position: relative; z-index: 0; }
.manifesto .container { max-width: 900px; }
.mani-label { display: block; text-align: center; font-family: var(--sans); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: clamp(20px, 2.8vw, 34px); }
.mani-body { font-family: var(--sans); font-weight: 400; font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.55; letter-spacing: 0; color: var(--ink); }
.mani-body p + p { margin-top: 0.9em; }
.mani-list { list-style: none; padding: 0; margin: clamp(26px, 3.4vw, 44px) 0 0; }
.mani-list li { font-family: var(--display); font-weight: 600; font-size: clamp(1.4rem, 2.1vw, 1.9rem); line-height: 1.3; letter-spacing: -0.018em; color: var(--ink); }
.mani-list li + li { margin-top: 0.1em; }
.mani-list .lead { font: inherit; background: var(--ink-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
/* typewriter reveal */
.mani-list.armed .ch { opacity: 0; }
.mani-list.armed .ch.on { opacity: 1; }
.type-caret { display: inline-block; width: 3px; height: 0.86em; vertical-align: -0.06em; margin-left: 0.03em; background: #1B1915; border-radius: 1px; animation: caretBlink 0.9s steps(1) infinite; }
@keyframes caretBlink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .mani-list.armed .ch { opacity: 1; } .type-caret { display: none; } }

/* ---------- Testimonials (plain white, bubbles only) ---------- */
.tmons {
  position: relative; overflow: hidden;
  padding: clamp(40px, 5.5vw, 76px) var(--gutter);
}
.tmons-inner { position: relative; z-index: 2; max-width: 1060px; margin-inline: auto; min-height: clamp(420px, 42vw, 520px); display: grid; place-items: center; }
.tmons-more { position: relative; z-index: 2; }
.tmons-title {
  text-align: center; color: var(--ink); font-family: var(--display); font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.55rem); line-height: 1.08; letter-spacing: -0.015em;
  max-width: 15ch; position: relative; z-index: 2; text-wrap: balance;
}
.tmons .bubble {
  position: absolute; z-index: 3; background: #fff; border-radius: 22px; padding: 18px 22px;
  max-width: 318px; font-size: 1rem; line-height: 1.42; color: var(--ink);
  box-shadow: 0 22px 44px -24px rgba(120, 40, 80, 0.5); animation: drift 9s ease-in-out infinite;
}
.tmons .bubble p { margin: 0; }
.tmons .bubble .av { position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 8px 16px -6px rgba(0,0,0,0.3); bottom: -60px; left: 14px; }
.tmons .bubble::before, .tmons .bubble::after { content: ""; position: absolute; border-radius: 50%; background: #fff; }
.tmons .bubble::before { width: 11px; height: 11px; bottom: -16px; left: 34px; }
.tmons .bubble::after { width: 6px; height: 6px; bottom: -30px; left: 28px; }
.tmons .bubble.br .av { left: auto; right: 14px; }
.tmons .bubble.br::before { left: auto; right: 34px; }
.tmons .bubble.br::after { left: auto; right: 28px; }
.tmons .b1 { top: 1%;  left: 50%; transform: translateX(-50%); animation-delay: 0.2s; }
.tmons .b2 { top: 15%; left: 0;   animation-delay: 1.2s; }
.tmons .b3 { top: 21%; right: 0;  animation-delay: 0.6s; }
.tmons .b4 { bottom: 17%; right: 6%; animation-delay: 1.0s; }
.tmons .b5 { bottom: 6%;  left: 8%;  animation-delay: 0.4s; }
.tmons-more { display: block; text-align: center; margin: clamp(26px, 3vw, 40px) auto 0; font-weight: 600; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; background: var(--ink-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; width: fit-content; }
.tmons-more:hover { color: var(--coral-d); }
@media (prefers-reduced-motion: reduce) { .tmons .bubble { animation: none; } }
@media (max-width: 760px) {
  .tmons-inner { min-height: 0; display: flex; flex-direction: column; gap: 72px; }
  .tmons .bubble { position: relative; inset: auto; left: auto; right: auto; top: auto; bottom: auto; transform: none; animation: none; max-width: 100%; }
  .tmons .bubble .av, .tmons .bubble.br .av { left: 18px; right: auto; bottom: -54px; }
  .tmons .bubble.br::before, .tmons .bubble.br::after { left: 34px; right: auto; }
  .tmons .bubble.br::after { left: 28px; }
  .tmons-title { max-width: 100%; margin: 8px 0; }
}

/* ---------- Footer (ink gradient, heavy grain) ---------- */
.site-footer { position: relative; margin-top: 0; padding: clamp(52px, 7vw, 92px) var(--gutter) clamp(32px, 4vw, 48px); background: #15110d; }
.foot-panel { position: relative; z-index: 1; max-width: var(--maxw); margin-inline: auto; }
.foot-head { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding-bottom: clamp(30px, 3.4vw, 48px); border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.foot-id { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.foot-id .brand { font-size: 1.6rem; color: #fff; }
.foot-id .brand .out { color: #fff; }
.foot-id .brand .dot { background: var(--cta); -webkit-background-clip: border-box; background-clip: border-box; }
.foot-id .tagline { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: rgba(255, 255, 255, 0.55); }
.foot-start { flex: 0 0 auto; }
.site-footer .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.04); }
.site-footer .btn--ghost:hover { color: #1B1915; background: #fff; border-color: #fff; }
.foot-cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding: clamp(34px, 3.8vw, 56px) 0; }
.foot-main a { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(1.3rem, 1.9vw, 1.65rem); color: rgba(255, 255, 255, 0.88); padding: 7px 0; transition: color 0.2s var(--ease); }
.foot-main a:hover { color: #fff; }
.foot-col h4 { font-family: var(--sans); font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.42); font-weight: 600; margin-bottom: 16px; }
.foot-col a { display: block; color: rgba(255, 255, 255, 0.6); padding: 6px 0; font-size: 0.97rem; transition: color 0.25s var(--ease); }
.foot-col a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.foot-bottom p, .foot-bottom a { font-size: 0.85rem; color: rgba(255, 255, 255, 0.45); }
.foot-bottom a:hover { color: #fff; }
@media (max-width: 820px) { .foot-cols { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 480px) { .foot-cols { grid-template-columns: 1fr; } .foot-head { flex-direction: column; align-items: stretch; } .foot-start { width: 100%; justify-content: center; } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: 0.08s; }
.js .reveal.d2 { transition-delay: 0.16s; }
.js .reveal.d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* ---------- Statement heading (pencil + brackets) ---------- */
.statement2 { text-align: center; }
.statement2 .stmt { max-width: 22ch; margin-inline: auto; color: var(--ink); }
.statement2 .ico-pencil { display: inline-flex; vertical-align: -0.08em; }
.statement2 .ico-pencil svg { width: 0.82em; height: 0.82em; }
.brace { white-space: nowrap; }
.brace::before { content: "{"; margin-right: 0.03em; opacity: 0.5; }
.brace::after { content: "}"; margin-left: 0.03em; opacity: 0.5; }
.statement2 .stmt-sub { font-family: var(--sans); color: var(--muted); font-size: clamp(1.08rem, 1.4vw, 1.28rem); max-width: 46ch; margin: clamp(16px, 2vw, 24px) auto 0; line-height: 1.55; }

/* ---------- FAQ (homepage) ---------- */
.faq-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(24px, 3vw, 44px); align-items: start; }
.faq-head .h2 { color: var(--ink); }
.faq-head .faq-accent { background: var(--ink-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.faq-head p { color: var(--muted); margin-top: 20px; max-width: 32ch; font-size: 1.05rem; line-height: 1.5; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 2px; font-family: var(--display); font-weight: 600; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--ink); letter-spacing: -0.012em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { opacity: 0.65; }
.faq .chev { flex: none; width: 11px; height: 11px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform 0.3s var(--ease); margin-top: -5px; }
.faq details[open] .chev { transform: rotate(-135deg); margin-top: 3px; }
.faq .answer { color: var(--muted); max-width: 62ch; padding: 0 2px 24px; font-size: 1rem; line-height: 1.55; }
.faq .answer p { margin: 0; }
@media (max-width: 820px) { .faq-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Scroll to top ---------- */
.to-top {
  position: fixed; right: clamp(16px, 3vw, 30px); bottom: clamp(16px, 3vw, 30px); z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--cta); color: #1B1915; display: grid; place-items: center;
  box-shadow: 0 10px 26px -8px rgba(255, 200, 61, 0.85), 0 2px 6px rgba(27, 25, 21, 0.14);
  opacity: 0; transform: translateY(14px) scale(0.9); pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), background 0.3s var(--ease);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: #FFD45E; transform: translateY(-3px); }
.to-top:focus-visible { outline: 2px solid #1B1915; outline-offset: 3px; }
.to-top svg { width: 20px; height: 20px; }
@media (prefers-reduced-motion: reduce) { .to-top { transition: opacity 0.2s; } .to-top:hover { transform: none; } }

/* ---------- Image placeholders (coming soon) ---------- */
.ph { position: relative; background: linear-gradient(135deg, #F1ECE4, #E3DACE); display: grid; place-items: center; color: var(--muted); border-radius: inherit; overflow: hidden; }
.ph::after { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(45deg, rgba(43,38,48,0.04) 0 10px, transparent 10px 20px); pointer-events: none; }
.ph-label { position: relative; z-index: 1; font-family: var(--sans); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.ratio-3-2 { aspect-ratio: 3 / 2; }
.ratio-4-5 { aspect-ratio: 4 / 5; }
.ratio-16-9 { aspect-ratio: 16 / 9; }
.work-card .ph { border-radius: var(--r); }

@media (max-width: 768px) {
  .hero-video { display: none; }
}
