/* $BAGUETTE — a tricolore poster: navy, the flag's blue / white / red, cream, crust gold. */

:root {
  --blue: #0136BB;        /* the flag in the hero picture, sampled from it */
  --white: #FDFDFD;
  --red: #F6101D;
  --navy: #0B1433;
  --navy-2: #121D49;
  --night: #070D24;
  --cream: #F6F1E7;
  --gold: #E9A94E;
  --ink: #0B1433;

  --nav-h: 68px;
  --gut: clamp(16px, 4vw, 48px);
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --serif: "Instrument Serif", "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy);
  color: #fff;
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--navy); padding: 10px 14px; font-weight: 600; }
.skip:focus { top: 12px; }

/* before the launch: links go to X and the "launched" parts stay hidden; app.js flips it once the CA is set */
html:not(.launched) .only-launched,
html.launched .only-soon { display: none !important; }

.wrap { max-width: 1440px; margin: 0 auto; padding-inline: var(--gut); }
.label { font: 600 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.gold { color: var(--gold); }

.tricolore { display: flex; height: 4px; }
.tricolore i { flex: 1; }
.tricolore i:nth-child(1) { background: var(--blue); }
.tricolore i:nth-child(2) { background: var(--white); }
.tricolore i:nth-child(3) { background: var(--red); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px;
  border: 1.5px solid transparent; border-radius: 3px;
  font: 700 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 12px; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #D90A16; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--cream); }
.btn-line { background: transparent; border-color: currentColor; color: inherit; }
.btn-line:hover { background: rgba(255, 255, 255, .12); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(11, 20, 51, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.nav-in {
  padding: 0 var(--gut);
  height: calc(var(--nav-h) - 4px);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.brand { display: block; }
.brand img { height: 40px; width: auto; }
.menu { justify-self: center; display: flex; gap: 32px; }
.menu a { font: 600 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; opacity: .76; padding: 8px 0; transition: opacity .15s; }
.menu a:hover { opacity: 1; }
.nav-act { display: flex; align-items: center; gap: 10px; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 3px; border: 1.5px solid rgba(255, 255, 255, .3); transition: border-color .15s, background-color .15s; }
.icon-btn:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.icon-btn svg { width: 16px; height: 16px; fill: currentColor; }
.burger { display: none; width: 40px; height: 40px; border: 1.5px solid rgba(255, 255, 255, .3); border-radius: 3px; background: none; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; transition: transform .2s; }
.burger span:first-child { top: 14px; }
.burger span:last-child { bottom: 14px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- hero: the flag ---------- */
.hero {
  --vh: 100svh;
  --word: min(19vw, 260px);                                                          /* the giant word's size */
  --fit: calc((var(--vh) - var(--nav-h) - 64px - var(--word) * .82) / .92);           /* the picture that fits under it */
  --s: min(820px, calc(100vw - 680px), max(440px, var(--fit)));                       /* the picture's side */
  --white-half: calc(var(--s) * .19821);                                              /* its white stripe: 555 of 1400 px */
  position: relative;
  background: var(--navy);
}
@supports not (height: 1svh) { .hero { --vh: 100vh; } }
.flag {
  position: relative;
  min-height: calc(var(--vh) - var(--nav-h));
  display: flex; flex-direction: column;
  overflow: hidden;
  background: linear-gradient(90deg, var(--blue) 0 calc(50% - var(--white-half)), var(--white) 0 calc(50% + var(--white-half)), var(--red) 0);
}
.hero-tags { display: flex; justify-content: space-between; gap: 12px; padding: 18px var(--gut) 0; position: relative; z-index: 3; }
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: #fff;
  font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  padding: 8px 12px; border-radius: 999px;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(233, 169, 78, .3); }
/* white on the blue, blue on the white, white on the red: the same stripes, clipped to the letters */
.word {
  position: relative; z-index: 2;
  margin: 14px 0 calc(var(--s) * -.08);
  font: 400 var(--word)/.84 var(--display);
  letter-spacing: .01em; text-transform: uppercase; text-align: center;
  background: linear-gradient(90deg, var(--white) 0 calc(50% - var(--white-half)), var(--blue) 0 calc(50% + var(--white-half)), var(--white) 0);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.art { position: relative; z-index: 1; margin-top: auto; align-self: center; width: var(--s); }
/* the picture's edges melt into the page's own stripes: no seam at the sides or on top */
.art-x { -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.art img { width: 100%; height: auto; -webkit-mask-image: linear-gradient(180deg, transparent, #000 9%); mask-image: linear-gradient(180deg, transparent, #000 9%); }

.sides {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  height: calc(var(--s) * .92);
  display: flex; justify-content: space-between;
  pointer-events: none;
}
.side {
  width: calc(50% - var(--s) / 2);
  padding: 0 var(--gut) clamp(32px, 5vh, 56px);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 18px;
  pointer-events: auto;
}
.side-r { align-items: flex-end; text-align: right; }
.side-r .cta { justify-content: flex-end; }
.kicker { font: 600 12px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; opacity: .9; }
.motto { font: 400 clamp(40px, 3.7vw, 64px)/1.14 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.side-p { font-size: 16px; line-height: 1.5; max-width: 30ch; opacity: .92; }

/* ---------- contract ---------- */
.contract { background: var(--navy); border-top: 1px solid rgba(255, 255, 255, .12); }
.contract-in { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; padding-block: 18px; }
.contract .label { opacity: .7; }
.ca {
  flex: 1 1 360px; min-width: 0;
  font: 500 14px/1.4 var(--mono); color: #fff;
  background: rgba(255, 255, 255, .05); border: 1.5px dashed rgba(255, 255, 255, .25); border-radius: 3px;
  padding: 11px 14px; overflow-wrap: anywhere;
}
.contract-act { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.link { font: 600 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; opacity: .85; }
.link:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- marquee ---------- */
.marquee { background: var(--gold); color: var(--navy); overflow: hidden; border-block: 2px solid var(--navy); }
.track { display: flex; width: max-content; animation: slide 48s linear infinite; }
.group {
  display: flex; align-items: center; gap: 26px; padding: 15px 26px 15px 0;
  font: 400 clamp(22px, 2.3vw, 32px)/1 var(--display); letter-spacing: .02em; text-transform: uppercase; white-space: nowrap;
}
.group i { font-style: normal; font-size: .82em; }
@keyframes slide { to { transform: translateX(-25%); } }

/* ---------- sections ---------- */
.sec { padding: clamp(72px, 10vw, 140px) 0; }
.sec-cream { background: var(--cream); color: var(--ink); --rule: rgba(11, 20, 51, .16); --accent: var(--blue); --soft: rgba(11, 20, 51, .72); }
.sec-navy { background: var(--navy); color: #fff; --rule: rgba(255, 255, 255, .16); --accent: var(--gold); --soft: rgba(255, 255, 255, .74); }
.sec-blue { background: var(--blue); color: #fff; --rule: rgba(255, 255, 255, .28); --accent: var(--gold); --soft: rgba(255, 255, 255, .86); }
.sec-head { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head .label { opacity: .72; }
.h2 { margin: 0; font: 400 clamp(48px, 7.4vw, 124px)/.96 var(--display); text-transform: uppercase; letter-spacing: .005em; }
.h2 em { font: italic 400 1.1em/.8 var(--serif); text-transform: none; letter-spacing: -.01em; color: var(--accent); }
.split { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: end; }
.split-p { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--soft); max-width: 40ch; }
.split-p i { font-family: var(--serif); font-size: 1.25em; color: var(--accent); }

/* the story */
.story-text { display: grid; gap: 16px; max-width: 46ch; }
.lead { font: 600 clamp(20px, 1.8vw, 25px)/1.38 var(--sans); }
.story-text p:not(.lead) { color: var(--soft); }
.pain {
  margin-top: clamp(64px, 8vw, 120px);
  display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center;
  padding: clamp(28px, 4.5vw, 64px);
  background: var(--navy); color: #fff; border-radius: 4px;
  position: relative; overflow: hidden;
}
.pain::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--blue) 0 33.33%, var(--white) 0 66.66%, var(--red) 0); }
.pain-big { font: 400 clamp(56px, 9vw, 150px)/1 var(--display); text-transform: uppercase; }
.def { border-left: 1px solid rgba(255, 255, 255, .2); padding-left: clamp(20px, 3vw, 40px); font-family: var(--serif); }
.def-word { font: italic 400 clamp(44px, 4.4vw, 68px)/1 var(--serif); }
.def-ipa { font-style: normal; font-size: .5em; opacity: .7; }
.def-kind { font: 600 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; opacity: .65; margin: 10px 0 16px; }
.def ol { margin: 0; padding-left: 1.3em; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.35; }
.def li::marker { font-family: var(--mono); font-size: .6em; color: var(--gold); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(48px, 6vw, 88px) 0 0; border-top: 1px solid var(--rule); }
.facts > div { padding: 18px 20px 4px 0; }
.facts > div + div { border-left: 1px solid var(--rule); padding-left: 20px; }
.facts dt { font: 600 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; opacity: .62; }
.facts dd { margin: 10px 0 0; font: 400 clamp(24px, 2.4vw, 36px)/1 var(--display); text-transform: uppercase; }

/* the riot */
.film { margin: clamp(36px, 5vw, 64px) 0 0; border-radius: 4px; overflow: hidden; background: #000; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7); }
.film-box { position: relative; }
.film video { width: 100%; height: auto; aspect-ratio: 1344 / 768; object-fit: cover; background: #000; }
.sound {
  position: absolute; top: 16px; right: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 13px; border-radius: 999px;
  background: rgba(11, 20, 51, .72); border: 1px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; cursor: pointer;
}
.sound:hover { background: rgba(11, 20, 51, .9); }
.sound svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sound svg path:first-child { fill: currentColor; }
.sound .wave { display: none; }
.sound[aria-pressed="true"] .wave { display: inline; }
.sound[aria-pressed="true"] .mute { display: none; }
.film figcaption {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 14px 18px; background: var(--navy-2);
  font: 600 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase;
}
.rec { display: inline-flex; align-items: center; gap: 8px; color: #FF5A63; flex: none; }
.rec b { width: 9px; height: 9px; border-radius: 50%; background: var(--red); animation: blink 1.4s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: .15; } }

/* propaganda */
.gallery { margin-top: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: 1.08fr 1fr 1fr; grid-auto-rows: clamp(170px, 16.5vw, 250px); gap: 12px; }
.shot { position: relative; display: block; padding: 0; border: 0; border-radius: 4px; overflow: hidden; background: var(--navy); cursor: zoom-in; text-align: left; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.shot:hover img { transform: scale(1.045); }
.shot-tall { grid-row: span 2; }
.shot-cap {
  position: absolute; left: 10px; bottom: 10px;
  padding: 7px 10px; border-radius: 999px;
  background: rgba(11, 20, 51, .84); color: #fff;
  font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
}
.shot-cta { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; padding: clamp(18px, 2vw, 26px); background: var(--red); color: #fff; text-decoration: none; cursor: pointer; transition: background-color .2s; }
.shot-cta:hover { background: #D90A16; }
.cta-big { font: 400 clamp(30px, 3vw, 46px)/.95 var(--display); text-transform: uppercase; }
.cta-small { font-size: 14px; opacity: .9; }

/* how to buy */
.steps { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.steps li { position: relative; overflow: hidden; background: #fff; color: var(--ink); border-radius: 4px; padding: 26px 22px 28px; }
.steps li::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--blue) 0 33.33%, var(--cream) 0 66.66%, var(--red) 0); }
.steps .n { display: block; font: 400 54px/1 var(--display); color: var(--red); }
.steps h3 { margin: 18px 0 10px; font: 400 26px/1.05 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.steps p { font-size: 15px; line-height: 1.55; color: rgba(11, 20, 51, .74); }
.warn { margin-top: 28px; display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--soft); }
.warn svg { flex: none; width: 20px; height: 20px; margin-top: 1px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.warn a { color: #fff; font-weight: 600; text-underline-offset: 3px; }

/* closing */
.closing {
  padding: clamp(88px, 12vw, 170px) 0;
  background: radial-gradient(ellipse 70% 60% at 50% 115%, rgba(1, 54, 187, .6), transparent 70%), var(--navy);
  text-align: center; overflow: hidden;
}
.closing-in { display: flex; flex-direction: column; align-items: center; }
.closing .label { opacity: .65; }
.vive { margin: 22px 0 0; display: flex; flex-direction: column; align-items: center; font-weight: 400; }
.vive span { font: 400 clamp(56px, 10vw, 168px)/.84 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.vive img { width: min(860px, 90vw); height: auto; margin-top: clamp(-18px, -1.2vw, -8px); }
.closing .cta { justify-content: center; margin-top: clamp(28px, 4vw, 48px); }

/* footer */
.foot { background: var(--night); color: rgba(255, 255, 255, .7); font-size: 14px; line-height: 1.6; }
.foot-in { display: grid; grid-template-columns: auto 1fr auto; gap: 20px 48px; align-items: start; padding-block: 48px 36px; }
.foot-logo { height: 42px; width: auto; }
.disclaimer { max-width: 72ch; }
.foot-links { display: flex; gap: 22px; }
.foot-links a { font: 600 12px/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: #fff; }
.foot-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.copy { grid-column: 1 / -1; font: 500 12px/1.4 var(--mono); opacity: .55; }

/* the picture, large */
.zoom { padding: 0; border: 0; background: transparent; color: #fff; max-width: min(1200px, 94vw); max-height: 94vh; overflow: visible; }
.zoom::backdrop { background: rgba(7, 13, 36, .9); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.zoom img { max-width: 100%; max-height: 84vh; width: auto; height: auto; margin: 0 auto; border-radius: 4px; }
.zoom p { margin-top: 12px; text-align: center; font: 600 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.zoom-x { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: var(--navy); font-size: 24px; line-height: 1; cursor: pointer; }

/* ---------- smaller screens ---------- */
@media (max-width: 1000px) {
  .hero { --word: 20.5vw; --s: min(100vw, 640px); }
  .flag { min-height: 0; }
  .word { margin-top: 16px; }
  .sides { position: static; height: auto; display: grid; gap: 34px; padding: 36px var(--gut) 40px; background: var(--navy); }
  .side { width: auto; padding: 0; }
  .side-r { align-items: flex-start; text-align: left; }
  @media (min-width: 640px) { .sides { grid-template-columns: 1fr 1fr; align-items: end; } }
  .side-r .cta { justify-content: flex-start; }
  .split { grid-template-columns: 1fr; align-items: start; }
  .pain { grid-template-columns: 1fr; }
  .def { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .2); padding: 24px 0 0; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts > div:nth-child(n + 3) { border-top: 1px solid var(--rule); margin-top: 18px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .foot-in { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-in { grid-template-columns: auto 1fr; }
  .nav-act { justify-self: end; }
  .burger { display: inline-block; }
  .menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px var(--gut) 18px;
    background: var(--navy); border-bottom: 1px solid rgba(255, 255, 255, .12);
  }
  .menu.open { display: flex; }
  .menu a { padding: 14px 0; font-size: 13px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 31vw; }
  .shot-tall { grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand img { height: 34px; }
  .nav-act .btn { display: none; }
  .hero-tags .tag:last-child { display: none; }
  .cta .btn { flex: 1 1 auto; }
  .facts { grid-template-columns: 1fr; }
  .facts > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); margin-top: 14px; }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-auto-rows: 44vw; }
  .film figcaption { flex-direction: column; align-items: flex-start; }
  .contract-act { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .track, .rec b { animation: none; }
  .btn, .shot img { transition: none; }
}
