/* ===========================================================================
   Master Rummy - masterrummyslots.com
   Direction: "cold press" editorial. Cool paper ground, ink chrome top and
   bottom, imperial garnet dominant, one sharp gold accent. Signature
   ornament: a 45deg mitre notch cut into the top-left of every card.
   Hero archetype: the eclipse. Hero object: the riffle bridge.
   =========================================================================== */

:root{
  /* brand */
  --brand:#C2113C;
  --brand-dark:#8E0A2B;
  --brand-light:#E63C64;

  /* accent */
  --accent:#D9A227;
  --accent-warm:#E8622F;
  --accent-soft:#FBE7C9;

  /* surfaces */
  --bg:#F1F2EE;
  --bg-card:#FBFCF9;
  --bg-elevated:#FFFFFF;
  --bg-panel:#13151A;

  /* type colour */
  --text:#14171B;
  --text-muted:#4E565E;
  --text-dim:#7C858E;
  --text-on-dark:#E9ECE6;

  /* lines */
  --border:#D9DCD3;
  --border-strong:#BDC2B6;
  --border-soft:#E7E9E2;

  /* type */
  --font-body:"Kumbh Sans",system-ui,sans-serif;
  --font-heading:"Rozha One",Georgia,serif;

  /* radii - one scale, applied consistently */
  --r-sm:8px;
  --r-md:14px;
  --r-lg:20px;
  --r-xl:28px;
  --r-pill:999px;
  --card-radius:18px;

  /* elevation - tinted to the paper hue, never pure black */
  --shadow-soft:0 1px 2px rgba(20,23,27,.05), 0 6px 18px rgba(20,23,27,.05);
  --shadow-card:0 2px 4px rgba(20,23,27,.05), 0 14px 34px rgba(20,23,27,.08);
  --shadow-card-hover:0 4px 10px rgba(20,23,27,.07), 0 26px 56px rgba(20,23,27,.13);
  --shadow-cta:0 2px 0 var(--brand-dark), 0 12px 28px rgba(194,17,60,.26);

  /* measure */
  --container:1200px;
  --container-wide:1320px;
  --header-top-h:2.25rem;
  --header-main-h:4.5rem;
  --header-h:calc(var(--header-top-h) + var(--header-main-h));

  /* the mitre notch */
  --mitre:20px;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  font-size:1rem;
  line-height:1.72;
  font-weight:400;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{max-width:100%;height:auto;display:block}
figure{margin:0}
a{color:var(--brand);text-decoration:none}
a:hover{color:var(--brand-dark)}

h1,h2,h3{font-family:var(--font-heading);font-weight:400;letter-spacing:.005em;color:var(--text)}
h1{font-size:clamp(2.3rem,5.1vw,3.9rem);line-height:1.12;margin:0 0 1.1rem}
h2{font-size:clamp(1.85rem,3.5vw,2.75rem);line-height:1.18;margin:0 0 1rem}
h3{font-size:clamp(1.25rem,2vw,1.6rem);line-height:1.26;margin:0 0 .7rem}
h4{font-family:var(--font-body);font-weight:700;font-size:.78rem;letter-spacing:.18em;text-transform:uppercase;margin:0 0 .85rem;color:var(--brand)}
p{margin:0 0 1.05rem}
ul,ol{margin:0 0 1.05rem;padding-left:1.25rem}
li{margin:0 0 .5rem}

:focus-visible{outline:3px solid var(--brand);outline-offset:3px;border-radius:4px}

/* ------------------------------------------------------------------ WRAP
   D1: this is the ONLY max-width on the page. One pair of guide lines. */
.wrap{width:100%;max-width:var(--container);margin:0 auto;padding:0 1.5rem}

/* ------------------------------------------------------------------ MITRE
   The signature ornament. Cards are trimmed, not boxed. clip-path kills
   box-shadow, so mitred surfaces use filter:drop-shadow instead. */
.mitre{
  position:relative;
  clip-path:polygon(var(--mitre) 0, 100% 0, 100% 100%, 0 100%, 0 var(--mitre));
  border-radius:var(--card-radius);
}
.mitre-shadow{filter:drop-shadow(0 2px 4px rgba(20,23,27,.05)) drop-shadow(0 14px 30px rgba(20,23,27,.09))}
.mitre-shadow:hover{filter:drop-shadow(0 4px 9px rgba(20,23,27,.07)) drop-shadow(0 24px 50px rgba(20,23,27,.13))}

/* the 2px garnet hairline tracing the cut */
.mitre::before{
  content:"";position:absolute;top:0;left:0;
  width:calc(var(--mitre) * 1.4142);height:2px;
  background:var(--brand);
  transform-origin:0 0;transform:rotate(45deg) translate(-0.5px,-1px);
  z-index:3;pointer-events:none;
}

/* kicker glyph: a small mitred square */
.kicker{
  display:inline-flex;align-items:center;gap:.6rem;
  font-family:var(--font-body);font-weight:700;
  font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;
  color:var(--brand);margin:0 0 .8rem;
}
.kicker::before{
  content:"";width:9px;height:9px;background:var(--brand);
  clip-path:polygon(3px 0,100% 0,100% 100%,0 100%,0 3px);flex:none;
}
.kicker--gold{color:var(--accent)}
.kicker--gold::before{background:var(--accent)}
.kicker--light{color:var(--accent)}

/* ------------------------------------------------------------------ BUTTONS */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  font-family:var(--font-body);font-weight:700;font-size:.93rem;
  letter-spacing:.015em;white-space:nowrap;
  padding:.92rem 1.75rem;border-radius:var(--r-pill);
  border:2px solid transparent;cursor:pointer;
  transition:transform .18s cubic-bezier(.16,1,.3,1),box-shadow .18s,background .18s,color .18s;
}
.btn:active{transform:translateY(1px)}

/* CTA variant 1 - garnet fill, paper text */
.btn-primary{background:var(--brand);color:#FFF;box-shadow:var(--shadow-cta)}
.btn-primary:hover{background:var(--brand-dark);color:#FFF;transform:translateY(-2px);box-shadow:0 4px 0 var(--brand-dark),0 18px 36px rgba(194,17,60,.32)}

/* CTA variant 2 - gold fill, ink text */
.btn-gold{background:var(--accent);color:#1A1405;box-shadow:0 2px 0 #A8791A,0 12px 26px rgba(217,162,39,.3)}
.btn-gold:hover{background:#EDB434;color:#1A1405;transform:translateY(-2px)}

/* CTA variant 3 - ghost on ink */
.btn-ghost{background:transparent;color:var(--text-on-dark);border-color:rgba(233,236,230,.42)}
.btn-ghost:hover{background:rgba(233,236,230,.12);color:#FFF;border-color:var(--accent)}

/* ghost on paper */
.btn-outline{background:transparent;color:var(--text);border-color:var(--border-strong)}
.btn-outline:hover{background:var(--text);color:var(--bg);border-color:var(--text)}

/* ------------------------------------------------------------------ HEADER */
.site-header{position:sticky;top:0;z-index:100;background:var(--bg-panel)}
.site-header.is-scrolled{box-shadow:0 10px 30px rgba(20,23,27,.22)}

.header-top{
  background:#0D0F13;border-bottom:1px solid rgba(233,236,230,.09);
  min-height:var(--header-top-h);display:flex;align-items:center;
}
.header-top .wrap{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.trust-line{display:flex;align-items:center;gap:.55rem;font-size:.73rem;letter-spacing:.11em;
  text-transform:uppercase;color:rgba(233,236,230,.7);font-weight:600}
.trust-dot{width:7px;height:7px;border-radius:50%;background:var(--accent);flex:none;
  box-shadow:0 0 0 0 rgba(217,162,39,.6);animation:dotPulse 2.4s ease-out infinite}
@keyframes dotPulse{0%{box-shadow:0 0 0 0 rgba(217,162,39,.55)}70%{box-shadow:0 0 0 9px rgba(217,162,39,0)}100%{box-shadow:0 0 0 0 rgba(217,162,39,0)}}
.util-nav{display:flex;align-items:center;gap:1.35rem;list-style:none;margin:0;padding:0}
.util-nav a{font-size:.74rem;letter-spacing:.07em;color:rgba(233,236,230,.66);font-weight:600}
.util-nav a:hover{color:var(--accent)}

.header-main{min-height:var(--header-main-h);display:flex;align-items:center}
.header-main .wrap{display:flex;align-items:center;gap:1.5rem}

/* R6: logo is never an icon treatment - no circle, no cover, no filter */
.brand-logo{display:inline-flex;align-items:center;flex:none}
.brand-logo img{height:54px;width:auto;object-fit:contain;border-radius:10px;display:block}
.site-footer .brand-logo img{height:56px}

.main-nav{margin-left:auto;position:relative}
.main-nav ul{display:flex;align-items:center;gap:1.6rem;list-style:none;margin:0;padding:0}
.main-nav a{font-size:.86rem;font-weight:600;color:rgba(233,236,230,.8);padding:.35rem 0;display:block}
.main-nav a:hover,.main-nav a.active{color:#FFF}
.nav-indicator{position:absolute;bottom:-.3rem;height:2px;background:var(--accent);
  width:0;left:0;opacity:0;transition:left .32s cubic-bezier(.16,1,.3,1),width .32s cubic-bezier(.16,1,.3,1),opacity .2s;
  border-radius:2px;pointer-events:none}
.header-cta{flex:none}
.header-main .btn{padding:.72rem 1.4rem;font-size:.86rem}

.burger{display:none;flex:none;width:44px;height:54px;border:1px solid rgba(233,236,230,.25);
  border-radius:var(--r-sm);background:transparent;cursor:pointer;padding:0;
  align-items:center;justify-content:center;margin-left:auto}
.burger span{display:block;width:20px;height:2px;background:var(--text-on-dark);position:relative;
  transition:transform .25s cubic-bezier(.16,1,.3,1),background .2s}
.burger span::before,.burger span::after{content:"";position:absolute;left:0;width:20px;height:2px;
  background:var(--text-on-dark);transition:transform .25s cubic-bezier(.16,1,.3,1),top .25s,opacity .2s}
.burger span::before{top:-6px}
.burger span::after{top:6px}
.burger.is-open span{background:transparent}
.burger.is-open span::before{top:0;transform:rotate(45deg)}
.burger.is-open span::after{top:0;transform:rotate(-45deg)}

/* ------------------------------------------------------------------ HERO
   Archetype: THE ECLIPSE. A circular aperture of art on the right, partly
   occluded by a paper disc pushed up and left, leaving a crescent.
   Copy sits left on the paper ground. */
.hero{position:relative;padding:4.25rem 0 4.5rem;overflow:hidden;background:var(--bg)}
.hero-wash{position:absolute;inset:0;z-index:0;pointer-events:none}
.hero-wash img{width:100%;height:100%;object-fit:cover;opacity:.17;filter:saturate(.75)}
.hero-wash::after{content:"";position:absolute;inset:0;
  background:linear-gradient(100deg,var(--bg) 0%,var(--bg) 34%,rgba(241,242,238,.84) 58%,rgba(241,242,238,.62) 100%)}

.hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:1.18fr .82fr;
  gap:3rem;align-items:center}
.hero-copy{min-width:0}
.hero h1{margin-bottom:1.15rem;font-size:clamp(2.05rem,3.6vw,3.05rem)}
.hero h1 .highlight{position:relative;font-style:italic;color:var(--brand);
  line-height:1.1;padding-bottom:.08em;display:inline-block}
.hero h1 .highlight::after{content:"";position:absolute;left:-.04em;right:-.04em;bottom:.06em;
  height:.3em;background:rgba(217,162,39,.32);z-index:-1;border-radius:2px}
.hero-sub{font-size:1.08rem;color:var(--text-muted);margin-bottom:1.6rem}
.hero-cta{display:flex;flex-wrap:wrap;gap:.85rem;align-items:center}

/* THE RIFFLE BRIDGE - pure CSS card edges arcing like a shuffled deck */
.riffle-bridge{display:flex;align-items:flex-end;gap:6px;height:56px;margin-top:2.2rem}
.riffle-bridge span{display:block;width:8px;border-radius:3px 3px 1px 1px;
  background:linear-gradient(180deg,var(--bg-elevated),#E2E5DC);
  border:1px solid var(--border);border-bottom:none;
  box-shadow:0 -1px 0 var(--accent) inset;
  transform-origin:bottom center;
  animation:riffle 4.8s cubic-bezier(.45,.05,.55,.95) infinite}
.riffle-bridge span:nth-child(1){height:17px;transform:rotate(-15deg);animation-delay:0s}
.riffle-bridge span:nth-child(2){height:24px;transform:rotate(-12deg);animation-delay:.07s}
.riffle-bridge span:nth-child(3){height:32px;transform:rotate(-9deg);animation-delay:.14s}
.riffle-bridge span:nth-child(4){height:39px;transform:rotate(-6deg);animation-delay:.21s}
.riffle-bridge span:nth-child(5){height:45px;transform:rotate(-4deg);animation-delay:.28s}
.riffle-bridge span:nth-child(6){height:50px;transform:rotate(-2deg);animation-delay:.35s}
.riffle-bridge span:nth-child(7){height:54px;transform:rotate(0deg);animation-delay:.42s}
.riffle-bridge span:nth-child(8){height:56px;transform:rotate(0deg);animation-delay:.49s;
  background:linear-gradient(180deg,var(--accent-soft),#EFD9AE);border-color:#D9C091}
.riffle-bridge span:nth-child(9){height:54px;transform:rotate(0deg);animation-delay:.56s}
.riffle-bridge span:nth-child(10){height:50px;transform:rotate(2deg);animation-delay:.63s}
.riffle-bridge span:nth-child(11){height:45px;transform:rotate(4deg);animation-delay:.7s}
.riffle-bridge span:nth-child(12){height:39px;transform:rotate(6deg);animation-delay:.77s}
.riffle-bridge span:nth-child(13){height:32px;transform:rotate(9deg);animation-delay:.84s}
.riffle-bridge span:nth-child(14){height:24px;transform:rotate(12deg);animation-delay:.91s}
.riffle-bridge span:nth-child(15){height:17px;transform:rotate(15deg);animation-delay:.98s}
@keyframes riffle{0%,74%,100%{translate:0 0}80%{translate:0 -6px}86%{translate:0 0}}

/* the eclipse itself: the bite is a real absence in the art, masked out, so
   nothing is painted outside the art circle and nothing crosses the guide lines */
.hero-eclipse{position:relative;aspect-ratio:1;width:100%;max-width:none;justify-self:end}
.eclipse-art{position:absolute;inset:4% 0 4% 4%;border-radius:50%;overflow:hidden;
  box-shadow:0 30px 70px rgba(20,23,27,.26);
  -webkit-mask-image:radial-gradient(ellipse 46% 46% at 20% 16%,transparent 0 99.5%,#000 100%);
  mask-image:radial-gradient(ellipse 46% 46% at 20% 16%,transparent 0 99.5%,#000 100%)}
.eclipse-art img{width:100%;height:100%;object-fit:cover}
.eclipse-disc{display:none}
.eclipse-rim{position:absolute;inset:4% 0 4% 4%;border-radius:50%;overflow:hidden;
  pointer-events:none}
.eclipse-rim::after{content:"";position:absolute;left:20%;top:16%;
  width:92%;height:92%;transform:translate(-50%,-50%);
  border-radius:50%;border:2px solid var(--accent);opacity:.85}
.eclipse-mark{position:absolute;right:4%;bottom:4%;font-family:var(--font-heading);
  font-size:clamp(3rem,7vw,5.5rem);font-style:italic;color:rgba(194,17,60,.16);
  line-height:1;user-select:none;pointer-events:none}

/* ------------------------------------------------------------- STAT STRIP */
.stat-strip{position:relative;z-index:5;margin-top:-3.25rem;
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;
  background:var(--bg-panel);border-radius:var(--card-radius);overflow:hidden;
  clip-path:polygon(var(--mitre) 0,100% 0,100% 100%,0 100%,0 var(--mitre));
  filter:drop-shadow(0 18px 44px rgba(20,23,27,.2))}
.stat-tile{padding:1.6rem 1.4rem;text-align:left;border-right:1px solid rgba(233,236,230,.1)}
.stat-tile:last-child{border-right:none}
.stat-value{font-family:var(--font-heading);font-size:clamp(1.7rem,3vw,2.3rem);
  line-height:1;color:var(--accent);margin:0 0 .35rem}
.stat-label{font-size:.73rem;letter-spacing:.14em;text-transform:uppercase;
  color:rgba(233,236,230,.62);font-weight:600;margin:0;line-height:1.5}

/* ------------------------------------------------------------- PAGE META */
.page-meta{font-size:.84rem;color:var(--text-dim);margin:.2rem 0 1.5rem;
  display:flex;flex-wrap:wrap;gap:.45rem;align-items:center}
.page-meta-author{font-weight:600;color:var(--text-muted)}

/* ------------------------------------------------------------- SECTIONS */
.section{padding:30px 0}
.section + .section{padding-top:30px}
.section:first-child{padding-top:60px}
.section-head{margin-bottom:2rem}
.section-head h2{margin-bottom:.6rem}
.section-head p{color:var(--text-muted);margin-bottom:0}

/* intro block (R8: ledes 1..n) */
.intro-block{background:var(--bg-card);border:1px solid var(--border);
  padding:2rem 2.1rem 1.1rem;margin:0 0 2rem;border-left:4px solid var(--brand)}
.intro-block p:last-child{margin-bottom:0}
.intro-block p{color:var(--text-muted)}

/* plain card */
.plain-card{background:var(--bg-card);border:1px solid var(--border);
  padding:2.2rem 2.3rem 1.3rem;margin:0}
.plain-card.mitre{border:none;outline:1px solid var(--border);outline-offset:-1px}
.plain-card p:last-child{margin-bottom:0}
.plain-card::after{content:"MR";position:absolute;right:1.2rem;bottom:.4rem;
  font-family:var(--font-heading);font-style:italic;font-size:2.6rem;
  color:rgba(20,23,27,.045);line-height:1;pointer-events:none;transition:color .3s}
.plain-card:hover::after{color:rgba(194,17,60,.1)}

/* ------------------------------------------------------- FLOOR GRID (R3) */
.floor-grid{display:grid;gap:1.4rem;margin:0}
.floor-grid--cols-1{grid-template-columns:minmax(0,1fr)}
.floor-grid--cols-2,.floor-grid--cols-3,.floor-grid--cols-4{
  display:flex;flex-wrap:wrap;align-items:flex-start}
.floor-grid--cols-2 > *{flex:1 1 calc(50% - 12px);min-width:min(100%,260px)}
.floor-grid--cols-3 > *{flex:1 1 calc(33.333% - 15px);min-width:min(100%,260px)}
.floor-grid--cols-4 > *{flex:1 1 calc(25% - 17px);min-width:min(100%,240px)}

.floor-tile{position:relative;background:var(--bg-card);padding:1.9rem 1.8rem 1.1rem;
  transition:transform .25s cubic-bezier(.16,1,.3,1);overflow:hidden}
.floor-tile::after{content:"";position:absolute;top:0;left:var(--mitre);right:0;height:5px;
  background:linear-gradient(90deg,var(--brand),var(--accent));opacity:.9}
.floor-tile:hover{transform:translateY(-4px)}
.floor-tile h3{margin-bottom:.55rem}
.floor-tile p:last-child{margin-bottom:0}
.floor-tile p{color:var(--text-muted);font-size:.97rem}
.floor-tile .tile-mark{position:absolute;right:1rem;bottom:.2rem;font-family:var(--font-heading);
  font-style:italic;font-size:2.3rem;color:rgba(20,23,27,.05);line-height:1;
  pointer-events:none;transition:color .3s}
.floor-tile:hover .tile-mark{color:rgba(217,162,39,.2)}

/* ------------------------------------------------------- RICH TILES (R4b)
   One column, generous padding, H4 kickers with a garnet rule, list items
   promoted to individual sub-cards. No max-width (D1). */
.floor-grid--rich{grid-template-columns:minmax(0,1fr);gap:1.5rem}
.floor-grid--rich .floor-tile{padding:2.4rem 2.4rem 1.6rem}
.floor-grid--rich .floor-tile h4{
  border-top:2px solid var(--brand);padding-top:1rem;margin-top:1.6rem;
  letter-spacing:.18em;text-transform:uppercase;font-size:.78rem;color:var(--brand)}
.floor-grid--rich .floor-tile h4:first-of-type{margin-top:1.2rem}
.floor-grid--rich .floor-tile ul{list-style:none;padding:0;margin:1.1rem 0 1.1rem;
  display:grid;gap:.7rem}
.floor-grid--rich .floor-tile li{position:relative;margin:0;
  background:var(--bg);border:1px solid var(--border-soft);border-radius:var(--r-md);
  padding:1rem 1.15rem 1rem 1.45rem;overflow:hidden;color:var(--text-muted);font-size:.96rem}
.floor-grid--rich .floor-tile li::before{content:"";position:absolute;left:0;top:0;bottom:0;
  width:3px;background:linear-gradient(180deg,var(--brand),var(--accent))}

/* ------------------------------------------------------------ SPLIT LAYOUT */
.split-layout{display:grid;grid-template-columns:1.05fr .95fr;gap:2.4rem;align-items:stretch;margin:0}
.split-layout.is-reversed .split-media{order:-1}
.split-media{position:relative;overflow:hidden;background:var(--bg-card)}
.split-media img{width:100%;height:100%;min-height:260px;object-fit:cover;display:block}
.split-body{min-width:0;display:flex;flex-direction:column;justify-content:center}
.split-body p{color:var(--text-muted)}

/* ------------------------------------------------- FEATURE CHECK LIST */
.feature-check-list{list-style:none;padding:0;margin:0;display:grid;gap:.85rem}
.feature-check-list li{position:relative;margin:0;padding:1.05rem 1.3rem 1.05rem 3.4rem;
  background:linear-gradient(94deg,rgba(217,162,39,.1),rgba(217,162,39,.02));
  border:1px solid rgba(217,162,39,.26);border-left:4px solid var(--accent);
  border-radius:var(--r-md);color:var(--text-muted);font-size:.97rem}
.feature-check-list li::before{content:"";position:absolute;left:1.15rem;top:1.15rem;
  width:20px;height:24px;border-radius:50%;background:var(--accent);
  box-shadow:0 2px 6px rgba(217,162,39,.4)}
.feature-check-list li::after{content:"";position:absolute;left:1.52rem;top:1.46rem;
  width:5px;height:10px;border:solid #1A1405;border-width:0 2px 2px 0;transform:rotate(43deg)}
.feature-check-list--plain{margin:0}

/* ------------------------------------------------- IMAGE DIVIDER (R5b)
   A contained two-column figure. Never a full-bleed 21:9 strip.
   No sequence number in the aside (R13). */
.image-divider{display:grid;grid-template-columns:1.25fr .75fr;gap:1.6rem;
  align-items:stretch;margin:0}
.divider-media{position:relative;overflow:hidden;border-radius:var(--r-xl);
  border:1px solid var(--border);box-shadow:var(--shadow-card);background:var(--bg-card)}
.divider-media img{width:100%;aspect-ratio:4/3;object-fit:cover}
.divider-aside{display:flex;flex-direction:column;justify-content:flex-start;
  background:var(--bg-panel);padding:2rem 1.9rem;position:relative;overflow:hidden}
.divider-mark{margin-top:auto;align-self:flex-end;font-family:var(--font-heading);
  font-style:italic;font-size:clamp(3.2rem,7vw,5.6rem);line-height:.82;
  color:rgba(233,236,230,.09);padding-top:1.4rem;pointer-events:none;position:relative;z-index:2}
.divider-aside .kicker{color:var(--accent)}
.divider-aside .kicker::before{background:var(--accent)}
.divider-aside h3{color:var(--text-on-dark);font-size:1.35rem;margin:0}
.divider-aside::after{content:"";position:absolute;right:-42px;top:-42px;
  width:150px;height:150px;border:2px solid rgba(217,162,39,.2);border-radius:50%}
.divider-rule{width:52px;height:2px;background:var(--accent);margin-top:1.1rem}

/* ------------------------------------------------------- HOME: INTRO */
.home-intro{display:grid;grid-template-columns:1fr .78fr;gap:2.6rem;align-items:stretch}
.home-intro-body p{color:var(--text-muted);font-size:1.03rem}
.home-pull{background:var(--bg-panel);padding:2.2rem 2rem;position:relative;overflow:hidden;
  display:flex;flex-direction:column}
.home-pull .pull-mark{margin-top:auto;align-self:flex-end;font-family:var(--font-heading);
  font-style:italic;font-size:clamp(3.4rem,8vw,6rem);line-height:.86;
  color:rgba(233,236,230,.09);padding-top:1.6rem;pointer-events:none}
.home-pull p{color:rgba(233,236,230,.86);font-family:var(--font-heading);
  font-size:1.3rem;line-height:1.5;margin:0}
.home-pull .kicker{color:var(--accent)}
.home-pull .kicker::before{background:var(--accent)}
.home-pull::after{content:"";position:absolute;left:0;right:0;bottom:0;height:5px;
  background:linear-gradient(90deg,var(--accent),var(--brand))}

/* -------------------------------------------- HOME: FLOOR (bento) */
.bento-floor{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  grid-auto-rows:minmax(0,auto);gap:1.4rem;align-items:start}
.bento-floor .floor-tile{display:flex;flex-direction:column}
.bento-floor .bento-lead{grid-column:span 2;grid-row:span 1;padding:2.4rem 2.3rem 1.6rem;
  background:linear-gradient(142deg,var(--bg-elevated),#EDEFE8)}
.bento-floor .bento-lead h3{font-size:clamp(1.5rem,2.6vw,2rem)}
.bento-floor .bento-art{padding:0;overflow:hidden;background:var(--bg-panel);align-self:stretch}
.bento-floor .bento-art::after{display:none}
.bento-floor .bento-art img{width:100%;height:100%;min-height:200px;object-fit:cover}
.bento-floor .bento-wide{grid-column:1/-1;display:grid;
  grid-template-columns:minmax(0,.36fr) minmax(0,1fr);gap:1.8rem;align-items:start;
  padding:2rem 2.2rem 1.4rem}
.bento-floor .bento-wide h3{margin:0}

/* ------------------------------------------------- HOME: SECURE (4-up) */
.security-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.3rem}
.security-card{position:relative;background:var(--bg-panel);padding:1.9rem 1.6rem 1.4rem;
  overflow:hidden;transition:transform .25s cubic-bezier(.16,1,.3,1)}
.security-card:hover{transform:translateY(-4px)}
.security-card h3{color:var(--text-on-dark);font-size:1.18rem;margin-bottom:.5rem}
.security-card p{color:rgba(233,236,230,.66);font-size:.92rem;margin:0}
.security-card .sec-glyph{width:34px;height:34px;margin-bottom:1rem;
  background:linear-gradient(140deg,var(--accent),var(--brand));
  clip-path:polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px)}
.security-card::after{content:"";position:absolute;left:var(--mitre);top:0;right:0;height:3px;
  background:linear-gradient(90deg,var(--accent),transparent)}

/* ------------------------------------------- HOME: REWARDS (bento) */
.rewards-bento{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.4rem}
.rewards-welcome{grid-column:span 2;background:linear-gradient(135deg,var(--brand),var(--brand-dark));
  padding:2.5rem 2.4rem;position:relative;overflow:hidden}
.rewards-welcome h3{color:#FFF;font-size:clamp(1.6rem,3vw,2.2rem);margin-bottom:.6rem}
.rewards-welcome p{color:rgba(255,255,255,.88);margin:0}
.rewards-welcome .kicker{color:var(--accent-soft)}
.rewards-welcome .kicker::before{background:var(--accent)}
.rewards-welcome::after{content:"";position:absolute;right:-40px;top:-40px;width:200px;height:200px;
  border:2px solid rgba(255,255,255,.14);border-radius:50%}
.rewards-side{background:var(--bg-card);padding:2rem 1.9rem 1.2rem;position:relative;overflow:hidden}
.rewards-side h3{font-size:1.3rem}
.rewards-side p{color:var(--text-muted);font-size:.95rem;margin:0}
.rewards-strip{grid-column:1/-1;background:var(--bg-panel);padding:1.9rem 2.2rem;
  position:relative;overflow:hidden}
.rewards-strip .rs-item{display:grid;grid-template-columns:minmax(0,.34fr) minmax(0,1fr);
  gap:1.6rem;align-items:start}
.rewards-strip .rs-item h4{margin:0;font-size:.8rem;line-height:1.5}
.rewards-strip .rs-item h4{color:var(--accent);margin-bottom:.4rem}
.rewards-strip .rs-item p{color:rgba(233,236,230,.7);font-size:.92rem;margin:0}
.rewards-strip::after{content:"";position:absolute;left:0;right:0;bottom:0;height:4px;
  background:linear-gradient(90deg,var(--brand),var(--accent),var(--brand))}

/* ------------------------------------------------- HOME: SUPPORT */
.support-card{position:relative;background:var(--bg-card);padding:2.6rem 2.5rem 1.6rem;
  overflow:hidden;margin:0}
.support-card .support-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:1.5rem;
  align-items:start;position:relative;z-index:2}
.support-card p{color:var(--text-muted)}
.support-card::after{content:"Master";position:absolute;right:-.8rem;bottom:-1.6rem;
  font-family:var(--font-heading);font-style:italic;font-size:clamp(5rem,13vw,10rem);
  color:rgba(194,17,60,.055);line-height:1;pointer-events:none;z-index:1;white-space:nowrap}
.support-actions{display:flex;flex-wrap:wrap;gap:.8rem;
  border-top:1px solid var(--border);padding-top:1.5rem}

/* --------------------------------------------- GAME SECTION (D6)
   Layout variant: THE KEYBOARD STAND. Portrait tiles standing on one shared
   brass baseline, alternating tall and short like piano keys. */
.keyboard-stand{position:relative;padding-bottom:1.4rem}
.keyboard-stand::after{content:"";position:absolute;left:0;right:0;bottom:1rem;height:3px;
  background:linear-gradient(90deg,var(--brand),var(--accent),var(--brand));border-radius:2px}
.keyboard-keys{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:.85rem;
  align-items:end;position:relative;z-index:2}
.game-key{position:relative;display:block;overflow:hidden;background:var(--bg-panel);
  border-radius:var(--r-md) var(--r-md) 0 0;
  transition:transform .25s cubic-bezier(.16,1,.3,1),box-shadow .25s;
  box-shadow:0 8px 20px rgba(20,23,27,.14)}
.game-key:nth-child(odd){margin-bottom:0}
.game-key:nth-child(even){margin-bottom:26px}
.game-key img{width:100%;aspect-ratio:3/4;object-fit:cover;display:block;
  transition:transform .4s cubic-bezier(.16,1,.3,1)}
.game-key:hover{transform:translateY(-7px);box-shadow:0 16px 34px rgba(20,23,27,.22)}
.game-key:hover img{transform:scale(1.05)}
.game-key .key-name{position:absolute;left:0;right:0;bottom:0;
  background:linear-gradient(180deg,rgba(19,21,26,0),rgba(19,21,26,.93));
  color:var(--text-on-dark);font-size:.76rem;font-weight:600;letter-spacing:.02em;
  padding:1.6rem .6rem .6rem;text-align:center;line-height:1.3}
.game-key::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;
  background:var(--accent);opacity:0;transition:opacity .25s;z-index:2}
.game-key:hover::before{opacity:1}

/* ---------------------------------------------------------------- FAQ */
.faq-section{padding:30px 0 60px}
.faq-list{display:grid;gap:.8rem;margin:0}
.faq-item{background:var(--bg-card);border:1px solid var(--border);
  border-radius:var(--card-radius);overflow:hidden;transition:box-shadow .25s,border-color .25s}
.faq-item[open]{box-shadow:var(--shadow-card);border-color:var(--border-strong)}
.faq-item summary{list-style:none;cursor:pointer;padding:1.25rem 3.3rem 1.25rem 1.5rem;
  font-weight:700;font-size:1rem;position:relative;color:var(--text)}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"";position:absolute;right:1.4rem;top:50%;
  width:22px;height:22px;margin-top:-11px;border-radius:50%;
  background:var(--accent);transition:transform .28s cubic-bezier(.16,1,.3,1)}
.faq-item summary::before{content:"";position:absolute;right:1.72rem;top:50%;margin-top:-1px;
  width:10px;height:2px;background:#1A1405;z-index:2;transition:transform .28s cubic-bezier(.16,1,.3,1)}
.faq-q-bar{position:absolute;right:2.17rem;top:50%;margin-top:-5px;width:2px;height:10px;
  background:#1A1405;z-index:2;transition:transform .28s cubic-bezier(.16,1,.3,1)}
.faq-item[open] summary::after{transform:rotate(135deg)}
.faq-item[open] .faq-q-bar{transform:scaleY(0)}
.faq-answer{padding:0 1.5rem 1.4rem;color:var(--text-muted)}
.faq-answer p:last-child{margin-bottom:0}

/* ------------------------------------------------------------- FOOTER */
.site-footer{background:var(--bg-panel);color:var(--text-on-dark);margin-top:5rem;
  padding-top:5.5rem;position:relative}
.footer-cta{position:relative;margin-top:-9rem;margin-bottom:3.5rem;z-index:3;
  background:linear-gradient(135deg,var(--accent),#C78D16);padding:2.8rem 2.6rem;
  overflow:hidden;display:grid;grid-template-columns:1fr auto;gap:1.8rem;align-items:center}
.footer-cta h2{color:#1A1405;margin-bottom:.4rem}
.footer-cta p{color:rgba(26,20,5,.78);margin:0;max-width:none}
.footer-cta .kicker{color:#7A5A0A}
.footer-cta .kicker::before{background:#7A5A0A}
.footer-cta::after{content:"Master Rummy";position:absolute;right:-1rem;bottom:-2.4rem;
  font-family:var(--font-heading);font-style:italic;font-size:clamp(4rem,11vw,8.5rem);
  color:rgba(255,255,255,.17);line-height:1;pointer-events:none;white-space:nowrap}
.footer-cta > *{position:relative;z-index:2}

.footer-map{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:2.4rem;
  padding-bottom:3rem;border-bottom:1px solid rgba(233,236,230,.12)}
.footer-brand p{color:rgba(233,236,230,.6);font-size:.94rem;margin:1rem 0 1.3rem}
.pay-pills{display:flex;flex-wrap:wrap;gap:.5rem;list-style:none;padding:0;margin:0}
.pay-pills li{font-size:.73rem;font-weight:600;letter-spacing:.04em;
  padding:.38rem .8rem;border-radius:var(--r-pill);
  border:1px solid rgba(233,236,230,.2);color:rgba(233,236,230,.72)}
.footer-col h3{font-family:var(--font-heading);font-style:italic;font-size:1.15rem;
  color:var(--text-on-dark);margin-bottom:1rem;position:relative;padding-bottom:.7rem}
.footer-col h3::after{content:"";position:absolute;left:0;bottom:0;width:34px;height:2px;
  background:var(--accent)}
.footer-col ul{list-style:none;padding:0;margin:0;display:grid;gap:.6rem}
.footer-col li{margin:0}
.footer-col a{color:rgba(233,236,230,.64);font-size:.92rem}
.footer-col a:hover{color:var(--accent)}

.trust-pills{display:flex;flex-wrap:wrap;gap:.6rem;list-style:none;padding:2rem 0;margin:0;
  border-bottom:1px solid rgba(233,236,230,.12)}
.trust-pills li{font-size:.74rem;font-weight:600;letter-spacing:.09em;text-transform:uppercase;
  padding:.45rem .95rem;border-radius:var(--r-pill);background:rgba(233,236,230,.07);
  color:rgba(233,236,230,.66)}
.footer-base{padding:1.6rem 0 2.2rem;display:flex;flex-wrap:wrap;gap:.8rem;
  justify-content:space-between;align-items:center}
.footer-base p{margin:0;font-size:.82rem;color:rgba(233,236,230,.45)}

/* ---------------------------------------------------------------- 404 */
.page-404{padding:6rem 0 4rem;text-align:left}
.code-404{font-family:var(--font-heading);font-style:italic;font-size:clamp(8vw,16vw,22vw);
  line-height:.85;margin:0 0 1rem;
  background:linear-gradient(120deg,var(--brand),var(--accent) 55%,var(--brand-dark));
  -webkit-background-clip:text;background-clip:text;color:transparent}
.page-404 .btn{margin-top:1.4rem}

/* ------------------------------------------------------------- REVEAL */
.reveal{opacity:0;transform:translateY(22px);
  transition:opacity .62s cubic-bezier(.16,1,.3,1),transform .62s cubic-bezier(.16,1,.3,1)}
.reveal.is-visible{opacity:1;transform:none}

@media (prefers-reduced-motion:reduce){
  .reveal{opacity:1;transform:none;transition:none}
  .riffle-bridge span,.trust-dot{animation:none}
  *{transition-duration:.01ms !important;animation-duration:.01ms !important;animation-iteration-count:1 !important}
}

/* ------------------------------------------------------- BREAKPOINTS */
@media (max-width:1100px){
  .hero-grid{gap:2rem}
  .footer-map{grid-template-columns:1.3fr 1fr 1fr;gap:2rem}
  .footer-brand{grid-column:1/-1}
  .keyboard-keys{grid-template-columns:repeat(4,minmax(0,1fr))}
  .floor-grid--cols-4 > *{flex:1 1 calc(50% - 17px)}
}

@media (max-width:900px){
  .main-nav{position:fixed;inset:var(--header-h) 0 0 0;background:rgba(13,15,19,.98);
    margin:0;padding:2rem 1.5rem;transform:translateX(100%);
    transition:transform .34s cubic-bezier(.16,1,.3,1);overflow-y:auto}
  .main-nav.is-open{transform:none}
  .main-nav ul{flex-direction:column;align-items:stretch;gap:0}
  .main-nav li{border-bottom:1px solid rgba(233,236,230,.1)}
  .main-nav a{padding:1rem 0;font-size:1.05rem}
  .nav-indicator{display:none}
  .burger{display:inline-flex}
  .header-cta{display:none}
  body.nav-open{overflow:hidden}

  .hero{padding:3rem 0 3.5rem}
  .hero-grid{grid-template-columns:minmax(0,1fr);gap:2.4rem}
  .hero-eclipse{margin:0 auto;justify-self:center}
  .stat-strip{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:-2rem}
  .stat-tile:nth-child(2){border-right:none}
  .stat-tile:nth-child(1),.stat-tile:nth-child(2){border-bottom:1px solid rgba(233,236,230,.1)}

  .floor-grid--cols-3 > *,.floor-grid--cols-4 > *{flex:1 1 calc(50% - 12px)}
  .split-layout{grid-template-columns:minmax(0,1fr);gap:1.8rem}
  .split-layout.is-reversed .split-media{order:0}
  .image-divider{grid-template-columns:minmax(0,1fr)}
  .home-intro{grid-template-columns:minmax(0,1fr);gap:1.8rem}
  .bento-floor{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bento-floor .bento-lead{grid-column:span 2;grid-row:span 1}
  .bento-floor .bento-wide{grid-template-columns:minmax(0,1fr);gap:.6rem}
  .rewards-side{grid-column:1/-1}
  .security-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rewards-bento{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rewards-welcome{grid-column:span 2}
  .rewards-strip .rs-item{grid-template-columns:minmax(0,1fr);gap:.6rem}
  .support-card .support-grid{grid-template-columns:minmax(0,1fr)}
  .footer-cta{grid-template-columns:minmax(0,1fr);margin-top:-7rem}
  .keyboard-keys{grid-template-columns:repeat(4,minmax(0,1fr))}
}

@media (max-width:700px){
  .util-nav{gap:.9rem}
  .util-nav a{font-size:.7rem}
  .footer-map{grid-template-columns:repeat(2,minmax(0,1fr))}
  .section{padding:26px 0}
  .section + .section{padding-top:26px}
  .faq-section{padding:26px 0 44px}
}

@media (max-width:560px){
  .trust-line span:not(.trust-dot){font-size:.66rem}
  .floor-grid--cols-2 > *,.floor-grid--cols-3 > *,.floor-grid--cols-4 > *{flex:1 1 100%}
  .bento-floor{grid-template-columns:minmax(0,1fr)}
  .bento-floor .bento-lead{grid-column:span 1}
  .security-grid{grid-template-columns:minmax(0,1fr)}
  .rewards-bento{grid-template-columns:minmax(0,1fr)}
  .rewards-welcome{grid-column:span 1}
  .stat-strip{grid-template-columns:minmax(0,1fr)}
  .stat-tile{border-right:none;border-bottom:1px solid rgba(233,236,230,.1)}
  .stat-tile:last-child{border-bottom:none}
  .keyboard-keys{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}
  .game-key:nth-child(even){margin-bottom:18px}
  .plain-card,.floor-grid--rich .floor-tile{padding-left:1.4rem;padding-right:1.4rem}
  .wrap{padding:0 1.15rem}
  .footer-cta{padding:2rem 1.5rem}
  .footer-map{grid-template-columns:minmax(0,1fr)}
}

@media (max-width:480px){
  .header-top .wrap{flex-direction:column;align-items:flex-start;gap:.25rem;padding-top:.3rem;padding-bottom:.3rem}
  :root{--header-top-h:3.4rem}
  .hero-cta{flex-direction:column;align-items:stretch}
  .hero-cta .btn{width:100%}
}

/* ------------------------------------------------- SPEC GRID
   A spec table from the brief becomes label/value plates, never a
   long list of hairline rows. Obeys D1: no inner cap. */
.spec-grid{display:flex;flex-wrap:wrap;gap:.9rem;margin:1.2rem 0 1.4rem;align-items:flex-start}
.spec-grid--cols-1 > *{flex:1 1 100%}
.spec-grid--cols-2 > *{flex:1 1 calc(50% - 8px);min-width:min(100%,220px)}
.spec-grid--cols-3 > *{flex:1 1 calc(33.333% - 10px);min-width:min(100%,220px)}
.spec-grid--cols-4 > *{flex:1 1 calc(25% - 11px);min-width:min(100%,200px)}
.spec-cell{position:relative;background:var(--bg);border:1px solid var(--border-soft);
  border-radius:var(--r-md);padding:1rem 1.15rem 1rem 1.45rem;overflow:hidden}
.spec-cell::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;
  background:linear-gradient(180deg,var(--brand),var(--accent))}
.spec-key{margin:0 0 .3rem;font-size:.7rem;font-weight:700;letter-spacing:.16em;
  text-transform:uppercase;color:var(--brand)}
.spec-val{margin:0;font-size:.97rem;color:var(--text);line-height:1.55}
@media (max-width:900px){
  .spec-grid--cols-3 > *,.spec-grid--cols-4 > *{flex:1 1 calc(50% - 8px)}
}
@media (max-width:560px){
  .spec-grid--cols-2 > *,.spec-grid--cols-3 > *,.spec-grid--cols-4 > *{flex:1 1 100%}
}
