:root {
  --bg: #fafaf7;
  --surface: #ffffff;
  --surface-2: #f3f1ec;
  --ink: #17171c;
  --muted: #5d5d66;
  --line: #dfddd6;
  --accent: #5266eb;
  --accent-soft: rgba(82, 102, 235, 0.1);
  --amber: #a96824;
  --amber-soft: #f3e5d2;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Inter", sans-serif;
  --radius: 12px;
  --gap: 16px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="dark"] {
    --bg: #121216;
    --surface: #19191f;
    --surface-2: #1d1d24;
    --ink: #f0f0f3;
    --muted: #aaaab4;
    --line: #303039;
    --accent: #8794ff;
    --accent-soft: rgba(135, 148, 255, 0.12);
    --amber: #e1ad6b;
    --amber-soft: #2b241d;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; color-scheme: light; }
body {
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 11%, var(--accent-soft), transparent 24rem),
    radial-gradient(circle at 94% 26%, var(--amber-soft), transparent 21rem),
    var(--bg);
  color: var(--ink);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
main { isolation: isolate; width: min(100% - 48px, 1040px); margin-inline: auto; }
section { padding-block: 88px; }
h1, h2, h3 { color: var(--ink); font-family: var(--serif); font-weight: 500; letter-spacing: -0.025em; text-wrap: balance; }

.site-head {
  width: min(100% - 48px, 1040px);
  min-height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  border-bottom: 1px solid var(--line);
}
.head-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; color: var(--muted); font-size: 13px; }
.head-contact a,
.head-contact span { line-height: 1.2; }
.head-contact a { color: var(--muted); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 5px; transition: color 160ms ease, text-decoration-color 160ms ease; }
.head-contact a:hover { color: var(--ink); text-decoration-color: var(--accent); }
.head-nav { display: flex; flex: 0 0 auto; margin-left: auto; }
.theme-toggle { min-height: 32px; display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); font: 500 12px/1 var(--sans); cursor: pointer; }
.theme-toggle { transition: border-color 180ms ease, color 180ms ease, background 180ms ease, transform 180ms ease; }
.theme-toggle:hover { border-color: var(--accent); color: var(--ink); transform: translateY(-1px); }
.theme-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.theme-icon { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.theme-icon-sun { display: none; }
html[data-theme="dark"] .theme-icon-moon { display: none; }
html[data-theme="dark"] .theme-icon-sun { display: block; }
.head-link, .hero-contact a, .funfact a { color: var(--muted); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 5px; }
.head-link:hover, .hero-contact a:hover, .funfact a:hover { color: var(--ink); text-decoration-color: var(--accent); }
.head-link:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 3px; }

.section-kicker, .eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.section-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.section-kicker::before { width: 24px; height: 2px; border-radius: 2px; background: var(--accent); content: ""; }
section h2 { max-width: 32ch; margin-bottom: 20px; font-size: clamp(32px, 4.4vw, 48px); line-height: 1.08; }

.hero { position: relative; padding-block: 112px 96px; text-align: center; }
.hero::before { position: absolute; inset: 8% auto auto 50%; z-index: -1; width: min(66vw, 660px); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, var(--accent-soft), transparent 68%); content: ""; }
.hero-intro { display: grid; grid-template-columns: minmax(0, 1fr) 220px; align-items: center; gap: 56px; max-width: 860px; margin-inline: auto; text-align: left; }
.hero-copy { min-width: 0; }
.hero h1 { font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Inter", sans-serif; font-size: clamp(56px, 9vw, 92px); font-weight: 700; line-height: 0.95; letter-spacing: -0.065em; }
.hero-title-gap { display: inline-block; width: 0.18em; }
.hero-sub { max-width: 40ch; margin: 26px 0 0; color: var(--muted); font-family: var(--serif); font-size: clamp(21px, 2.8vw, 27px); line-height: 1.4; text-wrap: pretty; }
.hero-portrait { position: relative; width: 210px; aspect-ratio: 0.92; margin: 0; padding: 10px; overflow: visible; border-radius: 4px; background: color-mix(in srgb, var(--surface) 92%, var(--accent-soft)); box-shadow: 12px 16px 0 color-mix(in srgb, var(--ink) 7%, transparent); animation: portrait-settle 720ms var(--ease-out) 120ms both; }
.hero-portrait::before,
.hero-portrait::after { position: absolute; content: ""; pointer-events: none; }
.hero-portrait::before { inset: 14px -13px -13px 18px; z-index: -2; border: 1px solid color-mix(in srgb, var(--accent) 48%, transparent); border-radius: 4px; background: var(--accent); opacity: 0.12; animation: portrait-color-shift 8s ease-in-out infinite; }
.hero-portrait::after { inset: -10px 22px auto -12px; z-index: -1; height: 46px; border-radius: 2px; background: color-mix(in srgb, var(--amber) 72%, var(--surface)); box-shadow: 0 9px 20px color-mix(in srgb, var(--ink) 6%, transparent); transform: rotate(-4deg); transform-origin: 50% 50%; opacity: 0.75; animation: tape-sway 7s ease-in-out infinite; }
.hero-portrait img { position: relative; z-index: 1; width: 100%; height: 100%; display: block; border-radius: 3px; object-fit: cover; object-position: 50% 20%; outline: 1px solid color-mix(in srgb, var(--ink) 12%, var(--line)); outline-offset: -1px; animation: portrait-breathe 7.5s ease-in-out 900ms infinite; transform-origin: 50% 28%; will-change: transform; }
.hero-portrait:hover img { animation-play-state: paused; transform: translateY(-2px) scale(1.018); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 38px; }
.hero-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 30px; color: var(--muted); font-size: 15px; }
.hero-contact-top { width: fit-content; max-width: min(100%, 760px); margin: 26px auto 0; gap: 5px 8px; color: color-mix(in srgb, var(--muted) 88%, transparent); font-size: 13px; }
.hero-contact-top a,
.hero-contact-top span { padding: 4px 6px; border-radius: 999px; line-height: 1.1; }
.hero-contact-top .contact-label { color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; }
.hero-contact-top a:hover { color: var(--ink); background: var(--accent-soft); text-decoration-color: transparent; }
.proof-rail { width: 100%; margin: 52px auto 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: stretch; border-block: 1px solid var(--line); }
.proof-link { --proof-color: var(--accent); position: relative; min-width: 0; min-height: 54px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 8px; color: var(--muted); font-size: 13px; font-weight: 650; letter-spacing: -0.01em; text-align: center; white-space: nowrap; overflow: hidden; transition: background 160ms ease, color 160ms ease; }
.proof-link + .proof-link { border-left: 1px solid var(--line); }
.proof-link::after { position: absolute; inset: auto 18% -1px; height: 2px; border-radius: 999px 999px 0 0; background: var(--proof-color); content: ""; opacity: 0; transform: scaleX(0.45); transition: opacity 180ms ease, transform 180ms var(--ease-soft); }
.proof-link:hover { background: color-mix(in srgb, var(--proof-color) 7%, transparent); color: var(--ink); }
.proof-link:hover::after { opacity: 0.8; transform: scaleX(1); }
.proof-link-tea { --proof-color: var(--amber); }
.proof-link-brands { --proof-color: #5266eb; }
.proof-link-work { --proof-color: #0b5cab; }
.proof-link-projects { --proof-color: #7d4ae8; }
.proof-link-praise { --proof-color: #2f8f6b; }

.tea, .companies, .match, .work, .projects, .praise, .contact { border-top: 1px solid var(--line); }
section[id] { scroll-margin-top: 84px; }
.tea-note { margin-top: -4px; color: var(--muted); }
.steps { margin-top: 36px; list-style: none; }
.step { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: center; gap: var(--gap); min-height: 320px; padding-block: 36px; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: 0; }
.step:nth-child(even) .step-art { order: 2; }
.step:nth-child(even) .step-text { order: 1; padding-left: 9%; }
.step-art { position: relative; width: min(100%, 300px); aspect-ratio: 1; margin-inline: auto; padding: 0; border-radius: calc(var(--radius) + 2px); background: #f2eee6; outline: 1px solid color-mix(in srgb, var(--ink) 10%, var(--line)); outline-offset: -1px; box-shadow: 0 14px 34px color-mix(in srgb, var(--ink) 6%, transparent); overflow: hidden; animation: tea-float 7s ease-in-out infinite; transition: box-shadow 240ms ease, outline-color 240ms ease; will-change: transform; }
.step-art video,
.step-art img { width: 100%; height: 100%; display: block; border-radius: inherit; object-fit: cover; object-position: center; transform-origin: 50% 50%; transition: transform 260ms var(--ease-soft), filter 260ms ease; }
.step-art video { position: relative; z-index: 1; transform: scale(1.34); }
.step-art video + img { display: none; }
.step-art:hover { outline-color: color-mix(in srgb, var(--accent) 34%, var(--line)); box-shadow: 0 18px 42px color-mix(in srgb, var(--ink) 8%, transparent); }
.step-art:hover video { transform: scale(1.36); filter: saturate(1.03); }
.step-art:hover img { transform: scale(1.06); filter: saturate(1.03); }
.step:nth-child(2) video, .step:nth-child(2) img, .step:nth-child(4) video, .step:nth-child(4) img { object-position: center 54%; }
.step:nth-child(2n) .step-art { animation-delay: -1.5s; }
.step:nth-child(3n) .step-art { animation-delay: -3s; }
@keyframes tea-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes portrait-breathe { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-3px) scale(1.022); } }
@keyframes portrait-color-shift { 0%, 100% { opacity: 0.12; transform: translate(0, 0); } 50% { opacity: 0.18; transform: translate(2px, -2px); } }
@keyframes tape-sway { 0%, 100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-2.6deg) translateY(-1px); } }
.step-num { display: block; margin-bottom: 8px; color: var(--amber); font-size: 13px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; }
.step-text { min-width: 0; }
.step-text h3 { margin-bottom: 10px; font-size: clamp(28px, 4vw, 38px); line-height: 1.1; }
.step-text p { max-width: 48ch; color: var(--muted); text-wrap: pretty; }
.step-text p + p { margin-top: 12px; }
.step-principle { display: block; width: fit-content; margin-top: 14px; padding-top: 7px; border-top: 1px solid color-mix(in srgb, var(--amber) 38%, transparent); color: var(--ink); font-family: var(--serif); font-size: 14px; font-style: italic; }
sup { font-size: 0.65em; line-height: 0; vertical-align: super; }
sup a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.logos, .match-list, .praise-grid { display: grid; gap: var(--gap); }
.logo-card, .logos a, .match-item, .praise-card { border-radius: var(--radius); background: var(--surface); outline: 1px solid var(--line); outline-offset: -1px; }

.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; }
.companies { padding-block: 56px; }
.logos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.logo-card, .logos a { min-width: 0; min-height: 54px; display: inline-flex; align-items: center; gap: 10px; padding: 9px 13px 9px 10px; border-radius: 999px; transition: outline-color 180ms ease, transform 180ms var(--ease-soft), background 180ms ease; }
.logo-card:hover, .logos a:hover { outline-color: var(--accent); transform: translateY(-1px); }
.logos img { width: 24px; height: 24px; flex-shrink: 0; border-radius: 6px; object-fit: contain; outline: 1px solid var(--line); outline-offset: -1px; background: #fff; }
.logos img.logo-wide { width: 48px; height: 22px; border-radius: 4px; padding: 2px 4px; }
.logo-name { min-width: 0; display: flex; flex-direction: column; font-size: 13px; font-weight: 600; line-height: 1.18; white-space: nowrap; }
.logo-name small { max-width: none; margin-top: 2px; color: var(--muted); font-size: 10px; font-weight: 500; line-height: 1.2; }

.project-intro { max-width: 46ch; margin-top: -8px; color: var(--muted); font-family: var(--serif); font-size: 19px; line-height: 1.45; }
.project-shelf { display: flex; align-items: end; justify-content: center; gap: clamp(10px, 2vw, 22px); margin: 36px 0 40px; padding: 10px 0 0; }
.project-cover { position: relative; width: clamp(110px, 14vw, 148px); aspect-ratio: 0.7; display: flex; flex-direction: column; justify-content: space-between; padding: 15px 13px 14px; overflow: hidden; color: #17171c; outline: 1px solid rgba(23, 23, 28, 0.34); outline-offset: 3px; box-shadow: 5px 7px 0 rgba(23, 23, 28, 0.12); transition: transform 220ms var(--ease-soft), box-shadow 220ms ease; }
.project-cover::after { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 0 38%, rgba(255,255,255,0.22) 48%, transparent 58% 100%); content: ""; opacity: 0; transform: translateX(-125%); animation: cover-glint 6.8s ease-in-out infinite; }
.project-cover:nth-child(1) { transform: rotate(-3deg); }
.project-cover:nth-child(2) { transform: rotate(2deg) translateY(-8px); }
.project-cover:nth-child(3) { transform: rotate(-1deg) translateY(4px); }
.project-cover:nth-child(4) { transform: rotate(3deg) translateY(-4px); }
.project-cover:nth-child(5) { transform: rotate(-2deg) translateY(2px); }
.project-cover:nth-child(2)::after { animation-delay: 0.7s; }
.project-cover:nth-child(3)::after { animation-delay: 1.4s; }
.project-cover:nth-child(4)::after { animation-delay: 2.1s; }
.project-cover:nth-child(5)::after { animation-delay: 2.8s; }
.project-cover:hover { z-index: 1; transform: translateY(-8px) rotate(0); box-shadow: 9px 13px 0 rgba(23, 23, 28, 0.1); }
.project-cover strong { font-family: var(--serif); font-size: clamp(18px, 2.5vw, 28px); font-weight: 500; line-height: 0.98; letter-spacing: -0.02em; }
.project-cover strong em { font-weight: 400; }
.cover-kicker, .cover-byline { font-family: var(--sans); font-size: 9px; font-weight: 600; letter-spacing: 0.08em; line-height: 1.3; text-transform: uppercase; }
.cover-byline { font-size: 8px; font-weight: 500; letter-spacing: 0.04em; text-transform: none; }
.cover-letters { background: #e8e5dc; }
.cover-remote { background: #17171c; color: #f4f2eb; outline-color: rgba(244, 242, 235, 0.6); }
.cover-qr { background: #5266eb; color: #f8f8f4; outline-color: rgba(23, 23, 28, 0.42); }
.cover-focus { background: #e8d6c1; }
.cover-globo { background: #11131d; color: #f8f6eb; outline-color: rgba(248, 246, 235, 0.6); }

.match-list { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 36px; }
.match-item { min-width: 0; display: flex; align-items: flex-start; gap: var(--gap); padding: 24px; }
.match-check { width: 20px; height: 20px; flex-shrink: 0; }
.match-check svg { width: 20px; height: 20px; display: block; }
.match-check path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.match-body { min-width: 0; }
.match-body dt { margin-bottom: 6px; color: var(--ink); font-weight: 600; line-height: 1.4; }
.match-body dd { color: var(--muted); line-height: 1.55; text-wrap: pretty; }

.work-intro { max-width: 54ch; margin-top: -4px; color: var(--muted); font-family: var(--serif); font-size: 20px; line-height: 1.45; }
.work-list { margin-top: 34px; list-style: none; border-top: 1px solid var(--line); }
.work-item a { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto 24px; align-items: center; gap: var(--gap); padding: 22px 8px; border-bottom: 1px solid var(--line); }
.work-item a:hover { padding-left: 14px; }
.work-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gap); border-top: 0; }
.work-grid .work-item { min-width: 0; grid-column: span 2; }
.work-grid .work-featured { grid-column: span 3; }
.work-grid .work-item a { position: relative; min-height: 210px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms var(--ease-soft), padding-left 220ms var(--ease-soft); }
.work-grid .work-item a::before { position: absolute; inset: 0 0 auto; height: 5px; background: var(--work-color, var(--accent)); content: ""; }
.work-grid .work-item a::after { position: absolute; right: -22px; bottom: -28px; width: 118px; height: 118px; border: 1px solid color-mix(in srgb, var(--work-color, var(--accent)) 38%, transparent); border-radius: 50%; content: ""; opacity: 0.7; transition: transform 320ms var(--ease-soft), opacity 220ms ease; }
.work-grid .work-featured a { min-height: 250px; background: linear-gradient(145deg, color-mix(in srgb, var(--surface) 84%, var(--work-soft, var(--accent-soft))), var(--surface) 62%); }
.work-grid .work-item a:hover { padding-left: 24px; border-color: color-mix(in srgb, var(--work-color, var(--accent)) 50%, var(--line)); transform: translateY(-4px); box-shadow: 0 18px 42px color-mix(in srgb, var(--work-color, var(--accent)) 10%, transparent); }
.work-grid .work-item a:hover::after { transform: translate(-8px, -6px) scale(1.08); opacity: 0.95; }
.work-schwab { --work-color: #0b5cab; --work-soft: rgba(11, 92, 171, 0.12); }
.work-cxl { --work-color: #d06a2a; --work-soft: rgba(208, 106, 42, 0.13); }
.work-tech { --work-color: #5266eb; --work-soft: rgba(82, 102, 235, 0.12); }
.work-retail { --work-color: #d64022; --work-soft: rgba(214, 64, 34, 0.11); }
.work-essay { --work-color: #5266eb; --work-soft: rgba(82, 102, 235, 0.12); }
.work-index { position: relative; z-index: 1; color: var(--work-color, var(--accent)); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; text-transform: uppercase; }
.work-body { position: relative; z-index: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.work-title { max-width: 18ch; font-family: var(--serif); font-size: clamp(24px, 2.2vw, 32px); line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance; }
.work-grid .work-featured .work-title { max-width: 18ch; font-size: clamp(30px, 3.4vw, 44px); line-height: 1; }
.work-meta { max-width: 31ch; color: var(--muted); font-size: 14px; line-height: 1.45; text-wrap: pretty; }
.work-arrow { position: absolute; right: 22px; top: 20px; color: var(--muted); font-size: 22px; }
.work-arrow { transition: color 180ms ease, transform 220ms var(--ease-soft); }
.work-item a:hover .work-arrow { transform: translateX(4px); color: var(--work-color, var(--accent)); }

.praise-intro { max-width: 50ch; margin-top: -6px; color: var(--muted); font-family: var(--serif); font-size: 19px; line-height: 1.45; }
.praise-grid { max-width: 980px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 34px auto 0; }
.praise-card { position: relative; min-height: 0; display: flex; flex-direction: column; margin: 0; padding: 30px; border-left: 4px solid var(--accent); background: var(--surface); box-shadow: 0 14px 34px color-mix(in srgb, var(--ink) 5%, transparent); overflow: hidden; transition: transform 220ms var(--ease-soft), box-shadow 220ms ease, border-color 220ms ease; }
.praise-card:hover { transform: translateY(-3px); box-shadow: 0 20px 46px color-mix(in srgb, var(--ink) 8%, transparent); }
.praise-card:nth-child(2n) { border-left-color: var(--amber); }
.praise-card:last-child { }
.praise-mark { position: absolute; top: 18px; right: 22px; color: var(--accent); font-family: var(--serif); font-size: 58px; line-height: 0.5; opacity: 0.12; transition: transform 260ms var(--ease-soft), opacity 220ms ease; }
.praise-card:hover .praise-mark { transform: translateY(-3px) scale(1.04); opacity: 0.18; }
.praise-card:nth-child(2n) .praise-mark { color: var(--amber); }
.praise-card blockquote { padding-left: 0; }
.praise-card blockquote p { max-width: 42ch; font-family: var(--serif); font-size: clamp(18px, 2vw, 21px); line-height: 1.45; text-wrap: pretty; }
.praise-card figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 24px; }
.avatar { width: 40px; height: 40px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent-soft); outline: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: 0.02em; }
.avatar-mark { border-radius: 10px 10px 10px 2px; background: var(--ink); color: var(--bg); outline: none; font-family: var(--sans); font-size: 11px; letter-spacing: 0.08em; }
.avatar svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.who { min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.name { font-size: 14px; font-weight: 600; }
.role { color: var(--muted); font-size: 13px; }

.contact { text-align: center; }
.contact .section-kicker { justify-content: center; }
.contact h2 { margin-inline: auto; }
.contact-sub { margin-bottom: 28px; color: var(--muted); }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 21px; border: 1px solid transparent; border-radius: 999px; font-size: 15px; font-weight: 500; }
.btn { transition: transform 180ms var(--ease-soft), border-color 180ms ease, background 180ms ease, color 180ms ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-ghost { border-color: var(--line); background: var(--surface); }
.site-foot { padding: 48px max(24px, calc((100vw - 1040px) / 2)) 52px; border-top: 1px solid rgba(255, 255, 255, 0.74); background: #15151d; color: rgba(246, 245, 241, 0.82); font-size: 15px; line-height: 1.5; }
.fine-print { max-width: 760px; margin-inline: auto; padding-top: 26px; border-top: 1px solid rgba(246, 245, 241, 0.28); }
.fine-print-title { margin-bottom: 18px; color: #f6f5f1; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.fine-print-body { max-width: none; }
.fine-print ol { display: grid; gap: 12px; list-style: none; }
.fine-print li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; align-items: baseline; color: rgba(246, 245, 241, 0.72); font-size: 14px; line-height: 1.5; }
.fine-print strong { color: rgba(246, 245, 241, 0.92); font-weight: 650; }
.fine-print a, .footer-signoff a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.note-mark { color: #e1ad6b; font-weight: 650; font-variant-numeric: tabular-nums; }
.footer-signoff { max-width: 760px; margin: 34px auto 0; color: rgba(246, 245, 241, 0.5); font-size: 13px; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease-soft), transform 0.7s var(--ease-soft); transition-delay: calc(var(--reveal-index, 0) * 22ms); }
.reveal.is-visible { opacity: 1; transform: none; }

.reveal.is-visible .logos a,
.reveal.is-visible .logo-card,
.reveal.is-visible .work-item,
.reveal.is-visible .praise-card,
.reveal.is-visible .match-item { animation: card-rise 620ms var(--ease-out) both; animation-delay: calc(var(--item-index, 0) * 44ms); }

@keyframes card-rise { from { opacity: 0.001; transform: translateY(10px) scale(0.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes portrait-settle { from { opacity: 0; transform: translateY(8px) scale(0.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes proof-pop { from { opacity: 0; transform: translateY(8px) scale(0.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes cover-glint { 0%, 64% { opacity: 0; transform: translateX(-125%); } 72% { opacity: 0.75; } 86% { opacity: 0; transform: translateX(125%); } 100% { opacity: 0; transform: translateX(125%); } }

.hero-contact-top,
.proof-rail { animation: proof-pop 620ms var(--ease-out) both; }
.proof-rail { animation-delay: 120ms; }

html[data-theme="dark"] {
  body { background: radial-gradient(circle at 8% 11%, var(--accent-soft), transparent 24rem), var(--bg); }
  .logo-card, .logos a, .match-item, .praise-card, .btn-ghost { box-shadow: none; }
  .step-art { outline-color: rgba(135, 148, 255, 0.22); background: linear-gradient(145deg, var(--surface), color-mix(in srgb, var(--accent-soft) 32%, var(--surface))); box-shadow: none; }
  .praise-mark { color: rgba(255, 255, 255, 0.12); opacity: 1; }
  h1, h2, h3, .match-body dt { color: var(--ink); }
}

@media (max-width: 800px) {
  section { padding-block: 72px; }
  .hero { padding-block: 92px 80px; }
  .hero-intro { grid-template-columns: minmax(0, 1fr) 170px; gap: 28px; }
  .hero-portrait { width: 160px; padding: 8px; }
  .site-head { padding-block: 14px; }
  .head-contact { min-width: 0; max-width: calc(100% - 84px); gap: 6px 12px; }
  .proof-rail { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 4px; }
  .proof-link { flex: 0 0 auto; min-height: 48px; padding-inline: 14px; }
  .proof-link + .proof-link { border-left: 0; }
  .logos { gap: 10px; }
  .step { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-height: 280px; }
  .step:nth-child(even) .step-text { padding-left: 0; }
  .match-list { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  main, .site-head { width: min(100% - 32px, 1040px); }
  .site-head { min-height: 68px; gap: 12px; }
  .head-contact { max-width: calc(100% - 48px); gap: 4px 10px; font-size: 13px; }
  .head-nav { gap: 12px; }
  .head-jump { display: none; }
  .head-link { font-size: 13px; }
  .theme-toggle { padding-inline: 8px; }
  .theme-label { display: none; }
  section { padding-block: 60px; }
  .hero { padding-block: 76px 64px; }
  .hero-intro { display: block; text-align: left; }
  .hero-portrait { width: 156px; margin: 34px auto 0; }
  .hero h1 { font-size: clamp(48px, 14vw, 60px); }
  .hero-sub { max-width: 36ch; margin-top: 22px; font-size: 20px; line-height: 1.45; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-contact { align-items: center; gap: 6px; }
  .hero-contact-top { margin-top: 22px; font-size: 12px; }
  .proof-rail { margin-top: 40px; gap: 0; }
  .proof-link { min-height: 42px; padding-inline: 10px; font-size: 12px; white-space: nowrap; }
  .step { grid-template-columns: 1fr; gap: 26px; padding-block: 38px; text-align: left; }
  .step:nth-child(even) .step-art, .step:nth-child(even) .step-text { order: initial; }
  .step-art { width: min(78vw, 280px); }
  .logos { gap: 8px; }
  .project-shelf { gap: 8px; }
  .project-cover { width: calc((100vw - 64px) / 5); padding: 10px 7px 9px; }
  .cover-kicker, .cover-byline { font-size: 6px; }
  .project-cover strong { font-size: clamp(13px, 4vw, 18px); }
  .logo-card, .logos a { min-height: 50px; padding: 8px 11px 8px 9px; }
  .logo-name { font-size: 12px; }
  .logo-name small { font-size: 9px; }
  .match-item { padding: 20px; }
  .work-item a { grid-template-columns: 28px minmax(0, 1fr) 20px; padding-block: 18px; }
  .work-title,
  .work-grid .work-featured .work-title { max-width: 20ch; font-size: 24px; line-height: 1.04; }
  .praise-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .praise-card, .praise-card:last-child { grid-column: 1 / -1; width: 100%; min-height: 0; }
  .contact-actions { flex-direction: column; }
  .btn { width: 100%; }
  .fine-print li { grid-template-columns: 26px minmax(0, 1fr); gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .step-art,
  .step-art video,
  .step-art img,
  .hero-portrait,
  .hero-portrait img,
  .hero-contact-top,
  .proof-rail,
  .reveal.is-visible .logos a,
  .reveal.is-visible .logo-card,
  .reveal.is-visible .work-item,
  .reveal.is-visible .praise-card,
  .reveal.is-visible .match-item,
  .project-cover::after { animation: none; transform: none; }
  .step-art video { display: none; }
  .step-art video + img { display: block; }
  .theme-toggle,
  .logo-card,
  .logos a,
  .project-cover,
  .project-cover::after,
  .work-grid .work-item a,
  .work-grid .work-item a::after,
  .work-arrow,
  .praise-card,
  .praise-mark,
  .proof-link,
  .proof-link::after,
  .btn { transition: none; }
}
