/* ============================================================
   DÚO — editorial wordmark system (v2, nia-adapted)
   paper #F0EFEB · ink #1B1B1B · plum #5E5464 · olive #6C7052 · slate #49545C
   Archivo (giant words + body) · Spline Sans Mono (labels)
   ============================================================ */

:root {
  --paper: #F0EFEB;
  --ink: #1B1B1B;
  --ink-60: rgba(27, 27, 27, 0.62);
  --line: rgba(27, 27, 27, 0.18);
  --plum: #5E5464;
  --plum-text: #D9D5E4;
  --plum-soft: #B9B3C6;
  --olive: #6C7052;
  --olive-text: #EFEAC9;
  --olive-pill: #B7BC97;
  --olive-pill-text: #4A4E33;
  --slate: #49545C;
  --slate-text: #D9E2E2;
  --slate-soft: #A7B4B4;
  /* Extended system palette (dbmotif design-system export) */
  --ink-warm: #181712;
  --warm: #55524A;
  --sand: #D9D4C6;
  --linen: #EAE6DA;
  --paper-2: #F4F2EC;
  --blue: #2B3AF0;
  --yellow: #FFD84D;
  --coral: #FF6A4D;
  --coral-deep: #FF6B35;
  --mist: #DCE4E9;
  --font-sans: "Archivo", "Helvetica Neue", sans-serif;
  --font-mono: "Spline Sans Mono", ui-monospace, monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--ink-60); border-radius: 8px; border: 3px solid var(--paper); }

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.mono { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus-visible { top: 12px; }

/* ---------------- Pills & controls ---------------- */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 13px 24px; border-radius: 999px;
  transition: transform 0.3s var(--ease-out), background 0.3s, color 0.3s, box-shadow 0.3s;
}
.pill .arr { transition: transform 0.3s var(--ease-out); }
.pill:hover .arr { transform: translateX(5px); }
.pill--ink { background: var(--ink); color: var(--paper); }
.pill--ink:hover { transform: scale(1.04); }
.pill--paper { background: var(--slate-text); color: var(--ink); }
.pill--paper:hover { transform: scale(1.04); }
.pill--giant {
  background: var(--olive-pill); color: var(--olive-pill-text);
  font-size: 0.85rem; padding: 22px 56px; flex: none;
}
.pill--giant:hover { transform: scale(1.03); }

.tag-pill {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--paper); color: var(--ink);
  padding: 8px 14px; border-radius: 999px; font-size: 0.6rem;
}

.pill-input {
  background: transparent; border: 1px solid rgba(239, 234, 201, 0.55);
  border-radius: 999px; padding: 18px 30px; width: 100%;
  color: var(--olive-text); font-size: 0.78rem; letter-spacing: 0.08em;
  transition: border-color 0.25s, background 0.25s;
}
.pill-input::placeholder { color: rgba(239, 234, 201, 0.55); }
.pill-input:focus { outline: none; border-color: var(--olive-text); background: rgba(239, 234, 201, 0.06); }

.line-input {
  background: transparent; border: 0; border-bottom: 1px solid var(--slate-soft);
  border-radius: 0; padding: 10px 2px; flex: 1; color: var(--slate-text);
  font-size: 0.78rem; letter-spacing: 0.08em;
}
.line-input::placeholder { color: var(--slate-soft); }
.line-input:focus { outline: none; border-color: var(--slate-text); }

/* ---------------- Nav ---------------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 14px clamp(12px, 1.6vw, 24px); }
.nav__pill {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  max-width: 1440px; margin: 0 auto; padding: 14px clamp(18px, 2.4vw, 32px);
  border-radius: 999px;
  background: var(--ink); color: var(--paper);
  box-shadow: 0 14px 34px -24px rgba(27, 27, 27, 0.5);
}
.nav__logo { font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em; line-height: 1; }
.nav__links { display: flex; gap: clamp(16px, 2.4vw, 34px); }
.nav__links a {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  opacity: 0.9; transition: opacity 0.2s;
}
.nav__links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.nav__portal { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.9; transition: opacity 0.2s; }
.nav__portal:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.nav__portal .arr { transition: transform 0.3s var(--ease-out); }
.nav__portal:hover .arr { transform: translate(2px, -2px); }
.nav__actions { display: flex; align-items: center; gap: 16px; }
.lang-toggle { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; display: flex; gap: 8px; padding: 6px 2px; }
.lang-toggle__opt { opacity: 0.45; padding-bottom: 2px; border-bottom: 1.5px solid transparent; transition: opacity 0.2s, border-color 0.2s; }
.lang-toggle__opt.is-active { opacity: 1; border-bottom-color: currentColor; }
.nav__cta { background: var(--paper); color: var(--ink); padding: 11px 20px; }
.nav__cta:hover { transform: scale(1.04); }
.nav__burger { display: none; width: 40px; height: 40px; position: relative; z-index: 110; }
.nav__burger span { position: absolute; left: 9px; right: 9px; height: 2px; background: currentColor; transition: transform 0.3s var(--ease-out); }
.nav__burger span:nth-child(1) { top: 16px; }
.nav__burger span:nth-child(2) { top: 23px; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; justify-content: center; padding: 0 clamp(24px, 8vw, 60px);
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path 0.55s var(--ease-out), visibility 0s linear 0.55s;
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition-delay: 0s; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a {
  font-weight: 700; font-size: clamp(2.2rem, 10vw, 3.2rem); letter-spacing: -0.03em; padding: 8px 0;
  opacity: 0; transform: translateY(24px); transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.mobile-menu.is-open a { opacity: 1; transform: none; }
.mobile-menu.is-open a:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.is-open a:nth-child(2) { transition-delay: 0.14s; }
.mobile-menu.is-open a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.is-open a:nth-child(4) { transition-delay: 0.26s; }
.mobile-menu.is-open a:nth-child(5) { transition-delay: 0.32s; }
.mobile-menu.is-open a:nth-child(6) { transition-delay: 0.38s; }
.mobile-menu .pill { font-size: 1rem; align-self: flex-start; margin-top: 20px; }
.mobile-menu__meta { position: absolute; bottom: 28px; opacity: 0.6; }

/* ---------------- Photography treatment ----------------
   One warm grade so every real photo sits in the paper/ink/plum
   palette; containers add a whisper of plum tint over the image. */
.ph { filter: saturate(0.94) sepia(0.07) contrast(1.02); }
.ph-tint { position: relative; }
.ph-tint::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(165deg, rgba(94, 84, 100, 0.10), rgba(27, 27, 27, 0.12));
  mix-blend-mode: multiply;
}

/* ---------------- Hero ---------------- */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 100px clamp(16px, 3vw, 44px) clamp(78px, 9vh, 98px);
  overflow: clip; position: relative;
}
.hero__stack { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; }
.hero-art { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
/* All framed photography sits absolutely inside its relative frame —
   percentage heights on <img> collapse in some engines otherwise */
.hero-art__panel img, .work-card__media img, .trio__panel img,
.founder__portrait img, .svc-card__media img, .blog-card__media img, .post-hero__img img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
}
.hero-art__panel { position: absolute; border-radius: 22px; overflow: hidden;
  box-shadow: 0 30px 60px -35px rgba(27, 27, 27, 0.4); }
.hero-art__panel--a { left: clamp(2%, 6vw, 10%); top: 4%; width: clamp(110px, 19vw, 280px); aspect-ratio: 5 / 7; }
.hero-art__panel--b { right: clamp(2%, 6vw, 10%); bottom: 2%; width: clamp(110px, 19vw, 280px); aspect-ratio: 5 / 7; }
.hero-art__panel--c { left: 50%; top: 50%; transform: translate(-50%, -50%); width: clamp(70px, 11vw, 160px); aspect-ratio: 1; border-radius: 16px; }
.hero__mark {
  position: relative; z-index: 3;
  font-size: clamp(2.6rem, 12.5vw, 12rem);
  font-weight: 700; letter-spacing: -0.05em; line-height: 0.82;
  text-align: center; user-select: none;
}
.h-line { display: block; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.h-line__inner { display: inline-block; }
/* The masked line boxes exist only for the entrance; once letters land,
   release the clip so tall accents (ú) render fully on every line */
.hero__meta {
  position: relative; z-index: 3;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 22px; opacity: 0.85;
}
/* Hero CTAs — the wordmark asks, the pills answer */
.hero__ctas {
  position: relative; z-index: 3;
  display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap;
  padding-top: clamp(30px, 4.5vh, 48px); /* breathing band for the scroll-thread underline */
  padding-bottom: clamp(18px, 3vh, 30px);
}
.hero__ctas .pill--ink { padding: 15px 30px; font-size: 0.8rem; }
.hero__cta-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink); border: 1.5px solid var(--ink); border-radius: 999px;
  padding: 14px 28px;
  transition: background 0.25s, color 0.25s, transform 0.3s var(--ease-out);
}
.hero__cta-ghost .arr { transition: transform 0.3s var(--ease-out); }
.hero__cta-ghost:hover { background: var(--ink); color: var(--paper); transform: scale(1.03); }
.hero__cta-ghost:hover .arr { transform: translateX(5px); }

/* ---------------- Color bands ----------------
   Bands arrive as rounded sheets that overlap the previous section — the
   page reads as stacked paper, one surface sliding over the last. */
.band {
  padding: clamp(88px, 12vh, 150px) clamp(20px, 4vw, 56px);
  border-radius: 44px 44px 0 0;
  margin-top: -44px;
  position: relative; /* z-auto: no stacking context — content outranks the thread */
}
.band__inner { max-width: 1440px; margin: 0 auto; }
.band--plum { background: var(--plum); color: var(--plum-text); }
.band--olive { background: var(--olive); color: var(--olive-text); }

/* ---------------- Marquee strip ----------------
   The studio's disciplines on an endless loop — a standalone, full-width
   band of its own that leads into the contact section. */
.marquee {
  position: relative; z-index: 1; /* above the olive band's -44 overlap, below the thread */
  background: var(--ink-warm); color: var(--paper);
  padding: 20px 0; overflow: hidden;
}
.marquee__track {
  display: flex; width: max-content; gap: 0;
  animation: marquee-run 26s linear infinite;
  font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.14em; white-space: nowrap;
}
.marquee__track span { padding-right: 1.6em; }
.marquee__dot { color: var(--yellow); padding-right: 1.6em; }
@keyframes marquee-run { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

.statement {
  font-size: clamp(1.75rem, 3.6vw, 3.05rem);
  font-weight: 600; line-height: 1.16; letter-spacing: -0.02em;
  max-width: 24ch; text-wrap: balance;
}
.u-scribble { position: relative; white-space: nowrap; }
.u-scribble svg {
  position: absolute; left: -1%; right: -1%; bottom: -0.28em; width: 102%; height: 0.32em; overflow: visible;
}
.scribble-path { stroke-dasharray: 240; stroke-dashoffset: 240; }

.about__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px); margin-top: clamp(64px, 9vh, 120px); align-items: start;
}
.about__label { opacity: 0.7; margin-bottom: 18px; }
.serve-list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px; font-size: 0.7rem;
}
.serve-list li::before { content: "· "; }
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.founder { text-align: center; }
.founder__frame { position: relative; }
/* Permanent halo: soft aura that breathes behind the arch frame */
.founder__frame::before {
  content: ""; position: absolute; inset: -7% -9%; z-index: 0; pointer-events: none;
  border-radius: 999px;
  background: radial-gradient(closest-side, rgba(217, 213, 228, 0.50), rgba(185, 179, 198, 0.20) 58%, transparent 74%);
  animation: halo-breathe 4.6s ease-in-out infinite;
}
/* Permanent halo rim: hairline light tracing the arch, gently glowing */
.founder__frame::after {
  content: ""; position: absolute; inset: -6px; z-index: 2; pointer-events: none;
  border-radius: 172px 172px 26px 26px;
  border: 1.5px solid rgba(233, 229, 240, 0.65);
  opacity: 0.55;
  animation: halo-glow 4.6s ease-in-out infinite;
  animation-delay: -2.3s;
}
@keyframes halo-breathe {
  0%, 100% { opacity: 0.55; transform: scale(0.97); }
  50% { opacity: 1; transform: scale(1.03); }
}
@keyframes halo-glow {
  0%, 100% { opacity: 0.3; box-shadow: 0 0 18px 2px rgba(233, 229, 240, 0.14); }
  50% { opacity: 0.9; box-shadow: 0 0 30px 6px rgba(233, 229, 240, 0.28); }
}
/* Permanent glitter: eight four-point sparks orbiting the frame rim */
.founder__glitter { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.founder__glitter i {
  position: absolute; width: 11px; height: 11px;
  background: var(--paper);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  opacity: 0;
  transform: scale(0.35) rotate(0deg);
  animation: glitter-twinkle 2.8s ease-in-out infinite;
}
.founder__glitter i:nth-child(1) { left: 4%;  top: 17%;  animation-delay: 0s;    }
.founder__glitter i:nth-child(2) { left: 20%; top: 3%;   animation-delay: 0.5s;  width: 8px; height: 8px; background: var(--plum-soft); }
.founder__glitter i:nth-child(3) { right: 6%; top: 12%;  animation-delay: 1.1s;  }
.founder__glitter i:nth-child(4) { right: -3%; top: 40%; animation-delay: 1.6s;  width: 8px; height: 8px; }
.founder__glitter i:nth-child(5) { left: -3%; top: 47%;  animation-delay: 0.8s;  width: 9px; height: 9px; background: var(--plum-soft); }
.founder__glitter i:nth-child(6) { left: 12%; bottom: 9%; animation-delay: 2.1s; width: 8px; height: 8px; }
.founder__glitter i:nth-child(7) { right: 16%; bottom: 5%; animation-delay: 1.35s; }
.founder__glitter i:nth-child(8) { right: 40%; top: -4%;  animation-delay: 1.9s;  width: 9px; height: 9px; background: var(--plum-soft); }
@keyframes glitter-twinkle {
  0%, 100% { opacity: 0; transform: scale(0.35) rotate(0deg); }
  45% { opacity: 0.95; transform: scale(1) rotate(28deg); }
  60% { opacity: 0.35; transform: scale(0.6) rotate(40deg); }
}
.founder__portrait {
  position: relative; z-index: 1;
  border-radius: 160px 160px 18px 18px; overflow: hidden; aspect-ratio: 4 / 5;
}
.founder__portrait img { object-position: 50% 30%; }
.founder__name { font-weight: 600; font-size: 1.1rem; margin-top: 16px; }
.founder__role { margin-top: 5px; font-size: 0.6rem; opacity: 0.75; }
.about__caption { margin-top: 28px; font-size: 1.15rem; font-weight: 500; }

/* ---------------- Sections & giant words ---------------- */
.section { padding: clamp(90px, 13vh, 160px) clamp(20px, 4vw, 56px); }
.section > * { max-width: 1440px; margin-left: auto; margin-right: auto; }
.section__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: clamp(24px, 4vw, 64px); margin-bottom: clamp(48px, 7vh, 84px);
}
.giant-word {
  font-size: clamp(4.2rem, 15.5vw, 14rem);
  font-weight: 700; letter-spacing: -0.04em; line-height: 0.8;
  text-transform: lowercase;
}
.w-line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.w-line__inner { display: inline-block; }
.section__intro { max-width: 36ch; font-size: 1.02rem; line-height: 1.55; opacity: 0.85; }

/* Work */
.work__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 36px); }
.work-card__media {
  position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden;
}
.work-card__media img { transition: transform 0.7s var(--ease-out); }
.work-card:hover .work-card__media img,
.work-card:focus-visible .work-card__media img { transform: scale(1.05); }
.work-card h3 { font-size: 1.4rem; font-weight: 600; margin-top: 18px; letter-spacing: -0.01em; }
.work-card__cat { margin-top: 5px; opacity: 0.55; font-size: 0.62rem; }
.work-card__desc { margin-top: 12px; font-size: 0.95rem; max-width: 38ch; }
.work__note { margin-top: 40px; opacity: 0.5; }

/* Trio */
.trio { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); }
.trio__panel { height: clamp(300px, 62vh, 640px); overflow: hidden; position: relative; }

/* Approach */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
.step__num { opacity: 0.5; margin-bottom: 14px; }
.step h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 0.95rem; opacity: 0.8; max-width: 26ch; }

/* Contact band */
.contact__top { display: flex; align-items: flex-start; justify-content: space-between; gap: clamp(24px, 4vw, 64px); }
.contact__side { flex: none; width: clamp(160px, 20vw, 280px); }
.contact__side svg { width: 100%; height: auto; display: block; }
.contact__sub { margin-top: 28px; font-size: 1.15rem; line-height: 1.55; font-weight: 500; max-width: 44ch; color: var(--ink); }
.contact__sub .cw { display: inline-block; opacity: 0; transform: translateY(0.55em); transition: opacity 0.5s var(--ease-out), transform 0.65s var(--ease-out); will-change: opacity, transform; }
.contact__sub.in .cw { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .contact__sub .cw { opacity: 1; transform: none; transition: none; } }
.contact__form {
  display: flex; gap: 14px; flex-wrap: wrap; align-items: center;
  margin-top: clamp(40px, 6vh, 64px);
}
.contact__form .pill-input { flex: 1 1 220px; }
.contact__form .pill-input:nth-child(2) { flex: 1.6 1 260px; }
.contact__wa { margin-top: 26px; }
.contact__wa a { text-decoration: underline; text-underline-offset: 5px; opacity: 0.85; }
.contact__wa a:hover { opacity: 1; }

/* Services — sticky stack */
.section--services { padding-bottom: clamp(60px, 8vh, 110px); }
.svc-stack { display: grid; gap: clamp(20px, 3vh, 36px); }
.svc-card {
  position: sticky; top: clamp(76px, 10vh, 104px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(24px, 3vw, 48px);
  background: var(--paper); border: 1px solid var(--line); border-radius: 28px;
  padding: clamp(28px, 4vw, 56px);
  min-height: clamp(360px, 56vh, 520px);
  box-shadow: 0 -18px 40px -34px rgba(27, 27, 27, 0.35);
}
.svc-card__body { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; }
.svc-card__num { opacity: 0.55; }
.svc-card h3 { font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 700; letter-spacing: -0.02em; }
.svc-card__list { font-size: 1.02rem; font-weight: 500; line-height: 1.85; }
.svc-card__media { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 13 / 10; }
.svc-card__media img { transition: transform 0.8s var(--ease-out); }
.svc-card:hover .svc-card__media img { transform: scale(1.06); }

/* Footer */
.footer {
  background: var(--slate); color: var(--slate-text);
  padding: clamp(80px, 11vh, 130px) clamp(20px, 4vw, 56px) 28px; overflow: clip;
  border-radius: 44px 44px 0 0; margin-top: -44px; position: relative;
}
.footer__cols {
  max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(32px, 5vw, 80px);
}
.footer__big {
  display: block; font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 600; letter-spacing: -0.02em;
  margin-bottom: 10px; transition: opacity 0.2s;
}
.footer__big:hover { opacity: 0.75; }
.footer__label { opacity: 0.6; margin-bottom: 10px; }
.footer__label--gap { margin-top: 30px; }
.footer__socials { display: grid; gap: 4px; font-size: 1rem; font-weight: 500; }
.footer__socials a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__form { display: flex; gap: 14px; align-items: center; margin-top: 22px; }
.footer__form .pill { flex: none; }
.footer__mark {
  margin: clamp(70px, 10vh, 120px) auto 0; max-width: 1440px;
  font-size: clamp(3.4rem, 21.5vw, 20rem); font-weight: 700; letter-spacing: -0.05em;
  line-height: 0.85; color: var(--slate-text); text-align: center; white-space: nowrap;
}
.footer__follow { max-width: 1440px; margin: 18px auto 0; font-size: 1.3rem; font-weight: 600; }
.footer__base {
  max-width: 1440px; margin: 56px auto 0; padding-top: 18px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; opacity: 0.65;
}

/* ---------------- Scroll thread ----------------
   One fat highlighter stroke (20px, the yellow primary highlight) drawn by
   page scroll from the hero to the footer. Layer order: band/marquee/footer
   BACKGROUNDS (z-auto) < thread (z-2) < every text block and picture (z-3) —
   the line rides ON TOP of the plum/olive/slate bands but passes BEHIND all
   pictures and text. */
.thread { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.thread svg { display: block; }
.thread path {
  fill: none; stroke: var(--yellow); stroke-width: 20px;
  stroke-linecap: round; stroke-linejoin: round; opacity: 0.95;
}
/* Content outranks the thread (z-3 > z-2): every text block and picture
   sits above the stroke; band backgrounds sit below it */
.section > * { position: relative; z-index: 3; }
.band__inner, .marquee__track, .footer__cols, .footer__mark, .footer__base { position: relative; z-index: 3; }

/* ---------------- Intake form (GDPR) ----------------
   Floating-label pill fields on the olive band; the label rises as the
   field fills, focus lights the rim, and the whole message composes a
   mailto on submit. Consent is a real checkbox — nothing sends without it. */
.intake { margin-top: clamp(40px, 6vh, 64px); }
.intake__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px;
}
.field { position: relative; }
.field--area { grid-column: 1 / -1; }
.field input, .field textarea {
  width: 100%; border: 1px solid rgba(239, 234, 201, 0.55); border-radius: 999px;
  background: transparent; color: var(--olive-text);
  font-family: var(--font-sans); font-size: 1rem;
  padding: 24px 30px 10px; transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.field textarea { border-radius: 26px; min-height: 132px; resize: vertical; padding-top: 30px; line-height: 1.5; }
.field label {
  position: absolute; left: 30px; top: 17px; pointer-events: none;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(239, 234, 201, 0.55);
  transform-origin: left top;
  transition: transform 0.22s var(--ease-out), color 0.22s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--yellow);
  background: rgba(239, 234, 201, 0.07);
  box-shadow: 0 0 0 4px rgba(255, 216, 77, 0.14);
}
.field input:focus + label, .field textarea:focus + label,
.field.is-filled label {
  transform: translateY(-9px) scale(0.84); color: var(--yellow);
}
.field input::placeholder, .field textarea::placeholder { color: transparent; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--coral); animation: field-shake 0.3s; }
@keyframes field-shake {
  25% { transform: translateX(-5px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); }
}
.consent {
  display: flex; gap: 14px; align-items: flex-start; margin-top: 22px;
  font-size: 0.88rem; line-height: 1.5; color: var(--olive-text); cursor: pointer;
}
.consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.consent__box {
  flex: none; width: 24px; height: 24px; border-radius: 8px; margin-top: 1px;
  border: 1.5px solid rgba(239, 234, 201, 0.65); position: relative;
  transition: background 0.2s, border-color 0.2s;
}
.consent__box svg {
  position: absolute; inset: 4px; width: 14px; height: 14px;
  stroke: var(--olive); stroke-width: 3.4; fill: none; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset 0.3s var(--ease-out);
}
.consent input:checked + .consent__box { background: var(--yellow); border-color: var(--yellow); }
.consent input:checked + .consent__box svg { stroke-dashoffset: 0; }
.consent input:focus-visible + .consent__box { outline: 2px solid var(--yellow); outline-offset: 2px; }
.consent.is-invalid .consent__box { border-color: var(--coral); animation: field-shake 0.3s; }
.consent__text a { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }
.consent details { margin-top: 4px; }
.consent summary {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(239, 234, 201, 0.7); cursor: pointer; list-style: none;
}
.consent summary::after { content: " +"; }
.consent details[open] summary::after { content: " −"; }
.consent details p { margin-top: 8px; font-size: 0.82rem; opacity: 0.85; max-width: 62ch; }
.intake__foot { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 30px; }
.intake__note { font-size: 0.62rem; opacity: 0.6; max-width: 40ch; }
.intake.is-sent .pill--giant { background: var(--yellow); color: var(--ink-warm); }

/* Contact form — ink on olive: the whole intake reads near-black so nothing
   dissolves into the band. Yellow stays only as focus/send accent. */
.field input, .field textarea { color: var(--ink); border-color: rgba(27, 27, 27, 0.55); }
.field input:focus, .field textarea:focus { background: rgba(27, 27, 27, 0.06); }
.field label { color: rgba(27, 27, 27, 0.72); }
.field input:focus + label, .field textarea:focus + label, .field.is-filled label { color: var(--ink); }
.consent { color: var(--ink); }
.consent__box { border-color: rgba(27, 27, 27, 0.65); }
.consent__box svg { stroke: var(--ink); }
.consent summary { color: rgba(27, 27, 27, 0.75); }
.consent__text a { color: var(--ink); text-decoration-color: rgba(27, 27, 27, 0.4); }
.intake__note { color: var(--ink); opacity: 0.78; }
.contact__wa { color: var(--ink); }
.contact__wa a { color: var(--ink); text-decoration-color: rgba(27, 27, 27, 0.4); }

/* ---------------- Blog / insights ---------------- */
.blog__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 36px); }
.blog-card { display: block; border-radius: var(--radius); }
.blog-card__media {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  background: var(--linen);
}
.blog-card__media img { transition: transform 0.7s var(--ease-out); }
.blog-card:hover .blog-card__media img, .blog-card:focus-visible .blog-card__media img { transform: scale(1.05); }
.blog-card__tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper); color: var(--ink); padding: 8px 14px; border-radius: 999px;
  font-size: 0.6rem;
  transition: transform 0.35s var(--ease-out);
}
.blog-card:hover .blog-card__tag { transform: translateY(-3px); }
.blog-card__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent, var(--blue)); }
.blog-card__meta { margin-top: 18px; opacity: 0.55; font-size: 0.62rem; }
.blog-card h3 { font-size: 1.3rem; font-weight: 600; margin-top: 6px; letter-spacing: -0.01em; line-height: 1.2; }
.blog-card__excerpt { margin-top: 10px; font-size: 0.93rem; opacity: 0.8; max-width: 36ch; }
.blog-card__more {
  display: inline-block; margin-top: 14px; font-size: 0.66rem;
  color: var(--ink); border-bottom: 1.5px solid var(--ink); padding-bottom: 3px;
  transition: border-color 0.25s, color 0.25s;
}
.blog-card:hover .blog-card__more { border-color: var(--blue); color: var(--blue); }
.blog__all { margin-top: clamp(36px, 5vh, 56px); }

/* ---------------- Living photo (2D animated placeholder) ----------------
   A drawn scene where a photo will eventually sit: sun rises, clouds drift,
   birds cross. Geometry from the extended palette — clearly a placeholder,
   alive until real photography lands. */
.living-photo {
  position: relative; border-radius: 24px; overflow: hidden;
  background: linear-gradient(180deg, var(--mist) 0%, var(--sand) 62%, var(--linen) 100%);
  display: block; width: 100%;
}
.living-photo svg { display: block; width: 100%; height: auto; }
.living-photo .lp-sun { animation: lp-sun 7s ease-in-out infinite alternate; transform-origin: center; }
.living-photo .lp-cloud-a { animation: lp-drift 16s linear infinite alternate; }
.living-photo .lp-cloud-b { animation: lp-drift 22s linear infinite alternate-reverse; }
.living-photo .lp-birds { animation: lp-fly 12s linear infinite; }
.living-photo .lp-frame { animation: lp-breathe 5s ease-in-out infinite alternate; }
@keyframes lp-sun { from { transform: translateY(14px); } to { transform: translateY(-6px); } }
@keyframes lp-drift { from { transform: translateX(-16px); } to { transform: translateX(22px); } }
@keyframes lp-fly { from { transform: translate(0, 0); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } to { transform: translate(150px, -26px); opacity: 0; } }
@keyframes lp-breathe { from { opacity: 0.5; } to { opacity: 1; } }
.living-photo figcaption {
  position: absolute; left: 14px; bottom: 12px; z-index: 2;
  font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-warm); background: rgba(240, 239, 235, 0.85); padding: 6px 12px; border-radius: 999px;
  backdrop-filter: blur(3px);
}

/* ---------------- Sent / thank-you pages ---------------- */
.sent { min-height: 82vh; display: flex; align-items: center; }
.sent .band__inner { width: 100%; }
.sent__crumb { opacity: 0.7; margin-bottom: 22px; }
.sent__sub { margin-top: 24px; font-size: 1.1rem; max-width: 46ch; opacity: 0.9; }
.sent__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.sent__actions .pill { background: var(--olive-pill); color: var(--olive-pill-text); }
.sent__actions .pill:hover { transform: scale(1.04); }
.sent__meta { margin-top: 44px; opacity: 0.65; }

/* ---------------- Reveal defaults (JS animates; gated behind .anim-ready) ---------------- */
.anim-ready .rv { opacity: 0; transform: translateY(28px); }
.anim-ready .hero__mark .h-line__inner { opacity: 0; }
.anim-ready .hero__ctas, .anim-ready .hero__meta { opacity: 0; }
.anim-ready .w-line__inner { transform: translateY(115%); }

/* ---------------- Custom cursor: dot + trailing ring ----------------
   Photo-negative pointer: JS samples the luminance under the pointer and
   flips .is-dark — ink dot/ring over light ground, paper over the bands. */
.cursor { position: fixed; inset: 0; z-index: 400; pointer-events: none; opacity: 0; display: none; }
html.has-cursor .cursor { display: block; }
html.has-cursor body { cursor: none; }
html.has-cursor a, html.has-cursor button, html.has-cursor label, html.has-cursor summary { cursor: none; }
.cursor.is-on { opacity: 1; transition: opacity 0.25s; }
.cursor__dot, .cursor__ring {
  position: absolute; top: 0; left: 0; border-radius: 50%; will-change: transform;
  transition: background-color 0.25s, border-color 0.25s;
}
.cursor__dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--ink); }
.cursor__ring { width: 42px; height: 42px; margin: -21px 0 0 -21px; border: 1.5px solid rgba(27, 27, 27, 0.85); }
.cursor.is-dark .cursor__dot { background: var(--paper); }
.cursor.is-dark .cursor__ring { border-color: rgba(240, 239, 235, 0.9); }
@media (pointer: coarse) { .cursor { display: none !important; } }

/* ---------------- Responsive ---------------- */
@media (max-width: 1000px) {
  .about__grid { grid-template-columns: 1fr; }
  .work__grid { grid-template-columns: 1fr; gap: 44px; }
  .work-card__media { aspect-ratio: 4 / 3; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
  .svc-card { grid-template-columns: 1fr; min-height: 0; }
  .svc-card__media { order: -1; aspect-ratio: 16 / 9; }
  .footer__cols { grid-template-columns: 1fr; gap: 40px; }
  .contact__top { flex-direction: column; }
  .contact__side { width: clamp(160px, 40vw, 280px); }
  .blog__grid { grid-template-columns: 1fr; gap: 44px; }
  .blog-card__media { aspect-ratio: 4 / 3; }
  .intake__grid { grid-template-columns: 1fr; }
  .band, .footer { border-radius: 28px 28px 0 0; margin-top: -28px; }
}

@media (max-width: 760px) {
  .nav__links, .nav__cta, .nav__portal { display: none; }
  .nav__burger { display: block; }
  .hero__mark { font-size: 13.5vw; }
  .hero-art__panel--a { top: 0; }
  .hero-art__panel--c { top: 40%; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .steps { grid-template-columns: 1fr; }
  .trio { grid-template-columns: 1fr; }
  .trio__panel { height: 44vh; }
  .intake__foot { flex-direction: column; align-items: stretch; }
  .intake__foot .pill--giant { width: 100%; justify-content: center; }
  .founders { grid-template-columns: 1fr 1fr; }
}

/* ---------------- Reduced motion ---------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .anim-ready .rv { opacity: 1; transform: none; }
  .anim-ready .hero__mark .h-line__inner, .anim-ready .hero__ctas, .anim-ready .hero__meta { opacity: 1; }
  .anim-ready .w-line__inner { transform: none; }
  .scribble-path { stroke-dashoffset: 0 !important; }
  .cursor { display: none !important; }
  .founder__frame::before { opacity: 0.7; transform: none; }
  .founder__frame::after { opacity: 0.55; }
  .founder__glitter i { animation: none; opacity: 0.4; transform: none; }
  .marquee__track { animation: none; }
  .living-photo .lp-sun, .living-photo .lp-cloud-a, .living-photo .lp-cloud-b,
  .living-photo .lp-birds, .living-photo .lp-frame { animation: none; }
}

.hero__mark.is-settled .h-line__inner { opacity: 1; }
