/* Estudio Tonalli — a night sky, and one sun that lights it.
   Raul, 2026-10-04: "Tonalli is the sun that lights the night — a shining star in the night sky."
   Every page is night. One warm light (copal) is the only accent: where it shines, things appear.
   Motion is slow light, never flash; with "reduce motion" everything is simply lit. */

@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda-italic.woff2") format("woff2");
  font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap; }

:root {
  --night: #0b0e14;          /* the sky */
  --night-2: #121722;        /* a panel in the sky */
  --line: rgba(234, 223, 200, 0.12);
  --amate: #eadfc8;          /* moonlit paper: the text */
  --amate-dim: #a9a090;
  --copal: #f0b75a;          /* the sun */
  --copal-hot: #ffd890;
  --stone: #7f7869;
  --cochineal: #e0566a;      /* errors only */
  --ok: #8fc49a;

  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --text: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --s-1: 0.82rem; --s0: 1.0625rem; --s1: 1.42rem; --s2: 1.89rem; --s3: 2.52rem; --s4: 3.36rem; --s5: 4.48rem;
  --gutter: 16px;
  --measure: 36rem;
  --ease-light: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--night); }
/* The body has no background of its own: it would paint over the sky (html carries the night colour). */
body { margin: 0; font: 400 var(--s0)/1.6 var(--text); overflow-wrap: break-word; hyphens: auto;
  color: var(--amate); min-height: 100vh; position: relative; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--copal); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.08; margin: 0 0 0.5em;
  font-optical-sizing: auto; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0 0 1em; max-width: var(--measure); }
::selection { background: var(--copal); color: var(--night); }

/* ---- The sky: a canvas of stars (night.js) over a deep gradient ---- */
body::before { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(ellipse 120% 60% at 50% 120%, rgba(240, 183, 90, 0.08), transparent 60%),
    radial-gradient(ellipse 80% 50% at 80% -10%, rgba(80, 100, 160, 0.16), transparent 70%),
    linear-gradient(180deg, #0a0d16 0%, #0b0e14 55%, #0d0f12 100%); }
canvas.sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: var(--gutter); top: var(--gutter); background: var(--copal); color: var(--night); padding: 0.5em 0.8em; z-index: 10; }

/* ---- Header ---- */
.site-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 18px var(--gutter); position: relative; z-index: 3; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none;
  font-family: var(--display); font-size: var(--s1); font-weight: 500; letter-spacing: 0.01em; }
.brand span { white-space: nowrap; }
.mark { width: 30px; height: 30px; color: var(--copal); flex: none; filter: drop-shadow(0 0 6px rgba(240, 183, 90, 0.55)); }
.head-right { display: flex; align-items: center; gap: 1.1rem; }
.site-nav { display: flex; gap: 1.5rem; align-items: center; }
.site-nav a { text-decoration: none; padding: 0.4em 0; color: var(--amate-dim); transition: color 0.3s; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--amate); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--copal); }
.site-nav .nav-start { color: var(--copal); }
.site-nav.wide { display: none; }
.nav-fold summary { list-style: none; cursor: pointer; padding: 0.5em 0.2em; }
.nav-fold summary::-webkit-details-marker { display: none; }
.nav-fold[open] .site-nav { position: absolute; right: var(--gutter); top: 64px; flex-direction: column;
  align-items: flex-start; gap: 0.2rem; background: rgba(18, 23, 34, 0.96); border: 1px solid var(--line);
  padding: 1rem 1.4rem; min-width: 12rem; backdrop-filter: blur(6px); }
.lang-switch { display: flex; gap: 0.15rem; font-size: var(--s-1); letter-spacing: 0.04em; }
.lang-switch a { text-decoration: none; padding: 0.35em 0.45em; border-radius: 2px; color: var(--amate-dim); }
.lang-switch a:hover { color: var(--amate); }
.lang-switch a[aria-current="true"] { color: var(--night); background: var(--copal); }
.head-logout { display: flex; align-items: center; gap: 1rem; margin: 0; font-size: var(--s-1); }
.head-space { text-decoration: none; white-space: nowrap; color: var(--amate-dim); }
.linklike { background: none; border: 0; padding: 0.35em 0; font: inherit; color: inherit; cursor: pointer;
  text-decoration: underline; text-underline-offset: 0.2em; }
@media (min-width: 760px) {
  .site-nav.wide { display: flex; }
  .nav-fold { display: none; }
  .site-head { padding: 26px 40px; }
  .head-right { gap: 2rem; }
}
@media (max-width: 430px) {
  .brand { font-size: 1.12rem; gap: 0.45rem; }
  .mark { width: 24px; height: 24px; }
  .head-right { gap: 0.6rem; }
  .lang-switch a { padding: 0.35em 0.35em; }
  .head-space { display: none; }
  .head-logout { gap: 0.4rem; }
}

main { display: block; position: relative; z-index: 1; }
main > * { padding-left: var(--gutter); padding-right: var(--gutter); }
@media (min-width: 760px) { main > * { padding-left: 40px; padding-right: 40px; } }

/* ---- The hero: the Tonalli star rises and lights the title ---- */
.hero { --lx: 68%; --ly: 40%; position: relative; min-height: calc(100svh - 80px); display: flex; align-items: flex-end;
  padding-bottom: 12vh; overflow: hidden; margin-top: -140px; padding-top: 184px; }
.hero-light { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at var(--lx) var(--ly), rgba(255, 216, 144, 0.30), rgba(240, 183, 90, 0.10) 18%, transparent 46%);
  animation: lights-up 3.2s var(--ease-light) 0.4s both; }
.tonalli-star { position: absolute; left: var(--lx); top: var(--ly); width: 132px; height: 132px; margin: -66px 0 0 -66px;
  pointer-events: none; color: var(--copal-hot); }
.tonalli-star .mark { width: 100%; height: 100%; color: inherit;
  filter: drop-shadow(0 0 18px rgba(255, 216, 144, 0.9)) drop-shadow(0 0 48px rgba(240, 183, 90, 0.6));
  animation: star-rise 2.6s var(--ease-light) 0.2s both, star-turn 90s linear 2.8s infinite; }
.tonalli-star::before { content: ""; position: absolute; inset: -140%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 216, 144, 0.22), rgba(240, 183, 90, 0.07) 40%, transparent 65%);
  animation: lights-up 3s var(--ease-light) 0.6s both, breathe 7s ease-in-out 3.6s infinite; }
@media (max-width: 760px) { .tonalli-star { width: 92px; height: 92px; margin: -46px 0 0 -46px; } }
@keyframes star-rise { from { transform: scale(0.05); opacity: 0; } 55% { opacity: 1; } to { transform: scale(1); opacity: 1; } }
@keyframes star-turn { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { opacity: 0.7; transform: scale(1.06); } }
@keyframes lights-up { from { opacity: 0; } to { opacity: 1; } }
.hero-text { position: relative; max-width: 46rem; }
/* The title is lit by the star: its colour comes from a light that sits where the star is. */
.hero h1 { font-size: clamp(var(--s4), 9vw, 6.6rem); font-weight: 400; line-height: 0.98; margin-bottom: 0.4em;
  background: radial-gradient(circle at var(--lx) 0%, #fff4da 0%, var(--amate) 38%, #8a816f 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: title-dawn 3.4s var(--ease-light) 0.5s both; }
@keyframes title-dawn { from { opacity: 0; filter: blur(6px); } to { opacity: 1; filter: blur(0); } }
.lead { font-size: var(--s1); line-height: 1.45; color: var(--amate); max-width: 34rem; }
.hero .lead, .hero .actions { animation: rise-in 1.6s var(--ease-light) 1.6s both; }
@keyframes rise-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.actions { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; margin-top: 2rem; }
.button { display: inline-block; background: var(--copal); color: var(--night); text-decoration: none;
  padding: 0.85em 1.4em; border-radius: 2px; border: 0; font: inherit; font-weight: 600; cursor: pointer;
  transition: box-shadow 0.4s, background 0.3s, transform 0.3s; }
.button:hover { background: var(--copal-hot); box-shadow: 0 0 28px rgba(240, 183, 90, 0.45); }
.button:active { transform: translateY(1px); }
.button.secondary { background: transparent; color: var(--amate); box-shadow: inset 0 0 0 1.5px var(--amate-dim); }
.button.secondary:hover { box-shadow: inset 0 0 0 1.5px var(--copal), 0 0 22px rgba(240, 183, 90, 0.25); color: var(--copal-hot); }
.button[disabled] { opacity: 0.6; cursor: wait; }
.quiet { color: var(--amate-dim); }

/* ---- Lit as you reach it (night.js adds .lit; without JS nothing is ever hidden) ---- */
.js .reveal { opacity: 0.08; transform: translateY(18px); filter: blur(3px);
  transition: opacity 1.4s var(--ease-light), transform 1.4s var(--ease-light), filter 1.4s var(--ease-light); }
.js .reveal.lit { opacity: 1; transform: none; filter: none; }

/* ---- What we make ---- */
.services-brief { padding-top: 14vh; padding-bottom: 6vh; }
.services-brief h2, .process h2 { font-size: var(--s3); }
.trio { display: grid; gap: 2.4rem; margin-top: 2rem; }
.trio > div { position: relative; padding-left: 1.4rem; }
.trio > div::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 6px; height: 6px; border-radius: 50%;
  background: var(--copal-hot); box-shadow: 0 0 10px 2px rgba(240, 183, 90, 0.6); }
.trio h3 { font-size: var(--s2); font-style: italic; font-weight: 400; }
.trio h3 a { text-decoration: none; transition: color 0.3s, text-shadow 0.4s; }
.trio h3 a:hover { color: var(--copal-hot); text-shadow: 0 0 22px rgba(240, 183, 90, 0.4); }
.trio p { color: var(--amate-dim); }
@media (min-width: 900px) { .trio { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }

/* ---- The six steps: a constellation (night.js draws the line through the lit stars) ---- */
.process { padding-top: 10vh; padding-bottom: 10vh; position: relative; }
.process-lead { font-size: var(--s1); line-height: 1.45; max-width: 38rem; margin-bottom: 3rem; }
.acts { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.4rem 3rem; position: relative; }
.acts li { display: grid; grid-template-columns: 3.4rem 1fr; grid-template-rows: auto 1fr; column-gap: 1rem;
  align-items: start; position: relative; z-index: 1; }
.act { font-family: var(--display); font-style: italic; font-size: var(--s2); line-height: 1; color: var(--stone);
  grid-row: 1 / 3; position: relative; transition: color 1s var(--ease-light), text-shadow 1s; }
.act-star { position: absolute; left: -0.9rem; top: 0.3em; width: 7px; height: 7px; border-radius: 50%;
  background: var(--stone); transition: background 0.8s, box-shadow 0.8s; }
.acts li.lit .act { color: var(--copal-hot); text-shadow: 0 0 18px rgba(240, 183, 90, 0.55); }
.acts li.lit .act-star { background: var(--copal-hot); box-shadow: 0 0 12px 3px rgba(240, 183, 90, 0.7); }
.acts h3 { font-size: var(--s1); margin: 0 0 0.25em; }
.acts p { margin: 0; color: var(--amate-dim); }
svg.constellation { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 0; }
svg.constellation polyline { fill: none; stroke: rgba(240, 183, 90, 0.45); stroke-width: 1; stroke-linecap: round;
  stroke-linejoin: round; transition: stroke-dashoffset 1.2s var(--ease-light); }
svg.constellation.figure { left: auto; right: 40px; top: 9vh; width: min(34vw, 380px); height: auto; aspect-ratio: 320 / 150; }
svg.constellation.figure polyline { stroke-width: 1.2; }
svg.constellation circle { fill: #4d4a44; transition: fill 0.9s, filter 0.9s; }
svg.constellation circle.on { fill: var(--copal-hot); filter: drop-shadow(0 0 5px rgba(240, 183, 90, 0.9)); }
@media (min-width: 760px) { .acts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .acts { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1099px) and (min-width: 760px) { svg.constellation.figure { top: 6vh; width: 30vw; } }

/* ---- Closing call ---- */
.closing { padding-top: 12vh; padding-bottom: 14vh; }
.closing h2 { font-size: var(--s4); font-weight: 400; max-width: 14ch; }
.closing p { font-size: var(--s1); }

/* ---- Inner pages ---- */
.page-head { padding-top: 10vh; padding-bottom: 4vh; }
.page-head h1 { font-size: clamp(var(--s3), 7vw, var(--s5)); font-weight: 400; }
.page-head.narrow, .auth { max-width: 30rem; }
.note, .muted-line { color: var(--stone); }
.note { font-size: var(--s-1); }
.crumbs { margin: 0 0 0.6rem; font-size: var(--s-1); }
.crumbs a { color: var(--amate-dim); }
.prose { padding-bottom: 6vh; max-width: calc(var(--measure) + 80px); }
.prose h2 { font-size: var(--s2); margin-top: 1.6em; }
.prose section:first-child h2 { margin-top: 0; }
.services section { margin-bottom: 3rem; }
/* The live-piece offer: its four steps carry the home page's act numerals, lit (the offer is the sun here). */
.show-steps { list-style: none; margin: 1.4rem 0 1.6rem; padding: 0 0 0 0.9rem; display: grid; gap: 1rem; max-width: var(--measure); }
.show-steps li { display: grid; grid-template-columns: 2.8rem 1fr; column-gap: 0.8rem; align-items: baseline; }
.show-steps .act { grid-row: auto; font-size: var(--s1); color: var(--copal); }
.show-steps .act-star { background: var(--copal); }
.show-links { display: flex; flex-wrap: wrap; gap: 0.8rem 1.4rem; align-items: center; }
.services .approve { border-left: 2px solid var(--copal); padding-left: 1.2rem; box-shadow: -10px 0 24px -14px rgba(240, 183, 90, 0.6); }
.legal h2 { font-size: var(--s1); font-family: var(--text); font-weight: 600; letter-spacing: 0; }
.blank { background: var(--cochineal); color: #fff; padding: 0.05em 0.4em; border-radius: 2px; font-size: 0.9em; }
.empty .lead { font-family: var(--display); font-size: var(--s2); line-height: 1.2; }
.about-word { padding-top: 10vh; padding-bottom: 6vh; }
.about-word .mark.big { width: 92px; height: 92px; margin-bottom: 1.4rem; animation: star-turn 120s linear infinite; }
.about-word h1 { font-size: clamp(var(--s4), 14vw, 8rem); font-weight: 400; font-style: italic; margin-bottom: 0.1em;
  text-shadow: 0 0 40px rgba(240, 183, 90, 0.25); }
.say { color: var(--stone); }
.meaning { font-family: var(--display); font-size: var(--s2); line-height: 1.3; max-width: 30ch; }
.work-grid { list-style: none; margin: 0; padding-bottom: 6vh; display: grid; gap: 1.6rem; }
.work-grid a { text-decoration: none; }
.work-title { display: block; margin-top: 0.5rem; font-family: var(--display); font-size: var(--s1); }
@media (min-width: 760px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
.work-grid.solo { grid-template-columns: 1fr; max-width: 52rem; }   /* one piece alone fills the row, never half of it */
.work-demo { font-family: var(--text); font-size: var(--s-1); letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--copal); border: 1px solid var(--copal); border-radius: 3px; padding: 0.1em 0.4em; vertical-align: 0.25em; }
.work-watch { display: block; margin-top: 0.2rem; color: var(--copal); font-size: var(--s0); }
.work-film:hover .work-watch, .work-film:focus-visible .work-watch { text-decoration: underline; }
.work-caption { margin: 0.4rem 0 0; color: var(--amate-dim); }

/* ---- Forms: fields glow when you write in them ---- */
textarea, input[type=text], input[type=email], input[type=password], select {
  width: 100%; font: inherit; color: var(--amate); background: rgba(26, 32, 48, 0.85);
  border: 1px solid rgba(234, 223, 200, 0.18); border-radius: 2px; padding: 0.65rem 0.75rem;
  transition: border-color 0.3s, box-shadow 0.4s, background 0.3s; }
textarea:hover, input:hover, select:hover { border-color: rgba(234, 223, 200, 0.32); }
textarea:focus, input:focus, select:focus { outline: none; border-color: var(--copal);
  box-shadow: 0 0 0 1px var(--copal), 0 0 22px rgba(240, 183, 90, 0.28); background: rgba(30, 36, 52, 0.95); }
select option { background: var(--night-2); }
input[type=file] { font: inherit; max-width: 100%; color: var(--amate-dim); }
input[type=checkbox] { accent-color: var(--copal); }
.brief { max-width: 42rem; padding-bottom: 8vh; }
.brief fieldset { border: 0; margin: 0 0 2.6rem; padding: 0; }
.brief legend { font-family: var(--display); font-size: var(--s2); padding: 0; margin-bottom: 1rem; }
.field { margin-bottom: 1.3rem; }
.field label { display: block; font-weight: 600; margin-bottom: 0.3rem; }
.help, .hint { font-size: var(--s-1); color: var(--stone); margin: 0 0 0.4rem; }
.req { color: var(--copal); }
.field-error { color: var(--cochineal); font-weight: 600; font-size: var(--s-1); margin: 0.35rem 0 0; }
[aria-invalid="true"] { border-color: var(--cochineal); box-shadow: 0 0 0 1px var(--cochineal); }
.row3 { display: grid; gap: 0 1rem; }
@media (min-width: 640px) { .row3 { grid-template-columns: repeat(3, 1fr); } }
.field.check { display: grid; grid-template-columns: auto 1fr; gap: 0.2rem 0.7rem; align-items: start; }
.field.check input { width: 1.2rem; height: 1.2rem; margin-top: 0.2rem; }
.field.check label { font-weight: 400; }
.field.check .field-error { grid-column: 2; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.auth { padding-bottom: 8vh; }
.auth .button { width: 100%; text-align: center; }
.quiet-link { margin-left: 1rem; color: var(--amate-dim); }

/* ---- Notes on a page ---- */
.banner { margin: 0 var(--gutter) 1.4rem; padding: 0.8rem 1rem; background: rgba(240, 183, 90, 0.12);
  border-left: 2px solid var(--copal); max-width: 42rem; }
.banner.answered { background: rgba(143, 196, 154, 0.10); border-left-color: var(--ok); }
.banner.error { background: rgba(224, 86, 106, 0.10); border-left-color: var(--cochineal); color: #ffb3bd; font-weight: 600; }
@media (min-width: 760px) { .banner, .steps { margin-left: 40px; margin-right: 40px; padding-left: 0; padding-right: 0; } }

/* ---- A project's steps (customer pages and the client space) ---- */
.steps { list-style: none; margin: 0 0 8vh; padding: 0 var(--gutter); max-width: 44rem; }
.steps .step a { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.4rem 1rem;
  padding: 1.1rem 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: background 0.4s; }
.steps .step a:hover { background: linear-gradient(90deg, rgba(240, 183, 90, 0.06), transparent 70%); }
.step-name { font-family: var(--display); font-size: var(--s2); }
.step-state { font-size: var(--s-1); padding: 0.2em 0.7em; border-radius: 99px; background: rgba(234, 223, 200, 0.08); color: var(--amate-dim); }
.state-waiting .step-state { background: var(--copal); color: var(--night); font-weight: 600; box-shadow: 0 0 16px rgba(240, 183, 90, 0.45); }
.state-approved .step-state { background: transparent; color: var(--ok); }
.state-changes .step-state { background: transparent; color: var(--copal); }
.space-project { padding-bottom: 2rem; }
.space-project h2 { font-size: var(--s2); margin: 1.5rem 0 0.3rem; padding: 0 var(--gutter); }
.space-project h2 a { text-decoration: none; }
.space-project h2 a:hover { color: var(--copal-hot); }
.space-project .muted-line { padding: 0 var(--gutter); }
@media (min-width: 760px) { .space-project h2, .space-project .muted-line { padding: 0 40px; } }

/* ---- A step's document: gentle panels so long scripts stay easy to read ---- */
.doc-head h1 { font-size: clamp(var(--s3), 6vw, var(--s4)); }
.doc { max-width: 44rem; }
.doc-section { margin: 0 0 1rem; padding: 1.4rem 1.4rem 1rem; background: rgba(18, 23, 34, 0.82);
  border: 1px solid var(--line); border-radius: 3px; }
.doc-section h2 { font-size: var(--s2); }
.doc-section p { font-size: 1.12rem; line-height: 1.7; }
.doc-image { width: 100%; height: auto; margin: 1rem 0; border-radius: 2px; }
.video { position: relative; aspect-ratio: 16 / 9; margin: 1rem 0; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.comment summary { cursor: pointer; color: var(--copal); font-size: var(--s-1); font-weight: 600; padding: 0.4rem 0; width: max-content; }
.comment[open] summary { margin-bottom: 0.4rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.decide { margin-top: 1.4rem; padding: 1.6rem 0 3rem; border-top: 1px solid rgba(240, 183, 90, 0.4); }
.decide label { display: block; font-weight: 600; margin-bottom: 0.4rem; }
.decide-buttons { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.2rem; }
.versions { padding-bottom: 6vh; }
.versions h2 { font-size: var(--s1); font-family: var(--text); font-weight: 600; }
.versions ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 1rem; flex-wrap: wrap; }
.versions a[aria-current="page"] { font-weight: 700; text-decoration: none; color: var(--copal); }

/* ---- A sent idea goes up as a shooting star (night.js) ---- */
.shooting-star { position: fixed; width: 140px; height: 2px; pointer-events: none; z-index: 20;
  background: linear-gradient(90deg, rgba(255, 216, 144, 0), var(--copal-hot)); border-radius: 2px;
  transform-origin: right center; }
.shooting-star::after { content: ""; position: absolute; right: -3px; top: -3px; width: 8px; height: 8px; border-radius: 50%;
  background: #fff6df; box-shadow: 0 0 14px 4px rgba(255, 216, 144, 0.9); }

/* ---- Footer: a thin warm horizon, dawn coming ---- */
.site-foot { position: relative; z-index: 1; padding: 7vh var(--gutter) 4vh; display: grid; gap: 1rem;
  font-size: var(--s-1); color: var(--amate-dim); }
.site-foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 183, 90, 0.6) 50%, transparent); }
.site-foot::after { content: ""; position: absolute; left: 10%; right: 10%; top: 0; height: 60px; pointer-events: none;
  background: radial-gradient(ellipse 50% 100% at 50% 0%, rgba(240, 183, 90, 0.12), transparent 70%); }
.site-foot a { text-decoration: none; }
.site-foot a:hover { text-decoration: underline; color: var(--amate); }
.foot-brand { font-family: var(--display); font-size: var(--s1); color: var(--amate); margin: 0; }
.langs, .foot-legal { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; margin: 0; }
.langs a[aria-current="true"] { color: var(--copal); }
.foot-legal .foot-client { font-weight: 600; color: var(--amate); }
@media (min-width: 760px) { .site-foot { padding: 9vh 40px 5vh; grid-template-columns: 1fr auto auto; align-items: end; gap: 2rem; } }

/* ---- Less motion: everything simply lit ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
}
