:root {
  --bg: #f5f4f0;
  --paper: #ffffff;
  --ink: #151515;
  --muted: #5f5d58;
  --line: #e2e0da;
  --accent: #1d8a5c;
  --accent-soft: #e3f1ea;
  --warn: #9a5b12;
  --warn-soft: #fbf0df;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter Tight", system-ui, -apple-system, sans-serif;
  --wrap: 1240px;
  --pad: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.eyebrow {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 14px;
}
em { font-family: var(--serif); font-style: italic; font-weight: 400; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px var(--pad);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; }
.brand-mark { height: 17px; width: auto; display: block; }
.brand-mark.short { display: none; }
.nav nav { display: flex; gap: 26px; align-items: center; font-size: 15px; }
.nav nav a { text-decoration: none; color: var(--muted); transition: color .15s; }
.nav nav a:hover, .nav nav a.active { color: var(--ink); }
.nav .nav-cta {
  color: var(--ink); border: 1px solid var(--ink); border-radius: 99px; padding: 6px 16px;
}
.nav .nav-cta:hover { background: var(--ink); color: var(--bg); }
@media (max-width: 720px) {
  .brand-mark.full { display: none; }
  .brand-mark.short { display: block; height: 18px; }

  .nav nav { gap: 14px; font-size: 14px; }
  .nav nav a[href="#/lab"], .nav nav a[href="#/experience"] { display: none; }
}

/* ---------- hero ---------- */
.hero { padding-top: clamp(48px, 9vw, 120px); padding-bottom: clamp(40px, 6vw, 72px); }
.hero h1 {
  font: 400 clamp(44px, 7.4vw, 104px)/1.0 var(--serif);
  letter-spacing: -.02em; margin: 0 0 28px; max-width: 19ch;
}
.hero h1 em { color: var(--accent); }
.hero-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; }
.hero-intro { font-size: clamp(18px, 1.6vw, 21px); color: #3a3935; max-width: 46ch; margin: 0; }
.hero-meta { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); justify-self: end; text-align: right; }
.hero-meta b { color: var(--ink); font-weight: 500; }
.pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 8px; box-shadow: 0 0 0 0 rgba(29,138,92,.5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(29,138,92,0); } 100% { box-shadow: 0 0 0 0 rgba(29,138,92,0); } }
@media (max-width: 820px) {
  .hero-row { grid-template-columns: 1fr; }
  .hero-meta { justify-self: start; text-align: left; }
}

.showcase {
  position: relative; height: clamp(300px, 34vw, 440px);
  margin-top: clamp(36px, 6vw, 64px);
}
.showcase a {
  position: absolute; top: 0; height: 100%; display: block; background: var(--paper); border-radius: 14px;
  overflow: hidden; text-decoration: none; width: 24%; left: 38%; opacity: 0; z-index: 0;
  transition: left .9s cubic-bezier(.65,0,.25,1), width .9s cubic-bezier(.65,0,.25,1), height .9s, top .9s, opacity .6s;
}
.showcase a[data-pos="left"]   { left: 0; width: 25%; opacity: 1; z-index: 1; top: 7%; height: 86%; }
.showcase a[data-pos="center"] { left: 26.5%; width: 47%; opacity: 1; z-index: 2; }
.showcase a[data-pos="right"]  { left: 75%; width: 25%; opacity: 1; z-index: 1; top: 7%; height: 86%; }
.showcase a[data-pos="out-left"]  { left: -10%; width: 20%; top: 12%; height: 76%; }
.showcase a[data-pos="out-right"] { left: 90%; width: 20%; top: 12%; height: 76%; }
.showcase a[data-pos="left"], .showcase a[data-pos="right"] { cursor: pointer; }
.showcase a[data-pos="left"] img, .showcase a[data-pos="right"] img { filter: saturate(.85) brightness(.97); }
.showcase img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .6s; }
.showcase img.contain { object-fit: contain; padding: 5%; }
.showcase a[data-pos="center"]:hover img { transform: scale(1.03); }
.showcase span {
  position: absolute; left: 14px; bottom: 12px; font-size: 13px;
  background: rgba(255,255,255,.9); padding: 4px 10px; border-radius: 99px;
}
.showcase a[data-pos="center"] span::after { content: " →"; }
.sc-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.sc-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 99px; background: var(--line, #d8d4cc); cursor: pointer; transition: width .4s, background .4s; }
.sc-dots button.on { width: 22px; background: var(--ink); }
.filters sup { font-size: 10px; margin-left: 3px; opacity: .55; vertical-align: super; }
@media (max-width: 820px) {
  .showcase { height: clamp(240px, 62vw, 380px); }
  .showcase a[data-pos="left"]  { left: -14%; width: 20%; }
  .showcase a[data-pos="center"] { left: 10%; width: 80%; }
  .showcase a[data-pos="right"] { left: 94%; width: 20%; }
}
@media (prefers-reduced-motion: reduce) { .showcase a { transition: none; } }

/* ---------- stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin: clamp(48px, 7vw, 88px) 0 0;
}
.stats div { padding: 26px 20px 24px 0; }
.stats div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.stats b { display: block; font: 400 clamp(36px, 4vw, 52px)/1 var(--serif); margin-bottom: 8px; }
.stats span { font-size: 14px; color: var(--muted); }
@media (max-width: 720px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- sections ---------- */
.section { padding-top: clamp(64px, 9vw, 120px); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 34px; }
.section-head h2 { font: 400 clamp(36px, 4.6vw, 60px)/1 var(--serif); margin: 0; letter-spacing: -.01em; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button {
  font: 500 14px var(--sans); color: var(--muted); background: transparent;
  border: 1px solid var(--line); border-radius: 99px; padding: 7px 15px; cursor: pointer;
  transition: all .15s;
}
.filters button:hover { color: var(--ink); border-color: var(--ink); }
.filters button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- project cards ---------- */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 28px; }
.card { text-decoration: none; display: block; }
.card.hidden { display: none; }
.card-img {
  position: relative; border-radius: 14px; overflow: hidden; background: var(--paper);
  aspect-ratio: 4/3;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.card-img img.contain { object-fit: contain; padding: 4%; }
.card:hover .card-img img { transform: scale(1.035); }
.card-num { position: absolute; top: 14px; left: 16px; font-size: 13px; color: var(--muted); }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500; letter-spacing: .02em;
  color: var(--warn); background: var(--warn-soft); border-radius: 99px; padding: 4px 10px;
}
.card .badge { position: absolute; top: 12px; right: 12px; }
.card-body { padding: 18px 2px 0; }
.card-body h3 { font: 400 32px/1.1 var(--serif); margin: 0 0 6px; }
.card-body p { margin: 0 0 12px; color: #3a3935; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 12.5px; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 2px 10px; }
.tag.green { color: var(--accent); background: var(--accent-soft); border-color: transparent; }
.card.wide { grid-column: 1 / -1; }
.card.wide .card-img { aspect-ratio: 21/9; }
@media (max-width: 820px) {
  .grid { grid-template-columns: 1fr; gap: 40px; }
  .card.wide .card-img { aspect-ratio: 4/3; }
}

.masters {
  grid-column: 1 / -1;
  border: 1.5px dashed #c9c6be; border-radius: 14px; padding: clamp(28px, 5vw, 56px);
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
}
.masters h3 { font: 400 clamp(28px, 3.4vw, 42px)/1.1 var(--serif); margin: 6px 0 8px; }
.masters p { margin: 0; color: var(--muted); max-width: 56ch; }
.masters .soon { font-size: 13px; padding: 8px 16px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); font-weight: 500; white-space: nowrap; }
.masters.hidden { display: none; }
@media (max-width: 720px) { .masters { grid-template-columns: 1fr; } }

/* ---------- lab: lighter, smaller cards than Work ---------- */
.lab-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 20px; }
.lab-card { display: block; color: inherit; text-decoration: none; }
.lab-img { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--paper); }
.lab-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.lab-card:hover .lab-img img { transform: scale(1.04); }
.lab-kind { margin: 14px 0 4px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.lab-card h3 { font: 400 26px/1.1 var(--serif); margin: 0 0 6px; }
.lab-card h3::after { content: " →"; opacity: 0; transition: opacity .2s; }
.lab-card:hover h3::after { opacity: 1; }
.lab-card p:last-child { margin: 0; font-size: 15px; line-height: 1.5; color: #3a3935; }
@media (max-width: 900px) { .lab-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .lab-grid { grid-template-columns: 1fr; } }
.lab-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.lab-meta span { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; }
.lab-meta b { font-weight: 500; color: var(--muted); margin-right: 8px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.lab-page .cs-cover { max-height: 70vh; }

/* ---------- experience: two groups, accordion rows (one open at a time) ---------- */
.tl-groups { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.tl-g { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.timeline { border-top: 1px solid var(--line); }
.tl-row { border-bottom: 1px solid var(--line); }
.tl-head { all: unset; box-sizing: border-box; width: 100%; display: grid; grid-template-columns: 130px 1fr 22px; gap: 18px; align-items: start; padding: 18px 0; cursor: pointer; }
.tl-head:disabled { cursor: default; }
.tl-head:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.tl-when { color: var(--muted); font-size: 15px; font-variant-numeric: tabular-nums; }
.tl-what b { display: block; font-weight: 500; font-size: 17px; }
.tl-what > span { color: var(--muted); font-size: 15px; }
.tl-plus { position: relative; width: 22px; height: 22px; margin-top: 2px; border: 1px solid var(--line); border-radius: 50%; transition: transform .3s, background .2s; }
.tl-plus::before, .tl-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.tl-plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
.tl-row.open .tl-plus { background: var(--ink); }
.tl-row.open .tl-plus::before, .tl-row.open .tl-plus::after { background: var(--bg); }
.tl-row.open .tl-plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.tl-head:hover .tl-plus { border-color: var(--ink); }
.tl-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.tl-body > div { overflow: hidden; padding-left: 148px; }
.tl-row.open .tl-body { grid-template-rows: 1fr; }
.tl-row.open .tl-body > div { padding-bottom: 20px; }
.tl-note { color: #3a3935; font-size: 15px; margin: 0 0 8px; max-width: 52ch; }
.tl-body .inline { font-size: 14px; }
@media (max-width: 900px) { .tl-groups { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .tl-head { grid-template-columns: 1fr 22px; gap: 6px 12px; }
  .tl-when { grid-column: 1 / -1; }
  .tl-what { grid-column: 1; }
  .tl-plus { grid-row: 2; grid-column: 2; }
  .tl-body > div { padding-left: 0; }
}

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 5vw, 72px); }
.about-photo { border-radius: 14px; overflow: hidden; aspect-ratio: 3/4; background: var(--paper); align-self: start; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.about-text p { font-size: 19px; margin: 0 0 18px; max-width: 62ch; }
.about-cols { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(28px, 5vw, 72px); margin-top: clamp(40px, 6vw, 64px); }
.about-cols ul { list-style: none; padding: 0; margin: 0; }
.about-cols li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
@media (max-width: 820px) {
  .about { grid-template-columns: 1fr; }
  .about-photo { max-width: 280px; }
  .about-cols { grid-template-columns: 1fr; }
}

/* ---------- case study ---------- */
.cs-hero { padding-top: clamp(40px, 7vw, 88px); }
.back { display: inline-flex; gap: 8px; color: var(--muted); text-decoration: none; font-size: 14px; margin-bottom: 30px; }
.back:hover { color: var(--ink); }
.cs-hero h1 { font: 400 clamp(56px, 9vw, 128px)/.95 var(--serif); margin: 0 0 18px; letter-spacing: -.02em; }
.cs-tagline { font-size: clamp(20px, 2vw, 26px); color: #3a3935; max-width: 34ch; margin: 0; }
.cs-meta {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px;
}
.cs-meta div span { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.cs-meta div { font-size: 15px; }
@media (max-width: 820px) { .cs-meta { grid-template-columns: 1fr 1fr; } }
.cs-cover { margin-top: 40px; border-radius: 16px; overflow: hidden; background: var(--paper); max-height: 78vh; display: flex; justify-content: center; }
.cs-cover img { width: 100%; object-fit: cover; }
.cs-video video { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.cs-cover img.contain { width: auto; max-height: 72vh; object-fit: contain; padding: 4% 0; }
.notice {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 28px;
  background: var(--warn-soft); color: var(--warn); border-radius: 12px; padding: 14px 18px; font-size: 15px;
}
.notice b { white-space: nowrap; }
.awards { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.cs-links, .ext-links { display: flex; gap: 8px 18px; flex-wrap: wrap; }
.cs-links { margin-top: 22px; }
.ext-links { margin-top: 14px; }
.cs-links a, .ext-links a { font-size: 14px; color: var(--accent); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); padding-bottom: 1px; }
.cs-links a:hover, .ext-links a:hover { border-bottom-color: var(--accent); }

.cs-summary { font: 400 clamp(26px, 3vw, 38px)/1.25 var(--serif); max-width: 30ch; margin: clamp(56px, 8vw, 100px) 0 0; }
.story { margin-top: clamp(40px, 6vw, 72px); }
.blk { margin: 0 0 clamp(36px, 5vw, 64px); }
.blk-text { display: grid; grid-template-columns: 260px 1fr; gap: 24px; }
.blk-text h3 { font: 500 13px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 6px 0 0; }
.blk-text p { margin: 0; font-size: 19px; max-width: 62ch; }
@media (max-width: 820px) { .blk-text { grid-template-columns: 1fr; gap: 8px; } }
.fig { margin: 0; }
.fig .frame { background: var(--paper); border-radius: 14px; overflow: hidden; cursor: zoom-in; }
.fig img { width: 100%; }
.fig figcaption { font-size: 14px; color: var(--muted); padding: 12px 2px 0; max-width: 80ch; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pair .fig { display: flex; flex-direction: column; }
.pair .frame { flex: 1; display: flex; align-items: center; }
.g4 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 720px) { .pair, .g4 { grid-template-columns: 1fr; } }
.quote { border-left: 2px solid var(--accent); padding: 4px 0 4px 24px; max-width: 900px; }
.quote p { font: italic 400 clamp(22px, 2.4vw, 30px)/1.35 var(--serif); margin: 0 0 10px; }
.quote span { font-size: 14px; color: var(--muted); }
.quote .redact { display: inline-block; background: var(--ink); color: transparent; border-radius: 4px; padding: 0 .15em; line-height: 1.05; user-select: none; font-style: normal; }
.quote .quote-note { display: flex; align-items: center; gap: 6px; margin-top: 10px; font: 400 13px var(--sans); font-style: normal; color: var(--warn); }
.cs-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cs-stats div { background: var(--paper); border-radius: 14px; padding: 22px; }
.cs-stats b { display: block; font: 400 48px/1 var(--serif); color: var(--accent); margin-bottom: 6px; }
.cs-stats span { font-size: 14px; color: var(--muted); }
@media (max-width: 720px) { .cs-stats { grid-template-columns: 1fr 1fr; } }
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.cards4 div { background: var(--paper); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.cards4 .card-art { margin: -10px -10px 8px; border-radius: 10px; overflow: hidden; aspect-ratio: 3 / 2; cursor: zoom-in; }
.cards4 .card-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cards4 > div > span:not(.eg) { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cards4 b { font: 400 26px/1.1 var(--serif); color: var(--accent); }
.cards4 p { margin: 0; font-size: 15px; color: var(--muted); }
.cards4 .eg { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font: 400 12.5px var(--sans); color: var(--muted); }
.cards4 .eg i { font-style: normal; display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }
.cards4 .eg img { height: 15px; width: auto; opacity: .78; }
.cards4 .eg img.wm { height: 18px; opacity: .85; }
@media (max-width: 960px) { .cards4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards4 { grid-template-columns: 1fr; } }

/* duo cover: two product views over soft colour blocks */
.cs-duo { position: relative; margin-top: 40px; border-radius: 16px; overflow: hidden; background: #fff; aspect-ratio: 16 / 9; max-height: 80vh; width: 100%; }
.cs-duo .blob { position: absolute; border-radius: clamp(14px, 2.4vw, 30px); opacity: .16; }
.cs-duo .b1 { left: 4%;  top: 40%; width: 30%; height: 28%; background: linear-gradient(90deg, #8fb3dd, #9fd3d9); }
.cs-duo .b2 { left: 44%; top: 8%;  width: 24%; height: 32%; background: linear-gradient(90deg, #8fd19e, #cdebbf); }
.cs-duo .b3 { left: 70%; top: 32%; width: 25%; height: 36%; background: linear-gradient(90deg, #f6cdb4, #ee9fa8); }
.cs-duo .b4 { left: 26%; top: 62%; width: 44%; height: 30%; background: linear-gradient(90deg, #c3bdf0, #b8a3db); }
.cs-duo img { position: absolute; mix-blend-mode: multiply; object-fit: contain; }
.cs-duo .duo-a { left: 20%; top: 7%; height: 86%; width: auto; }
.cs-duo .duo-b { left: 57%; top: 11%; height: 80%; width: auto; }
@media (max-width: 720px) {
  .cs-duo { aspect-ratio: 1 / 1; }
  .cs-duo .duo-a { left: 6%; height: 74%; top: 13%; }
  .cs-duo .duo-b { left: 58%; height: 68%; top: 17%; }
}

/* strip: a compact row of process thumbnails under one label */
.strip-head { display: grid; grid-template-columns: 260px 1fr; gap: 24px; margin-bottom: 14px; align-items: baseline; }
.strip-head h3 { font: 500 13px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0; }
.strip-head p { margin: 0; font-size: 15px; color: var(--muted); max-width: 70ch; }
.strip-row { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 8px; }
.tile { position: relative; background: var(--paper); border-radius: 10px; overflow: hidden; cursor: zoom-in; margin: 0; }
.strip-row .tile { aspect-ratio: var(--ar, 4 / 5); }
.strip-row .tile.span { aspect-ratio: auto; }
.strip-row:not([style*="--ar"]) .tile.span { aspect-ratio: calc(var(--s) * .8 + (var(--s) - 1) * .025); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.tile img.contain { object-fit: contain; padding: 4%; }
.tile:hover img { transform: scale(1.05); }
.tile .n { position: absolute; left: 8px; top: 6px; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tile .cap {
  position: absolute; left: 8px; bottom: 8px; right: 8px; width: fit-content; max-width: calc(100% - 16px);
  font-size: 12px; line-height: 1.3; color: var(--ink); padding: 5px 10px; border-radius: 99px;
  background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(6px);
}
.strip-row .tile .cap { opacity: 0; transform: translateY(4px); transition: .25s; }
.strip-row .tile:hover .cap { opacity: 1; transform: none; }
@media (max-width: 820px) {
  .strip-head { grid-template-columns: 1fr; gap: 6px; }
  .strip-row { grid-template-columns: repeat(min(var(--n), 4), 1fr); }
}
@media (hover: none) { .strip-row .tile .cap { display: none; } }

/* bento: mixed-size collage */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(110px, 12vw, 160px); gap: 10px; grid-auto-flow: dense; }
.bento .tile { grid-column: span var(--c, 2); grid-row: span var(--r, 2); }
.bento .tile img.contain { padding: 5% 5% 13%; }
@media (max-width: 720px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .bento .tile { grid-column: span 1; grid-row: span var(--r, 2); }
  .bento .tile.wide { grid-column: span 2; }
}
.blk-cap { font-size: 14px; color: var(--muted); padding: 12px 2px 0; max-width: 80ch; margin: 0; }

/* split: text beside one image */
.split { display: grid; grid-template-columns: 260px 1fr minmax(240px, 380px); gap: 24px; align-items: center; }
.split h3 { font: 500 13px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0; align-self: start; padding-top: 6px; }
.split p { margin: 0; font-size: 19px; max-width: 52ch; }
.split .tile { aspect-ratio: 4 / 5; }
.split-txt .split-big { font: 400 clamp(30px, 3.6vw, 48px)/1.08 var(--serif); margin: 0 0 16px; max-width: 16ch; }
.split-txt p:last-child { font-size: 17px; color: #3a3935; max-width: 46ch; }
@media (max-width: 1100px) { .split { grid-template-columns: 1fr minmax(220px, 340px); } .split h3 { grid-column: 1 / -1; } }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 12px; } .split .tile { max-width: 380px; } }

.next {
  display: block; text-decoration: none; border-top: 1px solid var(--line);
  padding: 40px 0 0; margin-top: clamp(48px, 7vw, 96px);
}
.next span { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.next h2 { font: 400 clamp(44px, 6vw, 84px)/1 var(--serif); margin: 8px 0 0; transition: color .2s; }
.next:hover h2 { color: var(--accent); }

/* ---------- footer ---------- */
.footer { margin-top: clamp(80px, 10vw, 140px); background: var(--ink); color: #f1efe9; padding: clamp(56px, 8vw, 100px) 0 36px; }
.footer .eyebrow { color: #9c9a93; }
.footer-title { font: 400 clamp(44px, 6.6vw, 92px)/1 var(--serif); margin: 0 0 36px; }
.footer-title em { color: #7fd3aa; }
.footer-links { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-links a, .footer-links .phone-reveal {
  text-decoration: none; border: 1px solid #44433f; border-radius: 99px; padding: 10px 20px; font-size: 16px;
  transition: all .15s;
}
.footer-links a:hover, .footer-links .phone-reveal:hover { background: #f1efe9; color: var(--ink); }
.footer-small { color: #8a8882; font-size: 13px; margin: 56px 0 0; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 50; background: rgba(15,15,15,.94);
  display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 84vh; border-radius: 8px; }
.lb-cap { color: #cfcdc6; font-size: 14px; margin: 14px 0 0; text-align: center; max-width: 80ch; }
.lb-close { position: absolute; top: 14px; right: 18px; background: none; border: 0; color: #fff; font-size: 36px; cursor: pointer; line-height: 1; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* hero entrance — pure CSS so it never depends on scroll/JS timing */
.intro { animation: fadeUp .9s cubic-bezier(.2,.7,.2,1) both; }
.hero .intro:nth-child(2) { animation-delay: .08s; }
.hero .intro:nth-child(3) { animation-delay: .16s; }
.hero .intro:nth-child(4) { animation-delay: .26s; }
.hero .intro:nth-child(5) { animation-delay: .34s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .intro { animation: none; } }

.video { position: relative; aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Scentient interactive demo ---------- */
.sd { display: grid; grid-template-columns: 1fr 300px; gap: clamp(20px, 4vw, 56px); align-items: center;
  background: radial-gradient(120% 90% at 30% 20%, #faf8f3 0%, #ece7dd 60%, #e2dccf 100%); border-radius: 18px; padding: clamp(20px, 4vw, 48px); }
.sd-stage { display: flex; flex-direction: column; align-items: center; gap: 22px; min-width: 0; }
.sd-device { position: relative; width: min(360px, 100%); height: 330px; }
.sd-pods { position: absolute; left: 0; right: 0; bottom: 78px; display: flex; justify-content: center; gap: 34px; }
.sd-pod { position: relative; width: 58px; height: 150px; --i: 0; }
.sd-cap { position: absolute; top: 0; left: 0; right: 0; height: 46px; border-radius: 29px 29px 8px 8px;
  background: linear-gradient(160deg, var(--cs), var(--c) 70%); box-shadow: inset 0 -3px 0 rgba(0,0,0,.08); }
.sd-cap::after { content: ""; position: absolute; left: 50%; top: 10px; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: rgba(0,0,0,.28); }
.sd-body { position: absolute; top: 44px; left: 3px; right: 3px; bottom: 0; border-radius: 4px 4px 26px 26px;
  background: linear-gradient(90deg, var(--c), var(--cs) 55%, var(--c)); opacity: .85; }
.sd-base { position: absolute; left: 0; right: 0; bottom: 18px; height: 128px; border-radius: 26px 26px 34px 34px;
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(250,250,248,.82) 60%, #f1f0ec);
  backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -10px 18px rgba(0,0,0,.05), 0 1px 0 rgba(0,0,0,.04); }
.sd-leds { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); display: flex; gap: 6px; padding: 6px 10px; border-radius: 99px; background: rgba(30,30,30,.06); }
.sd-leds i { width: 9px; height: 9px; border-radius: 50%; transition: background .4s, box-shadow .4s; }
.sd-leds i.lit { box-shadow: 0 0 8px 1px currentColor; color: rgba(255,255,255,.6); }
.sd-shadow { position: absolute; left: 6%; right: 6%; bottom: 4px; height: 22px; border-radius: 50%; background: radial-gradient(closest-side, rgba(60,50,35,.28), transparent); }
.sd-mist { position: absolute; left: 50%; bottom: 140px; width: 70px; height: 160px; margin-left: -35px; pointer-events: none;
  opacity: calc(var(--i) * 1.1); transition: opacity .6s; }
.sd-mist i { position: absolute; left: 50%; bottom: 0; width: 34px; height: 34px; margin-left: -17px; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--cs) 70%, #fff), color-mix(in srgb, var(--cs) 25%, transparent) 60%, transparent); filter: blur(4px);
  animation: sd-rise calc(3.6s - var(--i) * 1.4s) linear infinite; }
.sd-mist i:nth-child(2) { animation-delay: -.9s; } .sd-mist i:nth-child(3) { animation-delay: -1.8s; } .sd-mist i:nth-child(4) { animation-delay: -2.7s; }
@keyframes sd-rise {
  0% { transform: translate(0, 0) scale(.6); opacity: 0; }
  15% { opacity: .9; }
  100% { transform: translate(calc(var(--i) * 18px - 6px), calc(-60px - var(--i) * 90px)) scale(calc(1.8 + var(--i) * 1.6)); opacity: 0; }
}
.sd-status { margin: 0; font-size: 14px; color: var(--muted); text-align: center; min-height: 1.4em; font-variant-numeric: tabular-nums; }

.sd-phone { width: 300px; height: 610px; border-radius: 46px; padding: 10px; background: #1b1c1e; box-shadow: 0 30px 60px -20px rgba(40,30,15,.45), inset 0 0 0 2px #3a3b3e; justify-self: center; }
.sd-screen { position: relative; height: 100%; border-radius: 37px; overflow: hidden; color: #ecebe6; font-size: 13px;
  background: linear-gradient(180deg, #0c0c0c 0%, #1a1a18 45%, #6f6c63 100%); display: flex; flex-direction: column; }
.sd-notch { position: absolute; top: 8px; left: 50%; width: 92px; height: 24px; margin-left: -46px; border-radius: 14px; background: #000; z-index: 2; }
.sd-head { padding: 44px 20px 8px; display: flex; flex-direction: column; gap: 3px; }
.sd-head span:first-child { font-size: 17px; color: #bdbab2; }
.sd-room { font-size: 11px; color: #7fbf8f; } .sd-room::before { content: "● "; }
.sd-view { display: none; flex: 1; flex-direction: column; padding: 4px 18px 10px; min-height: 0; }
.sd-view.on { display: flex; }
.sd-beams { height: 96px; display: flex; justify-content: center; align-items: flex-end; gap: 14px; margin: 6px 0 12px; }
.sd-beams i { width: 22px; border-radius: 6px 6px 3px 3px; height: calc(12px + var(--i, 0) * 80px); transition: height .25s;
  background: linear-gradient(0deg, var(--c), transparent); box-shadow: 0 -2px 14px -2px var(--c); }
.sd-presets { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.sd-presets button, .sd-chips button { font: 500 11.5px var(--sans); color: #e6e4de; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); border-radius: 99px; padding: 5px 10px; cursor: pointer; }
.sd-presets button:hover, .sd-chips button:hover { background: rgba(255,255,255,.14); }
.sd-slider { display: block; margin: 0 0 12px; }
.sd-sl-top { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.sd-sl-top b { font-weight: 500; } .sd-sl-top em { font: 400 10.5px var(--sans); color: #9a978f; flex: 1; }
.sd-sl-top output { font-size: 11px; color: var(--cs); font-variant-numeric: tabular-nums; }
.sd-slider input { width: 100%; accent-color: var(--cs); margin: 0; }
.sd-chat { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 6px 0; scrollbar-width: none; }
.sd-hello { margin: auto 0; text-align: center; display: flex; flex-direction: column; gap: 8px; }
.sd-hello span { color: #8e8b84; letter-spacing: 4px; } .sd-hello b { font-size: 19px; font-weight: 500; }
.sd-msg { max-width: 86%; padding: 8px 11px; border-radius: 14px; line-height: 1.4; font-size: 12.5px; }
.sd-msg.me { align-self: flex-end; background: #ecebe6; color: #151515; border-bottom-right-radius: 4px; }
.sd-msg.bot { align-self: flex-start; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); border-bottom-left-radius: 4px; }
.sd-msg.typing { letter-spacing: 3px; color: #9a978f; }
.sd-applied { display: block; margin-top: 6px; font-size: 10.5px; color: #9fd3a9; }
.sd-chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; padding: 8px 0; }
.sd-ask { display: flex; gap: 6px; background: rgba(255,255,255,.1); border-radius: 14px; padding: 5px 5px 5px 12px; }
.sd-ask input { flex: 1; min-width: 0; background: none; border: 0; color: #fff; font: 13px var(--sans); outline: none; }
.sd-ask input::placeholder { color: #9a978f; }
.sd-ask button { width: 28px; height: 28px; border-radius: 50%; border: 0; background: #ecebe6; color: #151515; cursor: pointer; }
.sd-now { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 3px; margin-top: 6px; }
.sd-tag { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #e05b52; }
.sd-now b { font-size: 15px; font-weight: 500; } .sd-now em { font: 400 11px var(--sans); color: #9a978f; }
.sd-bar { height: 3px; background: rgba(255,255,255,.15); border-radius: 3px; margin-top: 8px; overflow: hidden; }
.sd-bar i { display: block; height: 100%; width: 0; background: #e05b52; transition: width .6s; }
.sd-scenes { list-style: none; margin: 12px 0; padding: 0; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.sd-scenes li { display: flex; gap: 10px; padding: 7px 8px; border-radius: 10px; cursor: pointer; transition: background .2s; }
.sd-scenes li:hover, .sd-scenes li.on { background: rgba(255,255,255,.09); }
.sd-scenes time { font-size: 11px; color: #9a978f; width: 30px; padding-top: 1px; font-variant-numeric: tabular-nums; }
.sd-scenes span { display: flex; flex-direction: column; font-size: 11px; color: #9a978f; } .sd-scenes b { font-weight: 500; font-size: 12.5px; color: #ecebe6; }
.sd-play { font: 500 13px var(--sans); border: 0; border-radius: 12px; padding: 11px; background: #ecebe6; color: #151515; cursor: pointer; }
.sd-nav { display: flex; justify-content: space-around; align-items: center; padding: 10px 14px 18px; background: rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.sd-nav button { font: 500 11.5px var(--sans); background: none; border: 0; color: #c9c6be; cursor: pointer; padding: 6px 8px; border-radius: 8px; }
.sd-nav button.on { color: #fff; background: rgba(255,255,255,.1); }
.sd-nav .sd-orb { width: 42px; height: 42px; border-radius: 50%; margin-top: -26px; color: #2a2108; font-weight: 600;
  background: radial-gradient(circle at 35% 30%, #fff3c4, #d9b24c 55%, #7a5d14); box-shadow: 0 6px 18px -4px rgba(217,178,76,.7); }
.sd-nav .sd-orb.on { color: #2a2108; background: radial-gradient(circle at 35% 30%, #fff8dc, #e8c45e 55%, #8a6a18); outline: 2px solid rgba(255,255,255,.5); }
.sd-note { font-size: 13px; color: var(--muted); margin: 12px 2px 0; }
@media (max-width: 820px) { .sd { grid-template-columns: 1fr; } .sd-device { height: 300px; } }
@media (prefers-reduced-motion: reduce) { .sd-mist i { animation: none; opacity: .5; transform: translateY(-40px) scale(2); } }

/* ---------- Scentient app flow (video in hand) ---------- */
.af { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center;
  background: radial-gradient(90% 80% at 25% 45%, #3a3834 0%, #23221f 45%, #151513 100%); color: #ecebe6; border-radius: 18px; padding: clamp(20px, 3.5vw, 44px); overflow: hidden; }
.af-stage { position: relative; width: min(100%, 480px); aspect-ratio: 700 / 1005; justify-self: center;
  -webkit-mask-image: radial-gradient(60% 56% at 50% 48%, #000 55%, transparent 98%); mask-image: radial-gradient(60% 56% at 50% 48%, #000 55%, transparent 98%); }
.af-hand { position: absolute; inset: 0; width: 100%; height: 100%; }
.af-screen { position: absolute; left: 25.86%; top: 16.92%; width: 39.29%; height: 58.71%; object-fit: cover; border-radius: 9% / 4.3%; background: #111; }
.af-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.af-brand { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.af-logo { width: 78px; }
.af-ual { width: 118px; opacity: .85; }
.af-kicker { margin: 4px 0 0; font: 400 clamp(26px, 2.6vw, 34px)/1.1 var(--serif); }
.af-chapters { display: flex; flex-direction: column; gap: 6px; }
.af-act > span { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #8f8c84; margin: 4px 0 2px; }
.af-chapters button { position: relative; display: grid; grid-template-columns: 38px 1fr; column-gap: 8px; width: 100%; text-align: left; background: none; border: 0; color: inherit; font: inherit; padding: 5px 10px 5px 8px; border-radius: 8px; cursor: pointer; overflow: hidden; }
.af-chapters button:hover { background: rgba(255,255,255,.05); }
.af-chapters time { font-size: 11.5px; color: #8f8c84; padding-top: 2px; font-variant-numeric: tabular-nums; grid-row: span 2; }
.af-chapters b { font-weight: 500; font-size: 14px; }
.af-chapters em { font: 400 12px var(--sans); color: #9a978f; grid-column: 2; display: none; }
.af-chapters button.on em { display: block; }
.af-chapters button i { position: absolute; left: 0; bottom: 0; height: 2px; width: calc(var(--p, 0) * 100%); background: #9fd3a9; opacity: 0; }
.af-chapters button.on { background: rgba(255,255,255,.08); }
.af-chapters button.on i { opacity: 1; }
.af-chapters button.on time { color: #9fd3a9; }
.af-ctrl { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.af-play { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: none; color: #ecebe6; cursor: pointer; font-size: 11px; }
.af-bar { flex: 1; height: 4px; background: rgba(255,255,255,.14); border-radius: 4px; cursor: pointer; overflow: hidden; }
.af-bar i { display: block; height: 100%; width: 0; background: #ecebe6; }
.af-time { font-size: 12px; color: #9a978f; font-variant-numeric: tabular-nums; min-width: 34px; }
@media (max-width: 820px) { .af { grid-template-columns: 1fr; } .af-stage { width: min(100%, 360px); } }

a.inline { color: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 55%, transparent); text-underline-offset: 3px; }
a.inline:hover { color: var(--accent); }

/* ---------- Vistaro analysis ---------- */
.va { display: flex; flex-direction: column; gap: 16px; }
.va-card { background: var(--paper); border-radius: 16px; padding: clamp(18px, 3vw, 32px); }
.va-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 18px; }
.va-head b { font: 400 clamp(22px, 2.2vw, 28px)/1.15 var(--serif); }
.va-head span { font-size: 13px; color: var(--muted); }
.va { --low: #f3e3b3; --med: #f4b183; --high: #e8705f; --fix: #8fd3c0; }
.va-phase { display: grid; grid-template-columns: 130px 1fr; gap: 12px; align-items: start; padding: 10px 0; border-top: 1px solid var(--line); }
.va-phase-name { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 8px; }
.va-steps { display: flex; flex-wrap: wrap; gap: 6px; }
.va-step { display: inline-flex; align-items: center; gap: 8px; font: 500 13.5px var(--sans); color: var(--ink); background: var(--bg); border: 1px solid transparent; border-radius: 99px; padding: 7px 12px 7px 9px; cursor: pointer; transition: border-color .15s, transform .15s; }
.va-step i { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.va-step.h-low i { background: var(--low); } .va-step.h-med i { background: var(--med); } .va-step.h-high i { background: var(--high); box-shadow: 0 0 0 4px color-mix(in srgb, var(--high) 22%, transparent); }
.va-step.h-high { background: color-mix(in srgb, var(--high) 12%, var(--paper)); }
.va-step:hover, .va-step.on { border-color: var(--ink); }
.va-legend { display: flex; gap: 16px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.va-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.va-legend .h-low { background: var(--low); } .va-legend .h-med { background: var(--med); } .va-legend .h-high { background: var(--high); }
.va-why { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--bg); font-size: 14.5px; min-height: 1.4em; }
.va-matrix { overflow-x: auto; }
.va-matrix .va-row { display: grid; grid-template-columns: minmax(180px, 1.6fr) 64px repeat(3, minmax(52px, .5fr)) repeat(4, minmax(64px, .6fr)); gap: 4px; align-items: stretch; width: 100%; min-width: 720px; background: none; border: 0; padding: 0; font: inherit; color: inherit; text-align: left; margin-bottom: 4px; }
.va-row[data-i] { cursor: pointer; border-radius: 8px; }
.va-row[data-i]:hover .va-title, .va-row.on .va-title { background: var(--ink); color: var(--paper); }
.va-title { font-size: 13.5px; padding: 9px 10px; border-radius: 6px; background: var(--bg); transition: background .15s, color .15s; }
.va-sev, .va-cell { border-radius: 6px; background: var(--bg); min-height: 34px; }
.va-sev.s2 { background: var(--high); } .va-sev.s1 { background: var(--med); }
.va-cell.c.on { background: #c9c6bf; } .va-cell.f.on { background: var(--fix); }
.va-colhead span { font-size: 11px; line-height: 1.2; color: var(--muted); padding: 0 4px 4px; align-self: end; text-align: center; }
.va-groups { display: grid; grid-template-columns: minmax(180px, 1.6fr) 64px minmax(160px, 1.5fr) minmax(268px, 2.4fr); gap: 4px; min-width: 720px; margin-bottom: 6px; }
.va-groups .g { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; text-align: center; border-top: 2px solid; padding-top: 4px; }
.va-groups .g.c { color: #8b877f; border-color: #c9c6bf; } .va-groups .g.f { color: #2f8a72; border-color: var(--fix); }
.va-total .va-title { background: none; font-size: 12px; color: var(--muted); text-align: right; }
.va-n { text-align: center; font: 400 22px var(--serif); color: #2f8a72; padding-top: 4px; }
.va-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.va-detail > div { background: var(--bg); border-radius: 10px; padding: 14px 16px; }
.va-detail p { margin: 4px 0 0; font-size: 14.5px; }
.va-k { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.va-k.go { color: #2f8a72; }
.va-detail > div:last-child { background: color-mix(in srgb, var(--fix) 22%, var(--paper)); }
.va-det { background: #1f1f1d; color: #ecebe6; }
.va-det .va-head span { color: #9a978f; }
.va-rings { margin: 4px auto 0; max-width: 820px; }
.va-ring { border: 1px solid rgba(255,255,255,.18); border-radius: 18px; padding: 10px 14px 14px; margin-top: 6px; }
.va-ring > span { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; justify-content: center; text-align: center; margin-bottom: 4px; }
.va-ring b { font: italic 400 15px var(--sans); color: #d9d6cf; } .va-ring em { font: 400 12px var(--sans); color: #8f8c84; font-style: normal; }
.va-ring.r4 { border-color: #f07b3f; background: rgba(240,123,63,.08); padding: 16px; }
.va-ring.r4 b { color: #fff; font-style: normal; font-weight: 500; }
.va-arrows { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 16px auto 0; max-width: 820px; font-size: 13px; font-weight: 500; }
.va-arrows .now { color: #f07b3f; } .va-arrows .whatif { color: #57c98a; }
.va-arrows .now::before { content: "↘ "; } .va-arrows .whatif::after { content: " ↗"; }
.va-take { margin: 20px auto 0; max-width: 820px; border-left: 2px solid #57c98a; padding: 4px 0 4px 18px; font-size: 15px; color: #d9d6cf; }
.va-take b { color: #57c98a; font-weight: 500; }
@media (max-width: 720px) { .va-phase { grid-template-columns: 1fr; gap: 6px; } .va-detail { grid-template-columns: 1fr; } }
.va-colhead .va-title, .va-total .va-title { background: none; }

/* ---------- impact ("why it matters") ---------- */
.impact { background: var(--paper); border-radius: 18px; padding: clamp(20px, 3.5vw, 40px); }
.impact h3 { font: 500 13px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.im-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.im-stats div { border-top: 2px solid var(--ink); padding-top: 12px; }
.im-stats b { display: block; font: 400 clamp(30px, 3.4vw, 46px)/1.05 var(--serif); margin-bottom: 6px; }
.im-stats div:nth-child(2) b { color: #c2412d; }
.im-stats span { font-size: 15px; color: var(--muted); }
.im-lead { font: 400 clamp(24px, 2.6vw, 34px)/1.2 var(--serif); margin: clamp(28px, 4vw, 44px) 0 18px; max-width: 26ch; }
.im-reach { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.im-reach span { font-size: 13.5px; font-weight: 500; padding: 14px 10px; border-radius: 10px; text-align: center;
  background: color-mix(in srgb, var(--accent) calc(100% - var(--i) * 20%), var(--bg)); }
.im-reach span:nth-child(-n+2) { color: #fff; }
.im-axis { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 8px; }
.im-axis span:first-child::before { content: "← "; } .im-axis span:last-child::after { content: " →"; }
.im-note { margin: 18px 0 0; font-size: 16px; max-width: 70ch; color: var(--ink); }
@media (max-width: 720px) { .im-stats { grid-template-columns: 1fr; } .im-reach { grid-template-columns: 1fr; } .im-axis { display: none; } }
.cs-note { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 900px; margin-top: calc(-1 * clamp(18px, 3vw, 40px)); }
.cs-note > div { display: flex; gap: 8px; align-items: flex-start; background: var(--warn-soft); color: var(--warn); border-radius: 10px; padding: 10px 13px; }
.cs-note svg { flex: none; margin-top: 4px; }
.cs-note p { margin: 0; font-size: 13px; line-height: 1.45; color: #5f3c0d; }
.cs-note b { color: var(--warn); font-weight: 600; }
@media (max-width: 720px) { .cs-note { grid-template-columns: 1fr; } }
.cs-note-ic { display: inline-flex; gap: 4px; align-items: center; flex: none; margin-top: 3px; }
.cs-note-ic svg { margin-top: 0; }
.cs-note > div.outlook { background: var(--accent-soft); color: var(--accent); }
.cs-note > div.outlook p { color: #1f4d39; }
.cs-note > div.outlook b { color: var(--accent); }
.cs-note a.inline { text-decoration-color: currentColor; }

/* sound toggle on cover video; self-hosted video blocks */
.cs-video { position: relative; }
.sound-btn { position: absolute; right: 16px; bottom: 16px; font: 500 13px var(--sans); color: #fff; background: rgba(20,20,20,.55); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.3); border-radius: 99px; padding: 8px 14px; cursor: pointer; }
.sound-btn[aria-pressed="true"] { background: var(--accent); border-color: transparent; }
.video.self { aspect-ratio: auto; background: #111; border-radius: 14px; overflow: hidden; }
.video.self video { width: 100%; display: block; }
.fig-narrow { max-width: 540px; margin-left: auto; margin-right: auto; }

/* ---------- Ghungroo demo ---------- */
.gd { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; background: radial-gradient(90% 90% at 30% 40%, #2a1214 0%, #160b0c 60%, #0e0808 100%); color: #f1e9de; border-radius: 18px; padding: clamp(20px, 3.5vw, 44px); outline: none; }
.gd-stage { position: relative; min-height: 360px; display: flex; align-items: center; justify-content: center; }
.gd-feet { display: flex; gap: clamp(18px, 4vw, 48px); position: relative; z-index: 1; }
.gd-foot { --f: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; background: none; border: 0; color: inherit; cursor: pointer; padding: 0; touch-action: manipulation; }
.gd-pad { position: relative; width: clamp(110px, 14vw, 150px); height: 210px; border-radius: 16px; border: 1px dashed rgba(241,233,222,.25);
  background: linear-gradient(180deg, rgba(241,233,222,.03), rgba(212,168,92,.14)); }
.gd-hint { position: absolute; left: 0; right: 0; text-align: center; font: 400 11px var(--sans); font-style: normal; color: rgba(241,233,222,.45); top: 10px; letter-spacing: .08em; text-transform: uppercase; }
.gd-hint.b { top: auto; bottom: 72px; color: rgba(241,233,222,.7); }
.gd-band { width: clamp(120px, 15vw, 162px); height: 46px; margin-top: -60px; border-radius: 12px; position: relative;
  background: linear-gradient(180deg, #7a1420, #a51d2b 45%, #6d111b); box-shadow: inset 0 -4px 0 rgba(0,0,0,.25), 0 10px 24px -10px rgba(0,0,0,.7); display: flex; align-items: center; justify-content: center; }
.gd-band::before { content: ""; position: absolute; left: 6px; right: 6px; top: 9px; bottom: 9px; border-radius: 4px;
  background: repeating-linear-gradient(115deg, #c9a24e 0 6px, #e6c47a 6px 9px, #b48a3a 9px 14px); opacity: .95; }
.gd-pod { position: relative; z-index: 1; width: 56px; height: 34px; border-radius: 12px; background: #0d0d0d; border: 2px solid #d9b36a; display: flex; gap: 6px; align-items: center; justify-content: center; }
.gd-pod i { width: 6px; height: 6px; border-radius: 50%; background: #1f6b3a; transition: background .1s, box-shadow .1s; }
.gd-foot.hit .gd-pod i { animation: gd-led .5s ease-out; }
@keyframes gd-led { 0% { background: #6dff9a; box-shadow: 0 0 calc(6px + var(--f) * 14px) #4dff88; } 100% { background: #1f6b3a; box-shadow: none; } }
.gd-foot.hit .gd-band { animation: gd-bump .25s ease-out; }
@keyframes gd-bump { 0% { transform: translateY(calc(var(--f) * 6px)); } 100% { transform: none; } }
.gd-key { font: 500 12px var(--sans); color: rgba(241,233,222,.6); border: 1px solid rgba(241,233,222,.25); border-radius: 6px; padding: 2px 8px; }
.gd-ripples { position: absolute; inset: 0; pointer-events: none; }
.gd-ripples i { --f: .5; position: absolute; top: 62%; width: 40px; height: 40px; margin: -20px; border-radius: 50%; border: 2px solid rgba(230,196,122,.7);
  animation: gd-rip .9s ease-out forwards; }
.gd-ripples i.r-L { left: 32%; } .gd-ripples i.r-R { left: 68%; }
@keyframes gd-rip { to { transform: scale(calc(2 + var(--f) * 7)); opacity: 0; } }
.gd.phones .gd-stage::after { content: "🎧"; position: absolute; top: 4px; right: 4px; font-size: 22px; opacity: .8; }
.gd-k { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #d9b36a; margin: 0 0 6px; }
.gd-lead { margin: 0 0 16px; font-size: 15px; color: rgba(241,233,222,.85); }
.gd kbd { font: 500 12px var(--sans); border: 1px solid rgba(241,233,222,.35); border-radius: 4px; padding: 0 5px; }
.gd-read { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.gd-read div { background: rgba(255,255,255,.05); border-radius: 10px; padding: 10px; }
.gd-read span { display: block; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(241,233,222,.5); }
.gd-read b { font: 400 24px var(--serif); color: #f1e9de; }
.gd-mode { display: flex; flex-wrap: wrap; gap: 6px; }
.gd-mode button, .gd-play { font: 500 13px var(--sans); color: #f1e9de; background: rgba(255,255,255,.06); border: 1px solid rgba(241,233,222,.2); border-radius: 99px; padding: 8px 13px; cursor: pointer; }
.gd-mode button.on { background: #d9b36a; color: #1a0d0e; border-color: transparent; }
.gd-room { font-size: 13px; color: rgba(241,233,222,.6); margin: 10px 0 16px; } .gd-room b { color: #f1e9de; font-weight: 500; }
.gd-play { background: #a51d2b; border-color: transparent; }
.gd-bols { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.gd-bols span { font: italic 400 16px var(--serif); color: rgba(241,233,222,.4); transition: color .1s, transform .1s; }
.gd-bols span.on { color: #e6c47a; transform: translateY(-2px); }
@media (max-width: 820px) { .gd { grid-template-columns: 1fr; } .gd-stage { min-height: 300px; } .gd-pad { height: 170px; } }
.fig figcaption { white-space: pre-line; }
.gd-sub { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(241,233,222,.55); margin-bottom: 6px; }
.gd-sub em { font-style: normal; text-transform: none; letter-spacing: 0; }
.gd-mat { margin: 0 0 14px; }
.gd-mat button { font: 500 12.5px var(--sans); color: #f1e9de; background: rgba(255,255,255,.06); border: 1px solid rgba(241,233,222,.2); border-radius: 8px; padding: 6px 11px; margin: 0 4px 4px 0; cursor: pointer; }
.gd-mat button.on { background: #e6c47a; color: #1a0d0e; border-color: transparent; }
.gd-matnote { margin: 4px 0 0; font-size: 12.5px; color: rgba(241,233,222,.6); }
.gd-weight { grid-column: 1 / -1; border-top: 1px solid rgba(241,233,222,.12); padding-top: 18px; }
.gd-wtop { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; margin-bottom: 10px; }
.gd-wtop .gd-sub { margin: 0; }
.gd-wtop label { display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(241,233,222,.8); }
.gd-wtop input { accent-color: #e6c47a; width: 160px; }
.gd-wtop b { font: 400 20px var(--serif); min-width: 34px; }
.gd-bar { display: grid; grid-template-columns: 190px 1fr 120px; gap: 12px; align-items: center; margin: 6px 0; font-size: 13px; }
.gd-bar span { color: rgba(241,233,222,.7); }
.gd-bar div { height: 12px; border-radius: 6px; background: rgba(255,255,255,.06); overflow: hidden; }
.gd-bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #b48a3a, #e6c47a); transition: width .3s; }
.gd-bar.smart i { background: #4dd17e; }
.gd-bar b { font: 400 18px var(--serif); text-align: right; }
.gd-bar.smart b { font: 500 13px var(--sans); color: #8fe3ad; }
.gd-wnote { margin: 8px 0 0; font-size: 11.5px; color: rgba(241,233,222,.45); }
@media (max-width: 720px) { .gd-bar { grid-template-columns: 1fr 90px; } .gd-bar span { grid-column: 1 / -1; } }

/* ---------- explain (quick visual summary) ---------- */
.ex-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ex-cols > div { background: var(--paper); border-radius: 14px; padding: 18px 20px; }
.ex-cols span { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ex-cols b { display: block; font: 400 24px/1.15 var(--serif); margin: 4px 0 6px; }
.ex-cols p { margin: 0; font-size: 15px; color: var(--muted); }
.ex-arrow { text-align: center; font-size: 22px; color: var(--accent); margin: 8px 0; }
.ex-new { background: var(--ink); color: var(--bg); border-radius: 16px; padding: clamp(18px, 3vw, 28px); }
.ex-new p { margin: 0 0 12px; font: 400 clamp(22px, 2.4vw, 30px)/1.2 var(--serif); }
.ex-new div { display: flex; flex-wrap: wrap; gap: 8px; }
.ex-new span { font-size: 14px; padding: 8px 14px; border-radius: 99px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); }
.ex-new span:first-child { background: var(--accent); border-color: transparent; color: #fff; }
@media (max-width: 720px) { .ex-cols { grid-template-columns: 1fr; } }
.gd-sens { margin: 0 0 14px; }
.gd-sens button { font: 500 12.5px var(--sans); color: #f1e9de; background: rgba(255,255,255,.06); border: 1px solid rgba(241,233,222,.2); border-radius: 8px; padding: 6px 11px; margin: 0 4px 4px 0; cursor: pointer; }
.gd-sens button.on { background: #e6c47a; color: #1a0d0e; border-color: transparent; }
.gd-rows { position: absolute; left: 6px; right: 6px; bottom: 58px; display: flex; flex-direction: column-reverse; gap: 3px; opacity: 0; transition: opacity .6s; pointer-events: none; }
.gd-rows.show { opacity: 1; transition: opacity .15s; }
.gd-rows i { display: flex; justify-content: space-between; opacity: calc(.85 - var(--r) * .09); }
.gd-rows b { width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff2c4, #d9a842 55%, #7a5a18); box-shadow: 0 1px 2px rgba(0,0,0,.5); }
.gd-both { margin: 2px 0 0; font-size: 13px; color: rgba(241,233,222,.7); }
.gd-both b { font: 400 17px var(--serif); color: #f1e9de; }
.gd-both { display: inline-block; padding: 4px 10px; margin-left: -10px; border-radius: 8px; transition: background .6s, color .6s; }
.gd-both.hi { background: rgba(230,196,122,.18); color: #f1e9de; transition: background .15s, color .15s; }
.gd-both.hi b { color: #e6c47a; }
.gd-both b { transition: color .6s; }

/* ---------- icons + lighter visual blocks ---------- */
.ic { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); flex: none; }
.ex-cols .ic, .cards4 .ic { margin-bottom: 4px; }
.jr { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; counter-reset: jr; position: relative; }
.jr li { background: var(--paper); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 6px; position: relative; }
.jr li:not(:last-child)::after { content: "→"; position: absolute; right: -10px; top: 26px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); color: var(--accent); font-size: 13px; display: flex; align-items: center; justify-content: center; z-index: 1; }
.jr b { font: 400 21px/1.15 var(--serif); }
.jr span:not(.ic) { font-size: 14px; color: var(--muted); }
.vc { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vc figure { margin: 0; background: var(--paper); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.vc .ic { width: 30px; height: 30px; border-radius: 9px; background: var(--bg); color: var(--muted); }
.vc .ic svg { width: 17px; height: 17px; }
.vc blockquote { margin: 0; font: italic 400 19px/1.35 var(--serif); }
.vc figcaption { font-size: 13px; color: var(--muted); margin-top: auto; }
.vc figure.dim { background: transparent; border: 1px dashed var(--line); }
.vc figure.dim blockquote { font-size: 17px; color: var(--muted); }
.vc figure.key { background: var(--ink); color: var(--bg); }
.vc figure.key .ic { background: rgba(255,255,255,.1); color: #e6c47a; }
.vc figure.key figcaption { color: rgba(245,244,240,.6); }
.statement { border-left: 3px solid var(--accent); padding: 4px 0 4px clamp(16px, 2.5vw, 28px); max-width: 920px; }
.st-k { font: 500 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.st-big { font: 400 clamp(24px, 2.7vw, 34px)/1.22 var(--serif); margin: 8px 0 10px; }
.st-small { margin: 0; font-size: 15.5px; color: var(--muted); max-width: 70ch; }
@media (max-width: 820px) { .jr { grid-template-columns: 1fr 1fr; } .jr li::after { display: none; } }
@media (max-width: 560px) { .vc, .jr { grid-template-columns: 1fr; } }
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 10px; align-items: stretch; }
.duo-img { background: #fff; border-radius: 14px; }
.duo-img img { object-fit: contain; padding: 4% 4% 12%; }
.duo-vid { background: #111; border-radius: 14px; overflow: hidden; display: flex; align-items: center; }
.duo-vid video { width: 100%; display: block; }
@media (max-width: 720px) { .duo { grid-template-columns: 1fr; } .duo-img { aspect-ratio: 3 / 4; } }
.duo-img { position: relative; min-height: 280px; }
.duo-img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.duo { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.9fr); }
@media (max-width: 720px) { .duo { grid-template-columns: 1fr; } .duo-img { aspect-ratio: auto; height: min(440px, 110vw); } }

/* ---------- product showcase (cut-outs on warm ground) ---------- */
.pd { background: radial-gradient(120% 90% at 30% 20%, #fbf7f0 0%, #f1e8da 70%, #eadfcd 100%); border-radius: 18px; padding: clamp(18px, 3.5vw, 44px); }
.pd figure { margin: 0; cursor: zoom-in; }
.pd img { width: 100%; display: block; filter: drop-shadow(0 22px 26px rgba(90, 50, 20, .22)); }
.pd-top { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(16px, 3vw, 40px); align-items: center; }
.pd-side { display: flex; flex-direction: column; gap: 12px; }
.pd-side img { filter: drop-shadow(0 14px 18px rgba(90, 50, 20, .2)); }
.pd figcaption b { display: block; font: 400 20px/1.2 var(--serif); }
.pd figcaption span { font-size: 13px; color: var(--muted); }
.pd-side figcaption { border-left: 2px solid #b8862f; padding-left: 10px; }
.pd-wide { max-width: 520px; margin: clamp(10px, 2vw, 24px) auto 0; }
.pd-k { font: 500 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: clamp(22px, 3vw, 36px) 0 12px; }
.pd-states { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pd-states figure { background: rgba(255,255,255,.55); border-radius: 12px; padding: 10px 10px 12px; cursor: default; }
.pd-states img { border-radius: 8px; filter: none; }
.pd-states figcaption { padding: 8px 4px 0; }
.pd-states figcaption b { font-size: 17px; }
.vtile video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vtile { cursor: default; }
@media (max-width: 820px) { .pd-top { grid-template-columns: 1fr; } .pd-states { grid-template-columns: 1fr 1fr; } }
/* status lights: one module that cross-fades through each state (2.5 s each) */
.pd-cycle { --step: 2.5s; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 36px); align-items: center; }
.pd-cyc-img { position: relative; aspect-ratio: 900 / 379; }
.pd-cyc-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 16px 20px rgba(90,50,20,.2));
  opacity: 0; animation: pd-cyc calc(var(--step) * var(--n)) infinite; animation-delay: calc(var(--step) * var(--i)); }
.pd-cyc-img img:first-child { opacity: 1; }
@keyframes pd-cyc { 0% { opacity: 0; } 6% { opacity: 1; } 25% { opacity: 1; } 31% { opacity: 0; } 100% { opacity: 0; } }
.pd-cyc-lbl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.pd-cyc-lbl li { padding: 8px 12px; border-radius: 10px; opacity: .38; animation: pd-lbl calc(var(--step) * var(--n)) infinite; animation-delay: calc(var(--step) * var(--i)); }
.pd-cyc-lbl b { display: block; font: 400 19px/1.2 var(--serif); } .pd-cyc-lbl span { font-size: 13px; color: var(--muted); }
@keyframes pd-lbl { 0% { opacity: .38; background: transparent; } 6%, 25% { opacity: 1; background: rgba(255,255,255,.6); } 31%, 100% { opacity: .38; background: transparent; } }
@media (max-width: 720px) { .pd-cycle { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .pd-cyc-img img { animation: none; } .pd-cyc-img img:not(:first-child) { display: none; } .pd-cyc-lbl li { animation: none; opacity: 1; } }

/* live card preview: still by default, the clip cross-fades in while playing */
.card-img.live { background: #170a0b; }
.card-img.live .card-still { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.card-img.live video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s ease; }
.card-img.live.playing video { opacity: 1; }
.card:hover .card-img.live .card-still { transform: scale(1.035); }
.card-img.live .card-num { color: rgba(255,255,255,.75); z-index: 1; }
.card-img.live:has(video[src*="sc-card"]) { background: #e9e5dc; }
.card-img.live:has(video[src*="sc-card"]) .card-num { color: var(--muted); }

/* ---------- Dr. Cookie demo ---------- */
/* cycle: one frame cross-fading through states */
.cy { --step: 2.4s; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 40px); align-items: center; background: var(--paper); border-radius: 18px; padding: clamp(16px, 3vw, 36px); }
.cy-img { position: relative; aspect-ratio: 836 / 589; border-radius: 12px; overflow: hidden; }
.cy-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: pd-cyc calc(var(--step) * var(--n)) infinite; animation-delay: calc(var(--step) * var(--i)); }
.cy-img img:first-child { opacity: 1; }
.cy-k { font: 500 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.cy-cap { font: 400 clamp(20px, 2vw, 26px)/1.25 var(--serif); margin: 0 0 14px; }
.cy-lbl li { animation-duration: calc(var(--step) * var(--n)); }
@media (max-width: 720px) { .cy { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .cy-img img { animation: none; } .cy-img img:not(:first-child) { display: none; } }
.cy.has-beside { grid-template-columns: 1fr 1fr; align-items: stretch; }
.cy.has-beside .cy-beside { border-radius: 12px; overflow: hidden; aspect-ratio: 836 / 694; }
.cy.has-beside .cy-beside img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.cy.has-beside .cy-img { aspect-ratio: 836 / 694; }
.cy.has-beside .cy-side { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; }
.cy.has-beside .cy-cap { margin: 0; flex: 1 1 320px; }
.cy.has-beside .cy-k { flex-basis: 100%; }
.cy.has-beside .cy-lbl { display: flex; flex-direction: row; flex-wrap: wrap; gap: 4px 16px; margin: 0; padding: 0; }
@media (max-width: 720px) { .cy.has-beside { grid-template-columns: 1fr; } }
.jr li.has-art { padding: 0 0 18px; background: #f3efe8; }
.jr li.has-art::after { top: 22%; }
.jr li.has-art b, .jr li.has-art span { padding: 0 16px; }
.jr-art { border-radius: 14px 14px 0 0; width: 100%; aspect-ratio: 545 / 255; object-fit: contain; display: block; margin-bottom: 6px; }
/* journey with illustrations: one row, art on top, arrows between */
.jr.jr-big { grid-template-columns: repeat(4, 1fr); gap: 30px; counter-reset: jrb; }
.jr.jr-big li { counter-increment: jrb; display: flex; flex-direction: column; gap: 6px; padding: 0 0 18px; background: #f3efe8; }
.jr.jr-big .jr-art { aspect-ratio: 4 / 3; border-radius: 14px 14px 0 0; margin: 0 0 6px; mix-blend-mode: multiply; }
.jr.jr-big li b, .jr.jr-big li span { padding: 0 16px; }
.jr.jr-big li b { font-size: 22px; }
.jr.jr-big li b::before { content: "0" counter(jrb); display: block; font: 500 12px var(--sans); letter-spacing: .12em; color: var(--muted); margin-bottom: 6px; }
.jr.jr-big li span { font-size: 14px; }
.jr.jr-big li:not(:last-child)::after { display: flex; content: "→"; right: -30px; top: calc(37.5% - 15px); transform: none; left: auto; bottom: auto; width: 30px; height: 30px; font-size: 16px; background: var(--accent); color: #fff; box-shadow: 0 0 0 4px var(--bg); z-index: 2; }
@media (max-width: 900px) { .jr.jr-big { grid-template-columns: 1fr 1fr; } .jr.jr-big li::after { display: none !important; } }
@media (max-width: 480px) { .jr.jr-big { grid-template-columns: 1fr; } }

/* Dr. Cookie demo: blend → AI-shaped base → base & sauce → print and cook */
.cd { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; background: radial-gradient(100% 90% at 30% 35%, #fbf4e8 0%, #f1e3cc 70%, #ead8bb 100%); border-radius: 18px; padding: clamp(20px, 3.5vw, 44px); }
.cd-stage { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cd-cookie { width: min(100%, 380px); height: auto; overflow: visible; --dough: #dcb27a; --dough2: #b98a52; --jam: #c8213a; }
.cd-dough { fill: var(--dough); transition: fill .5s; }
.cd-pk { transition: transform .8s cubic-bezier(.5,0,.25,1); }
.cd-hole { fill: var(--dough2); transition: fill .5s; }
.cd-jam { fill: var(--jam); transform: scale(1); transition: transform .45s cubic-bezier(.3,1.5,.5,1), fill .4s; }
.cd-gloss { fill: #fff; opacity: .4; transition: opacity .3s; }
.cd-raw { fill: #f4ead6; opacity: 0; transition: opacity 1s; pointer-events: none; }
.cd-printl { opacity: 0; transition: opacity .4s; }
.cd-path { fill: none; stroke: #e4c99a; stroke-width: 14.5; stroke-linecap: round; stroke-linejoin: round; }
.cd-path.cd-track { stroke: #a8743d; stroke-width: 1; opacity: .45; }
.cd-heat { opacity: 0; transition: opacity .5s; pointer-events: none; }
.cd-body { transition: opacity .5s; }
.cd-cookie.empty .cd-jam { transform: scale(0); } .cd-cookie.empty .cd-gloss { opacity: 0; }
.cd-cookie.raw .cd-raw { opacity: .75; }
.cd-cookie.printing .cd-body { opacity: 0; } .cd-cookie.printing .cd-printl { opacity: 1; }
.cd-cookie.heating .cd-heat { opacity: 1; animation: cd-pulse .55s ease-in-out infinite alternate; }
@keyframes cd-pulse { to { opacity: .45; } }
.cd-status { margin: 0; font-size: 13.5px; color: var(--muted); text-align: center; min-height: 1.4em; }
.cd-k { font: 500 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #a8743d; margin: 0 0 12px; }
.cd-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.cd-sub { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.cd-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cd-chips.sm + .cd-chips.sm { margin-top: 6px; }
.cd-chips button { font: 500 13.5px var(--sans); color: var(--ink); background: rgba(255,255,255,.65); border: 1px solid rgba(120,80,40,.2); border-radius: 99px; padding: 8px 14px; cursor: pointer; transition: background .2s, color .2s; }
.cd-chips.sm button { font-size: 12.5px; padding: 6px 12px; }
.cd-chips button[aria-pressed="true"] { background: #2b1a10; color: #fbf4e8; border-color: transparent; }
.cd-about { margin: 8px 0 0; font: 400 19px/1.25 var(--serif); }
.cd-nut { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cd-nut li { background: rgba(255,255,255,.55); border-radius: 8px; padding: 5px 10px; font-size: 13px; display: flex; gap: 6px; }
.cd-nut span { color: var(--muted); }
.cd-read { margin: 8px 0 0; font-size: 13px; color: #8a5a2c; }
.cd-print { margin-top: 18px; font: 500 14px var(--sans); background: #c8213a; color: #fff; border: 0; border-radius: 99px; padding: 11px 20px; cursor: pointer; transition: opacity .2s; }
.cd.busy .cd-print { opacity: .45; cursor: default; }
.cd-note { margin: 16px 0 0; display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: #6b3d12; background: #fff4d6; border: 1px solid #f0cf86; border-radius: 12px; padding: 10px 14px; }
.cd-note svg { flex: none; margin-top: 1px; color: #c07a10; } .cd-note b { font-weight: 600; }
@media (max-width: 820px) { .cd { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .cd-pk, .cd-jam { transition: none; } }
.card-img.live:has(img[src*="dc-card-still"]) .card-num { color: var(--muted); }
.hero { overflow-x: clip; }

/* swatches: the original ideas board, one square per idea */
.sw { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px 16px; }
.sw li { display: flex; flex-direction: column; gap: 6px; }
.sw img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; transition: transform .3s, opacity .3s; opacity: .5; }
.sw li.sw-made img { opacity: 1; box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--accent); }
.sw li:hover img { transform: translateY(-3px); opacity: 1; }
.sw b { font-weight: 500; font-size: 14px; line-height: 1.3; }
.sw em { font-style: normal; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 640px) { .sw { grid-template-columns: repeat(3, 1fr); } }
.split .tile.natural { aspect-ratio: auto; }
.split .tile.natural img { height: auto; object-fit: contain; padding: 0; }

/* table: comparison with image column headers */
.tbl-wrap { overflow-x: auto; background: var(--paper); border-radius: 14px; padding: clamp(14px, 2vw, 24px); }
.tbl { width: 100%; border-collapse: collapse; table-layout: fixed; min-width: 520px; }
.tbl thead th { padding: 0 8px 14px; vertical-align: bottom; font-weight: 500; }
.tbl:not(:has(colgroup)) thead th:first-child { width: 22%; }
.tbl thead img { display: block; width: 100%; max-width: 220px; aspect-ratio: 1; object-fit: cover; border-radius: 10px; margin: 0 auto 10px; }
.tbl thead span { display: block; text-align: center; font: 400 22px/1.1 var(--serif); }
.tbl tbody th { text-align: left; font: 500 12px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 14px 8px; }
.tbl td { text-align: center; padding: 14px 8px; font-size: 16px; border-top: 1px solid var(--line); }
.tbl tbody th { border-top: 1px solid var(--line); }

.statement.has-logo { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); }
.st-logo { width: clamp(96px, 12vw, 150px); height: auto; flex: none; }
@media (max-width: 480px) { .statement.has-logo { flex-direction: column; align-items: flex-start; } }
.tbl thead th > span:only-child { font: 500 12px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tbl.text-first tbody th { text-transform: none; letter-spacing: 0; font: 500 15px var(--sans); color: var(--ink); }
.tbl tr.pick th, .tbl tr.pick td { background: var(--accent-soft); }
.tbl tr.pick th em { display: block; margin-top: 4px; font-style: normal; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.tbl td.sev-major { color: #c0392b; font-weight: 500; }
.tbl.text-first td:nth-child(2) { text-align: left; }
.tbl td.v-major { color: #c0392b; font-weight: 500; }
.tbl td.v-moderate { color: #b7791f; font-weight: 500; }
.tbl td.v-minor { color: var(--muted); }

/* current roles: a green "Now" marker so the present phase reads at a glance */
.tl-now { display: flex; align-items: center; color: var(--accent); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.tl-row.is-now .tl-when { color: var(--ink); }

.hero h1 .rot { display: inline-block; transition: opacity .35s ease, transform .35s ease, filter .35s ease; }
.hero h1 .rot.out { opacity: 0; transform: translateY(.18em); filter: blur(4px); }
.hero h1 .nw { white-space: nowrap; }
.hero .eyebrow .nw { white-space: nowrap; }
.footer-alt { margin: 16px 0 0; font-size: 14px; color: #a9a7a1; }
.footer-alt a { color: #d6d4ce; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.3); overflow-wrap: anywhere; }
.footer-alt a:hover { color: #fff; }

.footer-links { align-items: center; }
.footer-links .ic-btn { width: 46px; height: 46px; padding: 0; display: inline-grid; place-items: center; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; font: inherit; }
.footer-links .phone-num { display: inline-flex; align-items: center; gap: 8px; }
.about-text .about-belief { font: 400 clamp(24px, 2.6vw, 32px)/1.25 var(--serif); color: var(--ink); max-width: 30ch; margin: 0 0 26px; padding-left: 18px; border-left: 3px solid var(--accent); }
.about-cols .tools li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: baseline; }
.about-cols .tools li b { font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 560px) { .about-cols .tools li { grid-template-columns: 1fr; gap: 2px; } }

/* chapter: divides a multi-project page into clear parts */
.blk.chapter { border-top: 1px solid var(--line); padding-top: clamp(36px, 5vw, 56px); margin-top: clamp(28px, 4vw, 48px); }
.story > .blk.chapter:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.chapter .ch-k { font: 500 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.chapter h2 { font: 400 clamp(32px, 4vw, 52px)/1.05 var(--serif); margin: 8px 0 12px; }
.chapter p { margin: 0; font-size: 18px; color: #3a3935; max-width: 60ch; }

/* narrower Education column: date sits above the title */
.tl-group + .tl-group .tl-head { grid-template-columns: 1fr 22px; gap: 4px 12px; }
.tl-group + .tl-group .tl-when { grid-column: 1 / -1; }
.tl-group + .tl-group .tl-plus { grid-row: 2; grid-column: 2; }
.tl-group + .tl-group .tl-body > div { padding-left: 0; }
/* quieter indicator: a small chevron, shown on hover / when open instead of a circled + on every row */
.tl-plus { border: 0; border-radius: 0; width: 14px; height: 14px; margin-top: 5px; opacity: .4; transition: opacity .2s, transform .3s; }
.tl-plus::before { width: 8px; height: 8px; background: none; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translate(-50%, -70%) rotate(45deg); }
.tl-plus::after { display: none; }
.tl-row.open .tl-plus { background: none; opacity: 1; transform: rotate(180deg); }
.tl-row.open .tl-plus::before { background: none; border-color: var(--ink); }
.tl-head:hover .tl-plus, .tl-head:focus-visible .tl-plus { opacity: 1; }
.tl-head:not(:disabled):hover .tl-what b { color: var(--accent); }

/* About hierarchy: L1 serif title · L2 belief pull-quote · L3 body · L4 lists · L5 labels (one style) */
.about-text .about-belief { font-size: clamp(28px, 3vw, 36px); line-height: 1.2; }
.about-text p:not(.about-belief) { font-size: 18px; line-height: 1.65; }
.eyebrow, .tl-g { font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.about-cols .tools li b { text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 500; color: var(--muted); }

.showcase.no-anim a { transition: none; }

/* worked-with band + work summary */
.with { background: #ebeae4; padding: clamp(22px, 3vw, 34px) 0; margin-top: clamp(36px, 5vw, 60px); }
.with-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px clamp(20px, 3vw, 44px); }
.with-row span { font: 400 clamp(19px, 1.7vw, 24px)/1.15 var(--serif); color: #4d4b46; white-space: nowrap; }
.with-row img { width: auto; max-width: 100%; filter: brightness(0); opacity: .62; }
.summary { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 5vw, 72px); align-items: center; background: #ebeae4; border-radius: clamp(20px, 3vw, 36px); padding: clamp(28px, 5vw, 64px); margin-top: clamp(36px, 5vw, 64px); }
.summary h2 { font: 400 clamp(44px, 6vw, 80px)/1 var(--serif); letter-spacing: -.02em; margin: 0; }
.summary p { margin: 0; font-size: 18px; line-height: 1.6; color: #3a3935; }
.summary .summary-lead { color: var(--ink); font-weight: 500; margin-bottom: 10px; }
@media (max-width: 760px) { .summary { grid-template-columns: 1fr; } .with-row { justify-content: flex-start; } }
.summary-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #d8d6cf; padding-top: clamp(20px, 3vw, 32px); gap: 20px; }
.summary-stats b { display: block; font: 400 clamp(38px, 4.5vw, 60px)/1 var(--serif); margin-bottom: 8px; }
.summary-stats span { display: block; font-size: 15px; line-height: 1.4; color: var(--muted); max-width: 22ch; }
@media (max-width: 760px) { .summary-stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 1040px) { .with-row { justify-content: center; } }
.tools-closer { font: 400 clamp(20px, 1.8vw, 24px)/1.2 var(--serif); color: var(--accent); margin: 18px 0 0; }

/* minimal footer: one statement, then a single quiet row of contact details */
.footer { padding: clamp(48px, 6vw, 80px) 0 28px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; column-gap: 32px; align-items: end; }
.footer-title { grid-column: 1 / -1; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.05; max-width: 21ch; margin: 0 0 clamp(36px, 5vw, 64px); }
.footer-title em { display: block; }
.footer-links { grid-column: 2; grid-row: 2 / span 2; justify-self: end; }
.footer-alt { grid-column: 1; grid-row: 2; margin: 0 0 4px; font-size: 13px; }
.footer-small { grid-column: 1; grid-row: 3; margin: 0; }
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { grid-column: 1; grid-row: auto; justify-self: start; margin-bottom: 20px; }
  .footer-alt, .footer-small { grid-column: 1; grid-row: auto; }
  .footer-alt { margin-bottom: 8px; }
}
@media (max-width: 480px) {
  .footer-links { gap: 8px; flex-wrap: nowrap; }
  .footer-links a:not(.ic-btn) { font-size: 14px; padding: 10px 14px; white-space: nowrap; }
  .footer-links .ic-btn { width: 40px; height: 40px; flex: none; }
}

/* footer top edge: noise resolving into a single line */
.footer { position: relative; }
.footer-wave { position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); width: 100%; height: clamp(44px, 6.5vw, 90px); display: block; pointer-events: none; }
.footer-wave path { fill: var(--ink); }

/* intro: noise to signal */
#intro { display: none; }
.intro-on { overflow: hidden; }
.intro-on #intro { display: flex; position: fixed; inset: 0; z-index: 1000; background: var(--bg); flex-direction: column; justify-content: center; align-items: center; transition: opacity .4s ease; }
.intro-line { width: 100%; height: 120px; display: block; overflow: visible; }
.intro-line path { fill: none; stroke: var(--ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; transition: stroke .3s; }
#intro.clean .intro-line path { stroke: var(--accent); }
.intro-logo { height: 26px; margin-bottom: 8px; color: var(--ink); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.intro-logo .brand-mark { display: block !important; height: 26px; width: auto; max-width: 80vw; }
#intro.clean .intro-logo { opacity: 1; transform: none; }
#intro.out { opacity: 0; pointer-events: none; }

/* reels: a wall of vertical films */
.reels { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.reel { all: unset; box-sizing: border-box; cursor: pointer; display: block; }
.reel video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 12px; background: #111; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.reel:hover video { transform: translateY(-4px); }
.reel:focus-visible video { outline: 2px solid var(--accent); outline-offset: 2px; }
.reel span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.3; color: var(--muted); }
@media (max-width: 900px) {
  .reels { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: calc(var(--pad) * -1); padding-right: var(--pad); scrollbar-width: none; }
  .reels::-webkit-scrollbar { display: none; }
  .reel { scroll-snap-align: start; }
}
.reel-modal { position: fixed; inset: 0; z-index: 900; background: rgba(15,15,14,.92); display: grid; place-items: center; padding: 20px; }
.reel-modal video { height: min(88vh, 900px); max-width: 100%; aspect-ratio: 9 / 16; border-radius: 12px; background: #000; }
.reel-close { position: absolute; top: 14px; right: 18px; width: 44px; height: 44px; font-size: 30px; line-height: 1; color: #f1efe9; background: none; border: 0; cursor: pointer; }

/* film block: steps beside a vertical film */
.film { display: grid; grid-template-columns: 1fr minmax(0, 380px); gap: 48px; align-items: center; }
.film h3 { font: 500 13px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.film-big { font: 400 clamp(34px, 4.4vw, 60px)/1.05 var(--serif); margin: 0 0 28px; max-width: 12ch; }
.film ol { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.film li { counter-increment: s; display: flex; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(0,0,0,.1); font-size: 17px; max-width: 420px; }
.film li::before { content: "0" counter(s); color: var(--muted); font-size: 13px; line-height: 1.7; }
.film-vid { margin: 0; }
.film-vid video { width: 100%; display: block; border-radius: 14px; background: #111; }
@media (max-width: 820px) { .film { grid-template-columns: 1fr; gap: 24px; } .film-vid { max-width: 340px; } }

/* Swapit: try the module */
.swp-stage { display: grid; grid-template-columns: 290px 1fr; gap: 14px; background: #e9ebee; border-radius: 18px; padding: clamp(12px, 2vw, 22px); }
.swp-phone { position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: 22px; padding: 16px 14px 14px; height: 462px; overflow: hidden; }
.swp-top { display: flex; align-items: baseline; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.swp-top b { font: 400 24px/1 var(--serif); }
.swp-top span { font-size: 13px; color: var(--muted); }
.swp-note { position: absolute; left: 10px; right: 10px; top: 10px; z-index: 2; background: var(--ink); color: #fff; font-size: 13.5px; padding: 11px 14px; border-radius: 12px; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s; pointer-events: none; }
.swp-note.on { opacity: 1; transform: none; }
.swp-log { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 12px 0; }
.swp-b { margin: 0; font-size: 14.5px; line-height: 1.35; padding: 9px 12px; border-radius: 14px; max-width: 88%; }
.swp-b.bot { background: #f0f1f3; align-self: flex-start; }
.swp-b.me { background: var(--accent); color: #fff; align-self: flex-end; }
.swp-dots { display: flex; gap: 4px; padding: 13px 12px; }
.swp-dots i { width: 6px; height: 6px; border-radius: 50%; background: #8d9199; animation: swdot 1s infinite; }
.swp-dots i:nth-child(2) { animation-delay: .15s; } .swp-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes swdot { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
.swp-chips { display: flex; flex-direction: column; gap: 6px; min-height: 40px; }
.swp-chips button { font: inherit; font-size: 13.5px; line-height: 1.25; text-align: left; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s; }
.swp-chips button:hover { border-color: var(--accent); background: var(--accent-soft); }
.swp-chips button.go { background: var(--ink); border-color: var(--ink); color: #fff; text-align: center; }
.swp-chips em { text-transform: none; letter-spacing: 0; font-family: var(--sans); font-weight: 400; font-style: normal; font-size: 13.5px; color: var(--accent); padding: 4px 2px; }
.swp-floor { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-top: 42px; --mw: 196px; --mh: 158px; align-items: start; touch-action: pan-y; }
.swp-app { border-radius: 16px; overflow: hidden; background: #f7f8fa; }
.swp-app svg { display: block; width: 100%; height: auto; }
.swp-panel { height: calc(var(--mh) + 28px); display: flex; align-items: center; justify-content: center; background: #eff1f4; border-bottom: 1px solid #dcdfe4; }
.swp-panel.swp-dark { background: #1f242b; border-color: #111; }
.swp-mount { position: relative; width: var(--mw); height: var(--mh); border-radius: 14px; border: 2px solid transparent; background: transparent; padding: 0; font: inherit; color: var(--muted); cursor: default; }
.swp-mount.free { border: 2px dashed #b4bac2; cursor: pointer; }
.swp-dark .swp-mount.free { border-color: #59616c; color: #c6ccd4; }
.swp-mount span { display: block; padding: 0 12px; font-size: 13px; line-height: 1.3; }
.swp-mount.busy { border-style: solid; border-color: var(--accent); color: var(--accent); }
.swp-dark .swp-mount.busy { border-color: #4ade80; color: #4ade80; }
.swp-mod { position: absolute; left: 0; top: 0; width: var(--mw); height: var(--mh); box-sizing: border-box; padding: 8px 8px 16px; background: #17191d; border-radius: 12px; box-shadow: 0 8px 18px rgba(0,0,0,.28); cursor: grab; touch-action: none; user-select: none; transition: transform .45s cubic-bezier(.2,.8,.2,1); z-index: 3; }
.swp-mod.still { transition: none; }
.swp-mod.held { cursor: grabbing; box-shadow: 0 16px 30px rgba(0,0,0,.36); }
.swp-mod canvas { display: block; width: 100%; height: auto; border-radius: 3px; background: #000; pointer-events: none; }
.swp-mod i { position: absolute; left: 50%; bottom: 5px; width: 44px; height: 5px; margin-left: -22px; border-radius: 3px; background: #3a3e45; }
.swp-water { opacity: 0; }
.swp-app.full .swp-water { opacity: .85; }
.swp-app.dry .swp-water { opacity: 0; }
.swp-drum { transform-origin: 150px 142px; }
.swp-app.run .swp-drum, .swp-app.run .swp-fan { animation: swspin 1.5s linear infinite; }
.swp-fan { transform-origin: 150px 120px; }
.swp-ring { opacity: 0; }
.swp-app.done .swp-ring { opacity: 1; }
.swp-glow { opacity: var(--h, 0); }
.swp-food { opacity: 0; transition: opacity .3s; }
.swp-app.food .swp-food { opacity: 1; }
@keyframes swspin { to { transform: rotate(360deg); } }
.explain .blk-cap { margin-top: 10px; }
@media (max-width: 1040px) { .swp-floor { --mw: 164px; --mh: 133px; } }
@media (max-width: 900px) { .swp-stage { grid-template-columns: 1fr; } .swp-phone { height: 400px; order: 2; } }
@media (max-width: 480px) { .swp-floor { gap: 8px; --mw: 150px; --mh: 122px; } }
.swp > .strip-head { display: block; margin-bottom: 14px; }
.swp > .strip-head p { max-width: 62ch; margin: 6px 0 0; }
@media (min-width: 901px) { .swp-phone { height: auto; contain: size; } }
.film-body { font-size: 18px; line-height: 1.45; color: var(--muted); max-width: 40ch; margin: 0; }
.swp-snd { margin-left: auto; align-self: center; font: inherit; font-size: 12px; padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; }
.swp-snd[aria-pressed="false"] { color: #a4a29c; }

/* Swapit: problem board */
.pb-lead { font: 500 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.pb-photos { display: grid; grid-template-columns: 1.79fr 1.57fr 1.61fr; gap: 14px; }
.pb-photos .fig { margin: 0; }
.pb-photos .frame { position: relative; overflow: hidden; border-radius: 12px; }
.pb-photos .fig:nth-child(1) .frame { aspect-ratio: 1.79; }
.pb-photos .fig:nth-child(2) .frame { aspect-ratio: 1.57; }
.pb-photos .fig:nth-child(3) .frame { aspect-ratio: 1.61; }
.pb-photos figcaption { font-size: 14px; line-height: 1.35; margin-top: 8px; }
.pb-photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pb-mark { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; border: 2.5px solid #ff4b3e; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
.pb-pains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: clamp(24px, 3.5vw, 40px); }
.pb-pains > div { display: flex; align-items: flex-start; gap: 14px; padding-left: 20px; border-left: 1px solid var(--line); }
.pb-pains > div:first-child { padding-left: 0; border-left: 0; }
.pb-pains .ic { flex: none; width: 54px; height: 54px; border-radius: 50%; color: var(--ink); }
.pb-pains .ic svg { width: 28px; height: 28px; }
.pb-pains b { display: block; font: 400 21px/1.15 var(--serif); margin-bottom: 5px; }
.pb-pains p { margin: 0; font-size: 15px; line-height: 1.4; color: var(--muted); }
.pb-hmw { background: var(--ink); color: var(--bg); border-radius: 16px; padding: clamp(20px, 3vw, 32px); margin-top: clamp(24px, 3.5vw, 40px); }
.pb-hmw span { display: block; font: 500 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 10px; }
.pb-hmw p { margin: 0; font: 400 clamp(24px, 2.8vw, 36px)/1.15 var(--serif); max-width: 34ch; }
@media (max-width: 980px) { .pb-pains { grid-template-columns: 1fr 1fr; gap: 22px 20px; } .pb-pains > div:nth-child(odd) { padding-left: 0; border-left: 0; } }
@media (max-width: 820px) { .pb-photos { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .pb-pains { grid-template-columns: 1fr; } .pb-pains > div { padding-left: 0; border-left: 0; } }
.explain.round .ic { border-radius: 50%; color: var(--ink); }
.pb-who { margin-top: clamp(28px, 4vw, 44px); padding-top: clamp(22px, 3vw, 32px); border-top: 1px solid var(--line); }
.pb-who .pb-lead { margin-bottom: 6px; }
.pb-line { margin: 0; font: 400 clamp(22px, 2.4vw, 30px)/1.15 var(--serif); max-width: 40ch; }
.pb-who .pb-pains { margin-top: 20px; }
.pb-pains.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .pb-pains.three { grid-template-columns: 1fr; gap: 16px; } .pb-pains.three > div { padding-left: 0; border-left: 0; } }

/* pre-launch: comfortable tap targets, nothing wider than a small phone */
@media (max-width: 720px) { .nav nav a:not(.nav-cta) { padding: 10px 0; } .back { display: inline-block; padding: 8px 0; } }
@media (max-width: 380px) { .footer-links { flex-wrap: wrap; } .footer-title { overflow-wrap: anywhere; } }
@media (max-width: 360px) { .sd-phone { width: 100%; max-width: 300px; } }

/* phone-only hint above interactive demos */
.demo-tip { display: none; }
@media (max-width: 720px), (hover: none) and (pointer: coarse) {
  .demo-tip { display: block; margin: 0 2px 10px; font-size: 13px; color: var(--muted); }
}

/* "drag to swap" arrow over the two appliances */
.swp-hint { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 4; transition: opacity .25s; --hc: #e8772e; }
.swp-hint[data-to="washer"] { --hc: #3d8fe0; }
.swp-hint-line { fill: none; stroke: var(--hc); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 7 8; animation: swpflow .9s linear infinite; }
.swp-hint-head { fill: var(--hc); }
.swp-hint-text { fill: var(--hc); font: 600 13px var(--sans); letter-spacing: .01em; }
@keyframes swpflow { to { stroke-dashoffset: -15; } }
.swp-floor:has(.swp-mod.held) .swp-hint { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .swp-hint-line { animation: none; } }

/* tools: one tag per tool; reads as a dotted line on desktop, small pills on phones */
.tools li i { font-style: normal; }
.tools li i + i::before { content: " · "; }
@media (max-width: 560px) {
  /* lighter Experience / About on phones */
  .tl-head { padding: 13px 0; gap: 3px 12px; }
  .tl-when { font-size: 13px; }
  .tl-what b { font-size: 16px; }
  .tl-what > span { font-size: 13.5px; }
  .tl-note { font-size: 14.5px; line-height: 1.55; }
  .about-text .about-belief { font-size: 24px; margin-bottom: 20px; }
  .about-text p:not(.about-belief) { font-size: 16px; line-height: 1.6; margin-bottom: 14px; }
  .about-photo { max-width: 220px; }
  .about-cols { gap: 32px; }
  .about-cols li { font-size: 14px; padding: 8px 0; }
  .about-cols .tools li { border-bottom: 0; padding: 0 0 14px; gap: 7px; }
  .about-cols .tools li b { font-size: 13px; }
  .tools li span { display: flex; flex-wrap: wrap; gap: 6px; }
  .tools li i { font-size: 13px; line-height: 1; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
  .tools li i + i::before { content: none; }
  .tools-closer { font-size: 19px; margin-top: 6px; }
}
@media (max-width: 560px) {
  .footer-title { font-size: 26px; line-height: 1.12; margin-bottom: 28px; }
}
