/* Self-hosted: the page makes no request to a font provider, which is what the
   CSP (style-src and font-src 'self') and the privacy page both promise. */
@font-face { font-family: "Sora"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/sora-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/dm-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/dm-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/dm-sans-latin-700-normal.woff2") format("woff2"); }

/* Layout: one calm column of bands, white and pastel for most of the page,
   a single bleu nuit band, amber only for the spark, buttons and markers.
   Single light look on purpose: the Cleaneos charter is defined on white. */
:root {
  color-scheme: light;
  --night: #0B1B3D;
  --pastel: #E0F2FE;
  --amber: #F59E0B;
  --muted: #4A5878;
  --line: #D7E3F0;
  --card: #F4FAFE;
  --white: #FFFFFF;
  --on-night: #C9D6EA;
  --title: "Sora", "Segoe UI", system-ui, sans-serif;
  --body: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --wrap: 72rem;
  --radius: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  background: var(--white);
  color: var(--night);
  font: 400 1rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--white);
}
svg { display: block; }
a { color: var(--night); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 48rem) {
  .wrap {
    padding-left: max(32px, env(safe-area-inset-left, 0px));
    padding-right: max(32px, env(safe-area-inset-right, 0px));
  }
}

h1, h2, h3 { font-family: var(--title); font-weight: 600; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 1.4rem + 4vw, 3.9rem); line-height: 1.04; letter-spacing: -0.04em; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.7vw, 2.4rem); line-height: 1.15; letter-spacing: -0.03em; max-width: 36rem; }
h3 { font-size: 1.1rem; line-height: 1.35; letter-spacing: -0.01em; }
p { margin: 0; }

.eyebrow {
  margin-bottom: 0.8rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--muted);
}

/* Scroll progress, the one place amber runs across the page. */
.progress {
  position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; height: 3px; z-index: 40;
  background: var(--amber); transform-origin: 0 50%; transform: scaleX(0);
}

/* Header */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.top.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(11, 27, 61, .45); }
.nav { display: flex; align-items: center; gap: 1.25rem; min-height: 4.75rem; transition: min-height .3s var(--ease); }
.top.scrolled .nav { min-height: 4rem; }
.brand { margin-right: auto; display: block; width: 150px; }
.brand svg { width: 100%; height: auto; }
.links { display: none; gap: 1.75rem; margin: 0; padding: 0; list-style: none; }
.links a { position: relative; text-decoration: none; font-weight: 500; padding-block: .3rem; }
.links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--amber);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s var(--ease);
}
.links a:hover::after, .links a.active::after { transform: scaleX(1); }
@media (min-width: 62rem) { .links { display: flex; } }

.langs { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.langs a {
  color: var(--muted); text-decoration: none;
  padding: .3rem .55rem; border-radius: 999px;
  font: 700 .75rem/1 var(--body); letter-spacing: .05em;
  transition: background .2s, color .2s;
}
.langs a[aria-current="true"] { background: var(--night); color: var(--white); }

.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .9rem 1.45rem; border-radius: 999px;
  border: 2px solid var(--amber); background: var(--amber); color: var(--night);
  font: 700 1rem/1.1 var(--body); text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgba(245, 158, 11, .9); }
.btn:active { transform: translateY(0); }
.btn.ghost { background: transparent; border-color: var(--night); }
.btn.ghost:hover { background: var(--pastel); box-shadow: none; }
.btn.small { padding: .55rem 1rem; font-size: .88rem; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.head-cta { display: none; }
@media (min-width: 36rem) { .head-cta { display: inline-flex; } }

.burger {
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  border: 1px solid var(--line); background: var(--white); cursor: pointer; color: var(--night);
}
.burger span { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger span + span { margin-top: 4px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
@media (min-width: 62rem) { .burger { display: none; } }
.sheet {
  display: grid; overflow: hidden;
  grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease);
}
.sheet.open { grid-template-rows: 1fr; }
.sheet > div { min-height: 0; }
.sheet ul { list-style: none; margin: 0; padding: .25rem 0 1.25rem; display: grid; gap: .25rem; }
.sheet a { display: block; padding: .7rem 0; font: 600 1.2rem/1.2 var(--title); text-decoration: none; border-bottom: 1px solid var(--line); }
@media (min-width: 62rem) { .sheet { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: 3.5rem 4.5rem; }
@media (min-width: 62rem) { .hero { padding-block: 6rem 6.5rem; } }
.blob {
  position: absolute; border-radius: 50%; filter: blur(50px); pointer-events: none; z-index: 0;
  background: var(--pastel);
}
.blob.one { width: 34rem; height: 34rem; right: -8rem; top: -6rem; animation: drift 18s ease-in-out infinite alternate; }
.blob.two { width: 18rem; height: 18rem; right: 22%; bottom: -8rem; opacity: .7; animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-3rem, 2.5rem) scale(1.08); } }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 62rem) { .hero-grid { grid-template-columns: 1.25fr 1fr; } }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero h1 .line > span { display: inline-block; animation: rise .9s var(--ease) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(var(--amber), var(--amber)) no-repeat 0 88% / 0% 18%;
  animation: underline .8s .75s var(--ease) forwards;
}
@keyframes rise { from { transform: translateY(105%); } }
@keyframes underline { to { background-size: 100% 18%; } }
.fade-in { animation: fadeUp .8s var(--ease) both; }
.d1 { animation-delay: .3s; } .d2 { animation-delay: .45s; } .d3 { animation-delay: .6s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
.lead { margin-top: 1.4rem; font-size: 1.15rem; color: var(--muted); max-width: 34rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.facts { display: flex; flex-wrap: wrap; gap: .6rem; margin: 2.25rem 0 0; padding: 0; list-style: none; }
.facts li {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem .85rem; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line);
  font-size: .9rem; font-weight: 500;
}
.facts li::before { content: ""; width: .5rem; height: .5rem; border-radius: 2px; background: var(--amber); transform: rotate(45deg); }

.mark { justify-self: center; width: min(24rem, 72vw); perspective: 800px; }
@media (max-width: 61.99rem) { .mark { width: min(9.5rem, 40vw); order: -1; justify-self: start; } }
.mark svg { width: 100%; height: auto; transition: transform .25s ease-out; transform-style: preserve-3d; }
.mark .arc { stroke-dasharray: 1; animation: draw 1.4s var(--ease) both; }
.mark .arc.inner { animation-delay: .25s; }
.mark .arc.liseret { animation-delay: .1s; }
.mark .arc.inner.liseret { animation-delay: .35s; }
@keyframes draw { from { stroke-dashoffset: 1; } }
.mark .spark { transform-box: fill-box; transform-origin: center; animation: sparkIn .7s 1.1s var(--ease) both, twinkle 3.6s 2s ease-in-out infinite; }
@keyframes sparkIn { from { transform: scale(0) rotate(-90deg); } }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.18) rotate(45deg); } }

/* Bands */
.band { padding-block: 4.5rem; }
@media (min-width: 62rem) { .band { padding-block: 6.5rem; } }
.tint { background: var(--card); border-block: 1px solid var(--line); }
.dark { background: var(--night); color: var(--white); position: relative; overflow: hidden; }
.dark .eyebrow { color: var(--pastel); }

/* Reveal: the resting state is fully visible. Only elements that start below
   the fold get the "pending" offset, and only when motion is welcome. */
.reveal.pending { transform: translateY(28px); opacity: .35; }
.reveal { transition: transform .8s var(--ease), opacity .8s var(--ease); transition-delay: var(--delay, 0s); }

/* Services */
.cards { display: grid; gap: 1rem; margin-top: 2.75rem; }
@media (min-width: 40rem) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 66rem) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card {
  position: relative; padding: 1.75rem 1.5rem 1.6rem; min-width: 0;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-4px); border-color: #b9cde3; box-shadow: 0 18px 36px -24px rgba(11, 27, 61, .45); }
.icon {
  width: 3rem; height: 3rem; border-radius: 12px; display: grid; place-items: center;
  background: var(--pastel); margin-bottom: 1.25rem; transition: background .3s, transform .3s var(--ease);
}
.icon svg { width: 24px; height: 24px; }
.card:hover .icon { background: var(--amber); transform: rotate(-6deg); }
.card p { margin-top: .6rem; color: var(--muted); }

/* Method */
.steps { position: relative; display: grid; gap: 2rem; margin: 3rem 0 0; padding: 0; list-style: none; }
@media (min-width: 52rem) { .steps { grid-template-columns: repeat(4, 1fr); gap: 1.75rem; } }
.track { position: absolute; background: var(--line); border-radius: 2px; }
.track i { position: absolute; inset: 0; background: var(--amber); border-radius: 2px; transform-origin: 0 0; transform: scale(var(--p, 0)); }
@media (min-width: 52rem) {
  .track { left: 1.4rem; right: calc((100% - 3 * 1.75rem) / 4 - 1.4rem); top: 1.35rem; height: 3px; }
  .track i { transform: scaleX(var(--p, 0)); }
}
@media (max-width: 51.99rem) {
  .track { left: 1.32rem; top: 1.4rem; bottom: 1.4rem; width: 3px; }
  .track i { transform: scaleY(var(--p, 0)); }
  .steps li { padding-left: 4rem; }
  .steps .num { position: absolute; left: 0; }
  .steps li { position: relative; }
}
.num {
  position: relative; z-index: 1; display: grid; place-items: center;
  width: 2.8rem; height: 2.8rem; border-radius: 50%; margin-bottom: 1.1rem;
  background: var(--white); border: 2px solid var(--line); color: var(--muted);
  font: 600 1rem/1 var(--title);
  transition: background .4s, border-color .4s, color .4s, transform .4s var(--ease);
}
.steps li.on .num { background: var(--amber); border-color: var(--amber); color: var(--night); transform: scale(1.08); }
.steps p { margin-top: .45rem; color: var(--muted); }

/* Who: three tabs */
.who-grid { display: grid; gap: 2.5rem; margin-top: 2.75rem; }
@media (min-width: 56rem) { .who-grid { grid-template-columns: 20rem 1fr; gap: 4rem; align-items: start; } }
.tabs { position: relative; display: grid; gap: .25rem; }
.tab {
  position: relative; z-index: 1; text-align: left; cursor: pointer;
  padding: 1rem 1.15rem; border-radius: 12px; border: 0; background: none;
  color: var(--on-night); font: 600 1.05rem/1.3 var(--title);
  transition: color .25s;
}
.tab[aria-selected="true"] { color: var(--night); }
.tab:hover:not([aria-selected="true"]) { color: var(--white); }
.pill {
  position: absolute; left: 0; right: 0; top: 0; z-index: 0; border-radius: 12px; background: var(--pastel);
  transition: transform .4s var(--ease), height .4s var(--ease);
}
.panel { min-width: 0; }
.panel.swap { animation: panelIn .45s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateX(12px); } }
.panel h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); letter-spacing: -0.02em; }
.panel p { margin-top: 1rem; font-size: 1.12rem; color: var(--on-night); max-width: 34rem; }
.panel ul { margin: 1.5rem 0 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
.panel li { display: flex; gap: .7rem; align-items: baseline; color: var(--white); }
.panel li::before { content: ""; flex: none; width: .5rem; height: .5rem; border-radius: 2px; background: var(--amber); transform: rotate(45deg) translateY(-1px); }
.dark .ring {
  position: absolute; right: -9rem; bottom: -9rem; width: 26rem; height: 26rem; opacity: .1; pointer-events: none;
  animation: spin 60s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* FAQ */
.narrow { max-width: 48rem; }
.faq { margin-top: 2.25rem; border-top: 1px solid var(--line); }
.q { border-bottom: 1px solid var(--line); }
.q summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.25rem 0; cursor: pointer; list-style: none;
  color: var(--night); font: 700 1.02rem/1.4 var(--body);
}
.q summary::-webkit-details-marker { display: none; }
.plus { position: relative; flex: none; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--card); border: 1px solid var(--line); transition: background .3s, transform .4s var(--ease); }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; margin: -1px 0 0 -5px; background: var(--night); border-radius: 2px; transition: transform .3s var(--ease); }
.plus::after { transform: rotate(90deg); }
.q[open] .plus { background: var(--amber); border-color: var(--amber); transform: rotate(180deg); }
.q[open] .plus::after { transform: rotate(0); }
.q p { padding-bottom: 1.25rem; color: var(--muted); max-width: 40rem; }

/* Contact */
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 62rem) { .contact-grid { grid-template-columns: 1fr 1.15fr; gap: 5rem; } }
.contact-grid > div { min-width: 0; }
.intro { color: var(--muted); max-width: 28rem; margin-top: 1rem; }
.channels { margin: 2rem 0 0; padding: 0; list-style: none; display: grid; gap: .75rem; }
.channel {
  display: flex; align-items: center; gap: 1rem; padding: .9rem 1rem;
  border-radius: 14px; background: var(--white); border: 1px solid var(--line);
}
.channel .icon { margin: 0; width: 2.6rem; height: 2.6rem; flex: none; }
.channel .icon svg { width: 20px; height: 20px; }
.channel div { min-width: 0; flex: 1; }
.label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.value { font: 600 1.08rem/1.35 var(--title); overflow-wrap: anywhere; user-select: all; }
.value a { text-decoration: none; }
.value a:hover { text-decoration: underline; }
.copy {
  flex: none; border: 1px solid var(--line); background: var(--card); color: var(--night);
  border-radius: 999px; padding: .4rem .8rem; cursor: pointer; font: 700 .78rem/1 var(--body);
  transition: background .2s, border-color .2s;
}
.copy:hover { border-color: var(--night); }
.copy.done { background: var(--amber); border-color: var(--amber); }

.form {
  position: relative; padding: 1.75rem; border-radius: 20px; background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 30px 60px -40px rgba(11, 27, 61, .45);
}
@media (min-width: 48rem) { .form { padding: 2.25rem; } }
.row { display: grid; gap: 0 1rem; }
@media (min-width: 40rem) { .row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; min-width: 0; }
.field label { font-weight: 700; font-size: .9rem; }
.hint { font-weight: 400; color: var(--muted); }
input, textarea {
  width: 100%; padding: .8rem .9rem; border-radius: 12px;
  border: 1px solid var(--line); background: var(--card); color: var(--night); font: inherit;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
input:focus, textarea:focus { outline: none; border-color: var(--night); background: var(--white); box-shadow: 0 0 0 4px var(--pastel); }
textarea { resize: vertical; min-height: 8rem; }
textarea::placeholder { color: #6B7894; }
.field.bad input, .field.bad textarea { border-color: #B42318; animation: shake .35s; }
.err { min-height: 0; font-size: .82rem; color: #B42318; font-weight: 500; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.counter { justify-self: end; font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.done-panel {
  position: absolute; inset: 0; border-radius: 20px; background: var(--white);
  display: grid; place-content: center; justify-items: center; text-align: center; gap: .8rem; padding: 2rem;
  animation: fadeUp .5s var(--ease);
}
.done-panel svg { width: 76px; height: 76px; }
.done-panel p { color: var(--muted); max-width: 22rem; }

.photos { display: grid; gap: .5rem; justify-items: start; margin-bottom: 1.25rem; padding: 1rem 1.1rem; border-radius: 12px; background: var(--card); border: 1px dashed #b9cde3; }
.photos-title { font-weight: 700; font-size: .9rem; }
.photos .hint { font-size: .9rem; }
.photos .hint.small { font-size: .8rem; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; font-weight: 500; color: var(--night); text-decoration: underline; text-underline-offset: 3px; }
.text-link svg { width: 1rem; height: 1rem; }

/* Footer */
.foot { background: var(--night); color: var(--on-night); font-size: .9rem; }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding-block: 2.5rem; }
.foot .logo { width: 130px; margin-right: auto; }
.foot .logo svg { width: 100%; height: auto; }
.foot a { color: var(--white); }

/* Blog view */
.view-in { animation: viewIn .5s var(--ease); }
@keyframes viewIn { from { opacity: 0; transform: translateY(12px); } }
.blog-hero { position: relative; overflow: hidden; padding-block: 3.5rem 1rem; }
.blog-head { position: relative; z-index: 1; }
.band.tight { padding-top: 1rem; }
.blog-hero h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.3rem); max-width: 40rem; }
.blog-hero .lead { margin-top: 1.1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.chip {
  padding: .45rem .95rem; border-radius: 999px; border: 1px solid var(--line); background: var(--white);
  color: var(--night); font: 500 .9rem/1.2 var(--body); cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.chip:hover { border-color: var(--night); }
.chip[aria-pressed="true"] { background: var(--night); border-color: var(--night); color: var(--white); }
.chip .n { margin-left: .35rem; opacity: .6; font-variant-numeric: tabular-nums; }
.posts { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 40rem) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 66rem) { .posts { grid-template-columns: repeat(3, 1fr); } }
.post {
  position: relative; display: grid; align-content: start; gap: .65rem; min-width: 0; text-align: left;
  padding: 1.6rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  color: var(--night); font: inherit; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
  animation: cardIn .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms);
}
@keyframes cardIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.post:hover { transform: translateY(-4px); border-color: #b9cde3; box-shadow: 0 18px 36px -24px rgba(11, 27, 61, .45); }
.post h3 { font-size: 1.12rem; line-height: 1.35; }
.post p { color: var(--muted); }
.post .more { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; font-size: .9rem; margin-top: .25rem; }
.post .more svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.post:hover .more svg { transform: translateX(4px); }
.meta { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; font-size: .82rem; color: var(--muted); }
.tag { padding: .2rem .6rem; border-radius: 999px; background: var(--pastel); color: var(--night); font-weight: 700; font-size: .75rem; }
.article { max-width: 46rem; padding-block: 2.5rem 4rem; }
.back {
  display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .9rem .45rem .7rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white); color: var(--night); font: 600 .88rem/1 var(--body); cursor: pointer;
}
.back svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.back:hover svg { transform: translateX(-3px); }
.article h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 2.9rem); line-height: 1.1; letter-spacing: -0.035em; margin-top: 1.25rem; }
.article .meta { margin-top: 1.75rem; }
.article .lead { margin-top: 1rem; }
.prose { margin-top: 2rem; font-size: 1.06rem; line-height: 1.75; }
.prose h2 { font-size: 1.35rem; letter-spacing: -0.02em; margin: 2.25rem 0 .6rem; }
.prose p { margin: 0 0 1rem; }
.prose ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.prose li { margin-bottom: .35rem; }
.prose li::marker { color: var(--amber); }
.reading { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 4rem); z-index: 5; height: 3px; background: var(--line); border-radius: 2px; margin-top: 1.5rem; }
.reading i { display: block; height: 100%; background: var(--night); border-radius: 2px; transform-origin: 0 50%; transform: scaleX(0); }
.cta-box { margin-top: 2.5rem; padding: 1.75rem; border-radius: var(--radius); background: var(--night); color: var(--white); }
.cta-box h2 { font-size: 1.35rem; }
.cta-box p { color: var(--on-night); margin-top: .6rem; }
.cta-box .actions { margin-top: 1.25rem; }
.cta-box .btn.ghost { color: var(--white); border-color: var(--pastel); }
.cta-box .btn.ghost:hover { background: rgba(224, 242, 254, .12); }
.disclaimer { margin-top: 1.5rem; font-size: .85rem; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Skip link, hidden until focused. */
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 60; padding: .6rem 1rem; border-radius: 999px; background: var(--night); color: var(--white); font-weight: 700; }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + .75rem); }

/* Honeypot: hidden from sight and from assistive technology (aria-hidden in the markup). */
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Without JavaScript every "who" panel is shown, one after the other. */
.panel + .panel { margin-top: 2.5rem; }
.js .panel[hidden] { display: none; }
.js .panels .panel + .panel { margin-top: 0; }
.js .tabs { display: grid; }
.tabs { display: none; }
.who-grid.stacked { grid-template-columns: 1fr; }
.js .who-grid.stacked { grid-template-columns: 20rem 1fr; }
@media (max-width: 55.99rem) { .js .who-grid.stacked { grid-template-columns: 1fr; } }

.answer { margin-top: 1rem; min-height: 1.4em; font-weight: 500; }
.answer.ok { color: #0B6B3A; }
.answer.bad { color: #B42318; }
.note { margin-top: .9rem; font-size: .82rem; color: var(--muted); }
.stack { max-width: 40rem; padding-block: 4rem; }
.stack section + section { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.foot nav { display: flex; gap: 1rem; flex-wrap: wrap; }
.crumbs { margin-bottom: 1.25rem; font-size: .85rem; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; }
.crumbs a { color: var(--muted); }
.post .more { position: relative; }
.post h3 a { text-decoration: none; }
.post h3 a::after { content: ""; position: absolute; inset: 0; }
.chip[hidden], .post[hidden] { display: none; }

/* Without JavaScript the burger does nothing, so the menu is simply open. */
html:not(.js) .burger { display: none; }
html:not(.js) .sheet { grid-template-rows: 1fr; }

.foot address { font-style: normal; flex-basis: 100%; }

/* Photos: the native input, restyled, and the list of what was picked. */
.photos input[type="file"] { width: auto; max-width: 100%; padding: 0; border: 0; background: none; font: inherit; font-size: .9rem; color: var(--muted); }
.photos input[type="file"]::file-selector-button { margin-right: .75rem; padding: .55rem 1rem; border: 1px solid var(--night); border-radius: 999px; background: #fff; color: var(--night); font: inherit; font-weight: 700; cursor: pointer; }
.photos input[type="file"]::file-selector-button:hover { background: var(--pastel); }
.picked { width: 100%; margin: 0; padding: 0; list-style: none; display: grid; gap: .4rem; }
.picked li { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .45rem .75rem; border-radius: 10px; background: var(--white); border: 1px solid var(--line); font-size: .88rem; }
.picked .name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.picked button { flex: none; border: 0; background: none; color: var(--night); font: 700 .8rem/1 var(--body); text-decoration: underline; cursor: pointer; }

[hidden] { display: none !important; }
