/* Seldon Solutions, the base of the house (SELDON-BASELINE, 2026-11-09; was the holding page). One system, both schemes, both languages.
   Tokens: the V1 block of dust-variations/DUST-VARIATIONS.md (the same names as Conomium's).
   Type: Newsreader (the statements), Host Grotesk (body, labels, controls), JetBrains Mono (small labels).
   The accent in text and controls is teal; navy and amber appear only in the mark and the status marks. */

@font-face { font-family: "Newsreader"; src: url("/assets/fonts/newsreader-latin.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Host Grotesk"; src: url("/assets/fonts/host-grotesk-latin.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/jetbrains-mono-latin.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }

:root {
  color-scheme: light dark;
  /* V1 light */
  --ground: #F7F3EA;
  --ink: #1A1A1A;
  --ink2: #5B554C;
  --card: #1F3A68;
  --station: #0E7C7B;
  --done: #B86E00;
  --action: #0E7C7B;
  --action-hover: #0B6766;
  --on-action: #F7F3EA;
  --tint: #E6E0D3;
  --surface: #FFFDF8;
  --rule: rgba(26, 26, 26, 0.16);
  --rule-strong: rgba(26, 26, 26, 0.48);
  /* type */
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Host Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  /* the ramp (fluid between 390 and 1280) */
  --t-statement: clamp(42px, 3.6vw + 28px, 74px);
  --t-lede: clamp(21px, 0.9vw + 17.5px, 29px);
  --t-mission: clamp(26px, 1.5vw + 16px, 36px);
  --t-line: clamp(22px, 0.9vw + 16.5px, 28px);
  --t-h2: clamp(30px, 1.6vw + 14px, 40px);
  --t-name: 22px;
  --t-body: 17px;
  --t-small: 15px;
  --t-label: 12px;
  /* spacing, 8 px base */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px; --s8: 128px;
  --gutter: 16px;
  --max: 1216px;
  --radius: 10px;
  --radius-s: 6px;
  --control: 46px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #1C2126;
    --ink: #EDE6D8;
    --ink2: #A8A196;
    --card: #7FA2E0;
    --station: #2BB3B1;
    --done: #E9A23B;
    --action: #2BB3B1;
    --action-hover: #3FC4C2;
    --on-action: #1C2126;
    --tint: #2A3037;
    --surface: #242A30;
    --rule: rgba(237, 230, 216, 0.18);
    --rule-strong: rgba(237, 230, 216, 0.38);
  }
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

/* ground */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ground); color: var(--ink); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 var(--t-body) / 1.5 var(--sans); background: var(--ground); color: var(--ink); min-width: 320px; overflow-x: clip; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--rule-strong); text-decoration-thickness: 1px; text-underline-offset: 0.16em; transition: text-decoration-color 120ms ease, color 120ms ease; }
a:hover { text-decoration-color: var(--action); color: var(--action); }
:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--tint); color: var(--ink); }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul { padding: 0; list-style: none; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: var(--gutter); top: -100px; padding: 10px 14px; background: var(--action); color: var(--on-action); border-radius: var(--radius-s); font-weight: 500; text-decoration: none; z-index: 10; }
.skip:focus-visible { top: 12px; outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* words */
.label { font: 500 var(--t-label) / 1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink2); }

/* masthead */
.masthead { padding-block: 22px; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
/* the lockup is sized by width and keeps its aspect: in a narrow row it scales down whole, never squashed */
.brand { display: inline-flex; align-items: center; text-decoration: none; min-width: 0; }
.brand img { width: min(210px, 100%); height: auto; }
.write { font: 500 var(--t-small) / 1 var(--sans); color: var(--action); text-decoration: none; padding: 12px 0; white-space: nowrap; flex: none; }
/* (2026-11-09, Michel TG 16038) the language switch in the masthead, top right, every width */
.head-right { display: flex; align-items: center; gap: 22px; flex: none; }
.lang-switch { display: flex; align-items: center; gap: 8px; font: 500 12px / 1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.lang-switch a { text-decoration: none; color: var(--ink); opacity: .62; padding: 4px 2px; border-bottom: 2px solid transparent; }
.lang-switch a:hover { opacity: 1; color: var(--action); }
.lang-switch a[aria-current="page"] { opacity: 1; font-weight: 600; border-bottom-color: var(--action); }
.lang-switch .sep { color: var(--ink2); user-select: none; }
.write:hover { text-decoration: underline; text-decoration-color: var(--action); text-underline-offset: 0.3em; }
@media (min-width: 720px) { .masthead { padding-block: 26px; } .brand img { width: min(267px, 100%); } }

/* the statement */
.hero { padding-block: var(--s4) var(--s6); }
.hero-in { display: grid; gap: var(--s5); }
.h-statement { font: 300 var(--t-statement) / 1.02 var(--serif); letter-spacing: -0.012em; text-wrap: balance; max-width: 16ch; }
.lede { font: 300 var(--t-lede) / 1.36 var(--serif); margin-top: var(--s3); max-width: 44ch; }
.act { margin-top: var(--s4); }
@media (min-width: 900px) {
  .hero { padding-block: var(--s5) var(--s7); }
  .hero-in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s6); align-items: center; }
  .lede { margin-top: var(--s4); }
}

/* the map: one inline SVG without a viewBox, so one unit is one CSS pixel and the text never scales; places across in
   percent, heights in px; the fills and the text by the tokens, so both schemes follow. Two levels (SELDON-SITE-BUILD,
   2026-11-11): the company at the base, the five names on it. The five cells sit three and two across when the map is
   400 px wide or more; under that, two columns of three rows (a container query: CSS geometry on the rects, a percent
   translate on the name groups, the company moved down by the 60 px the third row adds). */
.map-wrap { container: map / inline-size; max-width: 520px; }
.map { display: block; width: 100%; height: 268px; overflow: visible; }
.map .plate { fill: var(--tint); }
.map [data-level="products"] .box { fill: var(--ground); }
.map .hair { fill: var(--rule-strong); }
.map .lab { font: 500 11px var(--mono); letter-spacing: 0.1em; fill: var(--ink2); pointer-events: none; }
.map .name { font: 600 16px var(--sans); fill: var(--ink); transition: fill 120ms ease; }
.map .name-l { font-size: 18px; }
.map a .box { stroke: transparent; stroke-width: 2px; transition: stroke 120ms ease; }
.map a:hover .name, .map a:focus-visible .name { fill: var(--action); }
.map a:hover .box { stroke: var(--action); stroke-width: 1px; }
.map a:focus-visible { outline: none; }
.map a:focus-visible .box { stroke: var(--action); stroke-width: 2px; }
@container map (max-width: 399.98px) {
  .map { height: 328px; }
  .map [data-level="products"] > .plate { height: 228px; }
  .map .c1 .box, .map .c2 .box, .map .c3 .box, .map .c4 .box, .map .c5 .box { width: 45.25%; }
  .map .c1 .box, .map .c3 .box, .map .c5 .box { x: 3.5%; }
  .map .c2 .box, .map .c4 .box { x: 51.25%; }
  .map .c3 .box, .map .c4 .box { y: 100px; }
  .map .c5 .box { y: 160px; }
  .map .c1 .nm { transform: translate(7.9583%, 0); }
  .map .c2 .nm { transform: translate(23.875%, 0); }
  .map .c3 .nm { transform: translate(-55.7083%, 60px); }
  .map .c4 .nm { transform: translate(55.7083%, 0); }
  .map .c5 .nm { transform: translate(-23.875%, 60px); }
  .map .lower { transform: translate(0, 60px); }
}
@media (min-width: 900px) { .map-wrap { max-width: none; } }

/* a band set apart (the company, the base) */
.band { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding-block: var(--s5); }
.band .label { margin-bottom: var(--s2); }
@media (min-width: 900px) {
  .band { padding-block: var(--s6); }
  .band .wrap { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--s4); align-items: baseline; }
  .band .label { margin-bottom: 0; }
}

/* what we make: three cards, then the two lines of SwitchAPI and Conomium */
.products { padding-block: var(--s6) var(--s6); }
.products > .wrap > .label { margin-bottom: var(--s4); }
.index { display: grid; gap: var(--s3); }
.product { border: 1px solid var(--rule); border-radius: var(--radius); padding: var(--s3); display: flex; flex-direction: column; }
.p-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s1) var(--s2); }
.p-name { font: 600 var(--t-name) / 1.2 var(--sans); letter-spacing: -0.01em; }
.status { display: inline-flex; align-items: center; gap: 8px; font: 500 var(--t-label) / 1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink2); white-space: nowrap; }
.mark { width: 12px; height: 12px; flex: none; }
.mark-card { fill: var(--card); }
.mark-station { fill: var(--station); }
.mark-done { fill: var(--done); }
.p-line { margin-top: var(--s2); color: var(--ink); max-width: 40ch; }
.door { margin-top: var(--s2); font: 500 var(--t-small) / 1.4 var(--sans); }
.product .door { margin-top: auto; padding-top: var(--s2); }
.door a, .door-inline { color: var(--action); text-decoration-color: transparent; }
.door a:hover, .door-inline:hover { text-decoration-color: var(--action); }
.switch { margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); align-items: baseline; }
.switch .door-inline { font-weight: 500; font-size: var(--t-small); white-space: nowrap; }
.switch + .switch { margin-top: var(--s3); padding-top: 0; border-top: 0; }
@media (min-width: 720px) { .index { grid-template-columns: repeat(3, minmax(0, 1fr)); } .p-line { font-size: 16px; } }
@media (min-width: 900px) { .products { padding-block: var(--s7); } .index { gap: var(--s4); } }

/* the company, the base: one quiet band before the contact; the entity as it is registered, one row per fact */
.c-legal { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); margin-top: var(--s4); font-size: var(--t-small); }
.c-legal a { color: var(--ink); text-decoration-color: var(--rule-strong); }
.c-facts { margin: 0; display: grid; gap: var(--s2); max-width: 46rem; }
.c-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
.c-row dt { font: 500 var(--t-label) / 1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink2); }
.c-row dd { margin: 0; font: 400 var(--t-body) / 1.45 var(--sans); color: var(--ink); overflow-wrap: anywhere; }
.c-row dd a { color: var(--action); text-decoration-color: transparent; }
.c-row dd a:hover { text-decoration-color: var(--action); }
@media (min-width: 600px) { .c-row { grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: var(--s3); align-items: baseline; } }

/* contact */
.contact { padding-block: var(--s6) var(--s7); }
.contact-in { display: grid; gap: var(--s5); }
.contact-side .label { margin-bottom: var(--s2); }
.h-contact { font: 300 var(--t-h2) / 1.1 var(--serif); letter-spacing: -0.01em; }
.who { margin-top: var(--s4); font-weight: 500; }
.mail { font: 400 var(--t-body) / 1.5 var(--mono); font-size: 15px; color: var(--ink); user-select: all; -webkit-user-select: all; margin-top: 4px; word-break: break-all; }
.contact-form { display: grid; gap: var(--s3); grid-template-columns: 1fr; }
.field { display: grid; gap: 6px; }
.field label, .consent label { font: 500 var(--t-small) / 1.4 var(--sans); color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; font: 400 var(--t-body) / 1.4 var(--sans); color: var(--ink); background: var(--surface); border: 1px solid var(--rule-strong); border-radius: var(--radius-s); padding: 10px 12px; min-height: var(--control); }
.field textarea { resize: vertical; min-height: 140px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%235B554C' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
@media (prefers-color-scheme: dark) {
  .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%23A8A196' stroke-width='1.6'/%3E%3C/svg%3E"); }
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--action); outline-offset: 1px; border-color: var(--action); }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--action); }
.consent label { font-weight: 400; color: var(--ink); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); }
.btn { font: 500 16px / 1 var(--sans); color: var(--on-action); background: var(--action); border: 0; border-radius: var(--radius-s); padding: 15px 24px; min-height: var(--control); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; transition: background-color 120ms ease; }
.btn:hover { background: var(--action-hover); color: var(--on-action); }
.btn:disabled { opacity: 0.6; cursor: default; }
.form-status { font: 400 var(--t-small) / 1.4 var(--sans); color: var(--ink2); min-height: 1.4em; }
.contact-form.sent .form-status { color: var(--action); }
@media (min-width: 600px) { .contact-form { grid-template-columns: 1fr 1fr; } .field.wide, .consent, .form-actions { grid-column: 1 / -1; } }
@media (min-width: 900px) {
  .contact { padding-block: var(--s7) var(--s8); }
  .contact-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s6); align-items: start; }
}

/* the small pages */
.page { padding-block: var(--s6) var(--s8); min-height: 52vh; }
.page .label { margin-bottom: var(--s2); }
.page h1 { font: 300 clamp(34px, 2.4vw + 13px, 44px) / 1.1 var(--serif); letter-spacing: -0.01em; max-width: 24ch; }
.page .lede { font: 400 18px / 1.5 var(--sans); margin-top: var(--s2); max-width: 52ch; }
.page .more { margin-top: var(--s4); font-weight: 500; }
.page .more a { color: var(--action); text-decoration-color: transparent; }
.page .more a:hover { text-decoration-color: var(--action); }

/* press: the index (/press, /es/prensa) and one page per release (SELDON-SITE-BUILD, 2026-11-11) */
.releases { margin-top: var(--s5); padding: 0; list-style: none; border-top: 1px solid var(--rule); max-width: 52rem; }
.r-item { border-bottom: 1px solid var(--rule); }
.r-link { display: grid; gap: 6px; padding-block: var(--s3); text-decoration: none; color: var(--ink); }
.r-date { font: 500 13px / 1.4 var(--mono); color: var(--ink2); }
.r-head { font: 400 var(--t-line) / 1.3 var(--serif); letter-spacing: -0.005em; max-width: 40ch; transition: color 120ms ease; }
.r-link:hover .r-head, .r-link:focus-visible .r-head { color: var(--action); }
.r-note { margin-top: var(--s4); font-size: var(--t-small); color: var(--ink2); max-width: 60ch; }
.release h1 { max-width: 30ch; }
.r-crumb a { color: var(--action); text-decoration-color: transparent; }
.r-crumb a:hover { text-decoration-color: var(--action); }
.r-body { margin-top: var(--s4); max-width: 66ch; display: grid; gap: var(--s2); }
.r-p { font: 400 18px / 1.6 var(--sans); }
.r-about { margin-top: var(--s3); }
.r-boiler, .r-contact { font: 400 var(--t-small) / 1.6 var(--sans); color: var(--ink2); }
.r-contact a { color: var(--action); text-decoration-color: transparent; }
.r-contact a:hover { text-decoration-color: var(--action); }
/* the release's PDF, at the other end of the crumb's line: the headline stays where it was (SELDON-PRESS-PDF, 2026-11-11) */
.r-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--s1) var(--s3); margin-bottom: var(--s2); }
.page .r-top .label { margin-bottom: 0; }
.r-pdf { font: 500 var(--t-label) / 1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.r-pdf a { color: var(--action); text-decoration-color: transparent; }
.r-pdf a:hover { text-decoration-color: var(--action); }

/* colophon */
.colophon { border-top: 1px solid var(--rule); padding-block: var(--s4) var(--s6); font-size: var(--t-small); color: var(--ink2); }
.foot { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s2) var(--s4); }
.legal { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); }
.legal a { color: var(--ink); text-decoration-color: var(--rule-strong); }
.foot .press { color: var(--ink); font-weight: 500; text-decoration-color: var(--rule-strong); }
.copy { margin-left: auto; }
.lang { color: var(--action); font-weight: 500; text-decoration-color: transparent; }
.lang:hover { text-decoration-color: var(--action); }
@media (max-width: 599px) { .foot { flex-direction: column; align-items: flex-start; } .copy { margin-left: 0; } }

/* motion: one smooth scroll and 120 ms colour fades; none when the reader asks */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
