:root {
  --bg: #F4EFEA; --ink: #1C1A19; --accent: #87574A; --accent-light: #D9C4B5;
  --line: #DDD3CA; --tile: #E6D9CE; --hero-bg: #EDE4DC; --alt-bg: #EBE3DB;
  --muted: #6B625C; --text2: #3A3532; --stone: #B8ABA0;
  --gutter: clamp(16px, 5vw, 72px);
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Geist', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); overflow-x: clip; text-wrap: pretty; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: var(--ink); }
a:hover { color: var(--accent); }
button { font: inherit; color: inherit; }
::selection { background: #E6D6CA; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
[hidden] { display: none !important; }
/* Reduced motion keeps fades and loops; only large movement is removed (see "Reduced motion" at the end). */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.wrap { max-width: 1320px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.narrow { max-width: 880px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(244,239,234,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 28px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand:hover { color: var(--ink); }
.dc { display: flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border: 1px solid currentColor; padding-top: 2px; }
.dc-in { position: relative; display: block; width: 22px; height: 28px; font-family: 'Italiana', serif; line-height: 1; }
.dc-in span { position: absolute; top: 0; font-size: 28px; }
.dc-in span:first-child { left: 0; } .dc-in span:last-child { left: 7px; }
.dc.sm { width: 36px; height: 36px; } .dc.sm .dc-in { width: 18px; height: 23px; } .dc.sm .dc-in span { font-size: 23px; } .dc.sm .dc-in span:last-child { left: 6px; }
.brand-name { font-family: 'Italiana', serif; font-size: 17px; letter-spacing: .22em; line-height: 1; white-space: nowrap; }
.nav-desktop { display: flex; align-items: center; gap: 30px; }
.nav-desktop a { text-decoration: none; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.lang { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--stone); }
.lang button { border: 0; background: none; cursor: pointer; font: 500 12px/1 var(--sans); letter-spacing: .08em; padding: 10px 4px; color: #8C817A; text-underline-offset: 5px; }
.lang button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; }
.menu-btn { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--ink); border-radius: 50%; background: none; cursor: pointer; }
.nav-mobile { display: flex; flex-direction: column; padding-bottom: 20px; }
.nav-mobile a { text-decoration: none; font-family: var(--serif); font-size: 30px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.nav-mobile a:last-child { border-bottom: 0; }
@media (max-width: 899px) {
  .nav-desktop { display: none; }
  .menu-btn { display: flex; }
  .brand-name { font-size: 14px; letter-spacing: .18em; }
  .header-row { gap: 12px; }
}
@media (max-width: 380px) { .brand-name { display: none; } }

/* Type */
.display { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 5.6vw, 92px); line-height: .98; letter-spacing: -.03em; margin: 24px 0 0; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5vw, 68px); line-height: 1.02; letter-spacing: -.025em; margin: 0; }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.kicker { display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 500; letter-spacing: .16em; color: var(--muted); margin-bottom: 20px; font-variant-numeric: tabular-nums; }
.kicker i { width: 40px; height: 1px; background: var(--stone); }
.kicker.light { color: var(--stone); } .kicker.light i { background: #5A524C; }
.lead { font-size: clamp(17px, 1.6vw, 20px); font-weight: 300; line-height: 1.7; color: var(--text2); margin: 28px 0 0; }
.sec-head { margin-bottom: clamp(36px, 5vw, 64px); }
.sec-sub { font-size: 17px; font-weight: 300; line-height: 1.6; color: var(--muted); margin: 16px 0 0; max-width: 46ch; }
.sec-sub.wide { max-width: 62ch; color: var(--text2); }
section { padding: clamp(72px, 10vw, 136px) 0; }
.services { padding-top: clamp(64px, 7vw, 100px); padding-bottom: clamp(64px, 7vw, 100px); }

/* Buttons */
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 36px; }
.btn-dark, .btn-light, .btn-outline { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; padding: 15px 26px; border-radius: 999px; transition: background .3s, color .3s, border-color .3s; }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { background: var(--accent); color: var(--bg); }
.btn-light { background: var(--bg); color: var(--ink); }
.btn-light:hover { background: var(--accent-light); color: var(--ink); }
.btn-outline { border: 1px solid #5A524C; color: var(--bg); text-transform: none; letter-spacing: .02em; font-size: 15px; font-weight: 400; overflow-wrap: anywhere; }
.btn-outline:hover { border-color: var(--bg); color: var(--bg); }
.btn-line { text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; padding: 12px 0; border-bottom: 1px solid currentColor; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--hero-bg); padding: 0; }
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; background: var(--tile); }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 54% 40%; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--hero-bg) 0%, rgba(237,228,220,.85) 14%, rgba(237,228,220,0) 46%); }
.hero-inner { position: relative; min-height: min(calc(100svh - 69px), 900px); display: flex; flex-direction: column; justify-content: center; padding-top: clamp(64px, 8vw, 112px); padding-bottom: 48px; }
.hero-text { max-width: min(600px, 42vw); display: flex; flex-direction: column; align-items: flex-start; }
.hero-sub { font-size: clamp(17px, 1.5vw, 19px); font-weight: 300; line-height: 1.6; margin: 26px 0 0; max-width: 40ch; color: var(--text2); }
.hero-meta { margin: 48px 0 0; font-size: 13px; color: #4E4642; }
@media (max-width: 899px) {
  .hero-media { position: relative; width: 100%; aspect-ratio: 4/5; max-height: 70svh; }
  .hero-media::after { background: linear-gradient(0deg, var(--hero-bg) 0%, rgba(237,228,220,.7) 22%, rgba(237,228,220,0) 50%); }
  .hero-inner { min-height: 0; padding-top: 0; padding-bottom: 56px; margin-top: -48px; }
  .hero-text { max-width: 600px; }
}

/* Manifesto */
.manifesto { border-bottom: 1px solid var(--line); }
.man-line { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.25; color: var(--accent); margin: 40px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.man-tag { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 24px 0 0; }
.man-studio { font-size: 15px; font-weight: 300; line-height: 1.6; color: var(--muted); margin: 40px 0 0; }

/* Manifesto headline, two tones */
.man-h { font-size: clamp(44px, 6.4vw, 100px); line-height: .96; }
.man-h span { display: block; }
.man-h .man-h2 { color: var(--stone); margin-top: .12em; }

/* Approach (dark band, motion) */
.approach { background: var(--ink); color: var(--bg); --dk-line: rgba(255,255,255,.16); --dk-text: rgba(255,255,255,.72); --hi: var(--accent-light); overflow: clip; }
.approach .kicker { color: var(--stone); } .approach .kicker i { background: var(--dk-line); }
.approach .sec-sub { color: var(--dk-text); }
.appr-head { max-width: 1100px; }
.approach .appr-h { color: var(--bg); }
.approach .appr-h .man-h2 { color: var(--stone); }
.appr-h .w { display: inline-block; opacity: 0; transform: translateY(.45em); filter: blur(8px); transition: opacity .7s ease, transform .9s cubic-bezier(.2,.7,.2,1), filter .9s ease; transition-delay: calc(var(--w) * 55ms); }
.appr-h.play .w { opacity: 1; transform: none; filter: none; }
.appr-body { color: var(--dk-text); max-width: 60ch; margin-top: 32px; }

.appr-intro { display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1.5fr); gap: 24px clamp(32px, 5vw, 80px); margin: clamp(80px, 10vw, 140px) 0 clamp(64px, 8vw, 112px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--dk-line); }
.appr-scrub { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.9vw, 42px); line-height: 1.22; margin: 0; color: var(--bg); }
.appr-scrub .w { opacity: .18; transition: opacity .35s ease, color .35s ease; }
.appr-scrub .w.on { opacity: 1; }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.pillar { position: relative; padding: clamp(22px, 2.4vw, 32px); border: 1px solid var(--dk-line); border-radius: 20px; background: rgba(255,255,255,.03);
  opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform 1s cubic-bezier(.2,.7,.2,1), border-color .4s, background .4s; transition-delay: calc(var(--p) * 140ms); }
.pillar.play { opacity: 1; transform: none; }
.pillar:hover { border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.06); }
.pillar-viz { height: 150px; margin-bottom: 28px; border-radius: 12px; background: rgba(255,255,255,.04); display: flex; align-items: center; justify-content: center; padding: 14px; }
.pillar-viz svg { width: 100%; height: 100%; overflow: visible; }
.pillar-n { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 2.8vw, 42px); line-height: 1; margin: 0; color: var(--bg); }
.pillar-t { font-family: var(--script, var(--serif)); font-size: clamp(20px, 1.8vw, 26px); line-height: 1.2; color: var(--hi); margin: 12px 0 0; }
.pillar-b { font-size: 15.5px; font-weight: 300; line-height: 1.7; color: var(--dk-text); margin: 16px 0 0; }
/* viz animations run only while the card is on screen */
.pillar-viz * { animation-play-state: paused; }
.pillar.play .pillar-viz * { animation-play-state: running; }
.pillar-viz .dl { fill: rgba(255,255,255,.14); animation: dl 2.4s linear infinite; animation-delay: calc(.13s + var(--d) * .384s); }
.pillar-viz .dl.key { animation-name: dl-key; }
.pillar-viz .scan { fill: var(--hi); animation: scanY 2.4s linear infinite; filter: drop-shadow(0 0 6px var(--hi)); }
@keyframes scanY { from { transform: translateY(0); } to { transform: translateY(150px); } }
@keyframes dl { 0%, 14% { fill: rgba(255,255,255,.42); } 30%, 100% { fill: rgba(255,255,255,.14); } }
@keyframes dl-key { 0%, 80% { fill: var(--hi); } 100% { fill: var(--hi); } }
.pillar-viz .var { fill: rgba(255,255,255,.13); animation: varDim 4.5s ease infinite; }
.pillar-viz .var.pick { animation-name: varPick; }
.pillar-viz .sel { fill: none; stroke: var(--hi); stroke-width: 2; animation: sel 4.5s cubic-bezier(.6,0,.2,1) infinite; }
@keyframes sel { 0% { transform: translate(0, 0); } 15% { transform: translate(168px, 64px); } 30% { transform: translate(84px, 32px); } 45% { transform: translate(210px, 0); } 60%, 100% { transform: translate(126px, 32px); } }
@keyframes varDim { 0%, 60% { fill: rgba(255,255,255,.13); } 68%, 92% { fill: rgba(255,255,255,.05); } 100% { fill: rgba(255,255,255,.13); } }
@keyframes varPick { 0%, 60% { fill: rgba(255,255,255,.13); } 68%, 92% { fill: var(--bg); } 100% { fill: rgba(255,255,255,.13); } }
.pillar-viz .phone { fill: none; stroke: rgba(255,255,255,.4); stroke-width: 1.5; }
.pillar-viz .post { fill: rgba(255,255,255,.12); }
.pillar-viz .post.native { fill: var(--hi); }
.pillar-viz .feed { animation: feed 6s linear infinite; }
@keyframes feed { from { transform: translateY(0); } to { transform: translateY(-264px); } }

@media (max-width: 899px) { .pillars { grid-template-columns: 1fr; } .appr-intro { grid-template-columns: 1fr; } }

/* Services: sticky stacking cards */
.svc-list { display: block; padding-bottom: clamp(24px, 4vw, 48px); }
.svc-card { position: sticky; top: calc(88px + var(--i) * 14px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px);
  min-height: clamp(440px, 68vh, 580px); padding: clamp(24px, 3.4vw, 44px); margin-bottom: clamp(28px, 4vw, 48px);
  border-radius: 28px; background: var(--card-bg); color: var(--card-ink); box-shadow: 0 -10px 40px -24px rgba(0,0,0,.35); }
.svc-card.tone-0 { --card-bg: var(--tile); --card-ink: var(--ink); --card-soft: var(--text2); --card-sub: var(--accent); }
.svc-card.tone-1 { --card-bg: var(--ink); --card-ink: var(--bg); --card-soft: rgba(255,255,255,.72); --card-sub: var(--accent-light); }
.svc-card.tone-2 { --card-bg: var(--accent-light); --card-ink: var(--ink); --card-soft: var(--text2); --card-sub: var(--accent); }
.svc-card.tone-3 { --card-bg: var(--accent); --card-ink: var(--bg); --card-soft: rgba(255,255,255,.8); --card-sub: var(--bg); }
.svc-card-text { display: flex; flex-direction: column; min-width: 0; }
.svc-card-name { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 4.6vw, 68px); line-height: .95; margin: 0; color: var(--card-ink); }
.svc-card-sub { font-family: var(--script, var(--serif)); font-size: clamp(21px, 1.9vw, 27px); line-height: 1.2; color: var(--card-sub); margin: 16px 0 0; }
.svc-card-body { font-size: 16.5px; font-weight: 300; line-height: 1.7; color: var(--card-soft); margin: 18px 0 0; max-width: 46ch; }
.svc-card-btn { align-self: flex-start; margin-top: auto; padding: 13px 22px; border-radius: 999px; background: var(--card-ink); color: var(--card-bg); text-decoration: none; font-size: 14px; font-weight: 500; }
.svc-card-btn:hover { color: var(--card-bg); opacity: .88; }
.svc-card-media { position: relative; border-radius: 18px; overflow: hidden; background: rgba(0,0,0,.08); min-height: 280px; }
.svc-card-media img, .svc-card-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-card-type { display: flex; align-items: flex-end; padding: clamp(20px, 3vw, 36px); background: rgba(0,0,0,.06); border: 1px solid currentColor; border-color: color-mix(in srgb, var(--card-ink) 20%, transparent); }
.svc-card-type ul { list-style: none; margin: 0; padding: 0; width: 100%; }
.svc-card-type li { font-family: var(--serif); font-size: clamp(28px, 3vw, 46px); line-height: 1.1; color: var(--card-ink); padding: 10px 0; border-top: 1px solid color-mix(in srgb, var(--card-ink) 18%, transparent); }
@media (max-width: 799px) {
  .svc-card { grid-template-columns: 1fr; min-height: 0; top: calc(76px + var(--i) * 10px); border-radius: 22px; }
  .svc-card-media { min-height: 0; aspect-ratio: 4 / 3; }
  .svc-card-btn { margin-top: 24px; }
}

/* Method */
.method { background: var(--alt-bg); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.step { position: relative; padding: 28px 28px 0 0; border-top: 1px solid var(--ink); }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step-n { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--accent); }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.1; margin: 14px 0 0; }
.step p { font-size: 15px; font-weight: 300; line-height: 1.65; color: var(--text2); margin: 12px 0 0; }
.step-arrow { position: absolute; top: -13px; right: -13px; z-index: 1; width: 26px; height: 26px; border-radius: 50%; background: var(--alt-bg); border: 1px solid var(--ink); display: flex; align-items: center; justify-content: center; }
.chip-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; padding: 0; list-style: none; }
.chip-list li { font-size: 12px; padding: 6px 11px; border: 1px solid #CDBFB4; border-radius: 999px; color: var(--text2); }
@media (max-width: 899px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 24px 0 28px 0; border-left: 0; }
  .step-arrow { top: auto; bottom: -13px; right: auto; left: 0; transform: rotate(90deg); }
}
.demo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 32px; margin-top: 56px; }
.demo:empty { display: none; }
.explain { position: relative; border-radius: 2px; overflow: hidden; background: var(--tile); }
.explain img { width: 100%; height: auto; }
.hotspot { position: absolute; transform: translate(-50%, -50%); }
.hotspot > button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--bg); background: rgba(28,26,25,.75); color: var(--bg); cursor: pointer; font-size: 13px; font-variant-numeric: tabular-nums; }
.hotspot .callout { position: absolute; left: 50%; top: 40px; transform: translateX(-50%); width: min(240px, 70vw); background: var(--bg); color: var(--ink); font-size: 13px; line-height: 1.5; padding: 12px 14px; border-radius: 2px; box-shadow: 0 6px 24px rgba(28,26,25,.18); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 2; }
.hotspot:hover .callout, .hotspot.open .callout, .hotspot > button:focus-visible + .callout { opacity: 1; }
.ba { position: relative; overflow: hidden; border-radius: 2px; background: var(--tile); touch-action: pan-y; user-select: none; }
.ba img { width: 100%; height: auto; pointer-events: none; }
.ba-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba-after img { width: 100%; height: 100%; object-fit: cover; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: var(--bg); transform: translateX(-1px); }
.ba-handle::after { content: '↔'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: var(--bg); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 16px; }
.ba-tag { position: absolute; top: 12px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--bg); background: rgba(28,26,25,.5); padding: 5px 9px; border-radius: 999px; }
.ba-tag.l { left: 12px; } .ba-tag.r { right: 12px; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

/* Work */
.work { border-top: 1px solid var(--line); }
.view-switch { display: inline-flex; border: 1px solid var(--ink); border-radius: 999px; padding: 3px; }
.view-switch button { border: 0; background: none; cursor: pointer; font-size: 14px; padding: 10px 20px; border-radius: 999px; min-height: 40px; }
.view-switch button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; border: 1px solid #CDBFB4; background: none; cursor: pointer; font-size: 14px; padding: 9px 16px; border-radius: 999px; transition: background .25s, color .25s, border-color .25s; }
.chip span { font-size: 11px; opacity: .7; font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.copy-link { margin-left: auto; min-height: 40px; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 13px; padding: 10px 4px; text-decoration: underline; text-underline-offset: 4px; }
#work-body { transition: opacity .4s ease; }
.svc { padding-top: clamp(40px, 5vw, 64px); }
.svc + .svc { margin-top: clamp(24px, 4vw, 48px); border-top: 1px solid var(--line); }
.svc-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 12px 40px; align-items: end; margin-bottom: 28px; }
.svc-name { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.6vw, 48px); line-height: 1; margin: 0; }
.svc-sub { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--accent); margin: 10px 0 0; }
.svc-desc { font-size: 16px; font-weight: 300; line-height: 1.65; color: var(--text2); margin: 0; max-width: 52ch; }
@media (max-width: 699px) { .svc-head { grid-template-columns: 1fr; } }
.strategy-card { margin-top: clamp(40px, 5vw, 64px); padding: clamp(28px, 4vw, 48px); background: var(--ink); color: var(--bg); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; border-radius: 2px; }
.strategy-card .svc-sub { color: var(--accent-light); }
.strategy-card .svc-desc { color: #CFC6BE; margin-top: 14px; }
.cat-block-h { font-family: var(--serif); font-weight: 400; font-size: 30px; margin: clamp(40px, 5vw, 56px) 0 20px; }
.cat-extra img { width: 100%; max-width: 720px; height: auto; border-radius: 2px; }
.cat-extra p { font-size: 16px; font-weight: 300; line-height: 1.65; color: var(--text2); max-width: 60ch; }
.cat-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.cat-cta .btn-outline { color: var(--ink); border-color: var(--ink); }
.cat-cta .btn-outline:hover { background: var(--ink); color: var(--bg); }

.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px) clamp(12px, 1.6vw, 24px); margin-top: 28px; align-items: start; }
@media (max-width: 899px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 599px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; } }
.piece { margin: 0; }
.media { position: relative; overflow: hidden; border-radius: 2px; background: var(--tile); }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }
.piece.photo .media { aspect-ratio: 3/4; }
.piece.video .media { aspect-ratio: 9/16; }
.media video { position: absolute; inset: 0; background: var(--ink); cursor: pointer; }
.vctl { position: absolute; right: 10px; bottom: 10px; display: flex; gap: 6px; }
.vctl svg, .vplay svg { pointer-events: none; }
.vctl button { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border-radius: 50%; border: 1px solid rgba(244,239,234,.9); color: var(--bg); background: rgba(28,26,25,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); cursor: pointer; }
.piece figcaption { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.piece figcaption .cap-main { color: var(--ink); }
.label-btn { border: 0; background: none; padding: 0; cursor: pointer; font-size: 12px; letter-spacing: .06em; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.clabel { margin-top: 10px; border: 1px solid var(--ink); padding: 12px 14px; font-size: 12px; background: var(--bg); }
.clabel dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; }
.clabel dt { text-transform: uppercase; letter-spacing: .1em; font-size: 10px; color: var(--muted); padding-top: 2px; }
.clabel dd { margin: 0; color: var(--ink); }
.clabel .rule { grid-column: 1 / -1; border-top: 1px solid var(--ink); margin: 2px 0; }

/* Digital Humans */
.comp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 24px; }
.comp { background: #fff; padding: 14px 14px 18px; box-shadow: 0 1px 3px rgba(28,26,25,.08); }
.comp img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.comp h3 { font-family: 'Italiana', serif; font-weight: 400; font-size: 24px; letter-spacing: .14em; text-transform: uppercase; margin: 16px 0 10px; }
.comp dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 13px; }
.comp dt { text-transform: uppercase; letter-spacing: .1em; font-size: 10px; color: var(--muted); padding-top: 3px; }
.comp dd { margin: 0; }

/* Museum */
.museum { background: var(--alt-bg); }
.museum-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 32px; }
.museum-grid figure { margin: 0; }
.museum-grid img { width: 100%; height: auto; border: 10px solid #2A2522; }
.museum-grid figcaption { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--muted); margin-top: 12px; }

/* Days */
.days { border-top: 1px solid var(--line); }
.days-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: clamp(36px, 5vw, 56px); border: 1px solid var(--line); }
.days-col { padding: clamp(24px, 4vw, 48px); }
.days-col + .days-col { border-left: 1px solid var(--line); background: var(--ink); color: var(--bg); }
.days-col h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin: 0; }
.days-col ol { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.days-col li { font-size: 13px; padding: 7px 12px; border: 1px solid currentColor; border-radius: 999px; opacity: .85; }
.days-time { font-family: var(--serif); font-size: clamp(44px, 5vw, 72px); line-height: 1; margin: 36px 0 0; }
.days-col + .days-col .days-time { color: var(--accent-light); font-style: italic; }
@media (max-width: 699px) { .days-grid { grid-template-columns: 1fr; } .days-col + .days-col { border-left: 0; } }

/* Never */
.never { background: var(--hero-bg); text-align: center; }
.never .narrow { max-width: 760px; }
.never .h2 { font-size: clamp(34px, 4.4vw, 60px); }

/* Why */
.why { background: var(--alt-bg); }
.panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.flip { perspective: 1200px; border: 0; padding: 0; background: none; text-align: left; cursor: pointer; min-height: 320px; display: block; width: 100%; }
.flip-in { display: block; position: relative; width: 100%; height: 100%; min-height: 320px; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.flip:hover .flip-in, .flip.on .flip-in { transform: rotateY(180deg); }
.flip-f, .flip-b { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; padding: 28px; display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.flip-f { background: var(--bg); justify-content: space-between; }
.flip-f .n { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--accent); }
.flip-f .ft { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3vw, 40px); line-height: 1.05; margin: 0; }
.flip-f .hint { font-size: 18px; color: var(--muted); align-self: flex-end; }
.flip-b { background: var(--ink); color: var(--bg); transform: rotateY(180deg); justify-content: center; font-size: 16px; font-weight: 300; line-height: 1.7; }
@media (hover: none) { .flip:hover .flip-in { transform: none; } .flip.on .flip-in { transform: rotateY(180deg); } }
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--ink); }
.numbers b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 5vw, 68px); line-height: 1; }
.numbers span { font-size: 13px; color: var(--muted); }
@media (max-width: 699px) { .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Contact */
.contact { background: var(--ink); color: var(--bg); padding-bottom: clamp(32px, 4vw, 48px); }
.contact a { color: var(--bg); }
.contact a.btn-light, .contact a.btn-light:hover { color: var(--ink); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: end; }
.contact .h2 { max-width: 14ch; }
.contact-lede { font-size: 17px; font-weight: 300; line-height: 1.65; margin: 24px 0 0; max-width: 40ch; color: #CFC6BE; }
.contact-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.contact-qr { width: 168px; padding: 12px; background: var(--bg); border-radius: 2px; }
.contact-qr svg { display: block; width: 100%; height: auto; }
@media (max-width: 899px) { .contact-grid { grid-template-columns: 1fr; } .contact-qr { display: none; } }
.footer { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: clamp(64px, 8vw, 104px); padding-top: 28px; border-top: 1px solid var(--text2); }
.brand.light { color: var(--bg); margin-right: 0; }
.brand.light .brand-name { font-size: 14px; }
.foot { font-size: 12px; letter-spacing: .06em; color: var(--stone); }

/* Reveal */
.reveal-init { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal-init.in { opacity: 1; transform: none; }

/* Nav: room for Abordare + Servicii */
@media (min-width: 900px) { .nav-desktop { gap: clamp(14px, 1.6vw, 30px); } .nav-desktop a { white-space: nowrap; } }
@media (min-width: 900px) and (max-width: 1180px) { .nav-desktop a { font-size: 12px; letter-spacing: .05em; } }

/* Manifesto text, moved into the Approach band */
.appr-manifest { margin-top: clamp(80px, 10vw, 140px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--dk-line); max-width: 900px; }
.appr-mbody { font-size: clamp(16px, 1.4vw, 19px); font-weight: 300; line-height: 1.7; color: var(--dk-text); margin: 20px 0 0; max-width: 62ch; }
.appr-mline { font-family: var(--script, var(--serif)); font-style: italic; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.25; color: var(--hi); margin: 36px 0 0; }
.appr-mtag { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); margin: 20px 0 0; }
.appr-mstudio { font-size: 15px; font-weight: 300; line-height: 1.6; color: var(--dk-text); margin: 28px 0 0; }

.grid-wrap > .grid + .grid { margin-top: clamp(28px, 4vw, 48px); }

/* Play control shown only when autoplay was refused (Low Power Mode, data saver) */
.vplay { display: none; position: absolute; left: 50%; top: 50%; z-index: 2; width: 56px; height: 56px; margin: -28px 0 0 -28px; padding: 0; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(244,239,234,.9); color: var(--bg); background: rgba(28,26,25,.5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); cursor: pointer; }
.vplay svg { width: 18px; height: 18px; margin-left: 2px; }
.needs-tap .vplay { display: flex; }

/* Flip panels: less empty space on phones */
@media (max-width: 699px) { .flip, .flip-in { min-height: 200px; } }

/* Touch: tap targets of at least 44px */
@media (hover: none) {
  .lang button { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 8px; }
  .view-switch button, .chip, .copy-link, .svc-card-btn { min-height: 44px; }
  .svc-card-btn { display: inline-flex; align-items: center; }
  .btn-line { display: inline-flex; align-items: center; min-height: 44px; }
  .vctl { right: 6px; bottom: 6px; gap: 0; }
  .vctl button { position: relative; width: 44px; height: 44px; border: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .vctl button::before { content: ''; position: absolute; inset: 4px; border-radius: 50%; border: 1px solid rgba(244,239,234,.9); background: rgba(28,26,25,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
  .vctl button svg { position: relative; }
}

/* Reduced motion: keep fades, crossfades, loops, sticky cards and muted video;
   drop translate, scale, blur-in, 3D flips and parallax-like travel. */
@media (prefers-reduced-motion: reduce) {
  .reveal-init { transform: none; transition: opacity .8s ease; }
  .appr-h .w { transform: none; filter: none; transition: opacity .8s ease; transition-delay: calc(var(--w) * 45ms); }
  .pillar { transform: none; transition: opacity .8s ease, border-color .4s, background .4s; transition-delay: calc(var(--p) * 140ms); }
  /* pillar diagrams: color loops slowed down, moving parts held in a readable end state */
  .pillar-viz .dl { animation-duration: 4.8s; animation-delay: calc(.26s + var(--d) * .768s); }
  .pillar-viz .scan { animation: none; opacity: 0; }
  .pillar-viz .var { animation-duration: 6s; }
  .pillar-viz .sel { animation: none; transform: translate(126px, 32px); }
  .pillar-viz .feed { animation: none; }
  .pillar-viz .post.native { animation: rm-glow 3.2s ease-in-out infinite; }
  /* flip panels crossfade instead of rotating */
  .flip-in, .flip:hover .flip-in, .flip.on .flip-in { transform: none; transition: none; }
  .flip-b { transform: none; opacity: 0; transition: opacity .4s ease; }
  .flip.on .flip-b { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) and (hover: hover) { .flip:hover .flip-b { opacity: 1; } }
@keyframes rm-glow { 50% { opacity: .5; } }

/* keep the mobile menu button full size next to the 44px language buttons */
.menu-btn { flex-shrink: 0; }
