/* ===== v16 fonts: served from this site (no Google). Michroma = the wordmark's family; Geist = text ===== */
@font-face { font-family: "Michroma"; src: url(fonts/michroma.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url(fonts/geist-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url(fonts/geist-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist"; src: url(fonts/geist-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
/* Endor — shared styles. Mobile first. */
:root {
  --bg: #E8E5E0;
  --bg-a: rgba(232, 229, 224, .86);
  --ink: #191613;
  --muted: #5A534D;
  --line: #C9C2B9;
  --sun: #E2622B;
  --rust: #9E3D16;
  --night: #191613;
  --night-muted: #C4BAB0;
  --night-line: #3A332E;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: Geist, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --gut: clamp(20px, 6vw, 112px);
  --max: 1280px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.night :focus-visible { outline-color: var(--bg); }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--ink); color: var(--bg); padding: 12px 16px; text-decoration: none; }
.skip:focus { top: 16px; }

/* the sun canvas */
#sun { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.wrap { position: relative; z-index: 1; width: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin: 0 auto; padding-inline: var(--gut); }

/* frame + vertical language switch (desktop only) */
.frame { display: none; }
.edge-lang { display: none; }
@media (min-width: 900px) {
  .frame { display: block; position: fixed; inset: 14px; z-index: 30; border: 1px solid var(--line); pointer-events: none; }
  .edge-lang { display: flex; flex-direction: column-reverse; gap: 2px; position: fixed; left: 6px; bottom: 28px; z-index: 31; background: var(--bg); }
  .edge-lang a { display: flex; align-items: center; justify-content: center; width: 32px; min-height: 56px; text-decoration: none; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 12px; font-weight: 500; letter-spacing: .08em; color: var(--muted); }
  .edge-lang a[aria-current] { color: var(--ink); }
  .edge-lang a::before { content: ""; width: 8px; height: 8px; margin-bottom: 8px; border: 1px solid var(--ink); }
  .edge-lang a[aria-current]::before { background: var(--ink); }
}

/* header */
.site { position: sticky; top: 0; z-index: 40; transition: background .4s, box-shadow .4s; }
.site.solid { background: var(--bg-a); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
@media (min-width: 900px) { .site .wrap { min-height: 96px; padding-top: 10px; } }
.brand { display: inline-flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); min-height: 44px; justify-content: center; }
.brand svg { width: 104px; height: auto; }
.brand small { font-size: 12px; color: var(--muted); display: none; }
@media (min-width: 900px) { .brand small { display: block; } .brand svg { width: 112px; } }
.nav { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
  .nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--muted); transition: color .3s; }
  .nav a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; border: 1px solid var(--line); transition: background .3s, border-color .3s; }
  .nav a:hover, .nav a[aria-current] { color: var(--ink); }
  .nav a:hover::before { border-color: var(--ink); }
  .nav a[aria-current]::before { background: var(--ink); border-color: var(--ink); }
}
.menu-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; padding: 0 4px 0 12px; background: none; border: 0; font-size: 15px; font-weight: 500; cursor: pointer; }
.menu-btn i { position: relative; display: block; width: 22px; height: 1px; background: currentColor; transition: transform .4s var(--ease); }
.menu-btn i::after { content: ""; position: absolute; left: 0; top: 6px; width: 22px; height: 1px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-btn[aria-expanded=true] i { transform: translateY(3px) rotate(45deg); }
.menu-btn[aria-expanded=true] i::after { top: 0; transform: rotate(-90deg); }
@media (min-width: 900px) { .menu-btn { display: none; } }
.drawer { position: fixed; inset: 0; z-index: 35; background: var(--bg); display: flex; flex-direction: column; justify-content: space-between; padding: 104px var(--gut) 32px; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.drawer.open { opacity: 1; visibility: visible; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer li { overflow: hidden; }
.drawer a.big { display: flex; align-items: baseline; gap: 14px; padding: 6px 0; text-decoration: none; font: 400 clamp(44px, 13vw, 72px)/1.02 var(--serif); text-transform: uppercase; transform: translateY(100%); transition: transform .7s var(--ease); }
.drawer a.big span { font: 500 12px var(--sans); color: var(--muted); letter-spacing: .06em; }
.drawer.open a.big { transform: none; }
.drawer li:nth-child(2) a.big { transition-delay: .05s; } .drawer li:nth-child(3) a.big { transition-delay: .1s; } .drawer li:nth-child(4) a.big { transition-delay: .15s; } .drawer li:nth-child(5) a.big { transition-delay: .2s; }
.drawer a.big[aria-current] { color: var(--rust); }
.drawer .foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; font-size: 15px; }
.langs { display: flex; gap: 4px; }
.langs a { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 44px; border: 1px solid var(--line); text-decoration: none; font-size: 12px; font-weight: 500; letter-spacing: .06em; }
.langs a[aria-current] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
body.locked { overflow: hidden; }

/* type */
.label { font-size: 12px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.label.acc { color: var(--rust); }
.night .label { color: var(--night-muted); }
.night .label.acc { color: #F2A27A; }
.display { font: 400 clamp(50px, 12.6vw, 128px)/.88 var(--serif); text-transform: uppercase; letter-spacing: -.01em; }
.h2 { font: 400 clamp(36px, 6.4vw, 72px)/.98 var(--serif); letter-spacing: -.01em; }
.h3 { font: 400 clamp(26px, 3.4vw, 36px)/1.05 var(--serif); }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 36em; }
.night .lead { color: var(--night-muted); }
.it { font-family: var(--serif); font-style: italic; }

/* buttons + links */
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 52px; padding: 0 22px; background: var(--ink); color: var(--bg); border: 1px solid var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn:hover { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.night .btn { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.night .btn:hover { background: var(--sun); border-color: var(--sun); }
.ar { display: inline-block; transition: transform .45s var(--ease); }
a:hover .ar, button:hover .ar { transform: translateX(5px); }
.u { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.u:hover, .u.on { background-size: 100% 1px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 520px) { .actions .btn { flex: 1 1 100%; } }

/* sections */
.sec { padding-block: clamp(72px, 12vw, 160px); position: relative; z-index: 1; }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 6vw, 64px); }
@media (min-width: 900px) { .sec-head { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: end; gap: 48px; } .sec-head .lead { justify-self: end; } }
.rule { height: 1px; background: var(--line); }
.night { background: var(--night); color: var(--bg); position: relative; z-index: 1; }
.panel { background: var(--bg-a); }

/* reveal on scroll */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s ease, transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.js .split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.js .split.in .w > span { transform: none; }

/* ---------- COVER ---------- */
.cover { position: relative; z-index: 1; min-height: calc(100svh - 72px); display: flex; flex-direction: column; justify-content: flex-end; gap: 32px; padding-top: calc(72vw + 24px); padding-bottom: 40px; }
@media (min-width: 760px) { .cover { padding-top: 48px; justify-content: space-between; min-height: calc(100svh - 96px); } }
.cover h1 .ln { display: block; }
.cover h1 .ln:nth-child(2) { padding-left: clamp(24px, 9vw, 160px); }
.cover h1 .ln:nth-child(3) { padding-left: clamp(48px, 18vw, 320px); }
.cover .after { display: block; margin-top: 18px; font: italic 400 clamp(26px, 3.8vw, 48px)/1.05 var(--serif); text-transform: none; color: var(--rust); padding-left: clamp(48px, 18vw, 320px); }
.js .cover .after { opacity: 0; transform: translateY(14px); animation: after 1.4s var(--ease) 2.2s forwards; }
@keyframes after { to { opacity: 1; transform: none; } }
.cover-foot { display: grid; gap: 28px; }
@media (min-width: 760px) { .cover-foot { grid-template-columns: 1fr auto; align-items: end; } }
.cover-foot .bio { max-width: 320px; font-size: 12px; font-weight: 600; line-height: 1.45; }
.hint { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0; background: none; border: 0; font-size: 12px; color: var(--muted); cursor: pointer; }
.hint .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); animation: blink 2.2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.hint:hover { color: var(--ink); }

/* ---------- WHY ---------- */
.why { display: grid; gap: 32px; }
@media (min-width: 900px) { .why { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 64px; align-items: end; } }
.why p.body { font-size: 17px; color: var(--muted); }
.why p.body + p.body { margin-top: 16px; }

/* ---------- ROUTER ---------- */
.router { display: grid; gap: 12px; }
@media (min-width: 900px) { .router { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 24px; } }
.tabs { display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.tab { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 64px; padding: 14px 4px; background: none; border: 0; border-bottom: 1px solid var(--line); text-align: left; font: 400 clamp(20px, 2.2vw, 26px)/1.2 var(--sans); letter-spacing: -.015em; color: var(--muted); cursor: pointer; transition: color .3s, padding .4s var(--ease); }
.tab .n { font-size: 12px; font-weight: 500; letter-spacing: .07em; color: var(--muted); flex: 0 0 auto; }
.tab:hover { color: var(--ink); }
.tab[aria-selected=true] { color: var(--ink); padding-left: 14px; }
.tab[aria-selected=true] .n { color: var(--sun); }
.tab.urgent[aria-selected=true] { color: var(--rust); }
.tabpanel { background: var(--bg-a); border: 1px solid var(--line); padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 22px; }
.tabpanel h3 { font: 400 clamp(28px, 3.2vw, 40px)/1.02 var(--serif); }
.steps-mini { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps-mini li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); }
.steps-mini li::before { content: "0" counter(s); font-size: 12px; font-weight: 500; color: var(--rust); padding-top: 3px; }
.js .tabpanel.swap > * { animation: swap .6s var(--ease) both; }
.js .tabpanel.swap > *:nth-child(2) { animation-delay: .05s; } .js .tabpanel.swap > *:nth-child(3) { animation-delay: .1s; } .js .tabpanel.swap > *:nth-child(4) { animation-delay: .15s; }
@keyframes swap { from { opacity: 0; transform: translateY(10px); } }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.chips li { padding: 6px 12px; border: 1px solid var(--line); font-size: 12px; }
.night .chips li { border-color: var(--night-line); }

/* ---------- SERVICES ACCORDION ---------- */
.accordion { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.accordion > li { border-bottom: 1px solid var(--line); }
.acc-btn { display: grid; grid-template-columns: 40px minmax(0, 1fr) 28px; align-items: baseline; gap: 4px 16px; width: 100%; padding: 22px 4px; background: none; border: 0; text-align: left; cursor: pointer; transition: background .35s; }
.acc-btn:hover { background: rgba(226, 98, 43, .07); }
.acc-btn .n { font-size: 12px; font-weight: 500; letter-spacing: .07em; color: var(--muted); }
.acc-btn .t { font: 400 clamp(26px, 3.2vw, 40px)/1.05 var(--serif); }
.acc-btn .d { grid-column: 2; color: var(--muted); font-size: 15px; }
.acc-btn .pm { position: relative; width: 16px; height: 16px; align-self: center; grid-row: 1; grid-column: 3; }
.acc-btn .pm::before, .acc-btn .pm::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 1px; background: currentColor; transition: transform .4s var(--ease); }
.acc-btn .pm::after { transform: rotate(90deg); }
.acc-btn[aria-expanded=true] .pm::after { transform: rotate(0); }
@media (min-width: 900px) { .acc-btn { grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1fr) 28px; } .acc-btn .d { grid-column: 3; grid-row: 1; } .acc-btn .pm { grid-column: 4; } }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.acc-body > div { overflow: hidden; }
.acc-body.open { grid-template-rows: 1fr; }
.acc-inner { display: grid; gap: 20px; padding: 4px 4px 28px; }
@media (min-width: 900px) { .acc-inner { grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1fr); gap: 16px; } .acc-inner > :first-child { grid-column: 2; } }
.list { list-style: none; margin: 0; padding: 0; }
.list li { padding: 9px 0; border-top: 1px solid var(--line); }
.night .list li { border-color: var(--night-line); }

/* ---------- DIAL ---------- */
.dial-wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .dial-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }
.dial { position: relative; width: min(100%, 460px); aspect-ratio: 1; margin-inline: auto; }
.dial svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.dial .seg { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; border: 1px solid var(--night-line); background: var(--night); color: var(--night-muted); display: flex; align-items: center; justify-content: center; text-align: center; font-size: 12px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; transition: background .4s, color .4s, border-color .4s, transform .5s var(--ease); }
.dial .seg:hover { color: var(--bg); border-color: var(--bg); }
.dial .seg[aria-pressed=true] { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.dial .core { position: absolute; inset: 24%; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 12px; }
.dial .core .h3 { color: var(--bg); }
.dial .core p { font-size: 15px; color: var(--night-muted); max-width: 22ch; }
.dial .core.swap > * { animation: swap .5s var(--ease) both; }
@media (max-width: 420px) { .dial .seg { width: 64px; height: 64px; margin: -32px 0 0 -32px; font-size: 10px; } .dial .core p { font-size: 12px; } }

/* ---------- DAY ARC (process) ---------- */
.day { position: relative; }
.js .day { height: 260vh; }
.day .stick { padding-block: clamp(72px, 10vw, 140px); }
.js .day .stick { position: sticky; top: 0; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: 88px 40px; }
.arc { width: 100%; height: auto; max-height: 34vh; margin: 8px 0 24px; overflow: visible; }
.arc .hz { stroke: var(--ink); stroke-width: 1; }
.arc .path { fill: none; stroke: var(--line); stroke-width: 1.2; stroke-dasharray: 3 7; }
.arc .done { fill: none; stroke: var(--sun); stroke-width: 1.6; }
.arc .mk { fill: var(--bg); stroke: var(--sun); stroke-width: 1.5; }
.arc .orb { fill: var(--sun); }
.daysteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
@media (min-width: 900px) { .daysteps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; } }
.daysteps li { border-top: 1px solid var(--line); padding-top: 12px; transition: opacity .5s, border-color .5s; }
.js .daysteps li { opacity: .35; }
.js .daysteps li.on { opacity: 1; border-color: var(--ink); }
.daysteps .n { font-size: 12px; font-weight: 500; color: var(--rust); letter-spacing: .07em; }
.daysteps h3 { font: 400 clamp(26px, 3vw, 34px)/1.05 var(--serif); margin: 6px 0; }
.daysteps p { font-size: 15px; color: var(--muted); }

/* ---------- CLOSE ---------- */
.close h2 { font: 400 clamp(56px, 12vw, 168px)/.86 var(--serif); text-transform: uppercase; }
.mail { display: inline-block; margin-top: 32px; font-size: clamp(22px, 4vw, 52px); letter-spacing: -.03em; text-decoration: none; overflow-wrap: anywhere; background: linear-gradient(var(--sun), var(--sun)) 0 100% / 100% 2px no-repeat; transition: background-size .5s var(--ease); padding-bottom: 4px; }
.mail:hover { background-size: 100% 100%; }

/* ---------- INNER PAGES ---------- */
.phead { position: relative; z-index: 1; padding-top: clamp(48px, 12vw, 150px); padding-bottom: clamp(48px, 8vw, 104px); }
.crumb { font-size: 12px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.crumb a { text-decoration: none; }
.phead h1 { font: 400 clamp(52px, 11vw, 140px)/.88 var(--serif); text-transform: uppercase; max-width: 12ch; }
.phead .lead { margin-top: 32px; }

.layout-side { display: grid; gap: 32px; }
@media (min-width: 900px) { .layout-side { grid-template-columns: 220px minmax(0, 1fr); gap: 56px; } }
.toc { display: none; }
@media (min-width: 900px) {
  .toc { display: block; position: sticky; top: 120px; align-self: start; }
  .toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
  .toc a { display: flex; gap: 10px; min-height: 36px; align-items: center; padding-left: 16px; margin-left: -1px; border-left: 1px solid transparent; text-decoration: none; font-size: 15px; color: var(--muted); transition: color .3s, border-color .3s; }
  .toc a span { font-size: 12px; letter-spacing: .07em; }
  .toc a:hover { color: var(--ink); }
  .toc a[aria-current] { color: var(--ink); border-left-color: var(--sun); }
}
.chipnav { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 24px; scrollbar-width: none; }
.chipnav a { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); text-decoration: none; font-size: 15px; background: var(--bg-a); }
@media (min-width: 900px) { .chipnav { display: none; } }
.svc { border-top: 1px solid var(--ink); padding: 24px 0 clamp(56px, 8vw, 96px); scroll-margin-top: 96px; display: grid; gap: 24px; }
@media (min-width: 900px) { .svc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; } }
.svc h2 { font: 400 clamp(36px, 5vw, 60px)/1 var(--serif); margin: 10px 0 16px; }
.svc .cols { display: grid; gap: 24px; }
@media (min-width: 600px) { .svc .cols { grid-template-columns: 1fr 1fr; } }

.incident { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding: 18px 22px; background: var(--night); color: var(--bg); text-decoration: none; }
.incident .live { display: inline-flex; align-items: center; gap: 12px; }
.incident .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); animation: blink 1.6s ease-in-out infinite; }

.grid-cards { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 700px) { .grid-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 28px; background: var(--bg-a); border: 1px solid var(--line); text-decoration: none; transition: border-color .35s, transform .5s var(--ease); }
.card:hover { border-color: var(--ink); transform: translateY(-4px); }
.card .grow { flex-grow: 1; color: var(--muted); }
.card .go { display: flex; justify-content: space-between; color: var(--rust); font-weight: 500; }

.fun-grid { display: grid; gap: 0 40px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 700px) { .fun-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .fun-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fun-grid > li { border-top: 1px solid var(--ink); padding: 20px 0 36px; }
.fun-grid h3 { font: 400 32px/1 var(--serif); margin: 6px 0 8px; }
.fun-grid p { color: var(--muted); font-size: 15px; margin-bottom: 12px; }

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; margin: 0; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stats div { border-top: 1px solid var(--night-line); padding-top: 14px; display: flex; flex-direction: column-reverse; gap: 6px; }
.stats dt { color: var(--night-muted); font-size: 15px; }
.stats dd { margin: 0; font: 400 clamp(48px, 7vw, 88px)/1 var(--serif); }

.steps3 { display: grid; gap: 28px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 700px) { .steps3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .steps3.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.steps3 li { border-top: 1px solid var(--ink); padding-top: 16px; }
.night .steps3 li { border-color: var(--night-line); }
.steps3 h3 { font: 400 28px/1.05 var(--serif); margin: 6px 0 8px; }
.steps3 p { color: var(--muted); font-size: 15px; }
.night .steps3 p { color: var(--night-muted); }

/* contact */
.contact { display: grid; gap: 48px; }
@media (min-width: 900px) { .contact { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; } }
.facts { display: grid; gap: 22px; margin: 40px 0 0; }
.facts dd { margin: 4px 0 0; font-size: 17px; }
.form { background: var(--bg-a); border: 1px solid var(--line); padding: clamp(22px, 4vw, 44px); }
.form h2 { font: 400 clamp(30px, 4vw, 44px)/1 var(--serif); margin-bottom: 24px; }
.fields { display: grid; gap: 18px; }
@media (min-width: 600px) { .fields { grid-template-columns: 1fr 1fr; } .fields .full { grid-column: 1 / -1; } }
.f label { display: block; font-size: 15px; font-weight: 500; margin-bottom: 6px; }
.f label small { font-weight: 400; color: var(--muted); }
.f input, .f select, .f textarea { width: 100%; min-height: 50px; padding: 12px 14px; background: rgba(255,255,255,.65); color: var(--ink); border: 1px solid #8C8178; border-radius: 0; font: inherit; font-size: 15px; transition: border-color .3s, background .3s; }
.f textarea { min-height: 150px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--ink); background: #fff; outline: none; box-shadow: 0 0 0 1px var(--ink); }
.f .err { min-height: 1.2em; margin-top: 4px; font-size: 12px; color: #A02A10; }
.f [aria-invalid=true] { border-color: #A02A10; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-size: 15px; color: var(--muted); }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); }
.done { padding: 24px 0; }
.done h2 { margin-bottom: 12px; }

/* footer */
.foot { position: relative; z-index: 1; border-top: 1px solid var(--line); background: var(--bg-a); }
.foot .wrap { display: grid; gap: 32px; padding-block: 56px 40px; font-size: 15px; }
@media (min-width: 700px) { .foot .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .foot .wrap { grid-template-columns: 1.2fr 1fr 1fr 1fr; } }
.foot svg { width: 120px; height: auto; }
.foot p { color: var(--muted); }
.foot .legal { display: flex; flex-direction: column; gap: 4px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js .split .w > span, .js .cover .after { opacity: 1 !important; transform: none !important; }
  .js .day { height: auto; } .js .day .stick { position: static; min-height: 0; }
  .js .daysteps li { opacity: 1; }
}
.dial .core p.h3 { font: 400 clamp(26px, 3vw, 36px)/1 var(--serif); color: var(--bg); max-width: none; }

/* ===== v5: themes, header tools, motto, dial around the sun ===== */
:root[data-theme="dark"] {
  --bg: #121010; --bg-a: rgba(18, 16, 16, .86); --ink: #EEE8E1; --muted: #ABA39B; --line: #302A26;
  --rust: #F2996B; --night: #1B1816; --night-muted: #B5ACA4; --night-line: #3A332E; color-scheme: dark;
}
[data-theme="dark"] .night { background: var(--night); color: var(--ink); }
[data-theme="dark"] .night .btn { background: var(--ink); color: var(--bg); border-color: var(--ink); }
[data-theme="dark"] .night :focus-visible { outline-color: var(--ink); }
[data-theme="dark"] .incident { background: #2A1912; color: var(--ink); }
[data-theme="dark"] .f input, [data-theme="dark"] .f select, [data-theme="dark"] .f textarea { background: rgba(255, 255, 255, .04); border-color: #6A615A; }
[data-theme="dark"] .f input:focus, [data-theme="dark"] .f select:focus, [data-theme="dark"] .f textarea:focus { background: rgba(255, 255, 255, .07); }
[data-theme="dark"] .f .err { color: #FF9C80; }
[data-theme="dark"] .acc-btn:hover, [data-theme="dark"] .row:hover { background: rgba(226, 98, 43, .1); }
body { transition: background-color .5s ease, color .5s ease; }

body.on-sun { cursor: grab; }
body.grabbing, body.grabbing * { cursor: grabbing !important; user-select: none; }

.tools { display: flex; align-items: center; gap: 4px; }
.lang { display: inline-flex; align-items: center; gap: 2px; font-size: 12px; font-weight: 500; letter-spacing: .06em; }
.lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 44px; text-decoration: none; color: var(--muted); transition: color .3s; }
.lang a:hover, .lang a[aria-current] { color: var(--ink); }
.lang a[aria-current] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.lang .sep { color: var(--line); }
.theme-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 0; color: var(--ink); cursor: pointer; border-radius: 50%; transition: background .3s; }
.theme-btn:hover { background: rgba(226, 98, 43, .12); }
.theme-btn svg { width: 20px; height: 20px; transition: transform .6s var(--ease); }
[data-theme="dark"] .theme-btn svg { transform: rotate(180deg); }
@media (min-width: 900px) { .site .wrap { gap: 24px; } .nav { margin-left: auto; } .tools { margin-left: 8px; padding-left: 12px; border-left: 1px solid var(--line); } }
@media (max-width: 899px) { .site .wrap { gap: 4px; } .tools { margin-left: auto; } }

.motto { display: grid; gap: 10px; max-width: 360px; }
.motto .tagline { font: 400 clamp(26px, 3vw, 36px)/1.02 var(--serif); }
.motto .tag2 { font: italic 400 clamp(22px, 2.4vw, 28px)/1.05 var(--serif); color: var(--rust); }
.motto .bio { margin-top: 8px; font-size: 12px; font-weight: 600; line-height: 1.45; }

.dial .seg { background: var(--bg); color: var(--muted); border-color: var(--line); }
.dial .seg:hover { color: var(--ink); border-color: var(--ink); }
.dial .seg[aria-pressed=true] { background: var(--sun); color: #191613; border-color: var(--sun); }
.dial .ring circle:first-child { stroke: var(--line); }
.dial-info { text-align: center; margin-top: 20px; min-height: 96px; display: grid; gap: 6px; justify-items: center; }
.dial-info .h3 { font: 400 clamp(28px, 3.2vw, 38px)/1 var(--serif); }
.dial-info p:not(.h3) { color: var(--muted); max-width: 34ch; }
.dial-info.swap > * { animation: swap .5s var(--ease) both; }
.play-hint { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12px; color: var(--muted); }
.play-hint span { display: inline-flex; align-items: center; gap: 8px; }
.play-hint kbd { font: 500 12px var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: 3px 6px; border: 1px solid var(--line); border-radius: 3px; color: var(--ink); }

@media (max-width: 759px) {
  .cover .display { font-size: clamp(40px, 10.4vw, 80px); }
  .cover h1 .ln:nth-child(2) { padding-left: 6vw; }
  .cover h1 .ln:nth-child(3) { padding-left: 12vw; }
}

/* ===== v6: layers section, transitions, sound button ===== */
.layers { position: relative; z-index: 1; }
.js .layers { height: 720vh; }
.js .layers .stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.lp { position: relative; padding: 72px var(--gut); }
.lp .in { width: 100%; max-width: var(--max); margin: 0 auto; height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.js .lp { position: absolute; inset: 0; padding: 112px var(--gut) clamp(28px, 5vh, 56px); opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .9s var(--ease); pointer-events: none; }
.js .lp.on { opacity: 1; transform: none; pointer-events: auto; }
.lp .top { display: flex; align-items: center; gap: 12px; }
.sw { display: inline-block; width: 14px; height: 14px; border-radius: 50%; flex: 0 0 auto; }
.lp .name { align-self: center; text-align: center; font: 400 min(164px, calc(114vw / var(--len, 10)))/.88 var(--serif); text-transform: uppercase; letter-spacing: -.01em; max-width: 14ch; text-shadow: 0 0 28px var(--bg), 0 0 6px var(--bg); }
.lp .bottom { display: grid; gap: 18px; align-items: end; }
@media (min-width: 900px) { .lp .bottom { grid-template-columns: minmax(0, 1fr) auto; gap: 40px; } }
.lp .bottom p { font-size: clamp(17px, 1.5vw, 19px); max-width: 36em; text-shadow: 0 0 18px var(--bg); }
.lp .bottom .chips li { background: var(--bg-a); }
@media (max-width: 759px) { .lp .bottom .chips { display: none; } .js .lp { padding-top: 132px; } }
.lp.intro .in { justify-content: center; }
.lp.intro .txt { max-width: 560px; display: grid; gap: 18px; }
@media (max-width: 759px) { .lp.intro .in { justify-content: flex-end; } }
.legend { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; font-size: 15px; }
.legend li { display: flex; align-items: center; gap: 10px; }
.legend .sw { width: 12px; height: 12px; }
.legend .ring { background: none !important; border: 2px solid #FFE0A8; box-shadow: 0 0 0 1px #C9A46A inset; }
.scroll-hint { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.scroll-hint i { display: inline-block; width: 1px; height: 28px; background: var(--muted); animation: drop 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes drop { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.rail { position: absolute; z-index: 2; display: none; gap: 6px; list-style: none; margin: 0; padding: 0; }
.js .rail { display: flex; }
@media (min-width: 900px) { .rail { right: calc(var(--gut) * .45); top: 50%; transform: translateY(-50%); flex-direction: column; } }
@media (max-width: 899px) { .rail { left: 50%; top: 84px; transform: translateX(-50%); } }
.rail button { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; background: none; border: 0; cursor: pointer; }
.rail button .sw { width: 9px; height: 9px; transition: transform .4s var(--ease), box-shadow .4s; }
.rail button:hover .sw { transform: scale(1.4); }
.rail button[aria-current=true] .sw { transform: scale(1.8); box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--ink); }
.rail .ring { background: none !important; border: 2px solid #E9B65C; }

/* page transitions */
.js main, .js .site, .js .foot { animation: enter .7s var(--ease) both; }
@keyframes enter { from { opacity: 0; transform: translateY(10px); } }
.js .site { animation-name: fadein; } @keyframes fadein { from { opacity: 0; } }
html.leaving main, html.leaving .foot { opacity: 0; transform: translateY(-12px); transition: opacity .3s ease, transform .35s var(--ease); }
html.leaving .site { opacity: .4; transition: opacity .3s; }

/* sound button */
.sound-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 0; color: var(--ink); cursor: pointer; border-radius: 50%; transition: background .3s; }
.sound-btn:hover { background: rgba(226, 98, 43, .12); }
.sound-btn svg { width: 20px; height: 20px; }
.sound-btn .w { opacity: 0; transition: opacity .3s; }
.sound-btn[aria-pressed=true] .w { opacity: 1; }
.sound-btn[aria-pressed=true] .x { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .js .layers { height: auto; } .js .layers .stage { position: static; height: auto; overflow: visible; }
  .js .lp { position: relative; inset: auto; opacity: 1; transform: none; pointer-events: auto; padding-block: 64px; }
  .lp .name { text-align: left; align-self: start; }
  html.leaving main, html.leaving .foot { opacity: 1; transform: none; }
}

/* ===== v7: polished cover ===== */
.cover2 { position: relative; z-index: 1; min-height: calc(100svh - 72px); display: grid; grid-template-rows: 1fr auto; gap: 40px; padding-top: calc(70vw + 28px); padding-bottom: 28px; }
@media (min-width: 760px) { .cover2 { padding-top: clamp(32px, 6vh, 72px); min-height: calc(100svh - 96px); } }
.c-main { align-self: center; max-width: 640px; display: grid; gap: 22px; }
@media (min-width: 1100px) { .c-main { max-width: 52%; } }
.c-eyebrow { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.c-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sun); }
.c-title { font: 400 clamp(46px, 7vw, 108px)/.9 var(--serif); text-transform: uppercase; letter-spacing: -.012em; }
.c-motto { font: 400 clamp(24px, 2.4vw, 34px)/1.12 var(--serif); max-width: 22em; }
.c-motto em { color: var(--rust); }
.c-bio { color: var(--muted); max-width: 32em; font-size: 17px; }
.c-main .actions { margin-top: 6px; }
.c-foot { display: grid; gap: 16px; padding-top: 18px; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .c-foot { grid-template-columns: 1fr auto; align-items: center; } }
.c-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 4px; }
.c-legend a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 10px 0 6px; text-decoration: none; font-size: 12px; color: var(--muted); border-radius: 999px; transition: color .3s, background .3s; }
.c-legend a:hover, .c-legend a:focus-visible { color: var(--ink); background: rgba(226, 98, 43, .1); }
.c-legend .sw { width: 9px; height: 9px; }
.c-legend .sw.ring { border: 1.5px solid #E9B65C; }
.c-play { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--muted); }
.c-play span { display: inline-flex; align-items: center; gap: 6px; }
.c-play kbd { font: 500 12px var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: 3px 6px; border: 1px solid var(--line); border-radius: 3px; color: var(--ink); }
@media (max-width: 759px) { .c-play .m-hide { display: none; } }
.js .c-main > * { animation: rise 1.1s var(--ease) both; }
.js .c-main > :nth-child(1) { animation-delay: .1s; } .js .c-main > :nth-child(3) { animation-delay: .9s; } .js .c-main > :nth-child(4) { animation-delay: 1.05s; } .js .c-main > :nth-child(5) { animation-delay: 1.2s; }
.js .c-main > .c-title { animation: none; }
.js .c-foot { animation: rise 1.1s var(--ease) 1.4s both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.legend .sw.ring, .rail .ring { border-radius: 50%; }

@media (max-width: 480px) { .c-eyebrow .where { display: none; } }

.c-main { gap: 26px; }
.c-motto { margin-top: -4px; }
.c-main .actions { margin-top: 10px; }

/* ===== v8: quieter cover chrome, editorial title ===== */
.c-title { font: 400 clamp(52px, 7.8vw, 124px)/.92 var(--serif); text-transform: none; letter-spacing: -.028em; }
.c-title .it { font-style: italic; color: var(--rust); }
.c-motto { font-size: clamp(22px, 2.1vw, 30px); color: var(--muted); }
.c-links { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-top: 8px; }
.c-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink); background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 0 1px no-repeat; transition: background-size .5s var(--ease), color .3s; }
.c-link:hover, .c-link:focus-visible { background-size: 100% 1px; }
.c-link.quiet { color: var(--muted); }
.c-link.quiet:hover { color: var(--ink); }
.c-link .ar { color: var(--sun); }
.home .site:not(.solid) .brand { opacity: .55; transition: opacity .5s; }
.home .site:not(.solid) .brand:hover, .home .site:not(.solid) .brand:focus-visible { opacity: 1; }
.home .site:not(.solid) .nav a, .home .site:not(.solid) .lang a { color: var(--muted); }
.home .site:not(.solid) .tools { border-left-color: transparent; }

/* ===== v9: services catalog, legal pages ===== */
.cat-tools { display: grid; gap: 14px; margin-bottom: 10px; }
@media (min-width: 900px) { .cat-tools { grid-template-columns: minmax(260px, 360px) 1fr; align-items: center; gap: 24px; } }
.cat-tools .search input { min-height: 48px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-a); color: var(--ink); font: inherit; font-size: 15px; width: 100%; }
.cat-tools .search input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.f-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.f-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: none; color: var(--muted); font-size: 15px; cursor: pointer; transition: color .3s, border-color .3s, background .3s; }
.f-chip:hover { color: var(--ink); border-color: var(--ink); }
.f-chip[aria-pressed=true] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.f-chip .sw { width: 9px; height: 9px; }
.f-chip .sw.ring, .cat-list .sw.ring { border: 1.5px solid #E9B65C; background: none; }
.cat-count { font-size: 12px; color: var(--muted); margin: 14px 0 6px; min-height: 1.4em; }
.cat-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); border-top: 1px solid var(--line); }
.cat-list li { border-bottom: 1px solid var(--line); }
.cat-list li[hidden] { display: none; }
.cat-list a { display: grid; grid-template-columns: 12px 1fr auto; align-items: center; gap: 12px; min-height: 56px; padding: 8px 12px 8px 4px; text-decoration: none; transition: background .3s, padding .4s var(--ease); }
.cat-list a:hover, .cat-list a:focus-visible { background: rgba(226, 98, 43, .08); padding-left: 12px; }
.cat-list .sw { width: 9px; height: 9px; }
.cat-list .nm { font-size: 17px; letter-spacing: -.01em; }
.cat-list .pr { font-size: 12px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .4s var(--ease); }
.cat-list a:hover .pr, .cat-list a:focus-visible .pr { opacity: 1; transform: none; }
@media (hover: none) { .cat-list .pr { opacity: 1; transform: none; } }
.cat-list li.flash a { animation: flash .5s var(--ease); }
@keyframes flash { from { opacity: 0; transform: translateY(6px); } }
.legal-h1 { font-size: clamp(48px, 8vw, 104px) !important; text-transform: none !important; }
.legal { position: relative; z-index: 1; max-width: calc(760px + var(--gut) * 2); margin: 0; padding-bottom: clamp(80px, 10vw, 140px); }
@media (min-width: 900px) { .legal { margin-left: max(0px, calc((100vw - var(--max)) / 2 - var(--gut))); } }
.legal section { padding: 28px 0; border-top: 1px solid var(--line); }
.legal h2 { font: 400 clamp(26px, 2.6vw, 34px)/1.1 var(--serif); margin-bottom: 12px; }
.legal p { color: var(--muted); max-width: 64ch; }
.legal p + p { margin-top: 12px; }
.legal > .label { margin-bottom: 24px; }
.legal-links { display: inline-flex; gap: 6px; }
.cat-list { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.cat-list a { grid-template-columns: 12px 1fr; }
.cat-list .pr { display: none; }
@media (max-width: 599px) {
  .cat-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }
  .cat-list a { min-height: 48px; gap: 8px; padding: 6px 2px; }
  .cat-list .nm { font-size: 15px; line-height: 1.3; }
}

/* ===== v10: custom cursor, header life, circle wipe ===== */
html.has-cursor.cur-on, html.has-cursor.cur-on * { cursor: none !important; }
.cur-ring, .cur-dot { position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; opacity: 0; transition: opacity .3s; will-change: transform; }
html.cur-on .cur-ring, html.cur-on .cur-dot { opacity: 1; }
.cur-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sun); }
.cur-ring { width: 36px; height: 36px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--ink) 55%, transparent); display: flex; align-items: center; justify-content: center; transition: opacity .3s, background .35s, border-color .35s, border-radius .3s; }
.cur-ring svg { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); transform: rotate(-90deg); }
.cur-ring .cg { fill: none; stroke: var(--sun); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 1; }
.cur-ring .cl { font: 500 12px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.cur-ring[data-state=link] { background: color-mix(in srgb, var(--sun) 14%, transparent); border-color: color-mix(in srgb, var(--sun) 70%, transparent); }
.cur-ring[data-state=sun] { border-color: var(--sun); background: color-mix(in srgb, var(--sun) 10%, transparent); }
.cur-ring[data-state=text] { border-radius: 2px; background: var(--ink); border-color: var(--ink); }
.cur-ring[style*="--cc: #"] { border-color: var(--cc); background: color-mix(in srgb, var(--cc) 18%, transparent); }
html.cur-down .cur-ring { scale: .82; }
.cur-ring { transition: opacity .3s, background .35s, border-color .35s, border-radius .3s, scale .2s; }
html.cur-down .cur-dot { scale: 1.6; }
html.has-cursor .btn, html.has-cursor .c-link, html.has-cursor .f-chip, html.has-cursor .nav a, html.has-cursor .lang a, html.has-cursor .theme-btn, html.has-cursor .sound-btn, html.has-cursor .menu-btn, html.has-cursor .rail button, html.has-cursor .seg, html.has-cursor .tab { transition: translate .35s var(--ease), background .3s, color .3s, border-color .3s, padding .4s var(--ease); }

.nav { position: relative; }
.nav a::before { display: none !important; }
.nav-ind { position: absolute; left: 0; bottom: 2px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 10px 2px color-mix(in srgb, var(--sun) 60%, transparent); opacity: 0; transition: transform .55s cubic-bezier(.3, 1.5, .5, 1), opacity .3s; pointer-events: none; list-style: none; }
.nav-ind.no-anim { transition: none; }
.nav a[aria-current] { text-decoration: none !important; }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, #FFCE68, #FFAC42, #FA882E, #EE6628, #D64624, #AA2C1A); pointer-events: none; }

.wipe { position: fixed; inset: 0; z-index: 150; pointer-events: none; background: radial-gradient(circle at var(--wx, 50%) var(--wy, 50%), color-mix(in srgb, var(--sun) 35%, var(--bg)) 0, var(--bg) 34vmax); clip-path: circle(0 at var(--wx, 50%) var(--wy, 50%)); }
html.wipe-out .wipe { clip-path: circle(150vmax at var(--wx, 50%) var(--wy, 50%)); transition: clip-path .48s cubic-bezier(.7, 0, .25, 1); }
html.wipe-in .wipe { clip-path: circle(150vmax at var(--wx, 50%) var(--wy, 50%)); }
html.wipe-in.wipe-go .wipe { clip-path: circle(0 at var(--wx, 50%) var(--wy, 50%)); transition: clip-path .7s cubic-bezier(.6, 0, .2, 1); }
html.wipe-in main, html.wipe-in .foot { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .wipe { display: none; } }

.notfound { min-height: calc(100svh - 96px); display: grid; place-content: center; text-align: center; gap: 18px; position: relative; z-index: 1; }
.notfound h1 { font: 400 clamp(56px, 10vw, 140px)/.9 var(--serif); }
.notfound p { color: var(--muted); }
.notfound .actions { justify-content: center; margin-top: 10px; }

/* ===== v11: interactive services, back pill, calmer transitions ===== */
.svc2 { display: block; }
.svc2 .svc-intro { max-width: 760px; }
.svc2 .svc-intro .label { display: inline-flex; align-items: center; gap: 10px; }
.svc2 h2 { font: 400 clamp(36px, 5vw, 60px)/1 var(--serif); margin: 10px 0 16px; }
.svc-pick { display: grid; gap: 24px; margin-top: 32px; }
@media (min-width: 1000px) { .svc-pick { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; } .svc-detail { position: sticky; top: 120px; } }
.svc-items { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc-items li { border-bottom: 1px solid var(--line); }
.svc-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 52px; padding: 10px 6px; background: none; border: 0; text-align: left; font: inherit; font-size: 17px; color: var(--ink); cursor: pointer; transition: background .3s, padding .45s var(--ease), color .3s; scroll-margin-top: 140px; }
.svc-item .ar { color: var(--muted); opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .45s var(--ease); }
.svc-item:hover { background: rgba(226, 98, 43, .07); padding-left: 14px; }
.svc-item:hover .ar { opacity: 1; transform: none; }
.svc-item[aria-pressed=true] { background: rgba(226, 98, 43, .12); padding-left: 14px; color: var(--ink); box-shadow: inset 2px 0 0 var(--sun); }
.svc-item[aria-pressed=true] .ar { opacity: 1; transform: none; color: var(--sun); }
.svc-detail { border: 1px solid var(--line); background: var(--bg-a); padding: clamp(22px, 3vw, 36px); min-height: 220px; scroll-margin-top: 110px; }
.d-item { display: grid; gap: 14px; }
.d-item h3 { font: 400 clamp(28px, 3vw, 40px)/1.02 var(--serif); }
.d-item .d-text { font-size: 17px; color: var(--muted); max-width: 46ch; }
.d-item:not([data-for=default]) .d-text { color: var(--ink); }
.d-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 6px; }
.d-actions .c-link { background-color: transparent; border: 0; cursor: pointer; font: inherit; font-size: 15px; font-weight: 500; }
.d-item.swap > * { animation: swap .5s var(--ease) both; }
.d-item.swap > :nth-child(2) { animation-delay: .04s; } .d-item.swap > :nth-child(3) { animation-delay: .08s; } .d-item.swap > :nth-child(4) { animation-delay: .12s; }
.svc2 { scroll-margin-top: 96px; }

.lp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; }

.back-pill { position: fixed; left: max(16px, calc(var(--gut) * .5)); bottom: 20px; z-index: 45; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px 0 14px; border-radius: 999px; background: var(--ink); color: var(--bg); text-decoration: none; font-size: 15px; font-weight: 500; box-shadow: 0 8px 30px rgba(0, 0, 0, .25); opacity: 0; transform: translateY(12px); transition: opacity .4s, transform .5s var(--ease), background .3s; }
.back-pill.in { opacity: 1; transform: none; }
.back-pill:hover { background: var(--sun); color: #191613; }
.back-pill .ar { transition: transform .4s var(--ease); }
.back-pill:hover .ar { transform: translateX(-4px); }
html.leaving main, html.leaving .foot, html.leaving .back-pill { opacity: 0; transform: translateY(-6px); transition: opacity .22s ease, transform .24s var(--ease); }
html.leaving .site { opacity: 1; }
.phead { padding-top: clamp(40px, 9vw, 120px); }

.svc-item:focus-visible { outline: 2px solid var(--sun); outline-offset: -2px; }

/* ===== v12 ===== */
.js .layers { height: 600vh; }
.chips.linked a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: none; transition: color .3s; }
.chips.linked li { padding: 0; }
.chips.linked a { padding: 6px 12px; }
.chips.linked li:hover { border-color: var(--ink); }
.tabpanel .c-link { margin-left: 4px; }

/* ===== v13: clients ===== */
.clients { padding-block: clamp(48px, 7vw, 96px); }
.clients h2.label { margin: 0 0 22px; }
.client-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
@media (min-width: 900px) { .client-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.client-list li { display: flex; align-items: center; min-height: clamp(76px, 8vw, 104px); padding: 14px 18px 14px 0; border-bottom: 1px solid var(--line); font: 400 clamp(20px, 2.1vw, 28px)/1.1 var(--serif); color: var(--muted); transition: color .4s; }
.client-list li:hover { color: var(--ink); }
@media (min-width: 900px) { .client-list li + li { padding-left: 18px; } .client-list li:nth-child(4n + 1) { padding-left: 0; } .client-list li:not(:nth-child(4n)) { border-right: 1px solid var(--line); } }
@media (max-width: 899px) { .client-list li:nth-child(odd) { border-right: 1px solid var(--line); } .client-list li:nth-child(even) { padding-left: 16px; } }

/* ===== v14: client logos ===== */
.client-list { --s: 1; }
@media (min-width: 900px) { .client-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } .client-list li:not(:nth-child(4n)) { border-right: 0; } .client-list li:nth-child(4n + 1) { padding-left: 24px; } .client-list li:nth-child(3n + 1) { padding-left: 0; } .client-list li:not(:nth-child(3n)) { border-right: 1px solid var(--line); } }
@media (max-width: 899px) { .client-list { --s: .72; } }
.client-list li { justify-content: center; gap: 14px; min-height: clamp(96px, 10vw, 136px); padding: 18px 16px; text-align: center; }
@media (min-width: 900px) { .client-list li + li { padding-left: 24px; } .client-list li { padding-right: 24px; } }
/* logos are white PNGs with tonal alpha: as-is on dark, inverted to near-black on light */
.cl-logo { flex: none; position: relative; display: block; width: calc(var(--w) * var(--s)); height: calc(var(--h) * var(--s)); }
.cl-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .45s ease; }
.cl-mono { opacity: .62; }
:root:not([data-theme="dark"]) .cl-mono { filter: invert(1) brightness(.35) sepia(.25); }
.cl-col { opacity: 0; }
.client-list li:hover .cl-mono { opacity: 0; }
:root[data-theme="dark"] .client-list li:hover .cl-cd, :root:not([data-theme="dark"]) .client-list li:hover .cl-cl { opacity: 1; }
.cl-name { font: 500 clamp(12px, 1.1vw, 14px)/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.client-list li:not(:has(.cl-logo)) .cl-name { font-size: clamp(14px, 1.5vw, 19px); letter-spacing: .22em; }
.client-list li { color: var(--muted); transition: color .4s; }
.client-list li:hover { color: var(--ink); }

/* v15: back pill stays almost invisible after menu navigation; comes forward on hover/focus */
.back-pill.quiet.in { opacity: .16; box-shadow: none; }
.back-pill.quiet.in:hover, .back-pill.quiet.in:focus-visible { opacity: 1; }
@media (hover: none) { .back-pill.quiet.in { opacity: .3; } }

/* ===== v16: one type system =====
   Michroma (display) only for headings, always sentence case, no italics (it has none), no negative tracking.
   Three display sizes, four text sizes. */
:root { --serif: "Michroma", "Eurostile", "Geist", system-ui, sans-serif; --display: var(--serif);
  --d1: clamp(32px, 4.6vw, 68px); --d2: clamp(24px, 2.8vw, 40px); --d3: clamp(18px, 1.6vw, 23px);
  --t-label: 12px; --t-ui: 15px; --t-body: 17px; --t-lead: clamp(19px, 1.7vw, 22px); }
/* display 1: page heroes */
.c-title, .phead h1, .display, .close h2, .notfound h1 { font: 400 var(--d1)/1.1 var(--display) !important; letter-spacing: 0 !important; text-transform: none !important; max-width: 16ch; }
.stats dd { font: 400 var(--d1)/1 var(--display); }
/* display 2: section headings */
.h2, .svc h2, .svc2 h2, .form h2, .drawer a.big { font: 400 var(--d2)/1.16 var(--display) !important; letter-spacing: 0 !important; text-transform: none !important; }
.drawer a.big { font-size: clamp(24px, 7vw, 34px) !important; }
/* display 3: block headings, mottos */
.h3, .tabpanel h3, .acc-btn .t, .daysteps h3, .fun-grid h3, .steps3 h3, .dial .core p.h3, .dial-info .h3, .motto .tagline, .legal h2, .d-item h3, .c-motto { font: 400 var(--d3)/1.32 var(--display) !important; letter-spacing: 0 !important; text-transform: none !important; }
.c-motto { font-size: clamp(17px, 1.5vw, 21px) !important; color: var(--muted); }
/* no italics anywhere in display; the accent color carries the emphasis */
.it, .cover .after, .motto .tag2, .c-title em, .c-title i { font-style: normal !important; font-family: var(--display); letter-spacing: 0 !important; }
.motto .tag2 { font: 400 var(--d3)/1.32 var(--display) !important; }
/* the sun's layers: one size for all of them */
.lp .name { font: 400 clamp(26px, 4.6vw, 64px)/1.08 var(--display) !important; text-transform: none !important; letter-spacing: 0 !important; max-width: 16ch; }
/* text */
body { font-size: var(--t-body); }
.cl-name { font-size: var(--t-label) !important; }

/* v17: the motto lives under the sun, with its punchline */
.c-sunnote { margin: 0; text-align: center; font: 500 12px/1.6 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); pointer-events: auto; }
.c-sunnote span { display: block; }
.c-sunnote .sn2 { color: var(--rust); margin-top: 4px; }
.cover2 > .c-sunnote { position: relative; margin-top: -8px; }
@media (min-width: 760px) {
  .cover2 > .c-sunnote { position: absolute; left: var(--nx, 74.5%); top: var(--ny, 78%); transform: translateX(-50%); margin: 0; white-space: nowrap; z-index: 2; }
}
.js .c-sunnote .sn1 { opacity: 0; animation: snIn 1.2s var(--ease) 1.5s forwards; }
.js .c-sunnote .sn2 { opacity: 0; transform: translateY(6px); animation: snIn 1s var(--ease) 2.9s forwards; }
@keyframes snIn { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js .c-sunnote span { opacity: 1; animation: none; transform: none; } }
.cover2:has(> .c-sunnote) { grid-template-rows: auto 1fr auto; }
@media (min-width: 760px) { .cover2:has(> .c-sunnote) { grid-template-rows: 1fr auto; } }

/* v18: real contact form */
.trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 14px 0 0; font-size: var(--t-ui); color: var(--muted); }
.form-status.bad { color: var(--rust); }
.rc-note { margin: 14px 0 0; font-size: var(--t-label); line-height: 1.5; color: var(--muted); max-width: 52ch; }
.rc-note a { color: inherit; }
.grecaptcha-badge { visibility: hidden !important; }   /* allowed because .rc-note shows Google's notice */
.btn.busy { opacity: .6; cursor: progress; }

/* ===== v19: phones ===== */
.drawer-tools { display: none; }
.hint-m, .cat-more { display: none; }
@media (max-width: 759px) {
  /* header: just the logo and Menu; language, sound and theme live in the menu */
  .site .tools .lang, .site .tools .sound-btn, .site .tools .theme-btn { display: none !important; }
  .menu-btn { min-height: 44px; padding-inline: 12px; margin-right: -12px; }
  .drawer-tools { display: grid; gap: 4px; margin: 28px 0 8px; border-top: 1px solid var(--line); padding-top: 16px; }
  .dt { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 52px; padding: 0; background: none; border: 0; color: var(--ink); font: 400 var(--t-body) var(--sans); text-align: left; cursor: pointer; }
  .dt svg { width: 20px; height: 20px; flex: none; }
  .dt span { flex: 1; }
  .dt .sw-t { position: relative; width: 44px; height: 26px; border-radius: 999px; background: var(--line); transition: background .3s; flex: none; }
  .dt .sw-t::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); transition: transform .3s var(--ease); }
  .dt[aria-pressed=true] .sw-t { background: var(--rust); }
  .dt[aria-pressed=true] .sw-t::after { transform: translateX(18px); background: #fff; }
  .drawer .langs a { min-width: 48px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }

  /* the sun on a phone: tap or hold (dragging would fight with scrolling) */
  .hint-d { display: none; } .hint-m { display: inline; }
  .c-legend a { min-height: 44px; }

  /* catalog: one swipeable row of filters, first 10 services, then "see all" */
  .f-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scroll-padding-inline: var(--gut); }
  .f-chips::-webkit-scrollbar { display: none; }
  .f-chip { white-space: nowrap; min-height: 44px; }
  .cat-list a { min-height: 52px; }
  .catalog:not(.expanded) .cat-list li:nth-child(n+11) { display: none; }
  .catalog:not(.expanded) .cat-more { display: inline-flex; margin-top: 20px; }

  /* layers: same story, less thumb travel */
  .js .layers { height: 420vh; }
  .rail button { width: 40px; height: 44px; }

  /* services: the explanation opens right under the service you tapped */
  .svc-items li > .svc-detail { margin: 4px 0 14px; }
  .svc-item { min-height: 52px; }

  /* footer links: comfortable to tap */
  .foot a { display: inline-block; padding-block: 8px; }
  .foot .legal { gap: 0; }
}
@media (hover: none) { .cat-list a:active, .svc-item:active, .f-chip:active, .btn:active { transform: scale(.98); transition: transform .08s; } }

.dial .ring .prog { fill: none; stroke: var(--sun); stroke-width: .6; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s var(--ease); }
.done textarea { min-height: 140px; }
