/* Petal Panic website. Design: design/01_home.jpg (+ 02-06 for the other pages, 01_home_mobile.jpg for phones).
   Home sections are laid out to the design measured at 1440 px wide: header 80, hero 789, features 349, AI 408,
   platforms 191, community 201, footer 151. Frames, rails, wood and ornaments are the GPT Image kit in img/orn. */

:root {
  --bg: #0c0806;
  --line: #7b5a2b;
  --gold: #e9b857;
  --gold-hi: #ffe09a;
  --gold-lo: #9c7434;
  --cream: #f6ead0;
  --text: #f1e7d6;
  --muted: #cdbd9f;
  --dim: #8f7f68;
  --teal: #8fe6c4;
  --toxic: #8dff3c;
  --goo: #ffd02e;
  --zap: #ff45d6;
  --common: #dcdcd2;
  --magic: #6b9eff;
  --rare: #ffd65c;
  --legendary: #ff8a1f;
  --set: #bd85ff;
  --mutated: #40ffcc;
  --ok: #5ee89a;
  --serif: "Cinzel", "Trajan Pro", Georgia, serif;
  --sans: "Open Sans", "Segoe UI", system-ui, sans-serif;
  --wrap: 1240px;
  --wide: 1360px;
  --gutter: clamp(16px, 3.4vw, 48px);
  --wood: url(../img/orn/wood.webp) center / 1024px 576px repeat;
  --frame: url(../img/orn/frame_card.webp) 100 / 30px stretch;
  --frame-panel: url(../img/orn/frame_panel.webp) 84 / 34px stretch;
  --bframe: 40px;  /* width of the gold frame around each home band */
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #0c0806; color: var(--text); font: 400 17px/1.55 var(--sans); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-hi); text-decoration: none; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap.wide { width: min(var(--wide), 100% - 2 * var(--gutter)); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg.glyph { width: 1em; height: 1em; flex: none; }

/* ------------------------------------------------------------------ type */

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; letter-spacing: 0.03em; margin: 0; line-height: 1.1; }
/* engraved cream-to-gold lettering of the design's headings */
.gold-text {
  background: linear-gradient(180deg, #fff6dc 0%, #f6dc9c 48%, #d9a94f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.75)) drop-shadow(0 0 14px rgba(0, 0, 0, 0.55));
}
.eyebrow { font: 600 0.82rem/1.3 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--teal); }
.lead { color: var(--muted); font-size: 1.05rem; }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }

/* section title with gold leaf sprigs on both sides (inner pages); .band-title is the plain one of the home page */
.section-title { text-align: center; margin: 0 auto 8px; font-size: clamp(1.5rem, 3.2vw, 2.3rem); display: flex; align-items: center;
  justify-content: center; gap: 14px; }
.section-title::before,
.section-title::after { content: ""; width: 34px; height: 24px; flex: none; background: url(../img/orn/sprig_left.webp) center / contain no-repeat; }
.section-title::after { background-image: url(../img/orn/sprig.webp); }
.section-sub { text-align: center; color: var(--muted); margin: 0 auto 28px; max-width: 720px; }
.band-title { text-align: center; text-transform: uppercase; font-size: clamp(1.3rem, 1.95vw, 1.8rem); letter-spacing: 0.05em; }
.band-sub { text-align: center; margin: 6px 0 0; }

/* ------------------------------------------------------------------ frames, rails, cards */

.frame {
  position: relative;
  border: 2px solid transparent;
  border-image: var(--frame);
  background: linear-gradient(180deg, rgba(34, 23, 15, 0.96), rgba(16, 11, 8, 0.97));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
}
.frame.panel { border-image: var(--frame-panel); }
.frame.plain { border-image: var(--frame); }
.fleur::before {  /* the gold fleur on top of a card */
  content: ""; position: absolute; left: 50%; top: -17px; width: 30px; height: 30px; transform: translateX(-50%); z-index: 2;
  background: url(../img/orn/fleur.webp) center / contain no-repeat; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.8));
}
/* gold moulding rails on the seams between sections, with a crest in the middle */
.rails { position: relative; }
.rails::before,
.rails::after { content: ""; position: absolute; left: 0; right: 0; height: 12px; z-index: 3; pointer-events: none;
  background: url(../img/orn/rail.webp) center / auto 12px repeat-x; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.8)); }
.rails::before { top: -6px; }
.rails::after { bottom: -6px; }
.rails.top-only::after { display: none; }
.crest { position: absolute; left: 50%; top: -22px; width: min(340px, 60vw); height: 58px; transform: translateX(-50%); z-index: 4;
  background: url(../img/orn/crest.webp) center / contain no-repeat; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.85)); pointer-events: none; }
/* each home band sits in its own gold-cornered frame, drawn above the band's painting */
.bframe { position: absolute; inset: 0; z-index: 6; pointer-events: none; border: 2px solid transparent;
  border-image: url(../img/orn/frame_panel.webp) 84 / var(--bframe) stretch; }
/* content of a framed band always stays inside the frame's gold corners */
.board-band .wrap, .ai-band .wrap, .art-strip .wrap { width: min(var(--wide), 100% - 2 * max(var(--gutter), var(--bframe) - 4px)); }
.board-band, .ai-band, .art-strip { margin-top: 3px; }
.divider { height: 34px; margin: 0 auto; width: min(560px, 80%); background: url(../img/orn/divider.webp) center / contain no-repeat; }
.band { position: relative; padding: clamp(48px, 7vw, 88px) 0; }
.band + .band { border-top: 1px solid rgba(123, 90, 43, 0.55); }
.band.tinted { background: linear-gradient(180deg, rgba(34, 22, 14, 0.75), rgba(12, 8, 6, 0.4)); }
.band > .medal {  /* medallion on the seam between two bands */
  position: absolute; top: -20px; left: 50%; width: 40px; height: 40px; transform: translateX(-50%); z-index: 4;
  background: url(../img/orn/medallion.webp) center / contain no-repeat; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.8));
}

.grid { display: grid; gap: clamp(14px, 2vw, 24px); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.card { padding: 26px 22px 24px; text-align: center; }
.card h3 { font-size: 1.3rem; margin: 12px 0 6px; }
.card p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.card .icon { width: 132px; margin: 4px auto 0; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.6)); }

.tag { display: inline-block; font: 700 0.72rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 10px;
  border-radius: 999px; border: 1px solid var(--line); color: var(--gold-hi); background: rgba(0, 0, 0, 0.45); }
.tag.ok { color: var(--ok); border-color: rgba(88, 227, 138, 0.6); }
.tag.plan { color: var(--muted); }
.tag.work { color: var(--gold-hi); border-color: var(--gold-lo); }

/* ------------------------------------------------------------------ buttons (GPT frame kit: bevelled gold rim) */

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 58px; padding: 8px 30px;
  font: 600 1.05rem/1 var(--sans); letter-spacing: 0.02em; text-transform: uppercase; white-space: nowrap; color: var(--cream); cursor: pointer;
  border: 2px solid #b8873a; border-radius: 7px;
  background: linear-gradient(180deg, #2a1c12 0%, #120c08 100%);
  box-shadow: inset 0 0 0 2px #0e0805, inset 0 0 0 3px rgba(233, 184, 87, 0.5), 0 6px 16px rgba(0, 0, 0, 0.5);
  transition: transform 0.15s, box-shadow 0.15s, color 0.15s, filter 0.15s;
}
.btn:hover { color: #fff; transform: translateY(-1px);
  box-shadow: inset 0 0 0 2px #0e0805, inset 0 0 0 3px rgba(255, 214, 130, 0.8), 0 0 26px rgba(233, 184, 87, 0.45), 0 6px 16px rgba(0, 0, 0, 0.5); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-gold { color: #2b1706; font-weight: 700; border-color: #fff0bf;
  background: linear-gradient(180deg, #ffeeb8 0%, #f7c65b 42%, #e0962f 100%);
  box-shadow: inset 0 0 0 2px rgba(150, 90, 20, 0.55), inset 0 2px 0 rgba(255, 255, 255, 0.6), 0 0 26px rgba(244, 180, 70, 0.5), 0 6px 16px rgba(0, 0, 0, 0.5); }
.btn-gold:hover { color: #1a0d03; filter: brightness(1.06);
  box-shadow: inset 0 0 0 2px rgba(150, 90, 20, 0.55), 0 0 38px rgba(255, 200, 90, 0.75), 0 6px 16px rgba(0, 0, 0, 0.5); }
/* the Steam glyph sits in a round medallion, as in the design */
.btn .coin { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; margin-left: -12px; }
.btn .coin svg { width: 26px; height: 26px; }
.btn-gold .coin { background: #2b1706; color: #fff3cf; }
.btn-cta .coin { background: #f6ead0; color: #1b120b; }
.btn-cta { min-height: 58px; padding: 8px 26px; border: 2px solid transparent; border-image: url(../img/orn/frame_panel.webp) 84 / 20px stretch;
  background: linear-gradient(180deg, #2a1c10, #120b06) padding-box; font-size: 1.1rem;
  box-shadow: 0 0 34px rgba(240, 185, 80, 0.6), inset 0 0 24px rgba(240, 185, 80, 0.22); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.pill { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 20px; border-radius: 8px; border: 1px solid rgba(205, 160, 90, 0.7);
  background: rgba(12, 8, 5, 0.88); box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.7), 0 4px 12px rgba(0, 0, 0, 0.5);
  font: 600 0.95rem/1 var(--sans); letter-spacing: 0.04em; text-transform: uppercase; color: var(--cream); }

/* ------------------------------------------------------------------ header: carved wood bar, logo breaking out below */

.site-header { position: sticky; top: 0; z-index: 50; background: var(--wood); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.6); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 12px; pointer-events: none;
  background: url(../img/orn/rail.webp) center / auto 12px repeat-x; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.8)); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 80px; }
.brand { flex: none; align-self: flex-start; }
.brand img { height: 96px; width: auto; margin-top: 2px; position: relative; z-index: 2; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.8)); }
.nav { display: flex; gap: 2px; margin: 0 auto; padding: 6px 12px; border-radius: 10px; background: rgba(6, 4, 3, 0.55);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(123, 90, 43, 0.35); }
.nav a { position: relative; padding: 12px 17px; font: 600 1.02rem/1 var(--serif); letter-spacing: 0.02em; color: #efe2c6; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 3px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-hi), transparent); transform: scaleX(0); transition: transform 0.2s;
  box-shadow: 0 0 10px var(--gold); }
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: #fff3d3; text-shadow: 0 0 12px rgba(255, 210, 120, 0.6); }
.nav .cta-mobile { display: none; }
.menu-btn { display: none; margin-left: auto; width: 50px; height: 50px; border: 2px solid transparent; cursor: pointer; color: var(--gold-hi);
  border-image: url(../img/orn/frame_panel.webp) 84 / 14px stretch; background: rgba(10, 6, 4, 0.8) padding-box; }
.menu-btn svg { width: 26px; height: 26px; }

/* ------------------------------------------------------------------ home hero: GPT clean plate of the design's hero */

.hero { position: relative; height: clamp(560px, 54.8vw, 880px); overflow: hidden; isolation: isolate; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 25% 17% at 50% 50%, rgba(8, 5, 3, 0.72), transparent 100%),
    radial-gradient(ellipse 34% 40% at 50% 48%, rgba(8, 5, 3, 0.35), transparent 100%),
    linear-gradient(180deg, transparent 88%, rgba(12, 8, 6, 0.7) 100%); }
.hero-inner { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(10px, 2.9vw, 46px) var(--gutter) 0; }
.hero-logo { width: clamp(260px, 31vw, 470px); filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.7)); }
.hero h1 { margin-top: clamp(2px, 0.4vw, 8px); font-size: clamp(1.8rem, 3.2vw, 3.2rem); line-height: 1.06; max-width: 13em; letter-spacing: 0.02em;
  text-transform: uppercase; }
.hero .tagline { margin: clamp(8px, 1vw, 14px) 0 clamp(14px, 1.6vw, 22px); font-size: clamp(1rem, 1.4vw, 1.3rem); font-weight: 600; color: #fff;
  text-shadow: 0 2px 6px #000, 0 0 16px rgba(0, 0, 0, 0.9); }
.hero .pill { margin-top: clamp(14px, 1.6vw, 22px); }

/* ------------------------------------------------------------------ home features: carved board, four framed cards */

.board-band { position: relative; background: var(--wood); padding: 22px 0 12px; }
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 3.3vw, 48px); }
.feature { padding: 12px 12px 20px; text-align: center; background: linear-gradient(180deg, rgba(12, 8, 6, 0.55), rgba(12, 8, 6, 0.8)); }
/* the painted tile's own square frame is feathered away so the art sits in the card, as in the design */
.feature .icon { width: 100%; max-width: 300px; aspect-ratio: 3 / 2; object-fit: cover; margin: 0 auto;
  -webkit-mask-image: linear-gradient(90deg, transparent 1%, #000 11%, #000 89%, transparent 99%), linear-gradient(180deg, transparent 0%, #000 10%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 1%, #000 11%, #000 89%, transparent 99%), linear-gradient(180deg, transparent 0%, #000 10%, #000 86%, transparent 100%);
  mask-composite: intersect; }
.feature h3 { margin: 6px 0 8px; font-size: clamp(1.15rem, 1.8vw, 1.65rem); }
.feature p { margin: 0; color: var(--text); font-size: clamp(0.92rem, 1.15vw, 1.08rem); line-height: 1.4; }
.board-band .note { margin: 10px 0 0; text-align: center; font-size: 0.78rem; color: var(--muted); }

/* ------------------------------------------------------------------ home AI band */

.ai-band { position: relative; min-height: clamp(360px, 28.3vw, 440px); display: grid; align-items: center; background: #0b0a0c; overflow: hidden; }
.ai-band picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; }
.ai-band::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8, 7, 9, 0) 36%, rgba(8, 7, 9, 0.45) 48%, rgba(8, 7, 9, 0.4) 100%); }
.ai-band .wrap { position: relative; }
.ai-copy { margin-left: 40%; max-width: 720px; padding: 30px 0; }
.ai-copy h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); text-transform: uppercase; }
.ai-copy .eyebrow { margin: 10px 0 12px; font-size: clamp(0.8rem, 1.1vw, 1.05rem); }
.ai-copy p.body { margin: 0; max-width: 27em; font-size: clamp(1rem, 1.35vw, 1.28rem); line-height: 1.45; color: var(--text);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9); }
.ai-copy .eyebrow { letter-spacing: 0.16em; }
.ai-points { text-shadow: 0 2px 6px #000, 0 0 12px #000; }
.ai-points { display: flex; align-items: flex-start; gap: 14px; margin-top: 28px; }
.ai-points > div { flex: 1; text-align: center; }
.ai-points > i { flex: none; width: 20px; height: 20px; margin-top: 16px; background: url(../img/orn/star.webp) center / contain no-repeat; }
.ai-points svg { width: 44px; height: 44px; color: var(--gold); }
.ai-points b { display: block; font: 600 0.95rem/1.2 var(--serif); letter-spacing: 0.04em; margin-top: 8px; color: var(--cream); text-transform: uppercase; white-space: nowrap; }
.ai-points span { font-size: 0.92rem; color: var(--muted); }

/* ------------------------------------------------------------------ home platforms and community bands (GPT painted) */

.art-strip { position: relative; overflow: hidden; isolation: isolate; }
.art-strip > picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.platform-band { padding: 20px 0 22px; }
.platform-band .eyebrow { letter-spacing: 0.1em; color: #bfe9d6; }
.platform-band::before, .community-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(6, 4, 3, 0.38); }
.platform-band > picture img { object-position: 50% 60%; }
.platforms { display: flex; justify-content: center; align-items: center; margin-top: 18px; }
.platform { position: relative; flex: 1 1 0; max-width: 272px; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 14px 22px; min-height: 80px;
  border-radius: 6px; border: 1px solid rgba(190, 170, 140, 0.4); background: rgba(10, 9, 9, 0.82); }
.platform + .platform { margin-left: 56px; }
.platform + .platform::before {  /* connector: a thin line with a diamond, as in the design */
  content: ""; position: absolute; right: calc(100% + 1px); top: 50%; width: 55px; height: 12px; transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(190, 170, 140, 0.45), rgba(190, 170, 140, 0.45)) center / 100% 1px no-repeat,
    url(../img/orn/spark.webp) center / 10px 10px no-repeat; }
.platform svg { width: 46px; height: 46px; color: #fff; flex: none; }
.platform b { display: block; font: 600 1.15rem/1.2 var(--sans); letter-spacing: 0.03em; color: #fff; text-transform: uppercase; }
.platform span { font: 600 0.82rem/1.3 var(--sans); color: #b9b0a4; letter-spacing: 0.06em; text-transform: uppercase; }
.platform.now { border-color: rgba(94, 232, 154, 0.85); background: rgba(10, 30, 20, 0.72);
  box-shadow: 0 0 24px rgba(94, 232, 154, 0.35), inset 0 0 22px rgba(94, 232, 154, 0.12); }
.platform.now span { color: var(--ok); }
.community-band { padding: 22px 0; text-align: center; }
.community-band .band-sub { color: #f4ead8; }
.community-band > picture img { object-position: 50% 55%; }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin-top: 18px; }
.social { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  border: 2px solid #c99a4a; background: radial-gradient(circle at 40% 30%, #2d1d11, #0d0805);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.55), 0 0 16px rgba(233, 184, 87, 0.28); }
.social:hover { border-color: var(--gold-hi); box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.55), 0 0 22px rgba(233, 184, 87, 0.6); }
.social svg { width: 28px; height: 28px; }
.social > * { grid-area: 1 / 1; }  /* glyph and screen-reader label share one cell, so the glyph is truly centred */

/* ------------------------------------------------------------------ art bands of the inner pages */

.art-band { position: relative; overflow: hidden; isolation: isolate; }
.art-band > picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.art-band::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(12, 8, 6, 0) 20%, rgba(12, 8, 6, 0.55) 45%, rgba(12, 8, 6, 0.85) 100%); }
.art-band .ai-copy { margin-left: auto; width: min(620px, 100%); padding: 20px 0; }

/* ------------------------------------------------------------------ page heroes (inner pages) */

.page-hero { position: relative; min-height: clamp(300px, 46vw, 560px); display: grid; place-items: center; text-align: center;
  overflow: hidden; isolation: isolate; }
.page-hero picture, .page-hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 50% 40% at 50% 60%, rgba(8, 5, 3, 0.55), transparent 72%),
    linear-gradient(180deg, transparent 55%, rgba(12, 8, 6, 0.9) 100%); }
.page-hero .inner { padding: 60px var(--gutter) 34px; align-self: end; }
.page-hero h1 { font-size: clamp(2.4rem, 7vw, 5.2rem); }
.page-hero p { margin: 8px 0 0; font-size: clamp(1rem, 1.8vw, 1.35rem); text-shadow: 0 2px 8px #000, 0 0 20px #000; }

/* ------------------------------------------------------------------ footer: framed carved panel */

.site-footer { position: relative; background: var(--wood); padding: 16px 0 14px; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 12px;
  background: url(../img/orn/rail.webp) center / auto 12px repeat-x; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.8)); }
.site-footer .wrap { position: relative; display: flex; align-items: center; gap: 16px 30px; padding: 10px 34px;
  border: 2px solid transparent; border-image: var(--frame-panel);
  background: url(../img/orn/cbig_tl.webp) top 4px left 4px / 54px no-repeat, url(../img/orn/cbig_tr.webp) top 4px right 4px / 54px no-repeat,
    url(../img/orn/cbig_bl.webp) bottom 4px left 4px / 54px no-repeat, url(../img/orn/cbig_br.webp) bottom 4px right 4px / 54px no-repeat; }
.site-footer .brand { align-self: center; }
.site-footer .brand img { height: 92px; margin: 0; }
.site-footer nav { display: flex; flex-wrap: nowrap; gap: 8px 22px; }
.site-footer nav a { font: 700 0.8rem/1 var(--serif); letter-spacing: 0.04em; color: #efe4cf; text-transform: uppercase; white-space: nowrap; }
.site-footer .legal { margin-left: auto; max-width: 300px; text-align: right; font-size: 0.9rem; color: #d9ccb4; }
.site-footer .legal nav { justify-content: flex-end; gap: 6px 20px; margin-bottom: 8px; }
.site-footer .legal nav a { text-transform: none; font: 400 0.92rem/1 var(--sans); }
.site-footer .legal small { display: block; font-size: 0.85rem; color: #d9ccb4; white-space: nowrap; }
.site-footer .legal .alpha { margin-top: 4px; font-size: 0.7rem; line-height: 1.35; color: var(--dim); white-space: normal; }
.site-footer .star { width: 16px; height: 16px; flex: none; background: url(../img/orn/star.webp) center / contain no-repeat; opacity: 0.9; }
.site-footer .motto { display: flex; align-items: center; gap: 12px; font: 600 1.02rem/1.2 var(--serif); letter-spacing: 0.08em; color: var(--cream);
  text-align: center; white-space: nowrap; }
.site-footer .motto i { width: 46px; height: 46px; flex: none; background: url(../img/orn/medallion.webp) center / contain no-repeat; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 14px 22px; border-radius: 8px; border: 1px solid var(--gold); background: #1b120b; color: var(--gold-hi);
  font: 600 0.95rem/1.3 var(--sans); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6); transition: opacity 0.2s, transform 0.2s; max-width: 92vw; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* simple text pages (privacy, terms) */
.prose { max-width: 760px; padding: 36px clamp(20px, 4vw, 44px); }
.prose h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 14px; }
.prose h2 { font-size: 1.2rem; margin: 26px 0 8px; color: var(--gold-hi); }
.prose p, .prose li { color: var(--text); }
/* ------------------------------------------------------------------ the game */

.spray-card { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 0; padding: 10px; text-align: left; overflow: hidden; }
.spray-card .copy { padding: 14px 10px 14px 14px; }
.spray-card h3 { font-size: 1.6rem; }
.spray-card img { border-radius: 4px; aspect-ratio: 4 / 3; object-fit: cover; }
.spray-card[data-c="0"] h3 { color: var(--toxic); }
.spray-card[data-c="1"] h3 { color: var(--goo); }
.spray-card[data-c="2"] h3 { color: var(--zap); }
.spray-card[data-c="0"] { box-shadow: inset 0 0 0 3px rgba(10, 6, 4, 0.9), 0 0 26px rgba(141, 255, 60, 0.18); }
.spray-card[data-c="1"] { box-shadow: inset 0 0 0 3px rgba(10, 6, 4, 0.9), 0 0 26px rgba(255, 208, 46, 0.18); }
.spray-card[data-c="2"] { box-shadow: inset 0 0 0 3px rgba(10, 6, 4, 0.9), 0 0 26px rgba(255, 69, 214, 0.18); }
.pest-row { display: flex; gap: 6px; margin-top: 10px; }
.pest-row img { width: 40px; height: 40px; border-radius: 6px; border: 1px solid var(--line); }

.react-card { padding: 8px; overflow: hidden; }
.react-card .pic { position: relative; }
.react-card .pic img { aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; }
.react-card .pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(12, 8, 6, 0.95)); border-radius: 4px; }
.react-card .copy { position: relative; margin-top: -64px; padding: 0 14px 12px; text-align: center; }
.react-card h3 { font-size: 1.35rem; }
.react-card .mix { font: 600 0.85rem/1.4 var(--sans); letter-spacing: 0.08em; }
.react-card p { color: var(--muted); font-size: 0.92rem; margin: 6px 0 0; }
.c0 { color: var(--toxic); }
.c1 { color: var(--goo); }
.c2 { color: var(--zap); }

.hero-card { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 18px; text-align: left; }
.hero-card .portrait { border-radius: 6px; border: 1px solid var(--line); box-shadow: 0 0 20px rgba(0, 0, 0, 0.6); }
.hero-card h3 { font-size: 1.45rem; }
.hero-card .title { font: 600 0.95rem/1.2 var(--serif); color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.stats { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 10px 0; font: 600 0.85rem/1.3 var(--sans); color: var(--gold-hi); }
.hero-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.spells { grid-column: 1 / -1; display: flex; gap: 8px; }
.spells img { width: 46px; height: 46px; border-radius: 6px; border: 1px solid var(--line); }

.flower { text-align: center; padding: 10px 10px 14px; }
.flower img { border-radius: 4px; aspect-ratio: 1; object-fit: cover; }
.flower h3 { font-size: 0.86rem; margin-top: 10px; letter-spacing: 0.06em; }
.flower p { margin: 6px 0 0; color: var(--dim); font-size: 0.82rem; line-height: 1.4; }

.build-card { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: start; text-align: left; padding: 22px; }
.build-card h3 { font-size: 1.35rem; }
.build-card .icons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.build-card .icons img { width: 48px; height: 48px; border-radius: 6px; border: 1px solid var(--line); }

.cta-band { min-height: 380px; display: grid; align-items: center; }
.cta-band::after { background: linear-gradient(90deg, rgba(12, 8, 6, 0.9) 0%, rgba(12, 8, 6, 0.55) 45%, rgba(12, 8, 6, 0) 75%); }
.cta-band .copy { max-width: 520px; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }

/* ------------------------------------------------------------------ leaderboards */

.modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mode { display: flex; gap: 14px; align-items: center; padding: 16px 18px; text-align: left; cursor: pointer; border-radius: 6px;
  border: 1px solid var(--line); background: linear-gradient(180deg, #1f150e, #120c08); color: var(--text); font: inherit; }
.mode img { width: 44px; height: 44px; border-radius: 6px; }
.mode b { display: block; font: 700 1rem/1.2 var(--serif); letter-spacing: 0.06em; }
.mode span { font-size: 0.84rem; color: var(--muted); }
.mode[aria-selected="true"] { border-color: var(--gold); box-shadow: 0 0 22px rgba(233, 184, 87, 0.35), inset 0 0 18px rgba(233, 184, 87, 0.1); }
.board-wrap { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 22px; margin-top: 26px; align-items: start; }
.board { padding: 22px 18px; }
.board h2 { font-size: 1.5rem; }
.preview-note { margin: 6px 0 14px; font-size: 0.86rem; color: var(--gold-hi); }
table.lb { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
table.lb th { font: 600 0.72rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); text-align: left;
  padding: 10px 8px; border-bottom: 1px solid rgba(123, 90, 43, 0.6); }
table.lb td { padding: 9px 8px; border-bottom: 1px solid rgba(123, 90, 43, 0.25); vertical-align: middle; }
table.lb td.num { text-align: right; font-variant-numeric: tabular-nums; color: var(--gold-hi); font-weight: 600; }
table.lb img { width: 34px; height: 34px; border-radius: 5px; border: 1px solid var(--line); }
table.lb tr.top td { background: rgba(233, 184, 87, 0.09); }
table.lb tr.top td:first-child { box-shadow: inset 3px 0 0 var(--gold); }
.rank { font: 700 1.05rem/1 var(--serif); color: var(--gold-hi); width: 36px; }
.graveyard { padding: 22px 18px; }
.graveyard h2 { font-size: 1.35rem; color: #ff9a8a; }
.grave { display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(123, 90, 43, 0.25); }
.grave img { width: 40px; height: 40px; border-radius: 5px; border: 1px solid rgba(255, 138, 31, 0.6); }
.grave b { color: var(--legendary); font-weight: 600; font-size: 0.92rem; }
.grave span { display: block; color: var(--dim); font-size: 0.8rem; }
.epitaph { margin-top: 16px; text-align: center; font: italic 600 0.95rem/1.4 var(--serif); color: var(--muted); }
.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: end; margin-bottom: 20px; }
.podium div { text-align: center; padding: 12px; border-radius: 6px 6px 0 0; border: 1px solid var(--line); border-bottom: 0;
  background: linear-gradient(180deg, rgba(233, 184, 87, 0.14), rgba(0, 0, 0, 0)); }
.podium div:nth-child(2) { padding-top: 26px; border-color: var(--gold); }
.podium img { width: 70px; margin: 0 auto; border-radius: 8px; border: 1px solid var(--line); }
.podium b { display: block; margin-top: 6px; font-family: var(--serif); overflow-wrap: anywhere; }
.podium span { color: var(--gold-hi); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ loot vault */

.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; padding: 20px 22px; }
.filters .row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filters label { font: 600 0.78rem/1 var(--serif); letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; margin-right: 4px; }
.chip { min-height: 38px; padding: 8px 14px; border-radius: 5px; border: 1px solid var(--line); background: #140d09; color: var(--text);
  font: 600 0.8rem/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }
.chip[aria-pressed="true"] { border-color: var(--gold); color: var(--gold-hi); box-shadow: 0 0 14px rgba(233, 184, 87, 0.3); }
.chip[data-rarity="legendary"] { color: var(--legendary); }
.chip[data-rarity="set"] { color: var(--set); }
.search { flex: 1 1 220px; min-height: 42px; padding: 10px 14px; border-radius: 5px; border: 1px solid var(--line); background: #0f0a07;
  color: var(--text); font: inherit; }
.vault { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; margin-top: 26px; align-items: start; }
.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.item { padding: 16px 12px 16px; text-align: center; cursor: pointer; color: var(--text); font: inherit; width: 100%; }
.item img { width: 128px; margin: 6px auto 8px; border-radius: 8px; filter: drop-shadow(0 0 14px rgba(255, 138, 31, 0.45)); }
.item[data-rarity="set"] img { filter: drop-shadow(0 0 14px rgba(189, 133, 255, 0.5)); }
.item h3 { font-size: 1rem; color: var(--legendary); }
.item[data-rarity="set"] h3 { color: var(--set); }
.item .slot { display: block; margin-top: 4px; font: 600 0.72rem/1 var(--sans); letter-spacing: 0.14em; color: var(--dim); text-transform: uppercase; }
.item p { margin: 8px 0 0; font-size: 0.85rem; color: var(--muted); line-height: 1.4; }
.item[aria-selected="true"] { outline: 2px solid var(--gold); box-shadow: 0 0 26px rgba(233, 184, 87, 0.35); }
.item[hidden] { display: none; }
.detail { position: sticky; top: 96px; padding: 26px 22px; }
.detail img { width: 190px; margin: 0 auto 10px; filter: drop-shadow(0 0 22px rgba(255, 138, 31, 0.55)); }
.detail h2 { font-size: 1.5rem; text-align: center; color: var(--legendary); }
.detail[data-rarity="set"] h2 { color: var(--set); }
.detail .kind { text-align: center; font: 600 0.8rem/1.3 var(--sans); letter-spacing: 0.14em; color: var(--dim); text-transform: uppercase; margin: 6px 0 14px; }
.detail .power { color: #ffb066; font-size: 1.02rem; }
.detail[data-rarity="set"] .power { color: #d6b3ff; }
.detail ul { margin: 12px 0 0; padding-left: 18px; color: var(--magic); font-size: 0.92rem; }
.detail .note { margin-top: 14px; font-size: 0.86rem; color: var(--dim); font-style: italic; }
.detail-close { display: none; }
.rarities { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.rarity { padding: 16px 12px; text-align: center; border-radius: 6px; border: 1px solid var(--line); background: #140d09; }
.rarity b { display: block; font: 700 1rem/1.2 var(--serif); letter-spacing: 0.08em; }
.rarity span { font-size: 0.84rem; color: var(--muted); }
.split { display: grid; grid-template-columns: 220px 1fr; gap: 30px; align-items: center; }
.split .big-icon { width: 220px; filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.7)); }
.checks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; background: url(../img/orn/spark.webp) center / contain no-repeat; }

/* ------------------------------------------------------------------ community */

.join { padding: 30px 20px 24px; text-align: center; }
.join .logo-mark { width: 74px; height: 74px; margin: 0 auto 10px; display: grid; place-items: center; border-radius: 18px;
  background: radial-gradient(circle at 40% 30%, #3a2716, #120c08); border: 1px solid var(--gold-lo); color: var(--gold-hi); }
.join .logo-mark svg { width: 40px; height: 40px; }
.join h3 { font-size: 1.35rem; margin: 6px 0; }
.join p { margin: 0 0 16px; color: var(--muted); font-size: 0.93rem; }
.proposal { padding: 0 0 16px; overflow: hidden; }
.proposal img { aspect-ratio: 16 / 9; object-fit: cover; border-radius: 5px 5px 0 0; }
.proposal h3 { font-size: 1.05rem; margin: 14px 16px 6px; }
.proposal p { margin: 0 16px 14px; color: var(--muted); font-size: 0.9rem; }
.proposal .btn { margin: 0 16px; width: calc(100% - 32px); }
.post { overflow: hidden; padding: 0 0 18px; }
.post img { aspect-ratio: 16 / 9; object-fit: cover; border-radius: 5px 5px 0 0; }
.post time { display: block; margin: 14px 18px 0; font: 600 0.78rem/1 var(--sans); letter-spacing: 0.14em; color: var(--dim); }
.post h3 { font-size: 1.15rem; margin: 8px 18px 6px; }
.post p { margin: 0 18px; color: var(--muted); font-size: 0.92rem; }
.build { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 18px; text-align: left; }
.build .portrait { border-radius: 6px; border: 1px solid var(--line); }
.build h3 { font-size: 1.15rem; }
.build .by { font-size: 0.82rem; color: var(--dim); }
.build p { margin: 6px 0 0; font-size: 0.88rem; color: var(--muted); }
.build .icons { display: flex; gap: 6px; margin-top: 10px; }
.build .icons img { width: 42px; height: 42px; border-radius: 6px; border: 1px solid var(--line); }
.gallery { columns: 3 280px; column-gap: 16px; }
.gallery figure { margin: 0 0 16px; break-inside: avoid; padding: 8px; }
.gallery img { border-radius: 4px; }
.gallery figcaption { font-size: 0.84rem; color: var(--dim); padding: 8px 4px 2px; }

/* ------------------------------------------------------------------ roadmap */

.timeline { position: relative; display: grid; gap: 28px; padding-left: 96px; }
.timeline::before { content: ""; position: absolute; left: 40px; top: 20px; bottom: 20px; width: 4px; border-radius: 4px;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold), #7b5a2b); box-shadow: 0 0 18px rgba(233, 184, 87, 0.6); }
.milestone { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) auto; gap: 24px; align-items: center; padding: 16px; }
.milestone .num { position: absolute; left: -96px; top: 50%; transform: translateY(-50%); width: 84px; height: 84px; display: grid;
  place-items: center; font: 700 2rem/1 var(--serif); color: var(--gold-hi); border-radius: 50%;
  background: radial-gradient(circle at 40% 30%, #3a2716, #120c08); border: 2px solid var(--gold); box-shadow: 0 0 22px rgba(233, 184, 87, 0.45); }
.milestone img { border-radius: 5px; aspect-ratio: 16 / 9; object-fit: cover; }
.milestone h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
.milestone .sub { color: #9fe8b4; font-family: var(--serif); margin: 4px 0 10px; }
.milestone ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.milestone li { display: flex; gap: 10px; align-items: center; }
.milestone li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; border: 2px solid var(--dim); }
.milestone li.done::before { border-color: var(--ok); background: var(--ok); box-shadow: inset 0 0 0 3px #0f2a18; }
.milestone .status { justify-self: end; }


/* ------------------------------------------------------------------ MAGAGA (design/07_magaga.jpg) */

.nav-badge { display: inline-block; width: 26px; height: 26px; margin: -8px 6px -8px 0; vertical-align: middle;
  filter: drop-shadow(0 0 6px rgba(255, 200, 90, 0.45)); }
.site-footer nav .nav-badge { width: 20px; height: 20px; margin: -6px 5px -6px 0; }
.hero-badge { position: absolute; left: 69%; top: 11%; width: clamp(110px, 13vw, 200px); z-index: 3; transform: rotate(-6deg);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 18px rgba(255, 190, 80, 0.35)); transition: transform 0.2s; }
.hero-badge:hover { transform: rotate(-2deg) scale(1.06); }
.hero-badge img { width: 100%; }

.m-hero { position: relative; overflow: hidden; isolation: isolate; min-height: clamp(420px, 37vw, 560px); display: grid; align-items: center; }
.m-hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; z-index: -2; }
.m-hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10, 6, 4, 0.55) 0%, rgba(10, 6, 4, 0.2) 45%, rgba(10, 6, 4, 0) 70%),
    linear-gradient(180deg, transparent 80%, rgba(12, 8, 6, 0.8) 100%); }
.m-hero-inner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 24px; padding: 30px 0; }
.m-badge { width: min(100%, 440px); filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 30px rgba(255, 190, 80, 0.3)); }
.m-hero-copy h1 { font-size: clamp(2rem, 4vw, 3.7rem); text-transform: uppercase; line-height: 1.04; }
.m-hero-copy p:last-child { margin: 12px 0 0; font-size: clamp(1rem, 1.5vw, 1.35rem); color: #fff; text-shadow: 0 2px 6px #000, 0 0 16px #000; }

.m-warn .m-warn-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 34px; align-items: center; padding: 22px 0 16px; }
.m-warn h2 { font-size: clamp(1.5rem, 2.4vw, 2.2rem); text-transform: uppercase; margin-bottom: 10px; }
.m-warn p { margin: 0; color: var(--text); }
.chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.chips li { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 8px 14px; border-radius: 6px;
  border: 1px solid #b8362a; background: linear-gradient(180deg, rgba(90, 14, 10, 0.85), rgba(40, 6, 5, 0.9));
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.5), 0 0 16px rgba(220, 50, 30, 0.25);
  font: 600 0.86rem/1.2 var(--serif); letter-spacing: 0.04em; text-transform: uppercase; color: #f6e2d2; }
.chips svg { width: 26px; height: 26px; flex: none; color: #ff6b52; }

.rainbow { display: flex; align-items: center; justify-content: center; gap: 18px; }
.rainbow::before, .rainbow::after { content: ""; flex: 1 1 auto; max-width: 300px; height: 14px; opacity: 0.8;
  background: linear-gradient(180deg, #d8392b 0 25%, #f3c42c 25% 50%, #3fb34a 50% 75%, #2aa7d8 75% 100%); }
.rainbow::before { -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); }
.rainbow::after { -webkit-mask-image: linear-gradient(90deg, #000, transparent); mask-image: linear-gradient(90deg, #000, transparent); }
.m-golden, .m-hof, .m-voice { padding: 26px 0 30px; }
.golden { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.gold-card { padding: 10px 10px 14px; text-align: center; }
.gold-card img { aspect-ratio: 1; object-fit: cover; border-radius: 3px; }
.gold-card h3 { margin-top: 10px; font-size: clamp(0.95rem, 1.35vw, 1.2rem); text-transform: uppercase; }
.gold-card .year { display: block; margin-top: 2px; font-weight: 600; color: var(--cream); }
.gold-card p { margin: 6px 0 0; font-size: 0.85rem; line-height: 1.35; color: var(--muted); }
.hof { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.hof-card { position: relative; overflow: hidden; min-height: 200px; display: flex; align-items: center; justify-content: flex-end; padding: 22px 30px; }
.hof-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; z-index: 0; }
.hof-card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, transparent 30%, rgba(8, 5, 4, 0.78) 62%); }
.hof-card > div { position: relative; z-index: 2; max-width: 290px; text-align: center; }
.hof-card h3 { font-size: clamp(1.7rem, 2.8vw, 2.6rem); text-transform: uppercase; }
.hof-card .lead-in { margin: 4px 0 8px; font-size: 1.2rem; color: #fff; }
.hof-card p { margin: 0; font-size: 0.88rem; color: var(--muted); }
.voice { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 22px; align-items: stretch; }
.founder { display: grid; grid-template-columns: 170px 1fr; gap: 22px; align-items: center; padding: 24px 28px; }
.founder img { width: 170px; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.7)); }
.founder h2, .pledge h2 { font-size: clamp(1.4rem, 2.2vw, 2rem); text-transform: uppercase; }
.founder blockquote { margin: 12px 0 0; font-size: 1.02rem; line-height: 1.55; color: var(--text); }
.sig { margin: 14px 0 0; text-align: right; font: italic 700 1.25rem/1.2 var(--serif); color: var(--gold-hi); }
.sig span { display: block; font: 400 0.82rem/1.3 var(--sans); font-style: normal; color: var(--dim); }
.pledge { position: relative; padding: 42px 46px 44px; background: url(../img/magaga/parchment.webp) center / 100% 100% no-repeat;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.6)); }
.pledge h2 { background: none; -webkit-background-clip: initial; background-clip: initial; color: #3a2210; filter: none; text-align: center; }
.pledge ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.pledge li { display: flex; gap: 12px; align-items: flex-start; color: #2e1c0e; font-weight: 600; font-size: 1rem; line-height: 1.35; }
.pledge li::before { content: "\2713"; flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: #2b1a0c; color: #f5c451; font-size: 0.85rem; font-weight: 700; margin-top: -1px; }
.m-join { padding: 30px 0 34px; text-align: center; }
.m-join > picture img { object-position: 50% 55%; }
.m-join::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 40% 70% at 50% 50%, rgba(6, 4, 3, 0.55), transparent); }
.m-join .band-sub { max-width: 560px; margin: 8px auto 18px; color: #fff; text-shadow: 0 2px 6px #000; }

/* ------------------------------------------------------------------ responsive (phones follow design/01_home_mobile.jpg) */

/* seven menu items: tighter spacing, then a short Wishlist button, then the drawer menu */
@media (max-width: 1500px) {
  .nav a { padding: 12px 10px; font-size: 0.95rem; }
  .btn-cta { padding: 8px 18px; font-size: 1rem; }
  .site-footer nav { flex-wrap: wrap; max-width: 470px; row-gap: 12px; }
}

@media (max-width: 1320px) {
  .brand img { height: 84px; }
  .nav a { padding: 12px 7px; font-size: 0.88rem; }
  .nav-badge { width: 22px; height: 22px; margin-right: 4px; }
  .site-header .btn-cta .long { display: none; }
}

@media (max-width: 1180px) {
  .site-header .wrap { height: 68px; }
  .brand img { height: 74px; }
  .menu-btn { display: grid; place-items: center; }
  .site-header .cta { display: none; }
  .nav {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0; padding: 14px var(--gutter) 24px; margin: 0; border-radius: 0;
    background: var(--wood); box-shadow: 0 24px 40px rgba(0, 0, 0, 0.75);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .nav a { padding: 16px 6px; font-size: 1.1rem; border-bottom: 1px solid rgba(123, 90, 43, 0.35); }
  .nav a::after { display: none; }
  .nav .cta-mobile { display: flex; margin-top: 18px; }
  .nav .cta-mobile .btn { width: 100%; }
  body.menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav .nav-badge { width: 30px; height: 30px; margin-right: 10px; }
  .golden { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .voice { grid-template-columns: 1fr; }
  .btn-cta { padding: 8px 20px; font-size: 0.9rem; }
  .g6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .modes { grid-template-columns: repeat(2, 1fr); }
  .rarities { grid-template-columns: repeat(3, 1fr); }
  .vault { grid-template-columns: minmax(0, 1fr) 300px; }
  .platform { padding: 12px 16px; gap: 12px; }
  .platform + .platform { margin-left: 34px; }
  .platform + .platform::before { width: 33px; }
  .platform svg { width: 38px; height: 38px; }
}

@media (max-width: 960px) {
  body { font-size: 16px; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
  .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spray-grid { grid-template-columns: 1fr; }
  .board-wrap, .vault { grid-template-columns: minmax(0, 1fr); }
  .detail {  /* the item detail becomes a bottom sheet */
    position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 80; max-height: 78vh; overflow: auto; border-radius: 14px 14px 0 0;
    transform: translateY(105%); visibility: hidden; transition: transform 0.25s, visibility 0.25s;
  }
  .detail.open { transform: none; visibility: visible; }  /* closed, it is also out of the tab order */
  .detail-close { display: block; position: absolute; top: 10px; right: 12px; width: 44px; height: 44px; border: 0; background: none;
    color: var(--gold-hi); font-size: 1.8rem; cursor: pointer; }
  .milestone { grid-template-columns: 1fr; }
  .milestone .status { justify-self: start; }
  .split { grid-template-columns: 1fr; text-align: center; }
  .split .big-icon { margin: 0 auto; width: 160px; }
  .checks { justify-items: start; text-align: left; }
  .ai-copy { margin-left: 42%; }
  .ai-points { gap: 8px; }
  .ai-points > i { display: none; }
  .ai-points b { white-space: normal; font-size: 0.78rem; }
  .feature .icon { max-width: 220px; }
  .community-band .band-sub, .community-band .band-title { text-shadow: 0 2px 6px #000, 0 0 14px #000; }
  .platforms { flex-direction: column; align-items: stretch; gap: 12px; max-width: 560px; margin-inline: auto; }
  .m-hero-inner { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  .m-warn .m-warn-inner { grid-template-columns: 1fr; gap: 18px; }
  .hof { grid-template-columns: 1fr; }
  .platform { max-width: none; min-height: 62px; }
  .platform + .platform { margin-left: 0; }
  .platform + .platform::before { display: none; }
  .platform::after { content: "\203A"; margin-left: auto; font-size: 1.8rem; line-height: 1; color: #b9b0a4; }
  .art-band .ai-copy { margin: 0; padding-top: 250px; }
  .art-band > picture img { object-position: 18% 20%; }
  .art-band::after { background: linear-gradient(180deg, rgba(12, 8, 6, 0) 10%, rgba(12, 8, 6, 0.8) 42%, rgba(12, 8, 6, 0.95) 100%); }
  .cta-band::after { background: linear-gradient(180deg, rgba(12, 8, 6, 0.2) 0%, rgba(12, 8, 6, 0.92) 70%); }
  .cta-band { align-items: end; min-height: 460px; }
  .site-footer .wrap { flex-wrap: wrap; justify-content: center; text-align: center; }
  .site-footer nav { justify-content: center; flex-wrap: wrap; }
  .site-footer .legal { max-width: none; }
  .site-footer .legal { margin: 0; text-align: center; width: 100%; }
  .site-footer .legal nav { justify-content: center; }
  .site-footer .star { display: none; }
}

@media (max-width: 600px) {
  :root { --bframe: 28px; }
  .hero-badge { left: auto; right: 14px; top: 10px; width: 92px; }
  .m-hero { min-height: 0; }
  .m-hero::after { background: linear-gradient(180deg, rgba(10, 6, 4, 0.25) 0%, rgba(10, 6, 4, 0.75) 100%); }
  .m-hero-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 10px; padding: 26px 0 30px; }
  .m-badge { width: 230px; }
  .chips { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .chips li { min-height: 48px; padding: 6px 10px; font-size: 0.76rem; }
  .chips svg { width: 22px; height: 22px; }
  .rainbow::before, .rainbow::after { display: none; }
  .golden { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .hof-card { min-height: 220px; padding: 18px; justify-content: center; }
  .hof-card::after { background: linear-gradient(180deg, rgba(8, 5, 4, 0.2) 0%, rgba(8, 5, 4, 0.8) 60%); }
  .hof-card > div { align-self: flex-end; }
  .founder { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 22px 18px; }
  .founder img { width: 150px; }
  .sig { text-align: center; }
  .pledge { padding: 56px 26px 50px; }
  /* hero: the tall key art, title block at the bottom, the logo only in the header (design/01_home_mobile.jpg) */
  .hero { height: auto; }
  .hero picture { position: relative; display: block; }
  .hero picture img { position: relative; height: 128vw; object-position: 50% 30%; }
  .hero::after { background: linear-gradient(180deg, transparent calc(128vw - 150px), #0c0806 calc(128vw - 10px)); }
  .hero-inner { position: relative; inset: auto; margin-top: -64px; padding: 0 16px 28px; }
  .hero-logo { display: none; }
  .hero h1 { font-size: 1.72rem; }
  .hero .btn-row { gap: 10px; width: 100%; }
  .hero .btn-row .btn { flex: 1 1 150px; min-height: 50px; padding: 6px 12px; font-size: 0.8rem; gap: 8px; }
  .hero .btn-row .btn .coin { width: 28px; height: 28px; margin-left: -4px; }
  .hero .btn-row .btn .coin svg { width: 20px; height: 20px; }
  .board-band { padding: 30px 0 18px; }
  .features { grid-template-columns: 1fr; gap: 24px; }
  .feature { display: grid; grid-template-columns: 40% 1fr; align-items: center; gap: 12px; padding: 10px 14px 10px 8px; text-align: left; }
  .feature .icon { width: 100%; }
  .feature h3 { font-size: 1.15rem; margin: 0 0 4px; }
  .feature p { font-size: 0.92rem; }
  .fleur::before { width: 24px; height: 24px; top: -14px; }
  /* AI band: the shield picture on top, the copy under it */
  .ai-band { display: block; min-height: 0; }
  .ai-band picture img { position: relative; height: 250px; object-position: 4% 40%; }
  .ai-band::before { background: linear-gradient(180deg, transparent 150px, #0b0a0c 250px) top / 100% 250px no-repeat; }
  .ai-copy { margin: -34px 0 0; max-width: none; padding: 0 0 30px; }
  .ai-copy h2 { font-size: 1.9rem; }
  .ai-copy .eyebrow { font-size: 0.78rem; }
  .ai-copy p.body { font-size: 1rem; }
  .ai-points { gap: 6px; margin-top: 22px; }
  .ai-points > i { display: none; }
  .ai-points svg { width: 34px; height: 34px; }
  .ai-points b { font-size: 0.72rem; white-space: normal; }
  .ai-points span { font-size: 0.78rem; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .g6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .modes { grid-template-columns: 1fr; }
  .rarities { grid-template-columns: repeat(2, 1fr); }
  .community-band { padding: 30px 0; }
  .community-band > picture img { object-position: 50% 50%; }
  .socials { gap: 12px; }
  .social { width: 52px; height: 52px; }
  .site-footer .brand img { height: 76px; }
  .site-footer nav { gap: 10px 16px; }
  .spray-card { grid-template-columns: 1fr; }
  .spray-card img { order: -1; }
  .hero-card, .build-card, .build { grid-template-columns: 96px 1fr; }
  .items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .item img { width: 96px; }
  .item p { display: none; }
  table.lb .opt { display: none; }
  .timeline { padding-left: 0; }
  .timeline::before { display: none; }
  .milestone .num { position: static; transform: none; width: 56px; height: 56px; font-size: 1.4rem; }
  .podium img { width: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
