/* Samuel Toiture · socle : polices auto-hébergées, variables de charte, remise à zéro, utilitaires. */
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-latin-wght-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-latin-ext-wght-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF; }
@font-face { font-family: "DM Mono"; src: url("../fonts/dm-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("../fonts/dm-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:where(:root) {
  --st-red: #C4161C; --st-red-deep: #8E0F14; --st-red-live: #E4403F; --st-yellow: #F2B705; --st-ink: #1F2421; --st-night: #171A18;
  --st-metal: #8D9196; --st-metal-deep: #5C6066; --st-metal-hi: #C9CCCF; --st-cream: #FAF6EE; --st-paper: #FFFDF8; --st-brick: #A8442E;
  --f-display: "Bricolage Grotesque", "Arial Narrow", Arial, sans-serif;
  --f-text: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --f-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --st-ease: cubic-bezier(.2, .8, .2, 1);
}
:root {
  --line: color-mix(in srgb, var(--st-ink) 14%, transparent);
  --line-d: color-mix(in srgb, var(--st-cream) 16%, transparent);
  --mute: color-mix(in srgb, var(--st-ink) 68%, transparent);
  --mute-d: color-mix(in srgb, var(--st-cream) 72%, transparent);
  --bar-h: 76px; --pad: clamp(20px, 4.4vw, 60px); --sec: clamp(72px, 10vw, 148px); --r: 6px;
  --bricks: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='44'%3E%3Cpath d='M0 .5h84M0 22.5h84M21.500 0v22M63.500 0v22M42.500 22v22M.500 22v22' fill='none' stroke='%23FAF6EE' stroke-opacity='.045'/%3E%3C/svg%3E");
  --bricks-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='44'%3E%3Cpath d='M0 .5h84M0 22.5h84M21.500 0v22M63.500 0v22M42.500 22v22M.500 22v22' fill='none' stroke='%231F2421' stroke-opacity='.04'/%3E%3C/svg%3E");
  color-scheme: light;
}
@media (max-width: 759px) { :root { --bar-h: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 12px); overflow-x: clip; }
body { margin: 0; background: var(--st-cream); color: var(--st-ink); font: 400 1.0625rem/1.62 var(--f-text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, video, canvas, svg { display: block; max-width: 100%; }
img, video { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, figure, blockquote, fieldset, address { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
address { font-style: normal; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--st-yellow); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--st-red); color: var(--st-cream); }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 200; background: var(--st-yellow); color: var(--st-ink); padding: 10px 16px; font-weight: 700; border-radius: var(--r); }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--pad); }
.center { text-align: center; margin-top: clamp(28px, 4vw, 48px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
