/* ==========================================================================
   Ripper Casino AU — stylesheet
   Order: tokens -> narrow overrides -> reset -> a11y -> components -> utilities
   ========================================================================== */

/* --- self-hosted faces -------------------------------------------------- */
@font-face {
  font-display: swap;
  font-family: "Paytone One";
  font-style: normal;
  font-weight: 400;
  src: url("/typeface/paytone-one-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  src: url("/typeface/open-sans-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 500;
  src: url("/typeface/open-sans-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  src: url("/typeface/open-sans-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  src: url("/typeface/open-sans-latin-700-normal.woff2") format("woff2");
}

/* --- design tokens ------------------------------------------------------ */
:root {
  /* palette */
  --lead: #2e94fe;
  --zest: #d9e516;
  --spot-deep: #b9bf13;
  --surface: #000000;
  --panel: #0e1015;
  --body: #ffffff;
  --muted: #c0c0c0;
  --stroke: #262a31;
  --edge-hard: #3b4049;
  --fade-top: #f5f38d;
  --grad-2: #e8ed46;
  --caution: #bf1e2e;
  /* tinted solids, kept opaque so every block carries its own backdrop */
  --sink: #0a0c11;
  --sink-lift: #15181f;
  --praise: #1a1c06;
  --plain: #04101c;
  /* rhythm */
  --s-2xs: 2px;
  --s-xs: 6px;
  --s-sm: 10px;
  --s-md: 14px;
  --s-lg: 20px;
  --s-xl: 28px;
  --s-2xl: 48px;
  --s-3xl: 72px;
  --sec-y: 44px;
  /* corners */
  --r-2xs: 2px;
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-2xl: 24px;
  --r-3xl: 32px;
  --lozenge: 9999px;
  --dot: 50%;
  /* depth — dashed editorial scale keeps almost everything flat */
  --d-2xs: none;
  --d-xs: none;
  --d-sm: none;
  --d-md: none;
  --d-lg: 0 8px 24px rgba(0, 0, 0, 0.10);
  --d-xl: 0 12px 32px rgba(0, 0, 0, 0.14);
  --d-2xl: 0 18px 44px rgba(0, 0, 0, 0.18);
  --d-3xl: 0 24px 60px rgba(0, 0, 0, 0.22);
  /* faces */
  --banner: "Paytone One", "Trebuchet MS", sans-serif;
  --prose: "Open Sans", "Segoe UI", Arial, sans-serif;
  /* type ramp */
  --title: 38px;
  --h2: 30px;
  --lg-2: 24px;
  --sub-2: 20px;
  --h5: 17px;
  --micro-head: 15px;
  --normal: 17px;
  --sm: 15px;
  --tiny: 13px;
  --dense: 1.25;
  --regular: 1.6;
  --airy: 1.8;
  --w-regular: 400;
  --medium: 500;
  --thick: 600;
  --packed: 0;
  --base: 0;
  --open: 0.01em;
  /* timing — values belong to this build only */
  --snap: 184ms;
  --steady: 370ms;
  --long: 589ms;
  --release: cubic-bezier(0.1, 0.67, 0.38, 0.97);
  --both: cubic-bezier(0.54, 0.09, 0.56, 1);
  --elastic: cubic-bezier(0.33, 1.4, 0.69, 1.25);
  /* measures */
  --outer: 1120px;
  --inner: 1120px;
  --tight-col: 570px;
  --inset-desktop: 48px;
  --inset-tablet: 32px;
  --pad-sm: 16px;
  --hair: 1px;
  --even: 2px;
  --strong: 3px;
  --tall: 68px;
  --size-mobile: 68px;
  --rg-h: 32px;
}

/* --- narrow-screen ramp (desktop-first) --------------------------------- */
@media (max-width: 940px) {
  :root {
    --title: 32px;
    --h2: 27px;
    --lg-2: 22px;
    --sub-2: 19px;
    --sec-y: 36px;
  }
}
@media (max-width: 620px) {
  :root {
    --title: 28px;
    --h2: 24px;
    --lg-2: 20px;
    --sub-2: 18px;
    --h5: 16px;
    --micro-head: 14px;
    --normal: 16px;
    --sm: 14px;
    --tiny: 12px;
    --sec-y: 32px;
  }
}

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

html,
body {
  overflow-x: clip;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--surface);
  color: var(--body);
  display: flex;
  flex-direction: column;
  font-family: var(--prose);
  font-size: var(--normal);
  font-weight: var(--w-regular);
  letter-spacing: var(--base);
  line-height: var(--airy);
  margin: 0;
  min-height: 100vh;
  padding-block-end: var(--rg-h);
  -webkit-text-size-adjust: 100%;
}

main {
  display: block;
  flex: 1 0 auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: anywhere;
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--banner);
  font-weight: var(--thick);
  letter-spacing: var(--base);
  line-height: var(--dense);
}

h4,
h5,
h6 {
  font-family: var(--prose);
  font-weight: var(--medium);
  letter-spacing: var(--base);
  line-height: var(--dense);
}

h1 {
  font-size: var(--title);
}

h2 {
  font-size: var(--h2);
}

h3 {
  font-size: var(--lg-2);
}

p {
  margin: 0;
}

img {
  max-width: 100%;
}

ul,
ol {
  margin: 0;
}

table {
  border-collapse: collapse;
}

button {
  font: inherit;
}

/* --- shared section frame ----------------------------------------------- */
.pave-classic-core,
.nef-grand-core,
.chevron-raw-core,
.tableau-cool-core,
.tile-grave-core,
.coupole-alt-core,
.lectern-swift-core,
.chapitre-fluid-core,
.medallion-edge-core,
.pillar-zone-core,
.vitrail-sleek-core,
.vestibule-keen-core,
.salon-opus-core,
.pavilion-core {
  margin-inline: auto;
  max-width: calc(var(--outer) + 2 * var(--inset-desktop));
  padding-inline: var(--inset-desktop);
  width: 100%;
}

@media (max-width: 940px) {
  .pave-classic-core,
  .nef-grand-core,
  .chevron-raw-core,
  .tableau-cool-core,
  .tile-grave-core,
  .coupole-alt-core,
  .lectern-swift-core,
  .chapitre-fluid-core,
  .medallion-edge-core,
  .pillar-zone-core,
  .vitrail-sleek-core,
  .vestibule-keen-core,
  .salon-opus-core,
  .pavilion-core {
    padding-inline: var(--inset-tablet);
  }
}

@media (max-width: 620px) {
  .pave-classic-core,
  .nef-grand-core,
  .chevron-raw-core,
  .tableau-cool-core,
  .tile-grave-core,
  .coupole-alt-core,
  .lectern-swift-core,
  .chapitre-fluid-core,
  .medallion-edge-core,
  .pillar-zone-core,
  .vitrail-sleek-core,
  .vestibule-keen-core,
  .salon-opus-core,
  .pavilion-core {
    padding-inline: var(--pad-sm);
  }
}

/* --- accessibility ------------------------------------------------------ */
.skip-hop {
  background: var(--zest);
  border-radius: 0 0 var(--r-sm) 0;
  color: #000000;
  font-weight: var(--thick);
  inset-inline-start: 0;
  padding: var(--s-sm) var(--s-md);
  position: fixed;
  text-decoration: none;
  z-index: 200;
}

.skip-hop:not(:focus) {
  top: -200px !important;
}

.skip-hop:focus {
  top: 0;
}

.sr-only {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

:focus-visible {
  outline: var(--strong) solid var(--zest);
  outline-offset: 2px;
}

/* ==========================================================================
   Header — burger composition: mark plus a menu button, no row of links
   ========================================================================== */
.quayside-dark {
  background: var(--surface);
  border-block-end: var(--hair) solid var(--stroke);
  color: var(--body);
  position: relative;
  z-index: 60;
}

.quayside-dark-band {
  align-items: center;
  display: flex;
  gap: var(--s-md);
  margin-inline: auto;
  max-width: 1440px;
  min-height: 68px;
  padding-inline: var(--s-lg);
  width: 100%;
}

.quayside-dark-crest {
  display: inline-flex;
  flex-shrink: 0;
  text-decoration: none;
}

.quayside-dark-crest-plate {
  align-items: center;
  background: #12151c;
  border: var(--hair) dashed var(--edge-hard);
  border-radius: var(--r-sm);
  color: var(--body);
  display: inline-flex;
  justify-content: center;
  padding: 1px 10px;
}

.quayside-dark-crest-pic {
  display: block;
  flex-shrink: 0;
  height: 60px;
  width: auto;
}

.quayside-dark-tools {
  align-items: center;
  display: flex;
  gap: var(--s-sm);
  margin-inline-start: auto;
}

.quayside-dark-menu-knob {
  align-items: center;
  background: #171b23;
  border: 0;
  border-radius: var(--lozenge);
  color: var(--body);
  cursor: pointer;
  display: inline-flex;
  font-family: var(--prose);
  font-size: var(--sm);
  font-weight: var(--medium);
  gap: var(--s-sm);
  letter-spacing: var(--open);
  min-height: 44px;
  padding-inline: var(--s-md);
  transition: background var(--snap) var(--release);
}

.quayside-dark-menu-knob:hover {
  background: #222834;
  color: var(--body);
}

.quayside-dark-bars {
  display: block;
  height: 2px;
  position: relative;
  width: 18px;
}

.quayside-dark-bars,
.quayside-dark-bars::before,
.quayside-dark-bars::after {
  background: var(--zest);
  border-radius: var(--lozenge);
}

.quayside-dark-bars::before,
.quayside-dark-bars::after {
  content: "";
  height: 2px;
  inset-inline: 0;
  position: absolute;
}

.quayside-dark-bars::before {
  top: -6px;
}

.quayside-dark-bars::after {
  top: 6px;
}

.quayside-dark-tap {
  align-items: center;
  border-radius: var(--lozenge);
  display: inline-flex;
  flex-shrink: 0;
  font-weight: var(--thick);
  justify-content: center;
  text-decoration: none;
  white-space: nowrap;
}

/* slide-out panel: the panel carries the hidden state, the nav inside stays clean */
.quayside-dark-dock {
  background: #0b0e14;
  border-block-end: var(--hair) solid var(--stroke);
  display: none;
  inset-inline: 0;
  max-height: calc(100vh - 68px);
  overflow-y: auto;
  position: absolute;
  top: 100%;
  z-index: 70;
}

.quayside-dark-dock.is-open {
  display: block;
}

.quayside-dark-index {
  display: block;
  margin-inline: auto;
  max-width: 1440px;
  padding: var(--s-md) var(--s-lg) var(--s-lg);
}

.quayside-dark-run {
  display: block;
  list-style: none;
  margin: 0;
  padding: 0;
}

.quayside-dark-node {
  display: block;
}

.quayside-dark-href {
  border-block-end: var(--hair) dashed var(--stroke);
  border-inline-start: var(--strong) solid transparent;
  color: var(--body);
  display: block;
  font-size: var(--sm);
  font-weight: var(--medium);
  letter-spacing: var(--open);
  min-height: 44px;
  padding: var(--s-sm) var(--s-md);
  text-decoration: none;
  transition: color var(--snap) var(--release);
  white-space: nowrap;
}

.quayside-dark-href:hover {
  color: var(--zest);
}

.quayside-dark-href[aria-current="page"] {
  border-inline-start-color: var(--zest);
  color: var(--zest);
}

.quayside-dark-chip {
  display: inline;
}

/* narrow shelves: the row gives up the menu word before it gives up the offer */
@media (max-width: 940px) {
  .quayside-dark-crest-pic {
    height: 52px;
  }
}

@media (max-width: 620px) {
  .quayside-dark-band {
    gap: var(--s-sm);
    padding-inline: var(--s-sm);
  }

  .quayside-dark-crest-plate {
    padding: 1px 6px;
  }

  .quayside-dark-crest-pic {
    height: 52px;
  }

  .quayside-dark-tools {
    gap: var(--s-xs);
  }

  .quayside-dark-menu-knob {
    gap: 0;
    justify-content: center;
    min-width: 44px;
    padding-inline: var(--s-sm);
  }

  .quayside-dark-chip {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }

  .quayside-dark-tools .quayside-dark-tap {
    font-size: var(--sm);
    padding-inline: var(--s-md);
  }

  .quayside-dark-index {
    padding: var(--s-sm) var(--s-sm) var(--s-md);
  }
}

@media (max-width: 400px) {
  .quayside-dark-crest-pic {
    height: 48px;
  }

  .quayside-dark-tools .quayside-dark-tap {
    font-size: var(--tiny);
    padding-inline: var(--s-sm);
  }
}

/* ==========================================================================
   18+ strip — pinned to the bottom edge
   ========================================================================== */
.rg-strip {
  align-items: center;
  background: var(--caution);
  bottom: 0;
  color: #ffffff;
  display: flex;
  font-size: var(--tiny);
  gap: var(--s-xs);
  inset-inline: 0;
  justify-content: center;
  line-height: 1.3;
  min-height: 32px;
  padding: var(--s-xs) var(--s-sm);
  pointer-events: none;
  position: fixed;
  text-align: center;
  z-index: 90;
}

.rg-strip-href {
  color: #ffffff;
  pointer-events: auto;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rg-strip-href:hover {
  color: #ffe9ec;
}

@media (max-width: 620px) {
  .rg-strip {
    font-size: 11px;
    max-height: 40px;
    padding: 4px var(--s-sm);
  }
}

/* ==========================================================================
   Breadcrumbs — chevron editorial
   ========================================================================== */
.salon-opus {
  background: var(--surface);
  padding-block: var(--s-md);
}

.salon-opus-run {
  display: block;
  font-size: var(--sm);
  list-style: none;
  margin: 0;
  padding: 0;
}

.salon-opus-node {
  display: inline;
}

.salon-opus-node + .salon-opus-node::before {
  color: var(--zest);
  content: "\203A";
  margin-inline: var(--s-xs);
}

.salon-opus-href {
  color: var(--muted);
  text-decoration: none;
}

.salon-opus-href:hover {
  color: var(--zest);
}

.salon-opus-now {
  color: var(--body);
}

/* ==========================================================================
   Hero — editorial long-read opening
   ========================================================================== */
.pave-classic {
  background: var(--surface);
  padding-block: var(--sec-y);
}

.pave-classic-fill {
  margin-inline: auto;
  max-width: 760px;
  text-align: center;
}

.pave-classic-kicker {
  color: var(--zest);
  display: block;
  font-size: var(--sm);
  font-style: italic;
  letter-spacing: var(--open);
  margin-block-end: var(--s-sm);
}

.pave-classic-lede {
  color: var(--body);
}

.pave-classic-copy {
  color: var(--muted);
  font-size: var(--h5);
  font-style: italic;
  line-height: var(--regular);
  margin-block-start: var(--s-lg);
  margin-inline: auto;
  max-width: var(--tight-col);
}

.pave-classic-meta {
  color: var(--muted);
  display: block;
  font-size: var(--tiny);
  letter-spacing: var(--open);
  margin-block-start: var(--s-md);
}

.pave-classic-figure {
  margin: var(--s-2xl) 0 0;
}

.pave-classic-pic {
  aspect-ratio: 21 / 9;
  border-radius: var(--r-md);
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.pave-classic-when {
  color: var(--muted);
  display: block;
  font-size: var(--tiny);
  font-style: italic;
  padding-block-start: var(--s-xs);
  text-align: center;
}

/* ==========================================================================
   Page header — compact centered
   ========================================================================== */
.nef-grand {
  background: var(--surface);
  padding-block: var(--sec-y);
}

.nef-grand-fill {
  text-align: center;
}

.nef-grand-kicker {
  color: var(--zest);
  display: block;
  font-size: var(--tiny);
  letter-spacing: var(--open);
  margin-block-end: var(--s-sm);
  text-transform: uppercase;
}

.nef-grand-lede {
  color: var(--body);
}

.nef-grand-rule {
  background: var(--zest);
  border: 0;
  height: 3px;
  margin: var(--s-md) auto 0;
  width: 72px;
}

.nef-grand-copy {
  color: var(--muted);
  line-height: var(--regular);
  margin: var(--s-md) auto 0;
  max-width: var(--tight-col);
}

.nef-grand-meta {
  color: var(--muted);
  display: block;
  font-size: var(--tiny);
  letter-spacing: var(--open);
  margin-block-start: var(--s-sm);
}

/* ==========================================================================
   Prose — icon set against the heading
   ========================================================================== */
.chevron-raw {
  background: var(--surface);
  padding-block: var(--sec-y);
}

.chevron-raw-node + .chevron-raw-node {
  margin-block-start: var(--s-xl);
}

.chevron-raw-head {
  align-items: baseline;
  color: var(--body);
  display: flex;
  gap: var(--s-sm);
  margin-block-start: 0;
}

.chevron-raw-mark {
  color: var(--zest);
  display: inline-block;
  flex-shrink: 0;
  height: 26px;
  line-height: 0;
  width: 26px;
}

.chevron-raw-mark svg {
  display: block;
  fill: currentColor;
  height: 100%;
  width: 100%;
}

.chevron-raw-lede {
  display: inline;
}

.chevron-raw-copy {
  color: var(--muted);
  line-height: var(--airy);
  margin-block-start: var(--s-md);
}

.chevron-raw-run {
  color: var(--muted);
  line-height: var(--airy);
  margin-block-start: var(--s-md);
  padding-inline-start: var(--s-xl);
}

.chevron-raw-run li {
  margin-block-start: var(--s-xs);
}

.chevron-raw-href {
  background-image: linear-gradient(var(--zest), var(--zest));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 100% 1px;
  color: var(--zest);
  text-decoration: none;
  transition: color var(--snap) var(--release);
}

.chevron-raw-href:hover {
  color: var(--spot-deep);
}

.chevron-raw-figure {
  margin: var(--s-lg) 0 0;
}

.chevron-raw-pic {
  border-radius: var(--r-md);
  display: block;
  height: auto;
  margin-inline: auto;
  max-height: 56vh;
  object-fit: cover;
  width: 100%;
}

.chevron-raw-when {
  color: var(--muted);
  display: block;
  font-size: var(--tiny);
  font-style: italic;
  padding-block-start: var(--s-xs);
  text-align: center;
}

.chevron-raw-tools {
  margin-block-start: var(--s-xl);
}

/* shared offer button skin — colour and motion are appended at the end */
.chevron-raw-tap,
.tableau-cool-tap,
.coupole-alt-tap,
.lectern-swift-tap,
.vitrail-sleek-tap {
  align-items: center;
  border-radius: var(--lozenge);
  display: inline-flex;
  font-weight: var(--thick);
  justify-content: center;
  text-align: center;
  text-decoration: none;
}

.chevron-raw-chip,
.lectern-swift-chip {
  color: var(--muted);
  display: block;
  font-size: var(--tiny);
  line-height: var(--regular);
  margin-block-start: var(--s-sm);
}

/* ==========================================================================
   Items grid — wide featured plus compact list
   ========================================================================== */
.tableau-cool {
  background: var(--surface);
  padding-block: var(--sec-y);
}

.tableau-cool-head {
  color: var(--body);
  margin-block-end: var(--s-lg);
}

.tableau-cool-card {
  background: var(--lead);
  border-radius: var(--r-lg);
  color: var(--surface);
  margin-block-end: var(--s-xl);
  padding: var(--s-2xl);
}

.tableau-cool-card-lede {
  color: var(--surface);
  font-size: var(--h2);
  line-height: var(--dense);
}

.tableau-cool-card-copy {
  color: #061423;
  font-size: var(--h5);
  line-height: var(--regular);
  margin-block-start: var(--s-md);
  max-width: var(--tight-col);
}

.tableau-cool-run {
  display: grid;
  gap: var(--s-md);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.tableau-cool-node {
  background: var(--sink);
  border-block-start: var(--even) solid var(--zest);
  padding: var(--s-md);
}

.tableau-cool-lede {
  color: var(--body);
  font-family: var(--prose);
  font-size: var(--normal);
  font-weight: var(--thick);
}

.tableau-cool-copy {
  color: var(--muted);
  font-size: var(--sm);
  line-height: var(--regular);
  margin-block-start: var(--s-xs);
}

.tableau-cool-tools {
  margin-block-start: var(--s-xl);
  text-align: center;
}

@media (max-width: 620px) {
  .tableau-cool-run {
    grid-template-columns: minmax(0, 1fr);
  }

  .tableau-cool-card {
    padding: var(--s-xl) var(--s-lg);
  }
}

/* ==========================================================================
   Reviews — grid with colour-coded ratings
   ========================================================================== */
.coupole-alt {
  background: var(--surface);
  padding-block: var(--sec-y);
}

.coupole-alt-head {
  color: var(--body);
  margin-block-end: var(--s-lg);
}

.coupole-alt-run {
  display: grid;
  gap: var(--s-md);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.coupole-alt-card {
  background: var(--panel);
  border: var(--hair) dashed var(--stroke);
  border-radius: var(--r-md);
  color: var(--body);
  padding: var(--s-lg);
}

.coupole-alt-card.is-praised {
  background: var(--praise);
}

.coupole-alt-card.is-plain {
  background: var(--plain);
}

.coupole-alt-band {
  align-items: center;
  display: flex;
  gap: var(--s-sm);
}

.coupole-alt-score {
  color: var(--zest);
  font-family: var(--banner);
  font-size: var(--h2);
  font-weight: var(--thick);
  line-height: 1;
}

.coupole-alt-pips {
  display: inline-flex;
  gap: 4px;
}

.coupole-alt-pip {
  background: var(--edge-hard);
  border-radius: var(--dot);
  display: block;
  height: 8px;
  width: 8px;
}

.coupole-alt-pip.is-lit {
  background: var(--zest);
}

.coupole-alt-handle {
  color: var(--body);
  font-family: var(--prose);
  font-size: var(--micro-head);
  font-weight: var(--thick);
  margin-block-start: var(--s-sm);
}

.coupole-alt-copy {
  color: var(--muted);
  font-size: var(--sm);
  line-height: var(--regular);
  margin-block-start: var(--s-xs);
}

.coupole-alt-tools {
  margin-block-start: var(--s-xl);
  text-align: center;
}

@media (max-width: 620px) {
  .coupole-alt-run {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========================================================================
   FAQ — bordered box with an indicator bar
   ========================================================================== */
.tile-grave {
  background: var(--surface);
  padding-block: var(--sec-y);
}

.tile-grave-head {
  color: var(--body);
  margin-block-end: var(--s-lg);
}

.tile-grave-box {
  background: #050a12;
  border: var(--hair) solid #23262b;
  border-radius: var(--r-lg);
  padding: var(--s-2xl);
}

.tile-grave-run {
  display: block;
  margin: 0;
}

.tile-grave-node {
  border-block-end: var(--hair) solid #1b1f26;
  box-shadow: inset 4px 0 0 var(--zest);
  padding-inline-start: var(--s-md);
}

.tile-grave-node:last-child {
  border-block-end: 0;
}

.tile-grave-ask {
  display: block;
  margin: 0;
}

.tile-grave-lede {
  display: block;
  font-size: var(--sub-2);
  margin: 0;
}

.tile-grave-knob {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--body);
  cursor: pointer;
  display: flex;
  font-family: var(--banner);
  font-size: var(--sub-2);
  font-weight: var(--thick);
  gap: var(--s-md);
  justify-content: space-between;
  line-height: var(--dense);
  min-height: 44px;
  padding: var(--s-md) 0;
  text-align: start;
  width: 100%;
}

.tile-grave-knob:hover {
  color: var(--zest);
}

.tile-grave-words {
  display: block;
}

.tile-grave-sign {
  border-inline-end: var(--even) solid var(--zest);
  border-block-end: var(--even) solid var(--zest);
  display: block;
  flex-shrink: 0;
  height: 10px;
  transform: rotate(45deg);
  transition: transform var(--steady) var(--release);
  width: 10px;
}

.tile-grave-knob[aria-expanded="true"] .tile-grave-sign {
  transform: rotate(225deg);
}

.tile-grave-fill {
  display: grid;
  grid-template-rows: 0fr;
  margin: 0;
  transition: grid-template-rows var(--steady) var(--release);
}

.tile-grave-fill.is-open {
  grid-template-rows: 1fr;
}

.tile-grave-liner {
  overflow: hidden;
  visibility: hidden;
}

.tile-grave-fill.is-open .tile-grave-liner {
  visibility: visible;
}

.tile-grave-copy {
  color: var(--muted);
  font-size: var(--sm);
  line-height: var(--airy);
  padding-block-end: var(--s-md);
}

@media (max-width: 620px) {
  .tile-grave-box {
    padding: var(--s-lg) var(--s-md);
  }
}

/* ==========================================================================
   Data table — compact dense
   ========================================================================== */
.chapitre-fluid {
  background: var(--surface);
  padding-block: var(--sec-y);
}

.chapitre-fluid-head {
  color: var(--body);
  margin-block-end: var(--s-lg);
}

.chapitre-fluid-scroll {
  overflow-x: auto;
  width: 100%;
}

.chapitre-fluid-grid {
  background: var(--surface);
  color: var(--body);
  font-size: var(--sm);
  width: 100%;
}

.chapitre-fluid-grid th {
  background: var(--panel);
  color: var(--body);
  font-size: var(--tiny);
  font-weight: var(--thick);
  letter-spacing: var(--open);
  padding: var(--s-sm);
  position: sticky;
  text-align: start;
  text-transform: uppercase;
  top: 0;
  z-index: 1;
}

.chapitre-fluid-grid td {
  background: var(--surface);
  border-block-end: var(--hair) solid #14171d;
  color: var(--muted);
  line-height: var(--regular);
  padding: var(--s-xs) var(--s-sm);
  vertical-align: top;
}

.chapitre-fluid-grid tr td:first-child {
  color: var(--body);
  font-weight: var(--medium);
}

@media (max-width: 620px) {
  .chapitre-fluid-grid {
    font-size: var(--tiny);
  }

  .chapitre-fluid-grid td,
  .chapitre-fluid-grid th {
    padding: var(--s-xs) var(--s-xs);
  }
}

/* ==========================================================================
   CTA block — eyebrow, heading, short line
   ========================================================================== */
.lectern-swift {
  background: var(--surface);
  border-block-start: var(--hair) dashed var(--stroke);
  padding-block: var(--sec-y);
}

.lectern-swift-fill {
  align-items: start;
  display: grid;
  gap: var(--s-md) var(--s-xl);
  grid-template-columns: minmax(0, 1fr) auto;
  text-align: start;
}

.lectern-swift-kicker {
  color: var(--zest);
  font-size: var(--tiny);
  grid-column: 1;
  letter-spacing: var(--open);
  text-transform: uppercase;
}

.lectern-swift-lede {
  color: var(--body);
  grid-column: 1;
}

.lectern-swift-copy {
  color: var(--muted);
  grid-column: 1;
  line-height: var(--airy);
  max-width: var(--tight-col);
}

.lectern-swift-tools {
  align-self: center;
  grid-column: 2;
  grid-row: 1 / span 3;
}

.lectern-swift-chip {
  grid-column: 1;
}

@media (max-width: 940px) {
  .lectern-swift-fill {
    grid-template-columns: minmax(0, 1fr);
  }

  .lectern-swift-tools {
    grid-column: 1;
    grid-row: auto;
  }

  .lectern-swift-chip {
    grid-column: 1;
  }
}

/* ==========================================================================
   Legal — numbered sections
   ========================================================================== */
.medallion-edge {
  background: var(--surface);
  padding-block: var(--sec-y);
}

.medallion-edge-fill {
  counter-reset: legal-part;
}

.medallion-edge-copy {
  color: var(--muted);
  line-height: var(--airy);
  margin-block-start: var(--s-md);
}

.medallion-edge-node {
  counter-increment: legal-part;
  margin-block-start: var(--s-xl);
}

.medallion-edge-head {
  color: var(--body);
  font-size: var(--lg-2);
}

.medallion-edge-head::before {
  color: var(--zest);
  content: counter(legal-part) ". ";
  font-family: var(--banner);
  font-weight: var(--thick);
  margin-inline-end: var(--s-xs);
}

.medallion-edge-node .medallion-edge-copy {
  padding-inline-start: var(--s-md);
}

.medallion-edge-run {
  color: var(--muted);
  line-height: var(--airy);
  margin-block-start: var(--s-md);
  padding-inline-start: var(--s-xl);
}

.medallion-edge-href {
  color: var(--zest);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.medallion-edge-href:hover {
  color: var(--spot-deep);
}

.medallion-edge-note {
  background: var(--panel);
  border: var(--hair) dashed var(--stroke);
  border-radius: var(--r-md);
  color: var(--muted);
  font-size: var(--sm);
  line-height: var(--regular);
  margin-block-start: var(--s-xl);
  padding: var(--s-lg);
}

@media (max-width: 620px) {
  .medallion-edge-node .medallion-edge-copy {
    padding-inline-start: 0;
  }
}

/* ==========================================================================
   Contact form — asymmetric wide submit
   ========================================================================== */
.pillar-zone {
  background: var(--surface);
  padding-block: var(--sec-y);
}

.pillar-zone-head {
  color: var(--body);
  margin-block-end: var(--s-md);
}

.pillar-zone-copy {
  color: var(--muted);
  line-height: var(--airy);
  margin-block-end: var(--s-lg);
}

.pillar-zone-shell {
  background: var(--panel);
  border-radius: var(--r-md);
  color: var(--body);
  padding: var(--s-xl);
}

.pillar-zone-form {
  display: block;
}

.pillar-zone-entry {
  display: block;
  margin-block-end: var(--s-lg);
}

.pillar-zone-chip {
  color: var(--muted);
  display: block;
  font-size: var(--sm);
  margin-block-end: var(--s-xs);
}

.pillar-zone-input,
.pillar-zone-words {
  background: var(--sink-lift);
  border: 0;
  border-block-end: var(--even) dashed var(--edge-hard);
  color: var(--body);
  font-family: var(--prose);
  font-size: var(--normal);
  min-height: 48px;
  padding: var(--s-sm) var(--s-md);
  width: 100%;
}

.pillar-zone-words {
  min-height: 140px;
  resize: vertical;
}

.pillar-zone-input:focus,
.pillar-zone-words:focus {
  border-block-end-color: var(--zest);
}

.pillar-zone-send {
  background: var(--zest);
  border: 0;
  border-radius: var(--r-sm);
  color: #000000;
  cursor: pointer;
  font-family: var(--banner);
  font-size: var(--sub-2);
  font-weight: var(--thick);
  letter-spacing: var(--open);
  min-height: 72px;
  text-transform: uppercase;
  transition: background var(--snap) var(--release), transform var(--snap) var(--release);
  width: 100%;
}

.pillar-zone-send:hover {
  background: var(--spot-deep);
  color: #000000;
}

.pillar-zone-send:active {
  transform: translateY(2px);
}

.pillar-zone-done {
  background: var(--praise);
  border: var(--hair) dashed var(--zest);
  border-radius: var(--r-md);
  color: var(--body);
  display: none;
  line-height: var(--regular);
  margin-block-start: var(--s-lg);
  padding: var(--s-lg);
}

.pillar-zone-done.is-open {
  display: block;
}

@media (max-width: 620px) {
  .pillar-zone-shell {
    padding: var(--s-lg) var(--s-md);
  }
}

/* ==========================================================================
   Author card — horizontal card with round portrait
   ========================================================================== */
.vitrail-sleek {
  background: var(--surface);
  padding-block: var(--s-xl);
}

.vitrail-sleek-card {
  background: var(--panel);
  border-radius: var(--r-lg);
  box-shadow: var(--d-sm);
  color: var(--body);
  display: grid;
  gap: var(--s-xl);
  grid-template-columns: 160px minmax(0, 1fr);
  padding: var(--s-xl) var(--s-lg);
}

.vitrail-sleek-shot {
  background: var(--sink-lift);
  border-radius: var(--dot);
  height: 160px;
  overflow: hidden;
  width: 160px;
}

.vitrail-sleek-pic {
  display: block;
  height: auto;
  margin-block-start: 18%;
  margin-inline-start: -50%;
  max-width: none;
  width: 170%;
}

.vitrail-sleek-fill {
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
}

.vitrail-sleek-job {
  color: var(--zest);
  font-family: var(--prose);
  font-size: var(--sm);
  font-weight: var(--medium);
  letter-spacing: var(--open);
  text-transform: uppercase;
}

.vitrail-sleek-handle {
  color: var(--body);
  font-family: var(--banner);
  font-size: var(--h2);
  font-weight: var(--thick);
  line-height: var(--dense);
}

.vitrail-sleek-copy {
  color: var(--muted);
  font-family: var(--prose);
  line-height: var(--airy);
}

.vitrail-sleek-run {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-xs);
  list-style: none;
  margin: 0;
  padding: 0;
}

.vitrail-sleek-node {
  background: var(--lead);
  border-radius: var(--lozenge);
  color: #061423;
  font-size: var(--tiny);
  letter-spacing: var(--open);
  padding: var(--s-2xs) var(--s-sm);
  text-transform: uppercase;
}

.vitrail-sleek-later {
  margin-block-start: var(--s-xl);
}

.vitrail-sleek-head {
  color: var(--body);
  font-size: var(--lg-2);
  margin-block-end: var(--s-md);
}

.vitrail-sleek-stack {
  display: block;
  list-style: none;
  margin: 0;
  padding: 0;
}

.vitrail-sleek-band {
  border-block-end: var(--hair) dashed var(--stroke);
  display: block;
}

.vitrail-sleek-href {
  color: var(--body);
  display: block;
  font-size: var(--sm);
  padding: var(--s-sm) 0;
  text-decoration: none;
}

.vitrail-sleek-href:hover {
  color: var(--zest);
}

.vitrail-sleek-tools {
  margin-block-start: var(--s-xl);
}

@media (max-width: 940px) {
  .vitrail-sleek-card {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
  }

  .vitrail-sleek-shot {
    height: 120px;
    width: 120px;
  }

  .vitrail-sleek-run {
    justify-content: center;
  }
}

/* ==========================================================================
   Author byline — bordered card block
   ========================================================================== */
.pavilion-core {
  background: var(--surface);
  padding-block: var(--s-lg);
}

.pavilion-core-card {
  background: var(--panel);
  border: var(--hair) dashed var(--edge-hard);
  border-radius: var(--r-md);
  color: var(--body);
  display: flex;
  gap: var(--s-md);
  margin-inline: auto;
  max-width: var(--tight-col);
  padding: var(--s-lg);
}

.pavilion-core-shot {
  background: var(--sink-lift);
  border-radius: var(--dot);
  display: block;
  flex-shrink: 0;
  height: 64px;
  overflow: hidden;
  width: 64px;
}

.pavilion-core-pic {
  display: block;
  height: auto;
  margin-block-start: 18%;
  margin-inline-start: -50%;
  max-width: none;
  width: 170%;
}

.pavilion-core-fill {
  min-width: 0;
}

.pavilion-core-chip {
  color: var(--muted);
  display: block;
  font-size: var(--tiny);
  letter-spacing: var(--open);
  text-transform: uppercase;
}

.pavilion-core-handle {
  font-family: var(--banner);
  font-size: var(--sub-2);
  font-weight: var(--thick);
  margin-block-start: var(--s-2xs);
}

.pavilion-core-handle a {
  color: var(--body);
  text-decoration: none;
}

.pavilion-core-handle a:hover {
  text-decoration: underline;
}

.pavilion-core-job {
  color: var(--muted);
  font-size: var(--sm);
}

.pavilion-core-copy {
  color: var(--muted);
  font-size: var(--sm);
  line-height: var(--regular);
  margin-block-start: var(--s-xs);
}

.pavilion-core-href {
  color: var(--zest);
  display: inline-block;
  font-size: var(--sm);
  letter-spacing: var(--open);
  margin-block-start: var(--s-sm);
  text-decoration: none;
  text-transform: uppercase;
}

.pavilion-core-href:hover {
  color: var(--spot-deep);
}

@media (max-width: 620px) {
  .pavilion-core-card {
    flex-direction: column;
  }
}

/* ==========================================================================
   Error block — minimal, no drama
   ========================================================================== */
.vestibule-keen {
  background: var(--surface);
  padding-block: var(--sec-y);
}

.vestibule-keen-fill {
  margin-inline: auto;
  max-width: var(--tight-col);
  text-align: center;
}

.vestibule-keen-lede {
  color: var(--body);
  font-size: var(--h2);
}

.vestibule-keen-copy {
  color: var(--muted);
  line-height: var(--airy);
  margin-block-start: var(--s-md);
}

.vestibule-keen-tap {
  align-items: center;
  background: var(--sink-lift);
  border: var(--hair) solid var(--edge-hard);
  border-radius: var(--r-sm);
  color: var(--body);
  display: inline-flex;
  justify-content: center;
  margin-block-start: var(--s-lg);
  min-height: 44px;
  padding-inline: var(--s-lg);
  text-decoration: none;
  transition: background var(--snap) var(--release);
}

.vestibule-keen-tap:hover {
  background: #232833;
  color: var(--body);
}

/* ==========================================================================
   Cookie notice — inline, sits above the footer
   ========================================================================== */
.cadre-sleek {
  background: var(--surface);
  display: none;
  padding-block: var(--s-lg);
}

.cadre-sleek.is-open {
  display: block;
}

.cadre-sleek-band {
  margin-inline: auto;
  max-width: calc(var(--outer) + 2 * var(--inset-desktop));
  padding-inline: var(--inset-desktop);
  width: 100%;
}

.cadre-sleek-card {
  align-items: center;
  background: var(--panel);
  border: var(--hair) solid #1b1f26;
  border-radius: var(--r-md);
  color: var(--body);
  display: grid;
  gap: var(--s-lg);
  grid-template-columns: minmax(0, 1fr) auto;
  padding: var(--s-lg);
}

.cadre-sleek-words {
  color: var(--muted);
  font-size: var(--sm);
  line-height: var(--regular);
}

.cadre-sleek-tools {
  display: flex;
  gap: var(--s-sm);
}

.cadre-sleek-allow,
.cadre-sleek-refuse {
  border: 0;
  border-radius: var(--r-sm);
  cursor: pointer;
  font-family: var(--prose);
  font-size: var(--sm);
  font-weight: var(--thick);
  min-height: 44px;
  padding-inline: var(--s-lg);
  transition: background var(--snap) var(--release);
  white-space: nowrap;
}

.cadre-sleek-allow {
  background: var(--zest);
  color: #000000;
}

.cadre-sleek-allow:hover {
  background: var(--spot-deep);
  color: #000000;
}

.cadre-sleek-refuse {
  background: var(--sink-lift);
  color: var(--body);
}

.cadre-sleek-refuse:hover {
  background: #232833;
  color: var(--body);
}

@media (max-width: 940px) {
  .cadre-sleek-band {
    padding-inline: var(--inset-tablet);
  }
}

@media (max-width: 720px) {
  .cadre-sleek-card {
    gap: 8px !important;
    grid-template-columns: minmax(0, 1fr);
    padding: 12px 14px !important;
  }

  .cadre-sleek-words {
    font-size: 13px !important;
    line-height: 1.35 !important;
  }

  .cadre-sleek-tools {
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .cadre-sleek-allow,
  .cadre-sleek-refuse {
    font-size: 12px !important;
    min-height: 40px !important;
    padding-inline: 14px !important;
  }
}

@media (max-width: 620px) {
  .cadre-sleek-band {
    padding-inline: var(--pad-sm);
  }
}

/* ==========================================================================
   Footer — massive centered
   ========================================================================== */
.crochet-dark {
  background: var(--surface);
  border-block-start: var(--hair) solid var(--stroke);
  color: var(--body);
  padding-block: 56px 40px;
}

.crochet-dark-band {
  display: flex;
  flex-direction: column;
  gap: var(--s-lg);
  margin-inline: auto;
  max-width: calc(var(--outer) + 2 * var(--inset-desktop));
  padding-inline: var(--inset-desktop);
  text-align: center;
  width: 100%;
}

.crochet-dark-crest {
  display: inline-block;
  margin-inline: auto;
}

.crochet-dark-crest-pic {
  display: block;
  height: 88px;
  width: auto;
}

.crochet-dark-index {
  display: block;
}

.crochet-dark-run {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-lg);
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.crochet-dark-node {
  display: block;
}

.crochet-dark-href {
  color: var(--body);
  font-family: var(--banner);
  font-size: var(--normal);
  font-weight: var(--medium);
  text-decoration: none;
  transition: color var(--snap) var(--release);
}

.crochet-dark-href:hover {
  color: var(--zest);
}

.crochet-dark-copy {
  color: var(--muted);
  font-size: var(--sm);
  line-height: var(--airy);
  margin-inline: auto;
  max-width: var(--tight-col);
}

.crochet-dark-legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-sm);
  justify-content: center;
}

.crochet-dark-legal-href {
  color: var(--muted);
  font-size: var(--tiny);
  letter-spacing: var(--open);
  text-decoration: none;
  text-transform: uppercase;
}

.crochet-dark-legal-href:hover {
  color: var(--zest);
}

.crochet-dark-legal-dot {
  color: var(--muted);
  font-size: var(--tiny);
}

.crochet-dark-small {
  color: var(--muted);
  font-size: var(--tiny);
}

@media (max-width: 940px) {
  .crochet-dark-band {
    padding-inline: var(--inset-tablet);
  }
}

@media (max-width: 620px) {
  .crochet-dark-band {
    padding-inline: var(--pad-sm);
  }

  .crochet-dark-crest-pic {
    height: 72px;
  }

  .crochet-dark-run {
    gap: var(--s-md);
  }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ==========================================================================
   First screen fade-in
   ========================================================================== */
.pave-classic,
.nef-grand,
.vestibule-keen {
  animation: opening-lift var(--steady) var(--release) backwards;
}

@keyframes opening-lift {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ==========================================================================
   Offer button — colour, geometry and looped motion (generated per domain)
   ========================================================================== */
.vault-hit{display:inline-flex;align-items:center;justify-content:center;padding:0 var(--s-lg);min-height:44px;border-radius:var(--r-sm);border:var(--hair) solid var(--edge-hard);font-weight:600}
.vault-hit{position:relative;
  background:#C026D3;color:#FFFFFF;text-decoration:none;
  transition:background var(--snap) var(--release),transform var(--snap) var(--release);}
.vault-hit.vault-hit{color:#FFFFFF;text-decoration:none;}
.vault-hit:hover{background:#A21CAF;color:#FFFFFF;animation:none}
.vault-hit.vault-hit:hover{color:#FFFFFF;text-decoration:none}
.vault-hit:hover::after{animation:none}
.vault-hit:active{background:#86198F;color:#FFFFFF}
.vault-hit:focus-visible{outline:3px solid #000000;outline-offset:3px}
@keyframes vault-sweep{0%,100%{transform:scaleX(0)}40%,60%{transform:scaleX(1)}}
.vault-hit::after{content:"";position:absolute;left:12%;right:12%;bottom:6px;height:4px;background:currentColor;opacity:.5;transform-origin:left;animation:vault-sweep 2s ease infinite}
@media (prefers-reduced-motion:reduce){.vault-hit,.vault-hit::after{animation:none!important;transition:none!important}}

/* nojs guard 28.09.2026: без JS контент виден */
html.no-js .pave-classic,
html.no-js .tile-grave-copy,
html.no-js .nef-grand{opacity:1!important;transform:none!important;visibility:visible!important;clip-path:none!important}
