/* ============================================================================
   PENUMBRA · machine-illuminated gothic tales
   A candlelit antiquarian reading room.
   Display: Cinzel (inscriptional caps) · Body: EB Garamond · Meta: Courier Prime
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800&family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Courier+Prime:ital,wght@0,400;0,700;1,400&display=swap");

/* ---------------------------------------------------------------- THEME --- */
:root {
  /* dark = default: a study lit by one guttering candle */
  --bg:        #0c0a09;
  --bg-2:      #141110;
  --bg-3:      #1c1714;
  --ink:       #ded2bb;
  --ink-dim:   #9c9079;
  --ink-faint: #6a6051;
  --rule:      rgba(196, 174, 130, 0.16);
  --rule-2:    rgba(196, 174, 130, 0.30);
  --gold:      #c9a24a;
  --gold-soft: #a9863a;
  --oxblood:   #8a2820;
  --accent:    #c9a24a;        /* overridden per-comic via inline style */
  --frame:     rgba(0,0,0,0.55);
  --grain:     0.05;
  --vignette:  0.92;
  --shadow:    0 30px 60px -22px rgba(0,0,0,0.85), 0 8px 22px -10px rgba(0,0,0,0.7);
  color-scheme: dark;
}

:root[data-theme="light"] {
  /* light = foxed vellum under a reading lamp */
  --bg:        #e3d8c0;
  --bg-2:      #ece2cc;
  --bg-3:      #f3ebd8;
  --ink:       #28201634;       /* fallback never used directly */
  --ink:       #2a2017;
  --ink-dim:   #5c4f3b;
  --ink-faint: #897a60;
  --rule:      rgba(60, 44, 22, 0.20);
  --rule-2:    rgba(60, 44, 22, 0.38);
  --gold:      #8a6418;
  --gold-soft: #9c7a2c;
  --oxblood:   #872019;
  --accent:    #8a6418;
  --frame:     rgba(40, 30, 14, 0.30);
  --grain:     0.055;
  --vignette:  0.55;
  --shadow:    0 24px 50px -24px rgba(60,40,16,0.45), 0 6px 16px -10px rgba(60,40,16,0.4);
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "EB Garamond", Georgia, serif;
  font-size: 19px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background 0.5s ease, color 0.5s ease;
}

/* atmosphere: a warm radial glow, like candlelight from the upper centre */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(201, 162, 74, 0.12), transparent 55%),
    radial-gradient(140% 120% at 50% 120%, rgba(138, 40, 32, 0.07), transparent 60%);
  transition: opacity 0.5s ease;
}

/* film grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: var(--grain);
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--oxblood); color: #f2e6cc; }

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--ink); }

/* --------------------------------------------------------- SHELL / VIEWS --- */
.view { display: none; }
.view.is-active { display: block; }

.wrap {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

/* ------------------------------------------------------------- MASTHEAD --- */
.masthead {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;          /* let the toggle drop below the wordmark when a
                               narrow column (e.g. iPad split view) can't fit
                               both on one row, instead of overflowing */
  gap: 0.6rem 1.5rem;
  padding: 1.5rem 0 1.4rem;
  border-bottom: 1px solid var(--rule);
}
.brand { display: flex; align-items: baseline; gap: 0.85rem; }
.brand .mark {
  font-family: "Cinzel", serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  color: var(--ink);
}
.brand .mark b { color: var(--gold); font-weight: 700; }
.brand .glyph {
  color: var(--gold);
  font-size: 1.15rem;
  transform: translateY(-1px);
  opacity: 0.8;
}

/* theme toggle */
.theme-toggle {
  font-family: "Courier Prime", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  background: transparent;
  border: 1px solid var(--rule-2);
  border-radius: 2px;
  padding: 0.5rem 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--gold); }
.theme-toggle .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 8px var(--gold);
}

/* ----------------------------------------------------------------- HERO --- */
.hero {
  position: relative;
  padding: clamp(3.5rem, 9vh, 7rem) 0 clamp(2.5rem, 6vh, 4rem);
  text-align: center;
}
.hero .eyebrow {
  font-family: "Courier Prime", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 1.6rem;
}
.hero h1 {
  font-family: "Cinzel", serif;
  font-weight: 800;
  font-size: clamp(2.8rem, 9vw, 6.5rem);
  line-height: 0.96;
  letter-spacing: 0.06em;
  margin: 0;
  color: var(--ink);
  text-shadow: 0 1px 0 rgba(0,0,0,0.4), 0 0 44px rgba(201,162,74,0.10);
}
.hero h1 .of { display: block; font-size: 0.32em; letter-spacing: 0.5em; color: var(--gold); font-weight: 500; margin: 0.9rem 0 0.2rem; }
.hero .lede {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-style: italic;
  color: var(--ink-dim);
  max-width: 40ch;
  margin: 1.8rem auto 0;
  line-height: 1.55;
}
.fleuron {
  display: flex; align-items: center; justify-content: center;
  gap: 1.2rem; color: var(--gold-soft);
  margin: 2.4rem auto 0;
}
.fleuron::before, .fleuron::after {
  content: ""; height: 1px; width: min(120px, 18vw);
  background: linear-gradient(to var(--dir, right), transparent, var(--rule-2));
}
.fleuron::before { --dir: left; }
.fleuron span { font-size: 1.1rem; letter-spacing: 0.3em; opacity: 0.85; }

/* ------------------------------------------------------- COLOPHON / NOTE --- */
.origin {
  max-width: 60ch;
  margin: clamp(2rem, 4vh, 3.5rem) auto clamp(3rem, 7vh, 5rem);
  text-align: center;
  color: var(--ink-dim);
  font-size: 1.08rem;
  line-height: 1.72;
}
.origin .kicker {
  font-family: "Cinzel", serif;
  font-size: 0.78rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}
.origin a { border-bottom: 1px solid var(--rule-2); padding-bottom: 1px; }
.origin a:hover { border-color: var(--gold); }

/* --------------------------------------------------------- CATALOGUE --- */
.section-label {
  display: flex; align-items: center; gap: 1.2rem;
  font-family: "Cinzel", serif;
  font-size: 0.85rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink-dim);
  margin: 0 0 2.4rem;
}
.section-label::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(to right, var(--rule-2), transparent);
}
.section-label .count { font-family: "Courier Prime", monospace; color: var(--gold); letter-spacing: 0.1em; }

.catalogue {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.6rem, 3vw, 2.6rem);
  padding-bottom: 5rem;
}

/* a specimen plate */
.plate {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: clamp(1.4rem, 3vw, 2.8rem);
  align-items: stretch;
  padding: clamp(1.3rem, 2.4vw, 2rem);
  background:
    linear-gradient(155deg, var(--bg-2), var(--bg));
  border: 1px solid var(--rule);
  border-radius: 3px;
  overflow: hidden;
  transition: border-color 0.45s ease, transform 0.45s ease, box-shadow 0.45s ease;
}
.plate::before {
  /* corner hairline frame */
  content: "";
  position: absolute; inset: 10px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  pointer-events: none;
  opacity: 0.5;
  transition: border-color 0.45s ease, opacity 0.45s ease;
}
.plate:hover {
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.plate:hover::before { border-color: color-mix(in srgb, var(--accent) 38%, transparent); opacity: 1; }

.plate-cover {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  background: var(--bg-3);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.5), 0 14px 34px -18px rgba(0,0,0,0.9);
  aspect-ratio: 3 / 4;
  /* Don't let the cover stretch to the (taller) text column: with align-items:
     stretch, an aspect-ratio item back-computes its WIDTH from the stretched
     height (height × 3/4), overflowing its grid track and covering the text —
     dramatically so in WebKit/iPad. Top-align it so width stays tied to the
     track and height follows from the aspect ratio. */
  align-self: start;
}
.plate-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.82) brightness(0.82) contrast(1.05);
  transform: scale(1.02);
  transition: filter 0.6s ease, transform 1.2s cubic-bezier(0.2,0.7,0.2,1);
}
.plate:hover .plate-cover img { filter: saturate(1) brightness(1) contrast(1); transform: scale(1.06); }
.plate-cover::after {
  /* gothic vignette on the cover */
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 120% at 50% 30%, transparent 45%, rgba(0,0,0,0.55));
  pointer-events: none;
}
.plate-cover .seal {
  position: absolute; top: 10px; left: 10px;
  font-family: "Courier Prime", monospace;
  font-size: 0.62rem; letter-spacing: 0.18em;
  color: var(--ink);
  background: rgba(8,6,5,0.7);
  border: 1px solid var(--rule-2);
  padding: 0.28rem 0.55rem;
  border-radius: 2px;
  backdrop-filter: blur(2px);
  z-index: 2;
}

.plate-body { display: flex; flex-direction: column; min-width: 0; }
.plate-body .author {
  font-family: "Courier Prime", monospace;
  font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent);
  margin: 0.1rem 0 0.55rem;
}
.plate-body h3 {
  font-family: "Cinzel", serif;
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.05;
  margin: 0 0 0.5rem;
  color: var(--ink);
}
.plate-meta {
  display: flex; flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  font-family: "Courier Prime", monospace;
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0.2rem 0 1.1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--rule);
}
.plate-meta span { display: inline-flex; align-items: center; gap: 0.45rem; }
.plate-meta span::before { content: "·"; color: var(--accent); }
.plate-meta span:first-child::before { content: none; }

.plate-body p {
  margin: 0 0 1.5rem;
  color: var(--ink-dim);
  font-size: 1.1rem;
  line-height: 1.62;
  max-width: 56ch;
}
.plate-body .spacer { flex: 1; }

.read-btn {
  align-self: flex-start;
  font-family: "Cinzel", serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  border: none;
  padding: 0.85rem 1.7rem;
  border-radius: 2px;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.7rem;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s, color 0.3s;
  box-shadow: 0 8px 22px -12px color-mix(in srgb, var(--accent) 80%, black);
}
.read-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px color-mix(in srgb, var(--accent) 75%, black); }
.read-btn .arr { transition: transform 0.3s; }
.read-btn:hover .arr { transform: translateX(4px); }

/* ------------------------------------------------------------- FOOTER --- */
.colophon {
  border-top: 1px solid var(--rule);
  padding: 3rem 0 4rem;
  color: var(--ink-faint);
  font-size: 0.92rem;
  text-align: center;
  line-height: 1.8;
}
.colophon .cinzel {
  font-family: "Cinzel", serif;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--ink-dim);
  display: block;
  margin-bottom: 0.6rem;
}

/* ============================================================ READER === */
.reader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background:
    radial-gradient(130% 100% at 50% 50%, var(--bg-2), var(--bg) 70%);
  display: none;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.reader.is-open { display: flex; opacity: 1; }
.reader::after {
  /* heavy reading vignette */
  content: "";
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(120% 90% at 50% 50%, transparent 40%, rgba(0,0,0,calc(var(--vignette) * 0.7)));
}
.reader.cursor-hidden { cursor: none; }

/* top + bottom chrome fade with inactivity */
.reader-chrome {
  position: relative;
  z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 3vw, 2.2rem);
  background: linear-gradient(to bottom, rgba(8,6,5,0.85), transparent);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.reader.chrome-hidden .reader-chrome { opacity: 0; transform: translateY(-100%); pointer-events: none; }
.reader.chrome-hidden .reader-foot   { opacity: 0; transform: translateY(100%); pointer-events: none; }

.reader-chrome .title-block { min-width: 0; }
.reader-chrome .r-title {
  font-family: "Cinzel", serif;
  font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  letter-spacing: 0.08em;
  color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.reader-chrome .r-author {
  font-family: "Courier Prime", monospace;
  font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-faint);
}
.reader-tools { display: flex; align-items: center; gap: 0.4rem; }

.tool {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 2px;
  color: var(--ink-dim);
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}
.tool:hover { color: var(--ink); border-color: var(--gold); background: rgba(201,162,74,0.06); }
.tool svg { width: 19px; height: 19px; }
.tool.is-on { color: var(--gold); border-color: var(--gold); }
.tool[aria-label]:hover::after {
  content: attr(aria-label);
  position: absolute;
  transform: translateY(38px);
  font-family: "Courier Prime", monospace;
  font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-dim);
  background: rgba(8,6,5,0.92);
  border: 1px solid var(--rule);
  padding: 0.25rem 0.5rem; border-radius: 2px;
  white-space: nowrap;
  pointer-events: none;
}

/* the stage where the page lives */
.stage {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  min-height: 0;
  padding: 0.5rem 0;
}
.page-img {
  max-width: min(96vw, calc((100vh - 150px) * 0.75));
  max-height: calc(100vh - 150px);
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.95), 0 0 0 1px rgba(0,0,0,0.6);
  transition: opacity 0.32s ease, filter 0.32s ease;
}
.stage.fit-width .page-img {
  max-width: 96vw;
  max-height: none;
  width: min(96vw, calc((100vh - 150px) * 0.75));
}
.page-img.is-swapping { opacity: 0; filter: blur(6px); }

/* click zones for prev / next */
.zone {
  position: absolute; top: 0; bottom: 0; z-index: 3;
  width: 32%;
  cursor: pointer;
  display: flex; align-items: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.zone.prev { left: 0; justify-content: flex-start; padding-left: 1.4rem; }
.zone.next { right: 0; justify-content: flex-end; padding-right: 1.4rem; }
.zone:hover { opacity: 1; }
.zone .chev {
  color: var(--ink);
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: rgba(8,6,5,0.5);
  border: 1px solid var(--rule-2);
  border-radius: 50%;
  backdrop-filter: blur(3px);
}
.zone.prev[aria-disabled="true"], .zone.next[aria-disabled="true"] { cursor: default; }
.zone[aria-disabled="true"] .chev { opacity: 0.25; }

/* bottom chrome: progress + page count */
.reader-foot {
  position: relative; z-index: 5;
  display: flex; flex-direction: column; gap: 0.7rem;
  padding: 0.9rem clamp(1rem, 3vw, 2.2rem) 1.2rem;
  background: linear-gradient(to top, rgba(8,6,5,0.85), transparent);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.progress {
  position: relative;
  height: 2px;
  background: var(--rule);
  border-radius: 2px;
  cursor: pointer;
}
.progress .fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  transition: width 0.32s cubic-bezier(0.3,0.7,0.2,1);
}
.progress .ticks { position: absolute; inset: 0; display: flex; }
.progress .ticks i { flex: 1; border-right: 1px solid var(--bg); }
.progress .ticks i:last-child { border: 0; }
.foot-row {
  display: flex; align-items: center; justify-content: space-between;
  font-family: "Courier Prime", monospace;
  font-size: 0.72rem; letter-spacing: 0.16em;
  color: var(--ink-dim);
}
.foot-row .pageno b { color: var(--gold); font-weight: 700; }
.foot-row .hint { color: var(--ink-faint); display: flex; gap: 1.1rem; }
.foot-row .hint kbd {
  font-family: "Courier Prime", monospace;
  font-size: 0.62rem;
  border: 1px solid var(--rule-2);
  border-bottom-width: 2px;
  border-radius: 3px;
  padding: 0.05rem 0.4rem;
  color: var(--ink-dim);
}

/* contents / thumbnail drawer */
.contents {
  position: absolute; inset: 0; z-index: 10;
  background: rgba(8,6,5,0.92);
  backdrop-filter: blur(6px);
  display: none;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.contents.is-open { display: flex; opacity: 1; }
.contents .c-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem clamp(1.2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--rule);
}
.contents .c-head h4 {
  font-family: "Cinzel", serif; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  font-size: 1rem; color: var(--ink); margin: 0;
}
.thumbs {
  flex: 1; overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: clamp(0.8rem, 2vw, 1.5rem);
  padding: clamp(1.5rem, 4vw, 3rem);
  align-content: start;
}
.thumb {
  position: relative;
  aspect-ratio: 3/4;
  border: 1px solid var(--rule);
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-3);
  transition: border-color 0.3s, transform 0.3s;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(0.78); transition: filter 0.3s; }
.thumb:hover { border-color: var(--gold); transform: translateY(-2px); }
.thumb:hover img { filter: brightness(1); }
.thumb.is-current { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.thumb .n {
  position: absolute; bottom: 0; right: 0;
  font-family: "Courier Prime", monospace; font-size: 0.62rem;
  color: var(--ink); background: rgba(8,6,5,0.8);
  padding: 0.12rem 0.4rem; border-top-left-radius: 3px;
}

/* page-load reveal */
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; animation: rise 0.9s cubic-bezier(0.2,0.7,0.2,1) forwards; }
.d1 { animation-delay: 0.05s; } .d2 { animation-delay: 0.18s; }
.d3 { animation-delay: 0.32s; } .d4 { animation-delay: 0.46s; }
.d5 { animation-delay: 0.6s; }  .d6 { animation-delay: 0.74s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ------------------------------------------------------------ RESPONSIVE --- */

/* Stack the catalogue card below ~900px. Two-column only has room for a short
   synopsis once the text column is wide; in the cramped 720–900px band (iPad
   portrait) the body runs taller than the 3:4 cover, leaving dead space beside
   it — so tablets get the cleaner stacked layout and two-column is reserved for
   iPad-landscape widths and up. */
@media (max-width: 900px) {
  .plate { grid-template-columns: 1fr; }
  .plate-cover { max-width: 280px; }
}

@media (max-width: 720px) {
  body { font-size: 18px; }
  .foot-row .hint { display: none; }
  .brand .mark { letter-spacing: 0.3em; text-indent: 0.3em; }
}

/* Very narrow columns: iPad split view / Slide Over can be ~240–320pt wide.
   Tighten the wordmark so it never overflows; the toggle wraps under it. */
@media (max-width: 420px) {
  .brand .mark { letter-spacing: 0.16em; text-indent: 0.16em; font-size: 1.25rem; }
  /* "Penumbra" is one long word; its clamp floor (2.8rem) can't fit a ~240pt
     column, so scale it with the viewport down here to avoid overflow. */
  .hero h1 { font-size: clamp(1.9rem, 13vw, 2.8rem); }
}
