/* =====================================================================
   TAKO TSUBO — DESIGN TOKENS
   Abgeleitet vom Key Visual (DSC04745): Silbergrau-Papier, tiefe
   Schwarztöne, kaltes Graphit. Keine Akzentfarbe — Farbe existiert nur
   in den Fotos und erscheint erst bei Berührung.
   ===================================================================== */

@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-var.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('../fonts/instrument-serif.woff2') format('woff2');
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('../fonts/instrument-serif-italic.woff2') format('woff2');
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Plex Mono';
  src: url('../fonts/plex-mono-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Plex Mono';
  src: url('../fonts/plex-mono-500.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: dark;

  /* ---- Farbe ------------------------------------------------------ */
  --c-void:     #050505;  /* Seitenhintergrund */
  --c-ink:      #0c0c0d;  /* Flächen */
  --c-graphite: #17181a;  /* gehobene Flächen */
  --c-steel:    #2b2d30;  /* Linien kräftig */
  --c-ash:      #74777b;  /* Sekundärtext */
  --c-silver:   #b7babe;  /* Fließtext */
  --c-paper:    #d9d3cb;  /* Papierton aus dem Key Visual */
  --c-white:    #f1f0ec;  /* Headlines */
  --c-line:     rgb(241 240 236 / 0.14);
  --c-line-strong: rgb(241 240 236 / 0.32);
  --c-stroke:   #4a4d52;  /* Kontur für offene Platzhalter */

  /* Chrom: harte Spiegelkante in der Mitte, kalt */
  --chrome: linear-gradient(180deg,
    #fbfbfa 0%, #cfd2d6 22%, #8d9197 44%, #2c2e32 50%,
    #6d7177 56%, #c4c7cb 74%, #f4f4f2 88%, #9a9ea4 100%);

  /* ---- Typografie ------------------------------------------------- */
  --f-display: 'Archivo', 'Arial Narrow', sans-serif-condensed, Impact, sans-serif;
  --f-sans:    'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --f-serif:   'Instrument Serif', 'Times New Roman', serif;
  --f-mono:    'Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  /* Skala: fluid, Mobile → Desktop */
  --t-meta:   0.6875rem;                                  /* 11px Mono-Metadaten */
  --t-small:  0.8125rem;                                  /* 13px */
  --t-body:   clamp(1rem, 0.95rem + 0.2vw, 1.125rem);     /* 16–18 */
  --t-lead:   clamp(1.25rem, 1rem + 1vw, 1.75rem);
  --t-h3:     clamp(1.75rem, 1.2rem + 2.4vw, 3.25rem);
  --t-h2:     clamp(3.25rem, 1.5rem + 8vw, 10rem);        /* Sektionstitel */

  --track-meta: 0.12em;
  --track-tight: -0.02em;

  /* ---- Abstände (8er-Raster) -------------------------------------- */
  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2rem;
  --s-5: 3rem;
  --s-6: 4.5rem;
  --s-7: 7rem;
  --s-8: 11rem;

  --gutter: clamp(1rem, 0.4rem + 2.6vw, 3rem);
  --section-y: clamp(6rem, 3rem + 10vw, 14rem);
  --nav-h: 4rem;

  /* ---- Grid -------------------------------------------------------
     12 Spalten Desktop, 6 Tablet, 4 Mobile. Breakpoints:
     600px (Phablet) · 900px (Tablet/kleiner Desktop) · 1280px (Desktop)
  ------------------------------------------------------------------ */
  --cols: 4;

  /* ---- Bewegung --------------------------------------------------- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);       /* Reveals */
  --ease-inout: cubic-bezier(0.76, 0, 0.24, 1);    /* Bildübergänge */
  --d-fast: 240ms;
  --d-mid: 700ms;
  --d-slow: 1400ms;

  /* ---- Ebenen ----------------------------------------------------- */
  --z-hud: 40;
  --z-nav: 50;
  --z-grain: 90;
}

@media (min-width: 600px) { :root { --cols: 6; } }
@media (min-width: 900px) { :root { --cols: 12; --nav-h: 4.5rem; } }
