/* ============================================================
   Citoyo landing — design tokens mirror the app
   (src/constants/theme.ts → Colors.light / Colors.dark)
   ============================================================ */

:root {
  /* light (default) */
  --paper: #F7F3EA;
  --card: #FFFDF8;
  --ink: #1B1B24;
  --muted: #585563;
  --blue: #1C2B6B;
  --blue-tint: #E9ECF7;
  --accent: #D98A22;
  --accent-text: #9A5E12;
  --accent-tint: #FBEFD9;
  --ok: #13A05E;
  --ok-tint: #E4F6EC;
  --line: #E7E1D5;
  --gold: #EBA23C;
  /* fixed deep navy hero surface (white text in light AND dark) */
  --hero-navy: #1C2B6B;
  --shadow: 0 18px 40px -20px rgba(28, 43, 107, 0.35);

  --font: "Spline Sans", Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --maxw: 1040px;
  --radius: 16px;
  --radius-sm: 12px;
  --header-h: 60px;
  /* aurora blob opacities — gentle on the cream paper */
  --aurora-1: 0.14;
  --aurora-2: 0.13;
  --aurora-3: 0.08;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #14161F;
    --card: #242736;
    --ink: #ECEAF3;
    --muted: #A7A3B3;
    --blue: #6E84EA;
    --blue-tint: #232843;
    --accent: #E0A24E;
    --accent-text: #E0A24E;
    --accent-tint: #352A1B;
    --ok: #3FC489;
    --ok-tint: #15291F;
    --line: #3A3E50;
    --gold: #ECA94A;
    --shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.6);
  }
}

/* explicit manual override */
:root[data-theme="dark"] {
  --paper: #14161F;
  --card: #242736;
  --ink: #ECEAF3;
  --muted: #A7A3B3;
  --blue: #6E84EA;
  --blue-tint: #232843;
  --accent: #E0A24E;
  --accent-text: #E0A24E;
  --accent-tint: #352A1B;
  --ok: #3FC489;
  --ok-tint: #15291F;
  --line: #3A3E50;
  --gold: #ECA94A;
  --shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.6);
}

/* Aurora is bolder on the dark navy paper than on the cream. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --aurora-1: 0.42; --aurora-2: 0.34; --aurora-3: 0.16; }
}
:root[data-theme="dark"] { --aurora-1: 0.42; --aurora-2: 0.34; --aurora-3: 0.16; }

/* ============================================================
   Base
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--paper);
  /* Slideshow: each .slide snaps into view. Proximity (not mandatory) so tall
     content-heavy slides stay scrollable on small screens. */
  scroll-snap-type: y proximity;
  scroll-padding-top: var(--header-h);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; scroll-snap-type: none; }
}

body {
  margin: 0;
  font-family: var(--font);
  background: transparent;
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.15; }

/* Inline icons (Ionicons sprite), tinted with the brand blue like the app. */
.ic { width: 24px; height: 24px; display: block; color: var(--blue); flex: none; }

/* ============================================================
   Dynamic navy aurora background
   ============================================================ */

.bg-aurora {
  position: fixed;
  inset: -12%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.blob {
  position: absolute;
  width: 48vw; height: 48vw;
  min-width: 360px; min-height: 360px;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}
.blob.b1 {
  top: -6%; left: -8%;
  background: radial-gradient(circle, var(--blue), transparent 66%);
  opacity: var(--aurora-1);
  animation: drift1 26s ease-in-out infinite alternate;
}
.blob.b2 {
  bottom: -10%; right: -8%;
  background: radial-gradient(circle, #6E84EA, transparent 66%);
  opacity: var(--aurora-2);
  animation: drift2 32s ease-in-out infinite alternate;
}
.blob.b3 {
  top: 38%; left: 46%;
  background: radial-gradient(circle, var(--gold), transparent 62%);
  opacity: var(--aurora-3);
  animation: drift3 38s ease-in-out infinite alternate;
}
@keyframes drift1 { to { transform: translate(7vw, 6vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-6vw, -5vh) scale(1.12); } }
@keyframes drift3 { to { transform: translate(-9vw, 5vh) scale(1.2); } }
@media (prefers-reduced-motion: reduce) {
  .blob { animation: none; }
}

/* Wordmark — "Cit·o·yo" with a gold middle o, matching <Wordmark>. */
.wordmark {
  font-weight: 700;
  font-size: 26px;
  color: var(--blue);
  letter-spacing: -0.5px;
}
.wordmark .o { color: var(--gold); }
.wordmark.sm { font-size: 20px; }

/* ============================================================
   Buttons (mirror <Button>)
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 9px 14px; font-size: 14px; }

.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow); }
.btn-gold {
  background: var(--gold);
  color: #1B1B24;
  box-shadow: 0 14px 30px -14px rgba(235, 162, 60, 0.65);
}
.btn-gold:hover { box-shadow: 0 18px 36px -14px rgba(235, 162, 60, 0.8); }
.btn-outline { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue); }
.btn-ghost-light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.2); }

/* ============================================================
   Header
   ============================================================ */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.header-actions { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  width: 38px; height: 38px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: var(--card);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: border-color 0.2s ease;
}
.theme-toggle:hover { border-color: var(--blue); }
/* sun (dark mode → tap for light) / moon (light mode), set in app.js; centered in the circle */
.theme-toggle .ic.ic-toggle { width: 18px; height: 18px; color: var(--ink); }

/* ============================================================
   Slide-dot nav (desktop)
   ============================================================ */

.slide-dots {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.slide-dots a { display: block; padding: 3px; }
.slide-dots a span {
  display: block;
  width: 10px; height: 10px;
  border-radius: 999px;
  background: transparent;
  border: 2px solid var(--muted);
  opacity: 0.55;
  transition: all 0.2s ease;
}
.slide-dots a:hover span { opacity: 1; }
.slide-dots a.active span {
  background: var(--blue);
  border-color: var(--blue);
  opacity: 1;
  transform: scale(1.2);
}
@media (max-width: 1080px) { .slide-dots { display: none; } }

/* ============================================================
   Slides (full-viewport sections, snap)
   ============================================================ */

.slide {
  min-height: 100vh;
  min-height: 100svh;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 32px) 0 56px;
}
.slide > .container { width: 100%; }
.slide.section-alt {
  background: color-mix(in srgb, var(--card) 90%, transparent);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
/* When a slide is taller than the viewport (mostly mobile / short screens),
   align to top so nothing is clipped behind the sticky header. */
@media (max-width: 820px), (max-height: 780px) {
  .slide { justify-content: flex-start; }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-text);
  margin: 0 0 10px;
}
.section-title { font-size: clamp(24px, 5vw, 34px); font-weight: 700; max-width: 20ch; }
.section-lede { color: var(--muted); font-size: 17px; max-width: 60ch; margin: 14px 0 28px; }
.center { text-align: center; }

/* One consistent, centered section header on every slide (balance + symmetry). */
.slide-head { text-align: center; max-width: 720px; margin: 0 auto 24px; }
.slide-head .section-title { max-width: none; }
.slide-head .section-lede { max-width: none; margin: 14px auto 0; }

/* ── Launch stage ── Pre-launch teaser shows only the hero slide + footer. */
[data-stage="teaser"] .slide:not(.hero-slide),
[data-stage="teaser"] .slide-dots,
[data-stage="teaser"] .teaser-hide { display: none; }
/* With a single slide there's nothing to snap to — let the footer scroll freely. */
html[data-stage="teaser"] { scroll-snap-type: none; }

/* ============================================================
   Hero
   ============================================================ */

.hero-card {
  /* gold glow baked into the background so it stays bounded by the card while the
     device is free to float past the edges (overflow: visible). */
  background:
    radial-gradient(420px 420px at 88% 6%, rgba(235, 162, 60, 0.20), transparent 68%),
    var(--hero-navy);
  border-radius: 24px;
  padding: clamp(28px, 6vw, 52px);
  color: #fff;
  box-shadow: var(--shadow);
  position: relative;
  overflow: visible;
  /* Two columns on desktop: copy on the left, the slanted device on the right. */
  display: flex;
  align-items: center;
  gap: clamp(24px, 5vw, 56px);
}
.hero-copy { flex: 1 1 56%; min-width: 0; position: relative; z-index: 1; }

/* ── Slanted device mockup (real /learn screen) ── */
.hero-visual {
  flex: 0 0 auto;
  width: clamp(232px, 32%, 312px);
  display: flex;
  justify-content: center;
  perspective: 1500px;
  position: relative;
  z-index: 1;
  animation: floaty 6.5s ease-in-out infinite;
}
/* soft halo so the device lifts off the navy */
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -10% -8% -4% -8%;
  background: radial-gradient(closest-side, rgba(120, 142, 240, 0.38), transparent 76%);
  filter: blur(10px);
  z-index: -1;
  pointer-events: none;
}
@keyframes floaty { 50% { transform: translateY(-12px); } }
.device {
  position: relative;
  width: 100%;
  border-radius: 15.5% / 7.2%;
  background: linear-gradient(150deg, #2a2c33 0%, #0c0d13 38%, #0c0d13 100%);
  padding: 2.6%;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.4),
    -34px 48px 70px -28px rgba(0, 0, 0, 0.62);
  transform: rotateY(-21deg) rotateX(5deg) rotate(-2deg);
  transform-origin: center;
  transition: transform 0.5s ease;
}
.device:hover { transform: rotateY(-13deg) rotateX(3deg) rotate(-1deg); }
/* the screen: clips the screenshot + overlays to the rounded display; container for cqw units */
.device-screen-wrap {
  position: relative;
  border-radius: 13% / 6%;
  overflow: hidden;
  container-type: inline-size;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.device-screen { display: block; width: 100%; height: auto; }

/* ── iOS status bar (drawn over the app's cream safe-area headroom) ── */
.ios-statusbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6.6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8cqw;
  color: #1B1B24;
  z-index: 2;
}
.ios-time {
  font-size: 4.4cqw;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.ios-icons { display: flex; align-items: center; gap: 1.5cqw; }
.ios-ic { height: 3cqw; width: auto; display: block; }
.ios-ic-batt { height: 3.3cqw; }

/* ── Dynamic Island ── */
.dynamic-island {
  position: absolute;
  top: 1.5%;
  left: 50%;
  transform: translateX(-50%);
  width: 31%;
  aspect-ratio: 122 / 36;
  background: #000;
  border-radius: 999px;
  z-index: 3;
}

/* ── iOS-style scroll indicator (the list is scrolled near the top) ── */
.scroll-indicator {
  position: absolute;
  right: 1.4cqw;
  top: 23%;
  width: 1.1cqw;
  min-width: 3px;
  height: 15%;
  background: rgba(0, 0, 0, 0.22);
  border-radius: 999px;
  z-index: 2;
}

/* diagonal glass glare across the screen */
.device-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0.04) 20%, transparent 42%);
  mix-blend-mode: screen;
  z-index: 4;
}
@media (prefers-reduced-motion: reduce) {
  .device, .device:hover { transition: none; }
  .hero-visual { animation: none; }
}
.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(30px, 7vw, 50px);
  font-weight: 700;
  max-width: 16ch;
  margin-bottom: 16px;
}
.hero-sub {
  font-size: clamp(16px, 2.4vw, 19px);
  color: rgba(255, 255, 255, 0.84);
  max-width: 52ch;
  margin: 0 0 28px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { font-size: 13.5px; color: rgba(255, 255, 255, 0.7); margin: 18px 0 0; }
.hero-trust {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
  margin: 7px 0 0;
  letter-spacing: 0.01em;
}
.pret-slide .hero-note { color: var(--muted); margin-top: 22px; }

/* Exam facts strip */
.facts {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.facts li {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 10px;
  text-align: center;
}
.facts strong { display: block; font-size: clamp(18px, 3.4vw, 24px); color: var(--blue); font-weight: 700; }
.facts span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; }

/* ============================================================
   Grids & cards (mirror <Card>: border 2px, radius 16)
   ============================================================ */

.grid { display: grid; gap: 16px; margin-top: 8px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }
/* Matches the app's learning-section icon chip: blue-tint square + blue Ionicon. */
.card-icon {
  width: 46px; height: 46px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue-tint);
  border-radius: 12px;
  margin-bottom: 14px;
}
.card-icon .ic { width: 24px; height: 24px; color: var(--blue); }

/* ============================================================
   Flip tiles (Comment ça marche)
   ============================================================ */

.flips { margin-top: 16px; }

.flip {
  height: 264px;
  perspective: 1200px;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.flip-inner {
  position: relative;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (hover: hover) {
  .flip:hover .flip-inner { transform: rotateY(180deg); }
}
.flip.flipped .flip-inner { transform: rotateY(180deg); }
@media (prefers-reduced-motion: reduce) {
  .flip-inner { transition: none; }
}

.flip-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  overflow: hidden;
}
.flip-front h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.flip-front p { color: var(--muted); font-size: 14.5px; margin: 0; }
.flip-hint { margin-top: auto; padding-top: 12px; font-size: 12.5px; font-weight: 700; color: var(--accent-text); }

.flip-back {
  transform: rotateY(180deg);
  border-color: var(--blue);
  background: var(--card);
}
.flip-back h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 10px; color: var(--blue); }
.flip-back p { color: var(--ink); font-size: 13.5px; line-height: 1.5; margin: 0; }
.flip-foot { margin-top: auto; padding-top: 10px; font-size: 11px; color: var(--muted); }

.flip:focus-visible { outline: none; }
.flip:focus-visible .flip-face { outline: 3px solid var(--blue); outline-offset: 2px; }

/* compact theme / language lists used on flip backs */
.themes.mini { list-style: none; counter-reset: t; margin: 0; padding: 0; }
.themes.mini li {
  counter-increment: t;
  position: relative;
  padding: 5px 0 5px 26px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}
.themes.mini li::before {
  content: counter(t);
  position: absolute; left: 0; top: 4px;
  width: 18px; height: 18px;
  background: var(--blue); color: #fff;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.langs.mini { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.langs.mini li {
  background: var(--blue-tint);
  color: var(--ink);
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 500;
}

/* ============================================================
   Plans (Prêt pour l'examen) — two equal tiles
   ============================================================ */

.plans-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 740px;
  margin: 28px auto 0;
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan-pass { border-color: color-mix(in srgb, var(--blue) 45%, var(--line)); }
.plan-name { font-size: 18px; font-weight: 700; }
.plan-price { margin: 12px 0 4px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.plan-price .amount { font-size: 30px; font-weight: 700; color: var(--ink); }
.plan-price .per { font-size: 13px; color: var(--muted); font-weight: 600; }
.plan-tag { color: var(--muted); font-size: 14px; margin: 0 0 16px; min-height: 38px; }

/* Pass duration segmented control */
.seg {
  display: inline-flex;
  align-self: flex-start;
  background: var(--blue-tint);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 14px;
}
.seg-btn {
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 700;
  font-size: 13px;
  color: var(--muted);
  padding: 7px 13px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.seg-btn.is-active { background: var(--card); color: var(--ink); box-shadow: 0 2px 6px -1px rgba(0, 0, 0, 0.18); }
.seg-pop { font-size: 10px; font-weight: 700; background: var(--gold); color: #1B1B24; padding: 2px 7px; border-radius: 999px; }

.checklist { list-style: none; margin: 0 0 22px; padding: 0; flex: 1; }
.checklist li {
  position: relative;
  padding: 7px 0 7px 26px;
  font-size: 14.5px;
  color: var(--ink);
}
.checklist li::before {
  content: "✓";
  position: absolute; left: 0; top: 7px;
  color: var(--ok);
  font-weight: 800;
}
.checklist li:first-child { font-weight: 700; color: var(--muted); }
.checklist li:first-child::before { content: ""; }
.plan .btn { width: 100%; }

/* ============================================================
   Footer
   ============================================================ */

.site-footer { border-top: 1px solid var(--line); padding: 28px 0; background: var(--card); }
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  justify-content: space-between;
}
.footer-legal { color: var(--muted); font-size: 13px; margin: 0; flex: 1 1 320px; }
.footer-copy { color: var(--muted); font-size: 13px; margin: 0; }

/* ============================================================
   Scroll reveal
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Responsive
   ============================================================ */

/* Stack the hero: copy on top, device below and centred. */
@media (max-width: 860px) {
  .hero-card { flex-direction: column; align-items: stretch; text-align: left; }
  .hero-visual { width: 200px; align-self: center; margin-top: 4px; }
  .device { transform: rotateY(-16deg) rotateX(4deg) rotate(-1.5deg); }
}

@media (max-width: 760px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  /* Two columns of flip tiles read better than one on phones. */
  .flips.grid-3 { grid-template-columns: 1fr 1fr; }
  .flip { height: 248px; }
}

@media (max-width: 680px) {
  .plans-2 { grid-template-columns: 1fr; max-width: 460px; }
}

@media (max-width: 460px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts li:last-child { grid-column: 1 / -1; }
  .hero-cta .btn { flex: 1 1 100%; }
  .flips.grid-3 { grid-template-columns: 1fr; }
  .flip { height: 240px; }
}
