/* Pello — components and sections. Load after tokens.css. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr-only:focus { position: fixed; top: 12px; left: 12px; width: auto; height: auto; clip: auto; padding: 8px 14px; background: var(--text); color: var(--on-ink); z-index: 100; border-radius: var(--r-xs); }
.wrap { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.muted { color: var(--muted); }
.reg { font-size: .32em; vertical-align: top; position: relative; top: .22em; margin-left: .04em; color: var(--accent-ink); font-weight: 500; letter-spacing: 0; }
.t-h2 .reg, .t-h3 .reg { font-size: .5em; top: .1em; }

/* ── Sections: close above, generous below (the DNA rhythm) ── */
.sec { padding: var(--section-top) 0 var(--section); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: var(--head-to-content); }
.sec-head--center { flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.sec-head--center .t-h2 { max-width: 16ch; }

/* ── Links ── */
.link-plus { position: relative; display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 500; letter-spacing: -.01em; padding-bottom: 4px; transition: color var(--dur-fast) var(--ease); }
.link-plus::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform var(--dur) var(--ease-out); }
.link-plus:hover { color: var(--accent-ink); }
.link-plus:hover::after { transform: scaleX(0); }
.plus { position: relative; width: 12px; height: 12px; flex: none; transition: transform var(--dur) var(--ease-out); }
.plus::before, .plus::after { content: ""; position: absolute; inset: 5.5px 0 auto; height: 1.5px; background: currentColor; }
.plus::after { transform: rotate(90deg); }
.link-plus:hover .plus { transform: rotate(90deg); }
.link-line { display: inline-block; position: relative; padding-bottom: 10px; transition: color .25s var(--ease); }
.link-line::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 1.5px; background: currentColor; transition: width var(--dur) var(--ease-out); }
.link-line:hover { color: var(--accent-ink); }
.link-line:hover::after { width: 100%; }
.socials a { transition: color var(--dur-fast) var(--ease); }
.socials a:hover { color: var(--accent-ink); }

/* ── Button: one ink button, full width in forms ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; border: 0; border-radius: var(--r-xs); background: var(--text); color: var(--on-ink); font-family: var(--mono); font-size: 14px; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; transition: background var(--dur-fast) var(--ease); }
.btn:hover { background: var(--accent); }
.btn--block { width: 100%; }

/* ── Header: logo left, plus right, nothing else ── */
.site-head { position: fixed; inset: 0 0 auto; z-index: 50; pointer-events: none; }
.site-head::before { content: ""; position: absolute; inset: 0 0 -24px; background: linear-gradient(var(--bg) 0%, rgba(255, 255, 255, .72) 55%, var(--fade)); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.menu-open .site-head::before { opacity: 0; }
.bar { position: relative; }
.bar { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; padding-inline: var(--gutter); }
.bar > * { pointer-events: auto; }
.logo { display: inline-flex; color: var(--text); }
.logo svg { width: 30px; height: 30px; }
.menu-btn { position: relative; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; border-radius: var(--r-round); }
.menu-btn__plus, .menu-btn__plus::before { position: absolute; left: 50%; top: 50%; width: 28px; height: 1.5px; margin: -.75px 0 0 -14px; background: var(--text); transition: transform var(--dur) var(--ease-out); }
.menu-btn__plus::before { content: ""; left: 0; top: 0; margin: 0; transform: rotate(90deg); }
.menu-btn:hover .menu-btn__plus { transform: rotate(90deg); }
.menu-open .menu-btn__plus { transform: rotate(45deg); }

/* ── Menu: full-screen frosted white, giant links with mono index ── */
.menu { position: fixed; inset: 0; z-index: 40; background: var(--scrim); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--header-h) + 40px) var(--gutter) 40px; opacity: 0; transition: opacity var(--dur) var(--ease-out); }
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; }
.menu__nav { display: flex; flex-direction: column; gap: 4px; }
.menu__nav a { display: inline-flex; align-items: center; gap: 18px; width: fit-content; font-size: clamp(40px, 5.6vw, 64px); font-weight: 500; letter-spacing: -.035em; line-height: 1.08; transition: color var(--dur-fast) var(--ease), transform var(--dur) var(--ease-out); }
.menu__nav a .t-label { font-size: 12px; color: var(--text-2); }
.menu__nav a:hover, .menu__nav a[aria-current="page"] { color: var(--accent-ink); transform: translateX(8px); }
.menu__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }

/* ── HERO: wordmark, line, leaf-tile strip ── */
.hero { position: relative; padding-top: 104px; overflow: hidden; }
.hero__title { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; font-weight: 500; }
.hero__word { display: block; color: var(--text); padding-left: .06em; }
.hero__word .reg { font-size: .26em; top: .2em; margin-left: .02em; }
.hero__line { display: block; line-height: 1.35; }
.hero__side { position: absolute; left: var(--gutter); top: 196px; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 12px; color: var(--text); }
.hero__social { position: absolute; right: var(--gutter); top: 356px; font-size: 12px; }
.strip { position: relative; margin-top: 56px; overflow: hidden; }
.strip::before, .strip::after { content: ""; position: absolute; top: 0; bottom: 0; width: 14vw; z-index: 2; pointer-events: none; }
.strip::before { left: 0; background: linear-gradient(90deg, var(--bg), var(--fade)); }
.strip::after { right: 0; background: linear-gradient(270deg, var(--bg), var(--fade)); }
.strip__track { display: flex; width: max-content; animation: marquee var(--marquee) linear infinite; }
.strip:hover .strip__track { animation-play-state: paused; }
.strip__set { display: flex; gap: 12px; padding-right: 12px; }
.tile { width: 184px; height: 520px; object-fit: cover; border-radius: var(--r-leaf) 0; flex: none; background: var(--panel); }
.tile--r { border-radius: 0 var(--r-leaf); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── INTRO: centred statement + client pill ── */
.intro { padding: 120px 0; }
.intro__text { max-width: 22ch; margin-inline: auto; text-align: center; }
.clients { position: relative; width: min(420px, 100%); margin: 40px auto 0; padding: 12px 0; border-radius: var(--r-sm); background: var(--panel); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
.clients__track { display: flex; gap: 36px; width: max-content; padding-left: 36px; animation: marquee 22s linear infinite; }
.client { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; color: var(--text); }
.client svg { width: 18px; height: 18px; }

/* ── WORK grid: 2 columns, 20px images, caption row under ── */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px var(--gap); }
.work { display: flex; flex-direction: column; gap: 14px; }
.work__img { display: block; overflow: hidden; border-radius: var(--r); aspect-ratio: 5 / 4; background: var(--panel); }
.work__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.work:hover .work__img img { transform: scale(1.035); }
.work__meta { display: flex; justify-content: space-between; align-items: baseline; padding-inline: 4px; }

.work__date { font-size: 13px; font-weight: 500; color: var(--text-2); }
.work .t-micro { transition: color .25s var(--ease); }
.work:hover .t-micro { color: var(--accent-ink); }

/* ── SERVICES: pastel tiles that bleed off the right edge ── */
.svc-rail { position: relative; }
.svc-list { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: max(var(--gutter), (100% - var(--container)) / 2); scroll-padding-inline: max(var(--gutter), (100% - var(--container)) / 2); }
.svc-list::-webkit-scrollbar { display: none; }
.svc { flex: 0 0 min(488px, 82vw); min-height: 440px; scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding: 28px; border-radius: var(--r-lg); background: var(--tile); }
.svc__icon { width: 56px; height: 56px; align-self: center; color: var(--text); transition: transform .8s var(--ease-out); }
.svc:hover .svc__icon { transform: rotate(90deg) scale(1.08); }
.svc h3 { margin-bottom: 8px; }
.svc p { max-width: 30ch; font-size: 15px; }
.rail-btn { position: absolute; right: var(--gutter); top: 50%; width: 48px; height: 48px; margin-top: -24px; display: grid; place-items: center; border: 0; border-radius: var(--r-round); background: rgba(255, 255, 255, .9); box-shadow: var(--shadow-2); cursor: pointer; transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
.rail-btn svg { width: 18px; height: 18px; }
.rail-btn:hover { background: var(--accent); color: var(--on-ink); }

/* ── STUDIO: statement, big photo, 4 numbers ── */
.studio__head { max-width: 30ch; margin-bottom: var(--head-to-content); }
.studio__photo { position: relative; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 16 / 8; background: var(--panel); }
.studio__photo img { width: 100%; height: 100%; object-fit: cover; }
.chip-glass { position: absolute; left: 24px; bottom: 24px; padding: 10px 14px; border-radius: var(--r-round); background: rgba(255, 255, 255, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 13px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap-lg); margin-top: 64px; }
.stat__num { font-size: 44px; font-weight: 500; letter-spacing: -.03em; line-height: 1; margin-bottom: 14px; }
.stat .t-lead { font-size: 16px; max-width: 22ch; }

/* ── KIND WORDS: cards stack as you scroll (sticky) ── */
.quote-stack { display: flex; flex-direction: column; gap: 24px; }
.quote-card { position: sticky; top: calc(var(--header-h) + 24px); display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; border-radius: var(--r-lg); background: var(--panel); overflow: hidden; }
.quote-card:nth-child(2) { top: calc(var(--header-h) + 48px); }
.quote-card:nth-child(3) { top: calc(var(--header-h) + 72px); }
.quote-card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.quote-card blockquote { display: flex; flex-direction: column; justify-content: center; gap: 40px; padding: 48px clamp(28px, 4vw, 64px); }
.quote-card blockquote p { max-width: 21ch; font-size: clamp(24px, 2.3vw, 32px); line-height: 1.18; letter-spacing: -.02em; }
.quote-card figcaption { display: flex; flex-direction: column; gap: 4px; color: var(--text-2); }
.quote-card__name { font-size: 16px; font-weight: 600; color: var(--text); }

/* ── FAQ: title left (sticky), list right ── */
.faq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-lg); align-items: start; }
.faq__grid > h2 { position: sticky; top: calc(var(--header-h) + 24px); padding-left: 4%; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-size: 16px; cursor: pointer; transition: color var(--dur-fast) var(--ease); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; flex: none; width: 8px; height: 8px; margin-right: 4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform var(--dur) var(--ease-out); }
.faq__list details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq__list summary:hover { color: var(--accent-ink); }
.faq__list details p { max-width: 34em; padding: 0 0 20px; color: var(--text-2); }

/* ── JOURNAL: 3 bordered cards ── */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.post { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); padding: 8px; background: var(--surface); transition: border-color var(--dur-fast) var(--ease); }
.post:hover { border-color: var(--text); }
.post__img { display: block; overflow: hidden; border-radius: calc(var(--r) - 6px); aspect-ratio: 9 / 10; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.post:hover .post__img img { transform: scale(1.04); }
.post__body { display: flex; flex-direction: column; gap: 10px; padding: 16px 8px 12px; }
.post__body .t-label { color: var(--text-2); font-size: 13px; }

/* ── FOOTER: grey panel, big line + email left, newsletter right ── */
.site-foot { background: var(--panel); padding: 32px 0; }
.foot__top { display: flex; justify-content: space-between; align-items: center; }
.foot__main { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; padding: 96px 0 120px; }
.foot__say { display: flex; flex-direction: column; gap: 40px; align-items: flex-start; }
.foot__say .t-h3 { max-width: 24ch; }
.news { display: flex; flex-direction: column; gap: 14px; max-width: 520px; margin-left: auto; width: 100%; }
.news h2 { max-width: 12ch; }
.news__desc { color: var(--text-2); margin-bottom: 18px; line-height: 1.45; }
.field input { width: 100%; height: 48px; border: 0; border-bottom: 1px solid var(--line); background: transparent; font: inherit; font-size: 15px; color: var(--text); outline: none; transition: border-color var(--dur-fast) var(--ease); }
.field input::placeholder { color: var(--text-2); }
.field input:focus { border-color: var(--line-2); }
.news .btn { margin-top: 14px; }
.news__ok { display: none; color: var(--success); }
.news.is-sent .news__ok { display: block; }
.foot__bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot__links { display: flex; gap: 28px; flex-wrap: wrap; }
.foot__links a { transition: color .25s var(--ease); }
.foot__links a:hover { color: var(--accent-ink); }
.foot__copy { color: var(--text-2); }


/* ── ABOUT: photo hero with a centred statement ── */
.ab-hero { padding-top: calc(var(--header-h) + 16px); }
.ab-hero__frame { position: relative; display: grid; place-items: center; min-height: min(86vh, 860px); border-radius: var(--r-lg); overflow: hidden; background: var(--text); }
.ab-hero__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ab-hero__frame::after { content: ""; position: absolute; inset: 0; background: rgba(12, 12, 14, .42); }
.ab-hero__title { position: relative; z-index: 1; max-width: 17ch; padding: 0 24px; text-align: center; color: var(--on-ink); }
.ab-panel { padding: clamp(56px, 7vw, 104px) clamp(24px, 5vw, 72px) clamp(40px, 5vw, 64px); border-radius: var(--r-lg); background: var(--panel); }
.ab-panel > .t-h2 { max-width: 22ch; margin: 0 auto clamp(72px, 9vw, 140px); text-align: center; }
.ab-panel .stats { margin-top: 0; }

/* ── TEAM: sticky intro left, stacked portraits right ── */
.team__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-lg); align-items: start; }
.team__intro { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 20px; }
.team__intro .t-h3 { max-width: 18ch; }
.team__list { display: flex; flex-direction: column; gap: 16px; }
.person { border: 1px solid var(--line); border-radius: var(--r); padding: 8px; background: var(--surface); }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: calc(var(--r) - 6px); }
.person figcaption { display: flex; flex-direction: column; gap: 2px; padding: 14px 8px 8px; color: var(--text-2); }
.person__name { font-size: 17px; font-weight: 600; color: var(--text); }

/* ── RECOGNITION: ruled list ── */
.award-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.award-list li { display: grid; grid-template-columns: 1.4fr 1fr 120px; align-items: baseline; gap: 24px; padding: 22px 4px; border-bottom: 1px solid var(--line); transition: background var(--dur-fast) var(--ease); }
.award-list li:hover { background: var(--panel); }
.award__org { font-size: clamp(20px, 1.7vw, 24px); font-weight: 500; letter-spacing: -.015em; }
.award__what { font-size: 15px; color: var(--text-2); text-align: right; }
.award__date { font-family: var(--mono); font-size: 13px; color: var(--text-2); text-align: right; }

/* ── CASE STUDY: sticky facts left, image stream right ── */
.case { padding: calc(var(--header-h) + 24px) 0 var(--section); }
.case__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 4vw, 72px); align-items: start; }
.case__facts { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.case__facts .t-lead { max-width: 34ch; }
.facts { width: 100%; margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts dt { color: var(--text-2); }
.facts dd { margin: 0; font-weight: 500; text-align: right; }
.case__stream { display: flex; flex-direction: column; gap: 16px; }
.case__img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r); background: var(--panel); }
.case__img--tall { aspect-ratio: 4 / 5; }
.case__img--wide { aspect-ratio: 4 / 3; }
.case__text { display: flex; flex-direction: column; gap: 18px; padding: 48px 0 40px; }
.case__text .t-h4 { max-width: 30ch; }
.case__text .t-body { max-width: 52ch; color: var(--text-2); }

/* ── CTA: centred ── */
.cta__inner { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.cta__inner .t-display { max-width: 14ch; }
.cta__inner .t-lead { max-width: 40ch; }
.cta__inner .btn { margin-top: 12px; }


/* ════ LIBRARY VARIANTS (pages/variants.html) — same DNA, other compositions ════ */
/* hero-c · founder portrait + name */
.hv-portrait { padding: calc(var(--header-h) + 24px) 0 var(--section); }
.hv-portrait .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 4vw, 72px); align-items: end; }
.hv-portrait__img { width: 100%; height: min(76vh, 720px); aspect-ratio: auto; object-fit: cover; border-radius: 160px 0; background: var(--panel); }
.hv-portrait__copy { display: flex; flex-direction: column; gap: 24px; padding-bottom: 12px; }
.hv-portrait__name { font-family: var(--font-display); font-weight: 700; font-size: clamp(72px, 9vw, 152px); line-height: .9; letter-spacing: -.055em; }
.hv-portrait__copy .t-h4 { max-width: 26ch; }
.hv-portrait__meta { display: flex; gap: 32px; flex-wrap: wrap; color: var(--text-2); }

/* hero-d · statement left, three staggered leaf tiles right */
.hv-tiles { padding: calc(var(--header-h) + 40px) 0 var(--section); }
.hv-tiles .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-lg); align-items: end; }
.hv-tiles__copy { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; padding-bottom: 16px; }
.hv-tiles__copy .t-display { max-width: 13ch; }
.hv-tiles__copy .t-lead { max-width: 36ch; }
.hv-tiles__set { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: end; }
.hv-tiles__set .tile { width: 100%; height: auto; aspect-ratio: 9 / 26; }
.hv-tiles__set .tile:nth-child(2) { aspect-ratio: 9 / 22; }
.hv-tiles__set .tile:nth-child(3) { aspect-ratio: 9 / 18; }

/* hero-e · full-bleed photo with the wordmark sitting on it */
.hv-full { padding: calc(var(--header-h) + 8px) 0 var(--section); }
.hv-full__frame { position: relative; min-height: min(84vh, 820px); border-radius: var(--r-lg); overflow: hidden; display: flex; align-items: flex-end; background: var(--text); }
.hv-full__frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hv-full__frame::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(12, 12, 14, .62)); }
.hv-full__copy { position: relative; z-index: 1; width: 100%; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding: clamp(24px, 3vw, 48px); color: var(--on-ink); }
.hv-full__copy .t-word { font-size: clamp(80px, 12vw, 192px); }
.hv-full__copy .t-h4 { max-width: 22ch; text-align: right; }

/* hero-f + work-b · typographic index: big names in ruled rows, a photo appears on hover */
.idx { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.idx li { position: relative; border-bottom: 1px solid var(--line); }
.idx a { display: grid; grid-template-columns: 1fr auto 96px; align-items: baseline; gap: 24px; padding: 22px 4px; transition: color var(--dur-fast) var(--ease), padding var(--dur) var(--ease-out); }
.idx__name { font-size: clamp(32px, 4vw, 56px); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; }
.idx__what { font-size: 15px; color: var(--text-2); }
.idx__year { font-family: var(--mono); font-size: 13px; color: var(--text-2); text-align: right; }
.idx img { position: absolute; right: 18%; top: 50%; width: 240px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); opacity: 0; transform: translateY(-50%) scale(.92) rotate(-3deg); transition: opacity var(--dur-fast) var(--ease), transform var(--dur) var(--ease-out); pointer-events: none; z-index: 2; }
.idx li:hover img, .idx a:focus-visible + img { opacity: 1; transform: translateY(-50%) scale(1) rotate(-3deg); }
.idx a:hover { color: var(--accent-ink); padding-left: 16px; }
.hv-index { padding: calc(var(--header-h) + 48px) 0 var(--section); }
.hv-index .t-display { max-width: 15ch; margin-bottom: 56px; }

/* intro-b · label left, statement right */
.intro-split { display: grid; grid-template-columns: 1fr 2fr; gap: var(--gap-lg); align-items: start; }
.intro-split .t-h2 { max-width: 24ch; }

/* work-c · asymmetric mosaic (7/5 then 5/7) */
.work-mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px var(--gap); }
.work-mosaic .work:nth-child(4n+1), .work-mosaic .work:nth-child(4n+4) { grid-column: span 7; }
.work-mosaic .work:nth-child(4n+2), .work-mosaic .work:nth-child(4n+3) { grid-column: span 5; }
.work-mosaic .work:nth-child(4n+2) .work__img, .work-mosaic .work:nth-child(4n+3) .work__img { aspect-ratio: auto; height: 100%; }
.work-mosaic .work:nth-child(4n+2), .work-mosaic .work:nth-child(4n+3) { display: grid; grid-template-rows: 1fr auto; }

/* services-b · 4-up pastel grid · services-c · numbered ruled rows */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.svc-grid .svc { flex: none; min-height: 380px; }
.svc-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc-rows li { display: grid; grid-template-columns: 96px 1fr 1fr; gap: 24px; align-items: baseline; padding: 28px 4px; border-bottom: 1px solid var(--line); }
.svc-rows .t-label { color: var(--text-2); }
.svc-rows p { max-width: 40ch; color: var(--text-2); }

/* stats-c · four numbers under hairlines */
.stats--ruled .stat { padding-top: 20px; border-top: 1px solid var(--text); }

/* quotes-b · one big quote · quotes-c · three cards */
.quote-big { display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; }
.quote-big blockquote { max-width: 26ch; }
.quote-big img { width: 72px; height: 72px; border-radius: var(--r-round); object-fit: cover; }
.quote-big figcaption { display: flex; flex-direction: column; gap: 2px; color: var(--text-2); }
.quote-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.quote-mini { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 28px; border-radius: var(--r-lg); background: var(--panel); }
.quote-mini footer { display: flex; align-items: center; gap: 12px; }
.quote-mini footer img { width: 48px; height: 48px; border-radius: var(--r-round); object-fit: cover; }
.quote-mini footer span { display: flex; flex-direction: column; font-size: 14px; color: var(--text-2); }

/* team-b · 4-up grid */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }

/* faq-b · narrow centred */
.faq-center { max-width: 760px; margin-inline: auto; }

/* posts-b · ruled rows with a date and a small photo */
.post-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.post-rows a { display: grid; grid-template-columns: 140px 1fr 160px; gap: 24px; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.post-rows img { width: 160px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-sm); }
.post-rows a:hover .t-h4 { color: var(--accent-ink); }

/* cta-b · pastel panel with a big email link */
.cta-tile { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding: clamp(32px, 5vw, 72px); border-radius: var(--r-lg); background: var(--tile-1); }
.cta-tile .t-display { max-width: 12ch; }


/* ── Library + style-guide pages only (never on a buyer's site) ── */
.v-intro { padding: calc(var(--header-h) + 48px) 0 64px; }
.v-intro .t-display { margin: 16px 0 20px; }
.v-intro .t-lead { max-width: 52ch; }
.v-jump { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px 32px; font-size: 14px; }
.v-jump li { display: flex; gap: 10px; align-items: baseline; }
.v-jump span { min-width: 72px; color: var(--text-2); }
.v-jump a { font-family: var(--mono); text-decoration: underline; text-underline-offset: 3px; }
.v-label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin: 72px 0 32px; padding: 14px 0; border-top: 1px solid var(--text); border-bottom: 1px solid var(--line); font-size: 14px; color: var(--text-2); }
.v-label b { font-family: var(--mono); font-weight: 500; color: var(--text); }
.v-label code { font-family: var(--mono); font-size: 13px; }
.v-note { flex-basis: 100%; }
.quote-mini footer b { display: block; color: var(--text); font-weight: 600; }

.sg-over { padding: calc(var(--header-h) + 24px) 0 64px; }
.sg-over .t-display { max-width: 20ch; margin: 14px 0 32px; }
.sg-board { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 132px; gap: 12px; }
.sg-cell { border-radius: var(--r); background: var(--panel); overflow: hidden; }
.sg-cell--type { grid-column: span 3; grid-row: span 4; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; }
.sg-aa { font-size: 168px; font-weight: 500; letter-spacing: -.06em; line-height: .9; }
.sg-cell--sw { grid-column: span 3; grid-row: span 1; display: grid; grid-template-columns: repeat(7, 1fr); background: none; gap: 6px; }
.sg-cell--sw span { border-radius: var(--r-xs); }
.sg-cell--tiles { grid-column: span 3; grid-row: span 4; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-items: end; padding: 16px; }
.sg-cell--tiles .tile { width: 100%; height: 100%; border-radius: 48px 0; }
.sg-cell--tiles .tile--r { border-radius: 0 48px; }
.sg-cell--word { grid-column: span 3; grid-row: span 2; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line); }
.sg-cell--word .t-word { font-size: 96px; }
.sg-cell--ui { grid-column: span 3; grid-row: span 1; white-space: nowrap; display: flex; align-items: center; justify-content: space-around; gap: 12px; padding: 0 16px; }
.sg-cell--svc { grid-column: span 3; grid-row: span 2; min-height: 0; padding: 20px; border-radius: var(--r); }
.sg-cell--svc .svc__icon { width: 40px; height: 40px; }
.sg-cell--work { grid-column: span 3; grid-row: span 2; background: none; }
.sg-cell--work .work__img { aspect-ratio: auto; flex: 1; min-height: 0; }
.sg-group { margin-bottom: 32px; }
.sg-group h3 { margin-bottom: 12px; color: var(--text-2); }
.sg-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.sg-sw { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.sg-sw span { height: 72px; border-radius: var(--r-sm); border: 1px solid var(--line); }
.sg-sw b { font-family: var(--mono); font-weight: 500; }
.sg-sw small, .sg-type small, .sg-shapes small { color: var(--text-2); font-size: 13px; }
.sg-type { display: grid; grid-template-columns: 120px 1fr 260px; gap: 24px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.sg-type code, .sg-shapes code, .sg-comp code, .sg-space code { font-family: var(--mono); font-size: 13px; }
.sg-type .t-word { font-size: 120px; }
.sg-shapes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.sg-shapes div { display: flex; flex-direction: column; gap: 6px; }
.sg-r { display: block; height: 120px; background: var(--tile-1); }
.sg-r--tall { height: 180px; width: 64px; }
.sg-space { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 32px; color: var(--text-2); }
.sg-comp { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.sg-comp > figure { display: flex; flex-direction: column; gap: 10px; }
.sg-comp > figure > figcaption { font-size: 13px; color: var(--text-2); }
.sg-demo { min-height: 160px; display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; padding: 24px; border: 1px solid var(--line); border-radius: var(--r); }
.sg-demo--wide { justify-content: stretch; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .quote-card { min-height: 480px; }
}
@media (max-width: 900px) {
  :root { --section: 88px; --head-to-content: 40px; }
  .hero__side, .hero__social { display: none; }
  .tile { width: 150px; height: 420px; border-radius: 64px 0; }
  .tile--r { border-radius: 0 64px; }
  .intro { padding: 88px 0; }
  .work-grid { gap: 32px 12px; }
  .faq__grid { grid-template-columns: 1fr; }
  .faq__grid > h2 { position: static; padding-left: 0; }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .post-grid .post:last-child { display: none; }
  .team__grid, .case__grid { grid-template-columns: 1fr; }
  .team__intro, .case__facts { position: static; }
  .team__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .foot__main { grid-template-columns: 1fr; gap: 56px; padding: 64px 0 80px; }
  .news { margin-left: 0; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --section: 72px; --header-h: 60px; }
  .hero { padding-top: 92px; }
  .hero__title { gap: 16px; }
  .strip { margin-top: 40px; }
  .tile { width: 120px; height: 340px; border-radius: 52px 0; }
  .tile--r { border-radius: 0 52px; }
  .intro { padding: 72px 0; }
  .work-grid { grid-template-columns: 1fr; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .sec-head--center { align-items: center; }
  .svc { min-height: 360px; padding: 24px; }
  .rail-btn { display: none; }
  .studio__photo { aspect-ratio: 4 / 3; }
  .stats { gap: 36px 20px; margin-top: 44px; }
  .stat__num { font-size: 36px; }
  .quote-card { grid-template-columns: 1fr; min-height: 0; position: relative; top: 0 !important; }
  .quote-card img { aspect-ratio: 4 / 3; height: auto; object-position: 50% 18%; }
  .quote-card blockquote { padding: 28px 24px 32px; gap: 24px; }
  .post-grid { grid-template-columns: 1fr; }
  .post-grid .post:last-child { display: flex; }
  .menu__foot { flex-direction: column; align-items: flex-start; }
  .ab-hero__frame { min-height: 520px; }
  .ab-hero__title { max-width: none; padding: 0 16px; font-size: 40px; }
  .award-list li { grid-template-columns: 1fr auto; gap: 4px 16px; }
  .award__what { grid-column: 1; grid-row: 2; text-align: left; }
  .award__date { grid-row: 1 / span 2; grid-column: 2; }
  .team__list { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hv-portrait .wrap, .hv-tiles .wrap, .intro-split { grid-template-columns: 1fr; }
  .hv-full__copy { flex-direction: column; align-items: flex-start; }
  .hv-full__copy .t-h4 { text-align: left; }
  .work-mosaic .work { grid-column: span 12 !important; display: flex !important; }
  .work-mosaic .work .work__img { aspect-ratio: 5 / 4 !important; height: auto !important; }
  .svc-grid, .team-grid { grid-template-columns: 1fr 1fr; }
  .quote-row { grid-template-columns: 1fr; }
  .svc-rows li { grid-template-columns: 64px 1fr; }
  .svc-rows li p { grid-column: 2; }
  .idx img { display: none; }
  .post-rows a { grid-template-columns: 1fr 120px; }
  .post-rows .t-label { grid-column: 1 / -1; }
  .post-rows img { width: 120px; }
  .cta-tile { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .idx a { grid-template-columns: 1fr auto; }
  .idx__what { display: none; }
  .svc-grid, .team-grid { grid-template-columns: 1fr; }
  .hv-portrait__img { border-radius: 96px 0; }
}
@media (max-width: 900px) {
  .sg-board { grid-template-columns: repeat(6, 1fr); }
  .sg-cell--type, .sg-cell--sw, .sg-cell--tiles, .sg-cell--word, .sg-cell--ui, .sg-cell--svc, .sg-cell--work { grid-column: span 6; }
  .sg-type { grid-template-columns: 1fr; gap: 6px; }
  .sg-shapes { grid-template-columns: repeat(3, 1fr); }
}

:root { --scrub-dim: #D3D6DC; }
/* ════ Portfolio motion layer (pello.js) — transforms and colour only; nothing moves layout ════ */
/* statement scrub: each word from light to ink (default --p 1 = fully inked, so no JS / ?static shows ink) */
.is-scrub .scrub__w { color: color-mix(in oklab, var(--text) calc(var(--p, 1) * 100%), var(--scrub-dim)); transition: color .25s linear; }
.is-scrub .scrub__w.reg { color: color-mix(in oklab, var(--accent-ink) calc(var(--p, 1) * 100%), var(--scrub-dim)); }
/* stacking quotes: the card underneath settles back */
.quote-card { scale: calc(1 - var(--stack, 0) * .05); transform-origin: 50% 0; filter: brightness(calc(1 - var(--stack, 0) * .12)); }
/* work grid depth */
.work-grid .work:nth-child(even) { translate: 0 var(--drift, 0); }
/* captions: a small arrow slides in after the project name */
.work .t-micro::after, .post .t-h5::after { content: " ↗"; display: inline-block; opacity: 0; transform: translate(-6px, 4px); transition: opacity var(--dur-fast) var(--ease), transform var(--dur) var(--ease-out); }
.work:hover .t-micro::after, .post:hover .t-h5::after { opacity: 1; transform: none; }
/* service tiles lift */
.svc { transition: translate var(--dur) var(--ease-out); }
.svc:hover { translate: 0 -6px; }
/* hero reel: each frame settles from a slow zoom while it shows */
@keyframes reel-zoom { 0% { transform: scale(1.07); } 20% { transform: scale(1); } 100% { transform: scale(1); } }
.reel__img { animation-name: reel, reel-zoom; animation-duration: 18s, 18s; animation-timing-function: var(--ease), var(--ease-out); }
/* index preview follows the pointer */
.idx img { left: var(--x, 72%); top: var(--y, 50%); right: auto; transform: translate(-50%, -50%) scale(.9) rotate(-3deg); transition: opacity var(--dur-fast) var(--ease), transform var(--dur) var(--ease-out), left .35s var(--ease-out), top .35s var(--ease-out); }
.idx li:hover img, .idx a:focus-visible + img { transform: translate(-50%, -50%) scale(1) rotate(-3deg); }
/* cursor label over work */
.cursor-label { position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none; }
.cursor-label span { position: absolute; left: -44px; top: -44px; display: grid; place-items: center; width: 88px; height: 88px; border-radius: var(--r-round); background: var(--text); color: var(--on-ink); font-family: var(--mono); font-size: 13px; letter-spacing: .02em; transform: scale(0); transition: transform .45s var(--ease-out); }
.cursor-label.is-on span { transform: scale(1); }
.has-cursor .work, .has-cursor .post, .has-cursor .idx a { cursor: none; }
/* menu: links stagger in */
.menu.is-open .menu__nav a { animation: menu-in .8s var(--ease-out) both; }
.menu.is-open .menu__nav a:nth-child(2) { animation-delay: .06s; } .menu.is-open .menu__nav a:nth-child(3) { animation-delay: .12s; }
.menu.is-open .menu__nav a:nth-child(4) { animation-delay: .18s; } .menu.is-open .menu__nav a:nth-child(5) { animation-delay: .24s; }
@keyframes menu-in { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .quote-card, .work-grid .work:nth-child(even) { scale: none; translate: none; filter: none; } }
.static .quote-card, .static .work-grid .work:nth-child(even) { scale: none; translate: none; filter: none; }

/* Balanced headline breaks (Farhan 2026-10-10): every heading that wraps splits into even lines, never a long line
   over a short one. Never remove. */
h1, h2, h3, h4, h5, h6, [class*="t-h"], .h1, .h2, .h3, blockquote, blockquote p, .statement, [class*="quote"] p { text-wrap: balance; }

:root { --on-ink-2: #B4B8C1; --ink-line: rgba(255, 255, 255, .16); }
/* ════ FOOTERS (library: ft-word · ft-ink · ft-index) ════ */
.ft-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 16px; }
.ft-links a { transition: color var(--dur-fast) var(--ease); }
.ft-links a:hover { color: var(--accent-ink); }
.ft-col { display: flex; flex-direction: column; gap: 14px; }
.ft-col > .t-label { color: var(--text-2); font-size: 13px; }
.ft-inline { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--text); padding-bottom: 8px; }
.ft-inline input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 16px; color: inherit; outline: none; padding: 6px 0; }
.ft-inline input::placeholder { color: var(--text-2); }
.ft-inline button { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: var(--r-round); background: var(--text); color: var(--on-ink); cursor: pointer; transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), translate var(--dur) var(--ease-out); }
.ft-inline button:hover { background: var(--accent); translate: 3px 0; }
.ft-inline button svg { width: 16px; height: 16px; }
.ft-ok { display: none; font-size: 14px; color: var(--success); }
.is-sent .ft-ok { display: block; }

/* A · ft-word: question + email left, link columns right, the name set edge to edge and cropped at the bottom */
.ft-word { padding: 112px 0 0; border-top: 1px solid var(--line); overflow: hidden; }
.ft-word__grid { display: grid; grid-template-columns: 6fr 6fr; gap: 64px; align-items: end; }
.ft-word__say { display: flex; flex-direction: column; gap: 32px; align-items: flex-start; }
.ft-word__say .t-display { max-width: 12ch; }
.ft-word__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.ft-word__cols .ft-col--news { grid-column: 1 / -1; }
.ft-word__meta { display: flex; justify-content: space-between; gap: 24px; margin-top: 96px; font-size: 14px; color: var(--text-2); }
.ft-word__mark { display: block; margin: 24px 0 -.17em; font-family: var(--font-display); font-weight: 700; font-size: 23vw; line-height: .8; letter-spacing: -.06em; white-space: nowrap; color: var(--text); user-select: none; }

/* B · ft-ink: the one ink band of the page — huge email, pill newsletter, three link columns */
.ft-ink { background: var(--text); color: var(--on-ink); padding: 104px 0 32px; }
.ft-ink a, .ft-ink .ft-links a { transition: color .25s var(--ease); }
.ft-ink a:hover, .ft-ink .ft-links a:hover { color: var(--on-ink-2); }
.ft-ink__top { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: end; padding-bottom: 72px; border-bottom: 1px solid var(--ink-line); }
.ft-ink__say { display: flex; flex-direction: column; gap: 20px; }
.ft-ink__say .t-label, .ft-ink .ft-col > .t-label { color: var(--on-ink-2); }
.ft-ink__mail { font-family: var(--font-display); font-size: clamp(30px, 4vw, 58px); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; white-space: nowrap; }
.ft-ink__mail span { display: inline-block; transition: translate var(--dur) var(--ease-out); }
.ft-ink__mail:hover span { translate: 6px -6px; }
.ft-ink .ft-inline { border: 1px solid var(--ink-line); border-radius: var(--r-round); padding: 6px 6px 6px 22px; }
.ft-ink .ft-inline input::placeholder { color: var(--on-ink-2); }
.ft-ink .ft-inline button { background: var(--on-ink); color: var(--text); }
.ft-ink .ft-inline button:hover { background: var(--accent); color: var(--on-ink); }
.ft-ink__cols { display: grid; grid-template-columns: repeat(3, 1fr) 2fr; gap: 32px; padding: 56px 0; }
.ft-ink__bottom { display: flex; justify-content: space-between; gap: 24px; font-size: 14px; color: var(--on-ink-2); }
.ft-ink .ft-ok { color: var(--on-ink); }

/* C · ft-index: a contents list — big ruled rows, one per way to reach you */
.ft-index { padding: 112px 0 32px; border-top: 1px solid var(--line); }
.ft-index__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.ft-index__head .t-label { white-space: nowrap; }
.ft-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ft-rows > li { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 22px 4px; border-bottom: 1px solid var(--line); transition: padding var(--dur) var(--ease-out); }
.ft-rows > li:hover { padding-left: 16px; }
.ft-rows .t-label { color: var(--text-2); font-size: 13px; }
.ft-row__val { font-family: var(--font-display); font-size: clamp(24px, 3vw, 44px); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
a.ft-row__val { transition: color .25s var(--ease); }
a.ft-row__val:hover { color: var(--accent-ink); }
.ft-rows .ft-inline { max-width: 520px; border-bottom-color: var(--line); }
.ft-rows .ft-inline input { font-family: var(--font-display); font-size: clamp(24px, 3vw, 44px); font-weight: 500; letter-spacing: -.03em; }
.ft-index__bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 40px; font-size: 14px; color: var(--text-2); }
.ft-index__bottom .logo svg { width: 24px; height: 24px; }

@media (max-width: 900px) {
  .ft-word__grid, .ft-ink__top { grid-template-columns: 1fr; gap: 48px; }
  .ft-ink__cols { grid-template-columns: repeat(3, 1fr); }
  .ft-ink__cols .ft-col--about { grid-column: 1 / -1; }
  .ft-rows > li { grid-template-columns: minmax(0, 1fr) auto; }
  .ft-rows > li .t-label { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .ft-word { padding-top: 72px; }
  .ft-word__cols, .ft-ink__cols { grid-template-columns: 1fr 1fr; }
  .ft-word__meta, .ft-ink__bottom, .ft-index__bottom { flex-direction: column; }
  .ft-word__mark { font-size: 27vw; }
  .ft-ink { padding-top: 72px; }
  .ft-ink__mail { white-space: normal; overflow-wrap: anywhere; font-size: 30px; }
  .ft-index { padding-top: 72px; }
}
