/* Infinity Wave. The tokens: every color, type and measure of the brand, named once.
   This one file is the source for the website and for anything made after it (a card, a flyer, a banner).
   Colors since Monday, October 12, 2026: the palette of the public education proposal (deep #0A3A4A, lagoon #0F7480,
   sun #F4B942, mist #B9D3D8, foam #E6F1F2, sand #F6F1E7), at the Owner's word that the site match it. The token names
   stay as they were (obsidian is now the deep ground, gold is now the sun), so no other file needed a new name.
   Gold text never sits on a light ground. The colors before this change: _before_proposal-colors_2026-10-12. */

@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: "Jost"; src: url("../fonts/jost.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  /* ---------- color: the proposal's palette ---------- */
  --iw-obsidian: #0A3A4A;          /* the ground: the proposal's deep */
  --iw-gold: #F4B942;              /* the proposal's sun: the mark, the wave, fine rules; 6.9 to 1 on the deep */
  --iw-graphite: #104658;          /* the engraved scale texture; texture only, never text */
  --iw-pearl: #FFFFFF;             /* headlines; 12.2 to 1 on the deep */
  --iw-silver: #E6F1F2;            /* body text: the proposal's foam; 10.6 to 1 on the deep */
  --iw-mist: #B9D3D8;              /* secondary text: the proposal's mist; 7.8 to 1 on the deep */
  --iw-ivory: #F6F1E7;             /* the proposal's sand, a light ground kept in the library; this site does not use one */
  --iw-bronze: #604A25;            /* a gold tone for text on a light ground, kept in the library */
  --iw-lagoon: #0F7480;            /* the proposal's lagoon: the islands on the chart; shapes only, never text on the deep */
  --iw-lagoon-lit: #3A9BA6;        /* the lagoon where light strikes it: the coastlines */

  /* ---------- color: the light (made from the sun and the deep) ---------- */
  --iw-gold-lit: #FCD98F;          /* the sun where light strikes it: glints, the head of the wave, hover */
  --iw-gold-deep: #C89836;         /* the sun in shade: the far side of a gradient */
  --iw-night: #0C4254;             /* the sky where it meets the sea */
  --iw-panel: #0D4152;             /* a raised panel, one step above the ground */
  --iw-panel-lit: #11485A;         /* the same panel under the visitor's light */
  --iw-card: #072F3C;              /* the business card's own ground, a step under the deep */
  --iw-gold-metal: linear-gradient(100deg, #E2A533 0%, #FCD98F 34%, #F4B942 62%, #C89836 100%);

  /* ---------- color: lines and light, by role ---------- */
  --iw-rule: rgba(185, 211, 216, .30);      /* a mist hairline, as the proposal draws its dividers on the deep */
  --iw-rule-soft: rgba(185, 211, 216, .16);
  --iw-rule-cool: rgba(185, 211, 216, .16); /* a quiet divider inside a panel */
  --iw-glow: rgba(244, 185, 66, .10);       /* the visitor's light on a panel */
  --iw-focus: #FCD98F;

  /* ---------- color: tints. A brand color let through at part strength, for hairlines, glows, shadows and veils.
     The number in the name is the strength in parts of a hundred (a045 is four and a half); clear is none at all. ---------- */
  --iw-gold-clear: rgba(244, 185, 66, 0);
  --iw-gold-a045: rgba(244, 185, 66, .045);
  --iw-gold-a06: rgba(244, 185, 66, .06);
  --iw-gold-a08: rgba(244, 185, 66, .08);
  --iw-gold-a10: rgba(244, 185, 66, .1);
  --iw-gold-a13: rgba(244, 185, 66, .13);
  --iw-gold-a16: rgba(244, 185, 66, .16);
  --iw-gold-a17: rgba(244, 185, 66, .17);
  --iw-gold-a18: rgba(244, 185, 66, .18);
  --iw-gold-a20: rgba(244, 185, 66, .2);
  --iw-gold-a22: rgba(244, 185, 66, .22);
  --iw-gold-a30: rgba(244, 185, 66, .3);
  --iw-gold-a32: rgba(244, 185, 66, .32);
  --iw-gold-a40: rgba(244, 185, 66, .4);
  --iw-gold-a55: rgba(244, 185, 66, .55);
  --iw-gold-a66: rgba(244, 185, 66, .66);
  --iw-gold-a75: rgba(244, 185, 66, .75);
  --iw-gold-a80: rgba(244, 185, 66, .8);
  --iw-gold-lit-a13: rgba(252, 217, 143, .13);
  --iw-gold-lit-a22: rgba(252, 217, 143, .22);
  --iw-gold-lit-a35: rgba(252, 217, 143, .35);
  --iw-gold-lit-a55: rgba(252, 217, 143, .55);
  --iw-gold-lit-a60: rgba(252, 217, 143, .6);
  --iw-obsidian-clear: rgba(10, 58, 74, 0);
  --iw-obsidian-a86: rgba(10, 58, 74, .86);
  --iw-obsidian-a88: rgba(10, 58, 74, .88);
  --iw-obsidian-a90: rgba(10, 58, 74, .9);
  --iw-obsidian-a96: rgba(10, 58, 74, .96);
  --iw-black-a80: rgba(0, 0, 0, .8);
  --iw-black-a90: rgba(0, 0, 0, .9);
  --iw-white-a55: rgba(255, 255, 255, .55);

  /* ---------- color: single points of light and shade ---------- */
  --iw-glint: #FFF6DC;            /* the brightest point of light: the head of the wave, a glint on a mark */
  --iw-card-lit: #0E4253;         /* the card's ground where its light falls */
  --iw-black: #000;               /* pure black: shadows and masks only, never a ground */
  --iw-white: #FFF;               /* pure white: a word under the pointer, a point of light */
  --iw-mark-unlit: #285C6C;       /* a mark of the record field before it is read */

  /* ---------- type: families ---------- */
  --iw-font-display: "Bodoni Moda", "Bodoni MT", Didot, "Times New Roman", serif;   /* the wordmark, headlines */
  --iw-font-caps: "Jost", "Century Gothic", Futura, "Trebuchet MS", sans-serif;     /* labels, the menu, buttons: capitals, wide */
  --iw-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; /* sentences, contact details */

  /* ---------- type: sizes (calm authority; nothing shouts) ---------- */
  --iw-size-wordmark: clamp(1.2rem, .78rem + 1.55vw, 2.05rem);
  --iw-size-statement: clamp(1.55rem, 1.08rem + 1.75vw, 2.5rem);   /* the tagline */
  --iw-size-h2: clamp(1.85rem, 1.22rem + 2.15vw, 3.05rem);
  --iw-size-h3: clamp(1.3rem, 1.16rem + .5vw, 1.6rem);
  --iw-size-lead: clamp(1.08rem, 1rem + .38vw, 1.3rem);
  --iw-size-body: clamp(1rem, .97rem + .16vw, 1.0875rem);
  --iw-size-small: .875rem;
  --iw-size-label: .74rem;

  /* ---------- type: weight, measure, spacing of letters ---------- */
  --iw-weight-display: 500;        /* a little above regular, so the fine strokes of the serif hold on a screen */
  --iw-optical: 30;                /* the serif's optical size, held low so its thin strokes stay readable at any size */
  --iw-track-wordmark: .5em;       /* the card's own spacing for INFINITY WAVE */
  --iw-track-caps: .2em;
  --iw-track-button: .16em;
  --iw-leading-tight: 1.14;
  --iw-leading-body: 1.68;
  --iw-measure: 62ch;

  /* ---------- type: weights and the small optical size ---------- */
  --iw-weight-regular: 400;
  --iw-weight-medium: 500;
  --iw-weight-strong: 600;
  --iw-optical-small: 18;         /* the optical size for the name set small: the header and the card */

  /* ---------- type: the size of each small part (cqw is one part in a hundred of the card's own width) ---------- */
  --iw-size-button: .8rem;
  --iw-size-brand-word: .84rem;
  --iw-size-nav-phone: .66rem;
  --iw-size-menu-phone: .95rem;
  --iw-size-disciplines: clamp(.68rem, .62rem + .22vw, .8rem);
  --iw-size-term: clamp(1.7rem, 1.4rem + 1vw, 2.25rem);
  --iw-size-card-word: 4.3cqw;
  --iw-size-card-name: 3.7cqw;
  --iw-size-card-role: 1.78cqw;
  --iw-size-card-detail: 2.62cqw;
  --iw-size-card-button: max(.62rem, 1.9cqw);
  --iw-size-legal: .8rem;
  --iw-size-wordmark-lost: clamp(.95rem, .8rem + .6vw, 1.3rem);
  --iw-size-card-name-phone: 4.5cqw;
  --iw-size-card-role-phone: 2.75cqw;
  --iw-size-card-detail-phone: 3.6cqw;
  --iw-size-card-button-phone: max(.56rem, 2.5cqw);
  --iw-size-foot-disciplines-phone: .7rem;
  --iw-size-reach-narrow: .8125rem;

  /* ---------- type: the spacing of letters, part by part ---------- */
  --iw-track-h2: -.004em;
  --iw-track-statement: .005em;
  --iw-track-brand-word: .36em;
  --iw-track-nav-phone: .1em;
  --iw-track-menu-phone: .24em;
  --iw-track-disciplines: .24em;
  --iw-track-place: .26em;
  --iw-track-disciplines-phone: .22em;
  --iw-track-card-name: .3em;
  --iw-track-card-role: .17em;
  --iw-track-card-button: .13em;
  --iw-track-card-role-phone: .15em;
  --iw-track-card-button-phone: .06em;
  --iw-track-foot-disciplines-phone: .16em;

  /* ---------- type: the height of a line, part by part ---------- */
  --iw-leading-lead: 1.6;
  --iw-leading-statement: 1.2;
  --iw-leading-wordmark: 1.1;
  --iw-leading-term: 1.1;
  --iw-leading-panel-name: 1.2;
  --iw-leading-leg-name: 1.2;
  --iw-leading-card-word: 1;
  --iw-leading-card-name: 1.2;
  --iw-leading-card-role: 1.5;
  --iw-leading-card-detail: 1.62;
  --iw-leading-card-detail-phone: 1.5;
  --iw-leading-foot-disciplines-phone: 1.75;

  /* ---------- the intake and the visitor's card: color, type and motion, named like the rest ---------- */
  --iw-alert: #F0A08A;                       /* a warm red for a field that needs another look; 5.9 to 1 on the deep */
  --iw-mist-a60: rgba(185, 211, 216, .6);    /* a line not yet written on the visitor's card */
  --iw-size-pick: 1rem;                      /* an answer to choose */
  --iw-size-field: 1.0625rem;                /* a typed answer; never under 16px, so a phone does not zoom in on it */
  --iw-size-card-name-long: 2.9cqw;          /* a long name on the visitor's card */
  --iw-size-card-name-long-phone: 3.5cqw;
  --iw-track-card-name-long: .16em;
  --iw-leading-pick: 1.3;
  --iw-leading-ask: 1.2;
  --iw-flip: .46s;                           /* an answer turning to its gold side */
  --iw-seal: .6s;                            /* the SENT seal landing on the visitor's card */
  --iw-size-received: clamp(1.6rem, 1.2rem + 1.3vw, 2.35rem);   /* the closing words, a step above a question */
  --iw-size-seal: 2.4cqw;                    /* the word on the seal */
  --iw-size-seal-phone: 3.2cqw;
  --iw-track-seal: .24em;

  /* ---------- space ---------- */
  --iw-gutter: clamp(1.375rem, 6.2vw, 7.5rem);
  --iw-wrap: 75rem;
  --iw-section: clamp(5.5rem, 13vh + 2rem, 11rem);
  --iw-bar: 4.5rem;                /* the header's height */
  --iw-tide-x: clamp(10px, calc(var(--iw-gutter) * .42), 52px);   /* where the wave runs down the page's edge */
  --iw-radius: 3px;
  --iw-radius-card: 10px;

  /* ---------- motion ---------- */
  --iw-ease: cubic-bezier(.22, .61, .2, 1);
  --iw-ease-io: cubic-bezier(.65, 0, .25, 1);
  --iw-quick: .28s;
  --iw-slow: .9s;
  --iw-turn: 1.05s;                /* the card turning over */
}

@media (max-width: 720px) {
  :root { --iw-bar: 3.75rem; --iw-section: clamp(5rem, 11vh + 1.5rem, 8rem); }
}
@media (max-width: 400px) {
  :root { --iw-size-h2: clamp(1.45rem, 7.6vw, 1.85rem); }   /* the longest headline line still fits a narrow phone */
}
