/* ==========================================================================
   AUTUMN BOWL CHAMPIONSHIP — design system
   Palette: #e6952b (amber) · #1c252e (navy) · #ffffff
   Aesthetic: broadcast-athletic. Sharp corners, hairline rules, hash marks,
   oversized condensed type, amber as a single sharp accent.
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  /* brand */
  --amber:        #e6952b;
  --amber-dark:   #c87d1c;  /* hover fills only — 3.3:1 on white, not for text */
  --amber-ink:    #96590c;  /* amber TEXT on light surfaces: 5.6:1 white, 5.1:1 paper */
  --amber-tint:   rgba(230, 149, 43, .12);
  --navy:         #1c252e;
  --navy-deep:    #151d24;
  --navy-card:    #232e38;
  --navy-line:    #33414d;
  --white:        #ffffff;
  --paper:        #f4f5f6;

  /* text */
  --ink:          #1c252e;
  --ink-muted:    #5a6672;   /* 5.87:1 on white */
  --dim:          #a9b4bf;   /* 7.36:1 on navy  */

  /* rules */
  --rule-on-dark:  rgba(255, 255, 255, .12);
  --rule-on-light: rgba(28, 37, 46, .14);

  /* type */
  --display: "Big Shoulders Display", "Oswald", "Arial Narrow", Impact, sans-serif;
  --body:    "Barlow", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* metrics */
  --wrap: 1600px;
  --gutter: clamp(1.25rem, 4.5vw, 4.5rem);
  --nav-h: 76px;
  --ease: cubic-bezier(.16, 1, .3, 1);

  /* Drop a hero photo at assets/img/hero.jpg and uncomment the line below.
     Until then the hero renders its designed fallback (glow + badge + hash). */
  /* --hero-photo: url("../img/hero.jpg"); */
}

/* ---------- 2. Reset ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 24px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, iframe { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.005em;
  line-height: .92;
  margin: 0;
  text-wrap: balance;
}

p  { margin: 0 0 1.1em; text-wrap: pretty; }

/* UA default is `margin: 1em 40px` — it was insetting figures from their grid
   column. */
figure { margin: 0; }

/* Lists are layout containers throughout this site (card grids, stat bars,
   nav). Markers are opted back in per-component where they are wanted. */
ul, ol { margin: 0; padding: 0; }
ul { list-style: none; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

::selection { background: var(--amber); color: var(--navy); }

.skip-link {
  position: absolute; left: 0; top: 0; z-index: 200;
  transform: translateY(-120%);
  background: var(--amber); color: var(--navy);
  font-family: var(--display); font-size: 1.1rem; text-transform: uppercase;
  letter-spacing: .06em; padding: .75rem 1.25rem; text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 3. Layout primitives ----------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--dark  { background: var(--navy); color: var(--white); }
.section--deep  { background: var(--navy-deep); color: var(--white); }
.section--dark p, .section--deep p { color: var(--dim); }

/* hash-mark rule — the sideline motif */
.hashrule {
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--amber) 0 16px, transparent 16px 32px);
}
.hashrule--thin { height: 4px; opacity: .85; }

.eyebrow {
  display: flex; align-items: center; gap: .75rem;
  font-family: var(--body); font-size: .78rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--amber-ink); margin: 0 0 1.1rem;
}
.section--dark .eyebrow,
.section--deep .eyebrow,
.page-head .eyebrow,
.film-hero .eyebrow,
.hero .eyebrow { color: var(--amber); }
.eyebrow::before {
  content: ""; width: 30px; height: 3px; flex: none; background: currentColor;
}

.sec-title { font-size: clamp(2.5rem, 6.2vw, 4.75rem); }
.sec-lede {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  max-width: 62ch; color: var(--ink-muted);
}
.section--dark .sec-lede, .section--deep .sec-lede { color: var(--dim); }

/* editorial two-column section head */
.sec-head { display: grid; gap: clamp(1.25rem, 3vw, 3rem); margin-bottom: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 900px) {
  .sec-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: end; }
}

/* ---------- 4. Buttons --------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--display); font-weight: 700; font-size: 1.2rem;
  text-transform: uppercase; letter-spacing: .04em; line-height: 1;
  padding: 1.05rem 1.85rem .95rem;
  border: 2px solid transparent; border-radius: 2px;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--amber); color: var(--navy); border-color: var(--amber); }
.btn--primary:hover { background: var(--amber-dark); border-color: var(--amber-dark); color: var(--navy); }

.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

.btn--outline-ink { background: transparent; color: var(--ink); border-color: rgba(28,37,46,.35); }
.btn--outline-ink:hover { border-color: var(--ink); background: rgba(28,37,46,.05); }

.btn--sm { font-size: 1rem; padding: .7rem 1.15rem .6rem; }

.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- 5. TBD marker (pre-launch placeholders) ---------------------- */
.tbd {
  display: inline-block;
  font-family: var(--body); font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); background: var(--amber-tint);
  border: 1px dashed var(--amber-dark);
  padding: .1em .5em; border-radius: 2px; white-space: nowrap;
  vertical-align: middle;
}
/* Any surface that is navy needs the light-on-dark variant, including the
   navy cards that sit inside otherwise-light sections. */
.section--dark .tbd, .section--deep .tbd, .site-footer .tbd, .hero .tbd,
.page-head .tbd, .film-hero .tbd, .reel .tbd, .addr-card .tbd, .fieldmap .tbd {
  color: var(--amber); border-color: var(--amber); background: rgba(230,149,43,.10);
}

/* ---------- 6. Nav ------------------------------------------------------- */
.site-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.site-nav.is-solid,
.site-nav.is-open { background: var(--navy); border-bottom-color: var(--navy-line); }
/* pages without a dark hero start solid */
.site-nav--opaque { background: var(--navy); border-bottom-color: var(--navy-line); }

.nav-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}

.nav-brand {
  display: flex; align-items: center; gap: .7rem;
  text-decoration: none; color: var(--white);
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  letter-spacing: .01em; line-height: .9;
}
.nav-brand picture { display: block; flex: none; }
.nav-brand img { width: 42px; height: auto; }
.nav-brand span { font-size: 1.15rem; display: block; }
.nav-brand small {
  display: block; font-family: var(--body); font-size: .62rem; font-weight: 600;
  letter-spacing: .2em; color: var(--amber); margin-top: .15rem;
}

.nav-right { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); }

.nav-links {
  display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem);
  list-style: none;
}
.nav-links a {
  font-family: var(--display); font-size: 1.1rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
  color: var(--white); text-decoration: none;
  padding: .35rem 0; position: relative; display: block;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px;
  background: var(--amber); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--amber); }

.nav-toggle {
  display: none;
  width: 46px; height: 46px; flex: none;
  background: transparent; border: 1px solid rgba(255,255,255,.35); border-radius: 2px;
  cursor: pointer; padding: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--white);
  margin-inline: auto; transition: transform .25s var(--ease), opacity .2s linear;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 899px) {
  .nav-toggle { display: block; }
  .nav-right {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); border-bottom: 1px solid var(--navy-line);
    padding: 1rem var(--gutter) 2rem;
    transform: translateY(-115%); transition: transform .32s var(--ease);
    max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
  }
  .site-nav.is-open .nav-right { transform: translateY(0); }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a {
    font-size: 1.9rem; padding: .85rem 0;
    border-bottom: 1px solid var(--rule-on-dark);
  }
  .nav-links a::after { display: none; }
  .nav-right .btn { margin-top: 1.5rem; width: 100%; }
}

/* ---------- 7. Hero ------------------------------------------------------ */
.hero {
  position: relative;
  min-height: min(100svh, 900px);
  display: flex; align-items: flex-end;
  padding-top: calc(var(--nav-h) + 3rem);
  padding-bottom: 0;
  background-color: var(--navy);
  background-image:
    linear-gradient(180deg, rgba(21,29,36,.72) 0%, rgba(21,29,36,.55) 40%, rgba(21,29,36,.92) 100%),
    var(--hero-photo, none);
  background-size: cover;
  background-position: center 30%;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

/* fallback atmosphere: amber glow + badge watermark + hash texture */
.hero::before {
  content: ""; position: absolute; z-index: -2;
  width: min(95vw, 1000px); aspect-ratio: 1;
  right: -18%; top: 50%; translate: 0 -50%;
  background:
    radial-gradient(circle at center, rgba(230,149,43,.30) 0%, rgba(230,149,43,.08) 42%, transparent 68%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.05) 0 1px, transparent 1px 14px);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.hero-watermark {
  position: absolute; z-index: -1; pointer-events: none;
  right: -14%; top: 50%; translate: 0 -50%;
  width: min(90vw, 780px); opacity: .09;
}
.hero-watermark img { width: 100%; height: auto; }
/* On narrow screens the badge sits directly behind the headline — pull it up
   and back so the type stays the only thing competing for attention. */
@media (max-width: 700px) {
  .hero { min-height: min(92svh, 780px); }
  .hero-watermark { right: -30%; top: 34%; width: 108vw; opacity: .05; }
}

.hero-inner { position: relative; width: 100%; padding-bottom: clamp(3rem, 7vw, 5.5rem); }

.hero-edge {
  display: none;
  /* Centred inside the wrap's own gutter. Offset is positive because .wrap is
     padded, not inset — once the viewport is narrower than --wrap its border
     box starts at the screen edge, and a negative offset would fall outside. */
  position: absolute; left: calc(var(--gutter) / 2 - .55rem); bottom: 8rem;
  writing-mode: vertical-rl; transform: rotate(180deg); transform-origin: center;
  font-family: var(--body); font-size: .72rem; font-weight: 700;
  letter-spacing: .3em; text-transform: uppercase; color: var(--dim);
}
.hero-edge::after {
  content: ""; display: block; width: 2px; height: 46px; background: var(--amber);
  margin: .9rem auto 0;
}
@media (min-width: 1140px) { .hero-edge { display: block; } }

.hero h1 {
  font-size: clamp(3.4rem, 9.5vw, 9.5rem);
  line-height: .86;
  letter-spacing: -.015em;
  margin: 0 0 clamp(1.25rem, 2.6vw, 2rem);
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: block; }
.hero h1 em { font-style: normal; color: var(--amber); }

.hero-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .55rem 1rem;
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.15rem, 2.4vw, 1.7rem); letter-spacing: .02em;
  margin: 0 0 1.25rem;
}
.hero-meta .dot { color: var(--amber); }
.hero-tagline {
  font-size: clamp(1.05rem, 1.9vw, 1.3rem);
  max-width: 46ch; color: var(--dim); margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .85rem; }

/* staggered load-in */
@media (prefers-reduced-motion: no-preference) {
  .hero [data-lift] {
    animation: lift .9s var(--ease) backwards;
    animation-delay: calc(var(--i, 0) * 90ms + 120ms);
  }
}
@keyframes lift {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}

/* broadcast ticker */
.ticker {
  background: var(--amber); color: var(--navy);
  border-block: 2px solid var(--navy);
  overflow: hidden; position: relative;
}
.ticker-track {
  display: flex; width: max-content;
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: 1.05rem; letter-spacing: .12em;
  padding-block: .6rem;
}
.ticker-track > span { padding-inline: 1.25rem; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .ticker-track { animation: slide 38s linear infinite; }
  .ticker:hover .ticker-track { animation-play-state: paused; }
}
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker { overflow-x: auto; }
}

/* ---------- 8. Stat bar -------------------------------------------------- */
.statbar { background: var(--navy-deep); color: var(--white); }
.stat-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--rule-on-dark);
}
@media (min-width: 900px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }

.stat {
  padding: clamp(2rem, 4vw, 3.25rem) clamp(1rem, 2vw, 1.75rem);
  border-bottom: 1px solid var(--rule-on-dark);
  border-right: 1px solid var(--rule-on-dark);
  position: relative;
}
.stat:nth-child(2n) { border-right: 0; }
@media (min-width: 900px) {
  .stat:nth-child(2n) { border-right: 1px solid var(--rule-on-dark); }
  .stat:last-child { border-right: 0; }
}
.stat b {
  display: block; font-family: var(--display); font-weight: 800;
  font-size: clamp(3.75rem, 9vw, 6.5rem); line-height: .8;
  color: var(--amber); letter-spacing: -.02em; margin-bottom: .5rem;
}
.stat span {
  display: block; font-size: .82rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--white);
}
.stat small { display: block; color: var(--dim); font-size: .8rem; letter-spacing: .06em; margin-top: .2rem; }

/* ---------- 9. Format ---------------------------------------------------- */
.pillars { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 800px) { .pillars { grid-template-columns: repeat(2, 1fr); } }

.pillar { border-top: 3px solid var(--amber); padding-top: 1.5rem; }
.pillar h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: .6rem; }
.pillar p { margin: 0; color: var(--dim); }
.section--paper .pillar p, .section--white .pillar p { color: var(--ink-muted); }

/* ---------- 10. Divisions ------------------------------------------------ */
.division-grid {
  display: grid; gap: 2px; background: var(--rule-on-light);
  grid-template-columns: repeat(2, 1fr);
  border: 2px solid var(--rule-on-light);
}
@media (min-width: 720px) { .division-grid { grid-template-columns: repeat(3, 1fr); } }

.division {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 2.5rem; min-height: clamp(180px, 18vw, 280px);
  padding: clamp(1.1rem, 2.2vw, 1.6rem);
  background: var(--white); color: var(--ink); text-decoration: none;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.division:hover, .division:focus-visible { background: var(--navy); color: var(--white); }
.division-year {
  font-family: var(--display); font-weight: 800; line-height: .82;
  font-size: clamp(2.6rem, 5.5vw, 5.25rem); letter-spacing: -.02em;
}
.division:hover .division-year { color: var(--amber); }
.division-foot {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-muted);
}
.division:hover .division-foot { color: var(--white); }
.division-foot .arrow { transition: transform .25s var(--ease); font-size: 1.1rem; }
.division:hover .arrow { transform: translateX(4px); }
.division::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: var(--amber); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.division:hover::before, .division:focus-visible::before { transform: scaleX(1); }

/* ---------- 10b. Attending teams ----------------------------------------- */
/* Progressive enhancement: without JS the tabs are jump links and every
   division is listed with its own heading. site.js upgrades the markup to an
   ARIA tablist and shows one panel at a time. */
.teams-tabs {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px; background: var(--rule-on-light);
  border: 2px solid var(--rule-on-light);
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
@media (min-width: 760px) { .teams-tabs { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.teams-tab {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; gap: .4rem;
  padding: .95rem 1rem .9rem;
  background: var(--white); color: var(--ink); text-decoration: none;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.teams-tab:hover { background: var(--paper); }
.teams-tab:focus-visible { outline-offset: -4px; }
.teams-tab::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: var(--amber); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.teams-tab-year {
  font-family: var(--display); font-weight: 800; line-height: .85;
  font-size: clamp(1.9rem, 3.4vw, 2.75rem); letter-spacing: -.01em;
}
.teams-tab-count {
  font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-muted);
}
.js .teams-tab.is-active { background: var(--navy); color: var(--white); }
.js .teams-tab.is-active::after { transform: scaleX(1); }
.js .teams-tab.is-active .teams-tab-year { color: var(--amber); }
.js .teams-tab.is-active .teams-tab-count { color: var(--dim); }

.teams-panel + .teams-panel { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.teams-panel-title { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 1.1rem; }
.js .teams-panel { display: none; }
.js .teams-panel.is-active { display: block; }
.js .teams-panel + .teams-panel { margin-top: 0; }
/* the active tab already names the division; keep the heading for screen readers */
.js .teams-panel-title {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.team-grid {
  display: grid; gap: clamp(.6rem, 1.2vw, 1rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 560px)  { .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px)  { .team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .team-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* Tiles are white on purpose: several club logos use navy or black type that
   disappears on the site's dark surfaces. */
.team {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--rule-on-light);
}
.team-logo {
  display: grid; place-items: center;
  aspect-ratio: 4 / 3;
  padding: clamp(.35rem, 1vw, .75rem);
}
.team-logo picture { display: block; width: 100%; height: 100%; }
.team-logo img { width: 100%; height: 100%; object-fit: contain; }
.team-name {
  display: block; margin-top: auto;
  padding: .7rem .85rem .75rem;
  border-top: 1px solid var(--rule-on-light);
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.05;
  text-transform: uppercase; letter-spacing: .03em;
  color: var(--ink);
}
/* placeholder for clubs whose logo file hasn't been supplied */
.team-logo--mono > span {
  display: grid; place-items: center;
  width: 52%; aspect-ratio: 1; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--rule-on-light);
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.5rem, 2.6vw, 2.25rem); letter-spacing: .02em;
  color: var(--ink-muted);
}

/* ---------- 11. Exposure / feature rows ---------------------------------- */
.feature-grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 820px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--navy-card);
  border: 1px solid var(--navy-line);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  position: relative;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.card:hover { border-color: var(--amber); transform: translateY(-4px); }
.card--light { background: var(--white); border-color: var(--rule-on-light); }
.card h3 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); margin-bottom: .7rem; }
.card p { margin: 0; color: var(--dim); }
.card--light p { color: var(--ink-muted); }
.card-index {
  font-family: var(--display); font-weight: 800; font-size: 1.1rem;
  color: var(--amber); letter-spacing: .1em; display: block; margin-bottom: 1.1rem;
}

/* ---------- 12. Footer --------------------------------------------------- */
.site-footer { background: var(--navy-deep); color: var(--white); padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.footer-grid { display: grid; gap: clamp(2rem, 4vw, 3rem); }
@media (min-width: 880px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; } }

.footer-brand { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.footer-brand picture { display: block; flex: none; }
.footer-brand img { width: 78px; height: auto; }
.footer-brand strong {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: 1.55rem; line-height: .92; display: block;
}
.footer-brand span {
  display: block; font-size: .7rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--amber); margin-top: .3rem;
}
.footer-col h3 {
  font-size: 1.1rem; letter-spacing: .14em; color: var(--amber); margin-bottom: 1rem;
}
.footer-list { list-style: none; display: grid; gap: .55rem; }
.footer-list a { text-decoration: none; color: var(--dim); transition: color .2s; }
.footer-list a:hover { color: var(--white); }

.social { display: flex; gap: .6rem; margin-top: 1.25rem; }
.social a {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--navy-line); color: var(--dim);
  transition: color .2s, border-color .2s, background-color .2s;
}
.social a:hover { color: var(--navy); background: var(--amber); border-color: var(--amber); }
.social svg { width: 19px; height: 19px; fill: currentColor; }

.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.5rem;
  border-top: 1px solid var(--rule-on-dark);
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between;
  font-size: .85rem; color: var(--dim);
}
.footer-bottom p { margin: 0; }
.film-credit { display: inline-flex; align-items: center; gap: .55rem; }
.film-credit b { color: var(--white); font-weight: 700; letter-spacing: .04em; }

/* ---------- 13. Page header (interior pages) ----------------------------- */
.page-head {
  background: var(--navy); color: var(--white);
  padding-top: calc(var(--nav-h) + clamp(3rem, 7vw, 5.5rem));
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  position: relative; overflow: hidden; isolation: isolate;
}
.page-head::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(70% 120% at 88% 20%, rgba(230,149,43,.22), transparent 62%);
}
.page-head::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.05) 0 1px, transparent 1px 14px);
  mask-image: linear-gradient(90deg, #000, transparent 65%);
}
/* Photo variant of the page header (venue). A single left-weighted overlay:
   two stacked gradients multiply their passthrough and crushed the photo to
   ~5%. At .82 alpha the worst case (a pure-white pixel behind the type) still
   gives --dim 4.8:1 and white 10:1. */
.page-head--photo {
  background-color: var(--navy-deep);
  background-image: linear-gradient(96deg, rgba(18,25,31,.90) 0%, rgba(18,25,31,.82) 42%, rgba(18,25,31,.44) 100%), url("../img/venue-aerial-1600.jpg");
  background-image: linear-gradient(96deg, rgba(18,25,31,.90) 0%, rgba(18,25,31,.82) 42%, rgba(18,25,31,.44) 100%),
    image-set(url("../img/venue-aerial-1600.webp") type("image/webp"),
              url("../img/venue-aerial-1600.jpg")  type("image/jpeg"));
  background-size: cover;
  background-position: center 62%;
  background-repeat: no-repeat;
}
/* the amber glow fights the photo; the hairline texture reads as noise on it */
.page-head--photo::before,
.page-head--photo::after { display: none; }

@media (max-width: 700px) {
  .page-head--photo {
    background-image: linear-gradient(180deg, rgba(18,25,31,.88) 0%, rgba(18,25,31,.80) 55%, rgba(18,25,31,.90) 100%), url("../img/venue-aerial-900.jpg");
    background-image: linear-gradient(180deg, rgba(18,25,31,.88) 0%, rgba(18,25,31,.80) 55%, rgba(18,25,31,.90) 100%),
      image-set(url("../img/venue-aerial-900.webp") type("image/webp"),
                url("../img/venue-aerial-900.jpg")  type("image/jpeg"));
  }
}
@media (min-width: 1500px) {
  .page-head--photo {
    background-image: linear-gradient(96deg, rgba(18,25,31,.90) 0%, rgba(18,25,31,.82) 42%, rgba(18,25,31,.44) 100%), url("../img/venue-aerial-2400.jpg");
    background-image: linear-gradient(96deg, rgba(18,25,31,.90) 0%, rgba(18,25,31,.82) 42%, rgba(18,25,31,.44) 100%),
      image-set(url("../img/venue-aerial-2400.webp") type("image/webp"),
                url("../img/venue-aerial-2400.jpg")  type("image/jpeg"));
  }
}

.page-head h1 { font-size: clamp(2.75rem, 8.5vw, 6.5rem); margin-bottom: 1rem; }
.page-head .sub,
.film-hero .sub {
  font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--dim); max-width: 58ch; margin: 0;
}
.page-head .kicker {
  display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: 1.5rem;
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: 1.15rem; letter-spacing: .03em;
}
.page-head .kicker .dot { color: var(--amber); }

/* ---------- 14. Rules page ----------------------------------------------- */
.rules-layout { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 1000px) { .rules-layout { grid-template-columns: 260px minmax(0, 1fr); } }

/* Mobile: horizontal sticky chip rail. Desktop (>=1000px): vertical sticky rail. */
.rules-nav {
  position: sticky; top: calc(var(--nav-h) - 1px); z-index: 5;
  background: var(--white);
  margin-inline: calc(var(--gutter) * -1);
  padding: .35rem var(--gutter);
  border-bottom: 1px solid var(--rule-on-light);
}
.rules-nav h2 { display: none; }
.rules-nav ol {
  list-style: none; display: flex; gap: .2rem;
  overflow-x: auto; overscroll-behavior-x: contain;
}
.rules-nav ol li { flex: none; }
.rules-nav a {
  display: block; white-space: nowrap;
  padding: .55rem .7rem; border-bottom: 3px solid transparent;
  font-family: var(--display); font-size: 1.15rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
  color: var(--ink-muted); text-decoration: none;
  transition: color .2s, border-color .2s;
}
.rules-nav a:hover { color: var(--ink); }
.rules-nav a.is-active { color: var(--ink); border-bottom-color: var(--amber); }
.rules-nav a .num { color: var(--amber-ink); margin-right: .45rem; font-size: .95em; }

@media (min-width: 1000px) {
  .rules-nav {
    top: calc(var(--nav-h) + 2rem);
    background: transparent; margin-inline: 0; padding: 0; border-bottom: 0;
  }
  .rules-nav h2 {
    display: block;
    font-size: .78rem; font-family: var(--body); font-weight: 700;
    letter-spacing: .22em; text-transform: uppercase;
    color: var(--ink-muted); margin-bottom: 1rem;
  }
  .rules-nav ol { display: block; overflow: visible; border-left: 2px solid var(--rule-on-light); }
  .rules-nav a {
    white-space: normal;
    padding: .6rem 0 .6rem 1.1rem; margin-left: -2px;
    border-bottom: 0; border-left: 2px solid transparent;
  }
  .rules-nav a.is-active { border-left-color: var(--amber); }
}

.rule-block { padding-block: clamp(2.25rem, 4vw, 3.25rem); border-top: 2px solid var(--rule-on-light); }
.rule-block:first-of-type { border-top: 0; padding-top: 0; }
.rule-block > h2 {
  font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 1.25rem;
  display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap;
}
.rule-block > h2 .num {
  font-size: .55em; color: var(--amber-ink); letter-spacing: .06em;
}
.rule-block h3 {
  font-size: clamp(1.3rem, 2.4vw, 1.65rem); margin: 2rem 0 .85rem;
  letter-spacing: .02em;
}
.rule-block p { color: var(--ink-muted); max-width: 68ch; }

.rule-list { list-style: none; display: grid; gap: .85rem; max-width: 68ch; }
.rule-list li {
  position: relative; padding-left: 2rem; color: var(--ink-muted);
}
.rule-list li::before {
  content: ""; position: absolute; left: 0; top: .68em;
  width: 12px; height: 3px; background: var(--amber);
}
.rule-list--num { counter-reset: rl; }
.rule-list--num li::before {
  content: counter(rl, decimal-leading-zero); counter-increment: rl;
  width: auto; height: auto; top: 0; background: none;
  font-family: var(--display); font-weight: 800; font-size: .95em; color: var(--amber-ink);
}

.callout {
  border-left: 6px solid var(--amber);
  background: var(--amber-tint);
  padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.25rem, 2.5vw, 2rem);
  margin: 1.75rem 0; max-width: 68ch;
}
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--ink); }
.callout .callout-label {
  display: flex; align-items: center; gap: .55rem;
  font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink); margin-bottom: .65rem;
}
.callout .callout-label svg { width: 18px; height: 18px; fill: var(--amber-dark); flex: none; }

.acc { border-top: 1px solid var(--rule-on-light); }
.acc details { border-bottom: 1px solid var(--rule-on-light); }
.acc summary {
  cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; position: relative;
  font-family: var(--display); font-weight: 700; font-size: 1.3rem;
  text-transform: uppercase; letter-spacing: .03em;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: ""; position: absolute; right: .5rem; top: 50%; width: 12px; height: 12px;
  border-right: 3px solid var(--amber-dark); border-bottom: 3px solid var(--amber-dark);
  translate: 0 -60%; rotate: 45deg; transition: rotate .25s var(--ease);
}
.acc details[open] summary::after { rotate: -135deg; translate: 0 -20%; }
.acc .acc-body { padding: 0 0 1.35rem; color: var(--ink-muted); max-width: 68ch; }
.acc .acc-body p:last-child { margin-bottom: 0; }

/* ---------- 15. Venue page ----------------------------------------------- */
.venue-top { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (min-width: 940px) { .venue-top { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } }

.addr-card {
  background: var(--navy); color: var(--white);
  border-top: 5px solid var(--amber);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.addr-card h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 1rem; }
.addr-card address {
  font-style: normal; color: var(--dim); line-height: 1.7; margin-bottom: 1.25rem;
  font-size: 1.05rem;
}
.copy-btn {
  display: inline-flex; align-items: center; gap: .55rem;
  background: transparent; border: 2px solid var(--amber); color: var(--amber);
  font-family: var(--display); font-weight: 700; font-size: 1.05rem;
  text-transform: uppercase; letter-spacing: .06em;
  padding: .65rem 1.1rem .55rem; cursor: pointer; border-radius: 2px;
  transition: background-color .2s, color .2s;
}
.copy-btn:hover { background: var(--amber); color: var(--navy); }
.copy-btn svg { width: 16px; height: 16px; fill: currentColor; }
.copy-btn.is-done { background: var(--amber); color: var(--navy); }

.maplinks { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.maplinks a {
  display: inline-flex; align-items: center; gap: .4rem;
  border: 1px solid var(--navy-line); color: var(--white); text-decoration: none;
  font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: .55rem .85rem; transition: border-color .2s, background-color .2s;
}
.maplinks a:hover { border-color: var(--amber); background: rgba(230,149,43,.12); }

/* map facade — loads the iframe only on click (fast + private) */
.map-shell { position: relative; aspect-ratio: 16 / 10; background: var(--navy-card); border: 1px solid var(--navy-line); }
@media (max-width: 600px) { .map-shell { aspect-ratio: 4 / 3; } }
.map-shell iframe { width: 100%; height: 100%; border: 0; }
.map-facade {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: grid; place-content: center; gap: .9rem; justify-items: center;
  background:
    radial-gradient(70% 90% at 50% 40%, rgba(230,149,43,.16), transparent 65%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.045) 0 1px, transparent 1px 34px),
    var(--navy);
  border: 0; cursor: pointer; color: var(--white); text-align: center; padding: 1.5rem;
}
.map-facade strong {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.3rem, 3vw, 1.8rem); letter-spacing: .03em;
}
.map-facade span { color: var(--dim); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; }
.map-facade .pin { width: 46px; height: 46px; fill: var(--amber); }

.approach-grid { display: grid; gap: 1.5rem; }
@media (min-width: 820px) { .approach-grid { grid-template-columns: repeat(3, 1fr); } }
.approach { border-top: 3px solid var(--amber); padding-top: 1.35rem; }
.approach h3 { font-size: 1.5rem; margin-bottom: .75rem; }
.approach ol { padding-left: 1.15rem; color: var(--dim); display: grid; gap: .4rem; }
.approach .dirlink {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--amber); text-decoration: none; border-bottom: 1px solid transparent;
}
.approach .dirlink:hover { border-bottom-color: var(--amber); }

.info-grid { display: grid; gap: clamp(1.5rem, 3vw, 2.25rem); }
@media (min-width: 760px)  { .info-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .info-grid--4 { grid-template-columns: repeat(4, 1fr); } }

.spec-list { list-style: none; display: grid; gap: .7rem; }
.spec-list li { display: flex; gap: .75rem; align-items: flex-start; color: var(--ink-muted); }
.section--dark .spec-list li { color: var(--dim); }
.spec-list li::before {
  content: ""; flex: none; width: 8px; height: 8px; background: var(--amber); margin-top: .55em;
}

.fieldmap { border: 1px solid var(--navy-line); background: var(--navy-card); padding: clamp(1rem, 2.5vw, 2rem); }
.fieldmap svg { width: 100%; height: auto; }
.fieldmap figcaption {
  margin-top: 1rem; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--dim); display: flex; flex-wrap: wrap; gap: .5rem; align-items: center;
}

/* stacked table → cards */
.stack-table { width: 100%; border-collapse: collapse; }
.stack-table th, .stack-table td { text-align: left; padding: 1rem .85rem; }
.stack-table thead th {
  font-family: var(--body); font-size: .74rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--amber);
  border-bottom: 2px solid var(--amber);
}
.stack-table tbody tr { border-bottom: 1px solid var(--rule-on-dark); }
.stack-table tbody th { font-weight: 600; font-family: var(--body); }
.stack-table a { color: var(--amber); text-decoration: none; border-bottom: 1px solid transparent; font-weight: 600; }
.stack-table a:hover { border-bottom-color: var(--amber); }

@media (max-width: 700px) {
  .stack-table thead { display: none; }
  .stack-table, .stack-table tbody, .stack-table tr, .stack-table th, .stack-table td { display: block; width: 100%; }
  .stack-table tbody tr {
    border: 1px solid var(--navy-line); border-left: 4px solid var(--amber);
    padding: .35rem .25rem; margin-bottom: 1rem;
  }
  .stack-table td, .stack-table th { padding: .55rem .85rem; }
  .stack-table tbody th {
    font-family: var(--display); font-size: 1.35rem; font-weight: 800;
    text-transform: uppercase; padding-bottom: .1rem;
  }
  .stack-table td::before {
    content: attr(data-label);
    display: block; font-size: .68rem; font-weight: 700; letter-spacing: .16em;
    text-transform: uppercase; color: var(--amber); margin-bottom: .1rem;
  }
}

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; }
.chips li {
  border: 1px solid var(--navy-line); padding: .5rem .85rem;
  font-size: .85rem; letter-spacing: .05em; color: var(--dim);
}

/* ---------- 16. Film page ------------------------------------------------ */
.film-hero {
  background: var(--navy-deep); color: var(--white);
  padding-top: calc(var(--nav-h) + clamp(3rem, 7vw, 5.5rem));
  padding-bottom: clamp(3rem, 7vw, 5rem);
  position: relative; overflow: hidden; isolation: isolate;
}
.film-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 100% at 20% 30%, rgba(230,149,43,.20), transparent 60%);
}
.film-hero h1 { font-size: clamp(2.1rem, 4.3vw, 3.75rem); }
@media (min-width: 900px) {
  .film-hero .sec-head { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
}
.film-hero h1 em { font-style: normal; color: var(--amber); }

.reel {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background:
    radial-gradient(70% 90% at 50% 45%, rgba(230,149,43,.18), transparent 68%),
    repeating-linear-gradient(115deg, rgba(255,255,255,.05) 0 1px, transparent 1px 16px),
    var(--navy);
  border: 1px solid var(--navy-line);
  display: grid; place-content: center; justify-items: center; gap: 1rem; text-align: center;
  padding: 2rem;
}
.reel .play {
  width: clamp(64px, 9vw, 92px); aspect-ratio: 1; border-radius: 50%;
  border: 3px solid var(--amber); display: grid; place-items: center;
}
.reel .play svg { width: 34%; fill: var(--amber); margin-left: 8%; }
.reel strong {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.2rem, 3vw, 1.9rem); letter-spacing: .04em;
}
.reel span { color: var(--dim); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; }

/* Starlight demo video — replaces the placeholder reel. The aspect lives on
   the <video> (matching the encoded file) so the figure can size to content
   and its caption stays visible below the frame. */
.reel--video {
  display: block; padding: 0; gap: 0;
  aspect-ratio: auto; background: none; border: 0; overflow: visible;
}
.reel--video video {
  display: block; width: 100%; height: auto;
  aspect-ratio: 1280 / 708;
  object-fit: cover; background: #000;
  border: 1px solid var(--navy-line);
}
.reel--video figcaption {
  width: 100%;
  padding: .85rem 0 0;
  font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--dim); text-align: left;
}

/* Film-page hero title: "Game Film / Powered by [Starlight]". The logo's alt
   text completes the heading, so the accessible name reads in full. */
.film-title > span:first-child { display: block; }
.film-title-by {
  display: flex; align-items: center; flex-wrap: wrap; gap: .4rem .7rem;
  margin-top: .9rem;
}
.film-title-by > span {
  font-family: var(--body); font-size: .7rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--dim);
}
.film-title-by img { width: clamp(105px, 10vw, 150px); height: auto; }

/* "Powered by [Starlight]" lockup */
.starlight-lockup {
  display: inline-flex; align-items: center; gap: .85rem;
  margin-top: 1.6rem; text-decoration: none;
}
.starlight-lockup span {
  font-family: var(--body); font-size: .72rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--dim);
}
.starlight-lockup img { width: 148px; height: auto; }
.starlight-lockup:hover img { opacity: .82; }
.starlight-lockup--ink { margin-top: 0; }
.starlight-lockup--ink img { width: 132px; }

.film-credit img { width: 104px; height: auto; }
.film-credit a { display: inline-flex; align-items: center; }
.film-credit a:hover img { opacity: .82; }

.cta-band {
  background: var(--amber); color: var(--navy);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.cta-band h2 { font-size: clamp(2.25rem, 6vw, 4.25rem); margin-bottom: .75rem; }
.cta-band p { color: rgba(28,37,46,.9); max-width: 54ch; font-size: 1.1rem; }
.cta-band .btn--dark { background: var(--navy); color: var(--white); border-color: var(--navy); }
.cta-band .btn--dark:hover { background: var(--navy-deep); border-color: var(--navy-deep); }

/* ---------- 17. Scroll reveal -------------------------------------------- */
/* Gated on `.js`, set by an inline script in <head>. Without JavaScript the
   starting (hidden) state is never applied, so all content stays visible. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0; transform: translateY(20px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    transition-delay: calc(var(--d, 0) * 80ms);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}

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

/* ---------- 18. Print ---------------------------------------------------- */
@media print {
  .site-nav, .ticker, .site-footer, .map-shell, .hero-watermark { display: none !important; }
  body { color: #000; background: #fff; }
  .section--dark, .section--deep, .page-head { background: #fff !important; color: #000 !important; }
  .rule-block p, .rule-list li { color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}
