:root {
  --forest: #0c241d;
  --emerald-deep: #0f3a2c;
  --emerald: #1d6b4e;
  --emerald-soft: #2f8a67;
  --ivory: #f6f1e5;
  --ivory-2: #ece4d0;
  --champagne: #cdb785;
  --champagne-ink: #6f5a22;
  --ink: #14211b;
  --ink-2: #3d4a43;
  --on-dark: #f6f1e5;
  --on-dark-2: #c9d3cb;
  --line-dark: rgba(205, 183, 133, 0.28);
  --line-light: rgba(20, 33, 27, 0.16);
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--champagne); outline-offset: 3px; border-radius: 4px; }
.ivory :focus-visible, .ivory-2 :focus-visible, .survey :focus-visible { outline-color: var(--emerald); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ivory); color: var(--ink); padding: 10px 16px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(12, 36, 29, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line-dark); color: var(--on-dark); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { font-family: var(--display); font-size: 24px; font-weight: 700; text-decoration: none; letter-spacing: 0.01em; }
.brand span { color: var(--champagne); font-weight: 400; font-size: 15px; margin-left: 6px; letter-spacing: 0.14em; text-transform: uppercase; }
.nav { margin-left: auto; display: flex; gap: 22px; align-items: center; font-size: 15px; }
.nav a { text-decoration: none; color: var(--on-dark-2); padding: 6px 2px; }
.nav a:hover { color: var(--on-dark); }
.lang { display: inline-flex; border: 1px solid var(--line-dark); border-radius: 999px; overflow: hidden; }
.lang a { padding: 6px 12px; font-size: 14px; font-weight: 600; color: var(--on-dark-2); text-decoration: none; }
.lang a[aria-current="true"] { background: var(--champagne); color: var(--forest); }
@media (max-width: 860px) { .nav .nav-link { display: none; } .nav { gap: 10px; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; font: 600 16px/1.2 var(--body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform 0.25s var(--ease), background 0.25s, color 0.25s; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--champagne); color: var(--forest); }
.btn.primary:hover { background: #dcc998; }
.btn.line { border-color: var(--champagne); color: var(--on-dark); background: transparent; }
.btn.line:hover { background: rgba(205, 183, 133, 0.14); }
.btn.solid { background: var(--emerald-deep); color: var(--on-dark); }
.btn.small { min-height: 40px; padding: 8px 18px; font-size: 15px; }
.text-link { color: var(--champagne); text-underline-offset: 4px; }
.ivory .text-link { color: var(--emerald-deep); }

/* ---------- sections ---------- */
section { position: relative; padding: clamp(72px, 10vw, 128px) 0; }
.dark { background: var(--forest); color: var(--on-dark); }
.deep { background: var(--emerald-deep); color: var(--on-dark); }
.ivory { background: var(--ivory); color: var(--ink); }
.ivory-2 { background: var(--ivory-2); color: var(--ink); }
.eyebrow { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--champagne); margin-bottom: 22px; }
.ivory .eyebrow, .ivory-2 .eyebrow { color: var(--champagne-ink); }
.eyebrow b { font-family: var(--display); font-size: 28px; letter-spacing: 0; font-weight: 500; }
.eyebrow::after { content: ""; flex: 0 0 56px; height: 1px; background: currentColor; opacity: 0.6; }
h2 { font-size: clamp(32px, 5vw, 56px); max-width: 18em; }
.lede { font-size: clamp(18px, 2.2vw, 21px); max-width: 38em; color: var(--ink-2); }
.dark .lede, .deep .lede { color: var(--on-dark-2); }
.note { font-size: 15px; color: var(--ink-2); }
.dark .note, .deep .note { color: var(--on-dark-2); }

/* ---------- hero ---------- */
.hero { min-height: min(92vh, 860px); display: flex; align-items: center; background:
  radial-gradient(900px 520px at 78% 20%, rgba(205, 183, 133, 0.22), transparent 62%),
  radial-gradient(800px 600px at 10% 90%, rgba(47, 138, 103, 0.35), transparent 60%),
  linear-gradient(160deg, #0a1f19 0%, #0f3a2c 100%); overflow: hidden; }
.hero-art { position: absolute; inset: -5% -10% -5% 30%; background: url("/assets/hero.svg") center / contain no-repeat; opacity: 0.9; animation: drift 28s ease-in-out infinite alternate; pointer-events: none; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-2%, 2%, 0) scale(1.04); } }
.hero .wrap { position: relative; z-index: 2; }
/* ambient light field: background only, text never moves */
.hero-fx { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; opacity: 0; animation: fx-open 2.4s var(--ease) 0.2s forwards; }
@keyframes fx-open { to { opacity: 1; } }
.hero-fx canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-glow { position: absolute; inset: 0; background: radial-gradient(360px 360px at var(--gx, 70%) var(--gy, 35%), rgba(220, 201, 152, 0.2), transparent 70%); }
.hero-orbits { position: absolute; right: -8%; top: 50%; width: min(78vw, 760px); aspect-ratio: 1; margin-top: calc(min(78vw, 760px) / -2); opacity: 0.75; }
.hero-orbits ellipse { fill: none; stroke: rgba(205, 183, 133, 0.34); stroke-width: 1; }
.hero-orbits circle { fill: #dcc998; }
.hero-orbits .ring { transform-origin: 50% 50%; animation: orbit 90s linear infinite; }
.hero-orbits .ring.r2 { animation-duration: 140s; animation-direction: reverse; }
.hero-orbits .ring.r3 { animation-duration: 210s; }
@keyframes orbit { to { transform: rotate(360deg); } }
.hero.is-paused .hero-art, .hero.is-paused .hero-orbits .ring { animation-play-state: paused; }
.hero-motion { margin-top: 22px; min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--line-dark); background: rgba(12, 36, 29, 0.6); color: var(--on-dark); font: 600 14px/1.2 var(--body); cursor: pointer; }
.hero-motion:hover { background: rgba(205, 183, 133, 0.16); border-color: var(--champagne); }
.hero .lede, .hero .eyebrow, .hero .places li { text-shadow: 0 1px 14px rgba(7, 21, 15, 0.7); }
@media (max-width: 860px) { .hero-orbits { right: -30%; opacity: 0.55; } }
@media (prefers-reduced-motion: reduce) { .hero-fx { opacity: 1; } }
.hero h1 { font-size: clamp(40px, 7vw, 84px); max-width: 13em; margin-bottom: 0.4em; }
.hero h1 em { font-style: italic; color: var(--champagne); }
.hero .lede { margin-bottom: 28px; }
.places { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; padding: 0; list-style: none; }
.places li { border: 1px solid var(--line-dark); border-radius: 999px; padding: 6px 16px; font-size: 14px; letter-spacing: 0.06em; color: var(--champagne); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.video-cta { margin-top: 20px; }
.video-cta small { color: var(--on-dark-2); }

/* ---------- chapter 1 / 2 : editorial ---------- */
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.pull { font-family: var(--display); font-size: clamp(26px, 3.4vw, 40px); line-height: 1.25; border-left: 3px solid var(--champagne); padding-left: 24px; margin: 0; }
.moments { list-style: none; padding: 0; margin: 0; counter-reset: m; }
.moments li { counter-increment: m; display: grid; grid-template-columns: 56px 1fr; gap: 6px 16px; padding: 22px 0; border-top: 1px solid var(--line-dark); }
.moments li::before { content: counter(m, decimal-leading-zero); font-family: var(--display); font-size: 28px; color: var(--champagne); grid-row: span 2; line-height: 1; padding-top: 4px; }
.moments strong { font-family: var(--display); font-size: 22px; font-weight: 600; }
.moments span { color: var(--on-dark-2); }

/* ---------- tabs ---------- */
.tablist { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 24px; padding: 0; }
.tab { font: 600 16px/1.2 var(--body); padding: 12px 22px; border-radius: 999px; border: 1.5px solid currentColor; background: transparent; color: inherit; cursor: pointer; min-height: 48px; }
.tab[aria-selected="true"] { background: var(--emerald-deep); color: var(--on-dark); border-color: var(--emerald-deep); }
.dark .tab[aria-selected="true"], .deep .tab[aria-selected="true"] { background: var(--champagne); color: var(--forest); border-color: var(--champagne); }
.tabpanel[hidden] { display: none; }
.tabpanel:focus-visible { outline-offset: 6px; }
.badge { display: inline-block; border: 1px dashed currentColor; border-radius: 6px; padding: 2px 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }

/* ---------- before / after ---------- */
.ba-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 860px) { .ba-grid { grid-template-columns: 1fr; } }
.ba-stage { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-light); background: #fff; box-shadow: 0 30px 60px -30px rgba(12, 36, 29, 0.45); --v: 50; }
.ba-layer { position: absolute; inset: 0; padding: 18px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.ba-before { background: #e4e2dc; color: #5b5b57; }
.ba-after { background: linear-gradient(180deg, #fffdf7, #f3ecda); color: var(--ink); clip-path: inset(0 0 0 calc(100% - var(--v) * 1%)); }
.ba-tag { position: absolute; top: 12px; z-index: 3; font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.ba-tag.b { left: 12px; background: #5b5b57; color: #fff; }
.ba-tag.a { right: 12px; background: var(--emerald-deep); color: var(--champagne); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: calc(100% - var(--v) * 1%); width: 2px; background: var(--champagne); z-index: 2; box-shadow: 0 0 0 1px rgba(12, 36, 29, 0.3); }
.ba-handle::after { content: "↔"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 36px; height: 36px; border-radius: 50%; background: var(--forest); color: var(--champagne); display: grid; place-items: center; font-size: 16px; }
.ba-controls { display: flex; gap: 12px; align-items: center; margin-top: 18px; }
.ba-controls input[type="range"] { flex: 1; accent-color: var(--emerald); height: 32px; }
.ba-controls .btn { min-height: 40px; padding: 6px 16px; font-size: 14px; border-color: var(--emerald-deep); color: var(--emerald-deep); background: transparent; }
.ba-controls .btn[aria-pressed="true"] { background: var(--emerald-deep); color: var(--on-dark); }
.ba-copy h3 { font-size: 28px; }
.ba-copy ul { padding-left: 20px; }
/* mock pieces */
.bar { height: 9px; border-radius: 5px; background: currentColor; opacity: 0.22; }
.bar.s { width: 40%; } .bar.m { width: 65%; } .bar.l { width: 90%; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: #b7b5ad; flex: none; }
.ba-after .avatar { background: var(--emerald-deep); color: var(--champagne); display: grid; place-items: center; font-family: var(--display); font-size: 22px; box-shadow: 0 0 0 3px var(--champagne); }
.row { display: flex; gap: 12px; align-items: center; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; flex: 1; }
.tile { border-radius: 6px; background: #cfcdc6; display: grid; place-items: center; text-align: center; padding: 4px; font-size: 11px; line-height: 1.2; min-height: 0; }
.tile:nth-child(2n) { background: #bdbbb3; }
.tile:nth-child(3n) { background: #d9d6ce; }
.ba-after .tile { background: var(--emerald-deep); color: var(--on-dark); font-weight: 600; }
.ba-after .tile:nth-child(2n) { background: var(--ivory-2); color: var(--ink); }
.ba-after .tile:nth-child(3n) { background: var(--emerald); color: var(--on-dark); }
.mock-btn { align-self: flex-start; padding: 8px 16px; border-radius: 999px; background: var(--emerald-deep); color: var(--on-dark); font-weight: 700; font-size: 12px; }
.mock-h { font-family: var(--display); font-size: 21px; line-height: 1.1; color: var(--emerald-deep); }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cols > div { border-top: 2px solid var(--champagne); padding-top: 6px; font-size: 11px; }
.feed-post { background: #d4d2cb; border-radius: 8px; padding: 10px; font-size: 12px; }
.ba-after .feed-post { background: #fff; border-left: 4px solid var(--champagne); }
.ba-after .feed-post b { color: var(--emerald-deep); }

/* ===== #presencia showcase: fictional ALBA interior studio (design demonstration) ===== */
.showcase-grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.8fr); align-items: start; }
@media (max-width: 860px) { .showcase-grid { grid-template-columns: minmax(0, 1fr); } }
.showcase-stage { --terra: #a64b2f; --sand: #e6d8c4; --cream: #f7f1e8; --deep: #2b2420; aspect-ratio: auto; height: clamp(700px, 70vw, 740px); background: var(--cream); }
.showcase-stage.is-web { height: clamp(740px, 72vw, 780px); }
.showcase-stage.is-content { height: clamp(700px, 68vw, 720px); }
@media (max-width: 560px) {
  .showcase-stage { height: 700px; }
  .showcase-stage.is-web { height: 720px; }
  .showcase-stage.is-content { height: 680px; }
}
@media (max-width: 380px) {
  .showcase-stage { height: 760px; }
  .showcase-stage.is-web { height: 800px; }
  .showcase-stage.is-content { height: 720px; }
}
.showcase-layer { padding: 46px 16px 16px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; font-size: clamp(13px, 1.45vw, 16px); line-height: 1.35; }
.showcase-layer * { min-width: 0; }
.showcase-layer p, .showcase-layer h4 { margin: 0; }
.showcase-ph { position: relative; overflow: hidden; background: #d8cdbd; }
.showcase-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--x, 50%) var(--y, 50%); transform: scale(var(--z, 1)); transform-origin: var(--x, 50%) var(--y, 50%); }
.showcase-layer svg { width: 100%; height: 100%; }
/* before: ordinary, slightly inconsistent */
.showcase-layer.plain { background: #ebeae6; color: #4a4a46; font-family: Arial, Helvetica, sans-serif; }
.plain .pl-prof { display: flex; gap: 10px; align-items: center; }
.plain .pl-av { width: 44px; height: 44px; border-radius: 50%; background: #9fb0c4; flex: none; }
.plain .pl-prof span { display: block; font-size: 12px; color: #6b6b66; }
.plain .pl-bio { font-size: 12px; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.3; }
.plain .pl-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 4px; flex: 1; min-height: 0; }
.plain .pl-grid > * { overflow: hidden; display: grid; place-items: center; text-align: center; padding: 4px; font-size: 12px; line-height: 1.2; }
.plain .pl-grid .c1 { background: #e9c46a; color: #5a4300; font-weight: 700; font-size: 14px; }
.plain .pl-grid .c2 { background: #b5636b; color: #fff; font-weight: 700; text-transform: uppercase; }
.plain .pl-grid .c3 { background: #7b93ad; color: #fff; font-style: italic; }
.plain .pl-grid .c4 { background: #cfcdc6; }
.plain .pl-grid .showcase-ph { padding: 0; }
.plain .pl-web-bar { background: #3a5a8c; color: #fff; padding: 8px 10px; font-weight: 700; font-size: 13px; letter-spacing: 0.04em; }
.plain .pl-menu { font-size: 12px; color: #3a5a8c; }
.plain .pl-body { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; flex: 1; min-height: 0; }
.plain .pl-body .showcase-ph { min-height: 120px; }
.plain .pl-body p { font-size: 12px; line-height: 1.35; }
.plain .pl-foot { font-size: 12px; border-top: 1px solid #c9c7c0; padding-top: 6px; }
.plain .pl-post { background: #fff; border: 1px solid #d4d2cb; flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.plain .pl-post > div:first-child { padding: 6px 8px; font-size: 12px; font-weight: 700; }
.plain .pl-post .showcase-ph { flex: 1; min-height: 0; }
.plain .pl-post p { padding: 8px; font-size: 13px; }
.plain .pl-post.txt { background: #b5636b; color: #fff; justify-content: center; text-align: center; font-weight: 700; padding: 10px; text-transform: uppercase; }
/* after: ALBA, warm minimalist editorial */
.showcase-layer.alba { background: var(--cream); color: var(--deep); }
.alba .alba-prof { display: flex; gap: 12px; align-items: center; }
.alba .alba-av { width: 52px; height: 52px; border-radius: 50%; background: var(--terra); color: #fff; display: grid; place-items: center; font-family: var(--display); font-size: 26px; flex: none; }
.alba .alba-id b { display: block; font-family: var(--display); font-size: 1.35em; letter-spacing: 0.2em; line-height: 1.1; }
.alba .alba-id span { font-size: 0.9em; color: #5b4f46; }
.alba .alba-bio { font-size: 0.95em; line-height: 1.4; }
.alba .alba-cats { display: flex; flex-wrap: wrap; gap: 6px; }
.alba .alba-cats span { border: 1px solid var(--terra); color: var(--terra); border-radius: 999px; padding: 1px 9px; font-size: 12px; font-weight: 600; }
/* every AFTER photo shows the full 1400x788 composition: contain, no zoom, no crop */
.alba .showcase-ph { background: var(--sand); }
.alba .showcase-ph img { object-fit: contain; object-position: 50% 50%; transform: none; }
.alba .alba-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto repeat(2, minmax(0, 1fr)); gap: 6px; flex: 1; min-height: 0; }
.alba .alba-grid > .alba-wide { grid-column: 1 / -1; aspect-ratio: 1400 / 788; max-height: 240px; width: 100%; justify-self: center; }
.alba .alba-grid > * { overflow: hidden; min-height: 0; }
.alba .tx { display: flex; flex-direction: column; justify-content: flex-end; padding: 10px; font-family: var(--display); font-size: 1.1em; line-height: 1.15; }
.alba .tx small { display: block; font-family: var(--body); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; margin-bottom: 4px; }
.alba .tx.t { background: var(--terra); color: #fff; }
.alba .tx.s { background: var(--sand); color: var(--deep); }
.alba .tx.d { background: var(--deep); color: #f3e7d6; }
.alba .sw { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; background: var(--cream); border: 1px solid var(--sand); }
.alba .sw i { display: block; }
.alba .plan { background: #fffaf2; border: 1px solid var(--sand); padding: 6px; }
.alba-web .br { display: flex; gap: 5px; align-items: center; background: #ece3d4; border-radius: 8px 8px 0 0; padding: 6px 10px; }
.alba-web .br i { width: 8px; height: 8px; border-radius: 50%; background: #c7b9a4; }
.alba-web .br span { margin-left: 8px; flex: 1; background: #fffaf2; border-radius: 6px; padding: 1px 10px; font-size: 12px; color: #5b4f46; }
.alba-web .alba-site { display: flex; flex-direction: column; gap: 10px; flex: 1; min-height: 0; margin-top: -10px; }
.alba-web .alba-nav { display: flex; gap: 12px; align-items: baseline; padding: 6px 2px 0; font-size: 12px; }
.alba-web .alba-nav b { font-family: var(--display); letter-spacing: 0.22em; font-size: 1.3em; margin-right: auto; }
.alba-web .alba-hero { display: flex; flex-direction: column; gap: 12px; flex: none; }
.alba-web .alba-hero .showcase-ph { flex: none; aspect-ratio: 1400 / 788; width: 100%; max-height: 330px; margin: 0 auto; border-radius: 4px; }
.alba-web .alba-hero-t { padding: 0 2px; }
.alba-web .alba-hero-t small { display: block; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terra); font-weight: 700; margin-bottom: 4px; }
.alba-web .alba-hero-t h4 { font-family: var(--display); font-size: 1.9em; line-height: 1.05; margin-bottom: 6px; }
.alba-web .alba-hero-t p { font-size: 0.92em; margin-bottom: 6px; }
.alba-web .alba-link { color: var(--terra); font-weight: 700; font-size: 0.92em; border-bottom: 1px solid var(--terra); }
.alba-web .alba-svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.alba-web .alba-svc div { border-top: 2px solid var(--terra); padding-top: 6px; font-size: 12px; line-height: 1.3; }
.alba-web .alba-svc b { display: block; font-family: var(--display); font-size: 1.15em; margin-bottom: 2px; }
.alba-web .alba-steps { font-size: 12px; color: #5b4f46; display: flex; gap: 14px; flex-wrap: wrap; border-top: 1px solid var(--sand); padding-top: 8px; }
.alba-web .alba-steps b { color: var(--terra); }
.alba-post { display: flex; flex-direction: column; gap: 8px; flex: 1; min-height: 0; }
.alba-post .alba-cover { display: flex; flex-direction: column; flex: none; }
.alba-post .alba-cover .showcase-ph { flex: none; aspect-ratio: 1400 / 788; width: 100%; max-height: 290px; }
.alba-post .alba-cover-t { padding: 12px 14px; background: var(--deep); color: #f3e7d6; }
.alba-post .alba-cover-t small { display: block; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.alba-post .alba-cover-t b { font-family: var(--display); font-size: 1.9em; line-height: 1.05; font-weight: 600; }
.alba-post .alba-minis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; flex: 1; min-height: 0; }
.alba-post .alba-minis > div { background: #fffaf2; border: 1px solid var(--sand); padding: 6px; display: flex; flex-direction: column; gap: 4px; min-height: 0; font-size: 12px; line-height: 1.2; }
.alba-post .alba-minis .art { flex: 1; min-height: 0; }
.alba-post .alba-cap { font-size: 0.92em; }
/* separate, real, accessible demo controls (never inside aria-hidden layers) */
.showcase-label { font-size: 13px; color: var(--ink-2); margin: 0 0 10px; }
.demo-box { margin-top: 28px; border: 1px solid var(--line-light); border-radius: 14px; background: #fffdf8; }
.demo-box > summary { cursor: pointer; padding: 14px 18px; min-height: 48px; font-weight: 700; display: flex; align-items: center; }
.demo-inner { padding: 4px 18px 20px; }
.demo-group { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.demo-group button, .demo-ctrl button { min-height: 44px; padding: 6px 16px; border-radius: 999px; border: 1px solid #a64b2f; background: transparent; color: #7e3620; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.demo-group button[aria-pressed="true"], .demo-ctrl button:hover { background: #7e3620; color: #fff; }
.demo-pane { max-width: 62ch; }
.demo-pane h4 { font-family: var(--display); font-size: 22px; margin-bottom: 6px; }
.demo-pane ul, .demo-pane ol { padding-left: 20px; margin: 0 0 8px; }
.demo-sim { font-size: 15px; color: var(--ink-2); }
.demo-carousel { margin-top: 28px; border: 1px solid var(--line-light); border-radius: 14px; background: #f7f1e8; padding: 18px; }
.demo-slide { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 20px; align-items: center; }
.demo-slide[hidden], .demo-pane[hidden] { display: none; }
@media (max-width: 560px) { .demo-slide { grid-template-columns: minmax(0, 1fr); } }
.demo-slide .art { aspect-ratio: 4 / 3; background: #fffaf2; border: 1px solid #e6d8c4; padding: 8px; display: grid; }
.demo-slide .art.sw { grid-template-columns: repeat(3, 1fr); padding: 0; }
.demo-slide h4 { font-family: var(--display); font-size: 24px; margin-bottom: 6px; }
.demo-slide ul { padding-left: 20px; margin: 0; }
.demo-ctrl { display: none; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.js .demo-ctrl { display: flex; }
.demo-count { margin: 0; font-weight: 700; font-size: 15px; }
.showcase-credit { font-size: 13px; color: var(--ink-2); margin-top: 8px; }

/* ---------- service explorer ---------- */
.stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; margin: 36px 0 8px; padding: 0; list-style: none; }
.stages::before { content: ""; position: absolute; left: 6%; right: 6%; top: 22px; height: 1px; background: var(--line-dark); }
.stages li { text-align: center; position: relative; }
.stages .dot { width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 10px; display: grid; place-items: center; background: var(--forest); border: 1.5px solid var(--champagne); color: var(--champagne); font-family: var(--display); font-size: 20px; transition: background 0.3s, color 0.3s; }
.stages li.on .dot { background: var(--champagne); color: var(--forest); }
.stages small { color: var(--on-dark-2); font-size: 14px; }
.stage-body { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 72px); padding-top: 12px; }
@media (max-width: 860px) { .stage-body { grid-template-columns: 1fr; } .stages small { display: none; } }
.stage-body h3 { font-size: clamp(28px, 4vw, 40px); }
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { padding: 10px 0 10px 30px; border-top: 1px solid var(--line-dark); position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--champagne); font-weight: 700; }
.fit { border: 1px solid var(--line-dark); border-radius: 14px; padding: 22px 24px; background: rgba(255, 255, 255, 0.04); }
.fit h4 { font-family: var(--body); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--champagne); margin-bottom: 8px; }
.fit p:last-child { margin-bottom: 0; }

/* ---------- research ---------- */
.sources { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 36px; border-top: 2px solid var(--ink); }
@media (max-width: 860px) { .sources { grid-template-columns: 1fr; } }
.source { padding: 24px 24px 28px 0; border-bottom: 1px solid var(--line-light); }
.source + .source { padding-left: 24px; border-left: 1px solid var(--line-light); }
@media (max-width: 860px) { .source + .source { padding-left: 0; border-left: 0; } }
.source dl { margin: 14px 0 0; font-size: 15px; }
.source dt { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--champagne-ink); font-weight: 700; margin-top: 10px; }
.source dd { margin: 2px 0 0; color: var(--ink-2); }
.callout { margin-top: 32px; padding: 20px 24px; border-left: 4px solid var(--champagne-ink); background: rgba(111, 90, 34, 0.08); border-radius: 0 10px 10px 0; font-size: 16px; }

/* ---------- evidence charts ---------- */
.charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); margin-top: 36px; border-top: 2px solid var(--ink); padding-top: 28px; }
@media (max-width: 860px) { .charts { grid-template-columns: 1fr; } }
.chart { margin: 0; }
.chart h3 { margin: 12px 0 14px; }
.chart-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chart-btn { min-height: 44px; min-width: 64px; padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--emerald-deep); background: transparent; color: var(--emerald-deep); font: 600 16px/1.2 var(--body); cursor: pointer; }
.chart-btn[aria-pressed="true"], .chart-btn[aria-expanded="true"] { background: var(--emerald-deep); color: var(--on-dark); }
.chart-btn:focus-visible { outline: 3px solid var(--champagne-ink); outline-offset: 2px; }
.chart { --bar-lab: 6.25em; --bar-val: 64px; --bar-gap: 10px; }
.bar-row { display: grid; grid-template-columns: var(--bar-lab) minmax(0, 1fr) var(--bar-val); align-items: center; gap: var(--bar-gap); margin: 8px 0; transition: opacity 0.3s; }
.bar-row > span:first-child { overflow-wrap: normal; word-break: normal; hyphens: manual; }
@media (max-width: 420px) {
  .bar-row { grid-template-columns: minmax(0, 1fr) var(--bar-val); row-gap: 2px; }
  .bar-row > span:first-child { grid-column: 1 / -1; }
}
.bar-row[hidden] { display: none; }
.js .bar-row:not(.on) { opacity: 0.4; }
.bar-track { height: 30px; background: rgba(20, 33, 27, 0.1); border-radius: 6px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--emerald); border-radius: 6px; }
.bar-row.alt .bar-fill { background: var(--champagne-ink); }
.bar-val { font-weight: 700; font-variant-numeric: tabular-nums; }
.axis { display: flex; justify-content: space-between; margin: 2px calc(var(--bar-val) + var(--bar-gap)) 0 calc(var(--bar-lab) + var(--bar-gap)); font-size: 13px; color: var(--ink-2); }
@media (max-width: 420px) { .axis { margin-left: 0; } }
.chart table { width: 100%; margin-top: 14px; border-collapse: collapse; font-size: 15px; }
.chart caption { text-align: left; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--champagne-ink); font-weight: 700; padding-bottom: 4px; }
.chart th, .chart td { text-align: left; padding: 6px 8px 6px 0; border-bottom: 1px solid var(--line-light); overflow-wrap: break-word; word-break: normal; hyphens: manual; }

/* ---------- international context (revision 13): plain text KPIs, not a chart ---------- */
.context { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line-light); }
.context h3 { margin: 0 0 14px; }
.ctx-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 4vw, 48px); }
@media (max-width: 640px) { .ctx-grid { grid-template-columns: 1fr; } }
.ctx-item p { margin: 0; }
.ctx-num { font: 600 clamp(2.25rem, 6vw, 3rem)/1 var(--display); color: var(--champagne-ink); margin-bottom: 6px !important; }
.ctx-src, .ctx-note { font-size: 15px; color: var(--ink-2); margin-top: 8px !important; overflow-wrap: break-word; }
.context a { color: var(--emerald-deep); }
.ctx-note { margin-top: 18px !important; }
.chart .caveat, .chart .src { font-size: 15px; color: var(--ink-2); margin: 12px 0 0; }
.chart .detail { margin-top: 12px; padding: 12px 16px; border-left: 4px solid var(--champagne-ink); background: rgba(111, 90, 34, 0.08); font-size: 15px; }
.chart a { color: var(--emerald-deep); }
@media (prefers-reduced-motion: reduce) { .bar-row { transition: none; } }

.chart .metric-note { font-size: 15px; color: var(--ink-2); margin: 4px 0 12px; }
.chart .index-tag { display: inline-block; margin-left: 8px; }

/* ---------- founder ---------- */
.founder { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } }
.founder img { width: 100%; max-width: 340px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 45% 20%; border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(12, 36, 29, 0.45); }
.founder h2 { font-size: clamp(28px, 4vw, 44px); }

/* ---------- storyboard ---------- */
.film { display: grid; grid-template-columns: minmax(0, 860px); gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: 28px; }
@media (max-width: 860px) { .film { grid-template-columns: 1fr; } }
.frame { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-dark); background: radial-gradient(500px 280px at 70% 30%, rgba(205, 183, 133, 0.25), transparent 70%), linear-gradient(150deg, #0a1f19, #1d6b4e); display: grid; place-items: center; text-align: center; padding: 24px; }
.frame .tc { position: absolute; top: 12px; left: 14px; font-size: 12px; letter-spacing: 0.14em; color: var(--champagne); }
.frame .badge { position: absolute; top: 10px; right: 12px; color: var(--champagne); }
.frame .shot { font-family: var(--display); font-size: clamp(20px, 3vw, 30px); max-width: 16em; }
.frame .silhouette { position: absolute; bottom: 0; left: 50%; width: 120px; height: 62%; transform: translateX(-50%); background: rgba(246, 241, 229, 0.08); border-radius: 60px 60px 0 0; border: 1px dashed var(--line-dark); border-bottom: 0; }
.scene-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.scene-list button { width: 100%; text-align: left; padding: 12px 16px; border-radius: 10px; border: 1px solid var(--line-dark); background: transparent; color: var(--on-dark); font: 500 16px/1.35 var(--body); cursor: pointer; display: grid; grid-template-columns: 74px 1fr; gap: 10px; }
.scene-list button span:first-child { color: var(--champagne); font-variant-numeric: tabular-nums; font-size: 14px; }
.scene-list button[aria-selected="true"] { background: rgba(205, 183, 133, 0.16); border-color: var(--champagne); }
.scene-detail { margin-top: 18px; font-size: 16px; color: var(--on-dark-2); }

/* ---------- intro video + ambient music (revision 4) ---------- */
.video-card { margin: 0; }
.video-card video { display: block; width: 100%; height: auto; max-height: 78vh; aspect-ratio: 16 / 9; background: #07150f; border-radius: 14px; border: 1px solid var(--line-dark); object-fit: contain; }
.video-stage { position: relative; border-radius: 14px; }
.video-cover { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 10px; padding: clamp(12px, 3vw, 28px); border-radius: 14px; border: 1px solid var(--line-dark); background: #f6f1e5 center / contain no-repeat; overflow: hidden; }
.video-cover[hidden] { display: none; }
.video-cover-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; max-width: 100%; padding: 10px 20px; border: 1.5px solid var(--champagne); border-radius: 999px; background: var(--emerald-deep); color: var(--ivory); font: 600 16px/1.2 var(--body); cursor: pointer; box-shadow: 0 10px 24px -12px rgba(12, 36, 29, 0.6); transition: background 0.2s var(--ease), transform 0.2s var(--ease); }
.video-cover-btn:hover { background: var(--emerald); }
.video-cover-btn:focus-visible { outline: 3px solid var(--emerald-deep); outline-offset: 3px; box-shadow: 0 0 0 6px var(--ivory); }
.video-cover-btn[aria-busy="true"] { opacity: 0.8; cursor: progress; }
.video-cover-status { margin: 0; max-width: 100%; padding: 8px 12px; border-radius: 10px; background: rgba(246, 241, 229, 0.95); color: var(--ink); font-size: 15px; line-height: 1.4; }
.video-cover-status[hidden] { display: none; }
@media (max-width: 560px) {
  .video-stage:has(.video-cover:not([hidden])) { padding-bottom: 72px; }
  .video-cover { background-size: 100% auto; background-position: center top; padding: 12px; }
  .video-stage:has(.video-cover-status:not([hidden])) { padding-bottom: 148px; }
}
@media (prefers-reduced-motion: reduce) { .video-cover-btn { transition: none; } }
@media (forced-colors: active) { .video-cover-btn { border: 2px solid ButtonText; } }
.video-card figcaption { margin-top: 12px; display: grid; gap: 8px; font-size: 15px; color: var(--on-dark-2); }
.video-card .badge { justify-self: start; color: var(--champagne); }
.video-lang { font-weight: 600; color: var(--on-dark); margin: 0; }
.frame-wrap { margin-top: 28px; }
.ambient { position: fixed; left: 12px; bottom: 12px; z-index: 60; max-width: calc(100vw - 24px); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 10px 14px; border-radius: 14px; background: rgba(12, 36, 29, 0.94); border: 1px solid var(--line-dark); color: var(--on-dark); font-size: 14px; backdrop-filter: blur(8px); }
.ambient button { min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--champagne); background: transparent; color: var(--on-dark); font: 600 14px/1.2 var(--body); cursor: pointer; }
.ambient button:hover:not(:disabled) { background: rgba(205, 183, 133, 0.16); }
.ambient button:disabled { opacity: 0.6; cursor: not-allowed; }
.ambient label { display: inline-flex; align-items: center; gap: 8px; }
.ambient input[type="range"] { width: 110px; min-height: 44px; accent-color: var(--champagne); }
.ambient { width: max-content; max-width: min(320px, calc(100vw - 24px)); }
.ambient .ambient-status { flex-basis: 100%; margin: 0; color: var(--on-dark-2); font-size: 13px; max-width: 34em; min-width: 0; overflow-wrap: anywhere; }
.ambient > *, .ambient-more label { min-width: 0; max-width: 100%; }
.ambient-more label { flex-wrap: wrap; }
.ambient { overflow-x: hidden; }
.ambient .ambient-live { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ambient-more { flex-basis: 100%; }
.ambient-more[open] ~ .ambient-live { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: normal; }
.ambient-more summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-size: 13px; color: var(--on-dark-2); }
.ambient-more[open] { max-height: 40vh; overflow-y: auto; }
.ambient-more input[type="range"] { width: min(110px, 40vw); }
.ambient-note { font-size: 13px; color: var(--on-dark-2); }
.no-js .ambient, .ambient[hidden] { display: none; }
.hero-music { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.hero-music small { color: var(--on-dark-2); font-size: 13px; }
.no-js .hero-music { display: none; }

/* ---------- fit ---------- */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); margin-top: 28px; }
@media (max-width: 860px) { .fit-grid { grid-template-columns: 1fr; } }
.fit-grid h3 { font-size: 26px; }
.fit-grid ul { padding-left: 20px; margin: 0; }
.fit-grid li { margin-bottom: 8px; }

/* ---------- form ---------- */
.agenda { background: linear-gradient(170deg, #0a1f19, #0f3a2c); }
.agenda-grid { display: grid; grid-template-columns: 0.9fr 1.2fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
@media (max-width: 960px) { .agenda-grid { grid-template-columns: 1fr; } }
.survey { background: var(--ivory); color: var(--ink); border-radius: 20px; padding: clamp(22px, 4vw, 40px); }
.survey h3 { font-size: 28px; }
.field { display: block; margin-bottom: 18px; }
.field > span, legend { display: block; font-weight: 600; margin-bottom: 6px; padding: 0; }
.field input { width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; border: 1.5px solid #8a948d; border-radius: 10px; background: #fff; color: var(--ink); }
fieldset { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
legend small { font-weight: 400; color: var(--ink-2); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt span { display: block; padding: 10px 16px; min-height: 44px; border: 1.5px solid #8a948d; border-radius: 999px; background: #fff; font-size: 16px; }
.opt input:checked + span { background: var(--emerald-deep); border-color: var(--emerald-deep); color: var(--on-dark); }
.opt input:focus-visible + span { outline: 3px solid var(--emerald); outline-offset: 2px; }
.err { color: #8a1f1f; font-weight: 600; margin: 4px 0 14px; }
.survey .btn.primary { background: var(--emerald-deep); color: var(--on-dark); width: 100%; }
.survey .btn.primary:hover { background: var(--emerald); }
.steps-end { list-style: none; padding: 0; display: grid; gap: 14px; margin: 20px 0; }
.steps-end li { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.steps-end b { width: 30px; height: 30px; border-radius: 50%; background: var(--champagne); color: var(--forest); display: grid; place-items: center; }
.contact-lines { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 8px; }
.contact-lines a { color: var(--on-dark); font-weight: 600; text-underline-offset: 4px; }

/* ---------- footer ---------- */
footer { background: #07150f; color: var(--on-dark-2); padding: 48px 0 120px; font-size: 15px; }
footer .wrap { display: grid; gap: 14px; }
footer a { color: var(--on-dark); }

/* ---------- reveal (progressive; no scroll hijacking) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media (forced-colors: active) { .ambient, .ambient button { border: 1.5px solid ButtonText; } .btn, .tab, .opt span { border: 1.5px solid ButtonText; } }
