/* ==========================================================================
   INFINITE BJJ & MMA — stylesheet

   FOR THE DEVELOPER
   -----------------
   Every colour, font and layout value comes from the token block below.
   Change a value there and it updates across all seven pages.
   Do not hard-code hex values anywhere else — if you need a new shade,
   add it as a token.

   The two brand colours are --blue and --gray. Everything else is a
   workhorse (paper, surface, line, ink) so the brand colours don't have to
   do jobs they're bad at. --gray is 2.2:1 on white and must never be text.
   ========================================================================== */

:root {
  /* --- BRAND ------------------------------------------------------------ */
  --blue:       #3D73CD;   /* PRIMARY. Links, buttons, brand mark, accents.  */
  --blue-deep:  #2F5CAB;   /* Hover / pressed state for anything blue.       */
  --blue-wash:  #EDF2FB;   /* Light tint. Panel and section backgrounds.     */
  --gray:       #AEAFB1;   /* SUPPORTING. Borders, dividers, decorative.     */
                           /* NEVER use as text — fails contrast badly.      */

  /* --- WORKHORSE -------------------------------------------------------- */
  --paper:      #FCFCFD;   /* Page background.                               */
  --surface:    #F2F4F7;   /* Cards and alternating bands.                   */
  --line:       #E1E4E8;   /* Hairlines and card borders.                    */
  --ink:        #14181F;   /* Headings and body text. 16.8:1 on paper.       */
  --ink-soft:   #5A6068;   /* Secondary text. 6.4:1 on paper — passes AA.    */

  /* --- BELT RANKS ------------------------------------------------------- */
  /* Used only on bjj.html, where belt colour is the actual information. */
  --belt-white:  #FFFFFF;
  --belt-blue:   #2E5FCB;
  --belt-purple: #6B4FBF;
  --belt-brown:  #7A5230;
  --belt-black:  #14181F;

  /* --- TYPE ------------------------------------------------------------- */
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body:    "Public Sans", system-ui, -apple-system, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, monospace;

  /* --- LAYOUT ----------------------------------------------------------- */
  --wrap: 1180px;                    /* max content width */
  --gut: clamp(20px, 5vw, 48px);     /* page side padding */
  --radius: 3px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* --- reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.022em;
  margin: 0;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.05rem, 1.6vw, 1.3rem); letter-spacing: -.01em; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

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

/* --- shared bits ---------------------------------------------------------- */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

.eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 1.1rem;
}

.lede { font-size: clamp(1.06rem, 1.5vw, 1.24rem); color: var(--ink); max-width: 62ch; }

/* Second line of an h1 — carries the location for local SEO without shouting. */
.h1-loc { display: block; color: var(--blue); }

/* The positioning line. Sits under the h1 so the h1 can stay keyword-led. */
.hook {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.25;
  letter-spacing: -.02em;
  margin: 1.05rem 0 0;
  max-width: 30ch;
}
.page-head .hook { margin-top: 1rem; }
.page-head .lede { margin-top: 1rem; }
.muted { color: var(--ink-soft); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 1.6rem;
  border: 1px solid var(--blue);
  border-radius: var(--radius);
  color: #fff;
  background: var(--blue);
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--blue); border-color: var(--gray); }
.btn--ghost:hover { background: var(--blue-wash); border-color: var(--blue); color: var(--blue-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

/* section rhythm */
.band { padding-block: clamp(60px, 8.5vw, 110px); }
.band--tight { padding-block: clamp(42px, 6vw, 70px); }
.band--surface { background: var(--surface); }
.band--wash { background: var(--blue-wash); }

/* the signature: infinity loop, drawn on entry */
.loop { display: block; overflow: visible; }
.loop path {
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 640;
  stroke-dashoffset: 640;
  animation: draw 2.6s var(--ease) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

/* --- header --------------------------------------------------------------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252,252,253,.9);
  backdrop-filter: blur(9px);
  border-bottom: 1px solid var(--line);
}
.head-in {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: .8rem var(--gut);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand svg { width: 40px; flex: none; }
.site-head .brand img { width: 280px; height: auto; }
.site-foot .brand { justify-content: center; }
.site-foot .brand img { width: 250px; height: auto; }
.brand-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -.02em;
  line-height: 1;
}
.brand-name span {
  display: block;
  font-family: var(--mono);
  font-weight: 400;
  font-size: .55rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: .34rem;
}

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  padding-block: .3rem;
  border-bottom: 1px solid transparent;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--blue); }
.nav .btn { color: #fff; border-bottom: 1px solid var(--blue); padding: .72rem 1.15rem; }
.nav .btn:hover { color: #fff; }

.nav-dropdown { position: relative; }
.nav-dropdown-trigger { display: inline-flex; align-items: center; gap: .32em; }
.nav-dropdown-caret { width: 9px; height: 9px; flex: none; transition: transform .18s var(--ease); }
.nav-dropdown:hover .nav-dropdown-caret,
.nav-dropdown:focus-within .nav-dropdown-caret { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute; top: 100%; left: 0;
  min-width: 210px;
  margin-top: .7rem;
  padding: .45rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 32px rgba(20,24,31,.14);
  display: flex; flex-direction: column; gap: .1rem;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s;
  z-index: 20;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease);
}
.nav-dropdown-menu a {
  padding: .6rem .65rem; border-bottom: none; border-radius: calc(var(--radius) - 4px);
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible { background: var(--surface); color: var(--ink); }

.burger {
  display: none;
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  padding: .55rem .7rem; cursor: pointer;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; }

/* --- hero (dark, matches the coming-soon page's premium first impression) -- */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 88px); background: var(--ink); }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(61,115,205,.28) 0%, transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-in { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(32px, 5vw, 68px); align-items: center; }
.hero h2 { max-width: 17ch; color: var(--paper); font-size: clamp(2rem, 4.4vw, 3.3rem); }
.hero h2 em { font-style: normal; color: var(--blue); }
.hero .eyebrow { color: var(--paper); }
.hero .hook { color: var(--paper); }
.hero .lede { margin-top: 1.2rem; color: rgba(252,252,253,.78); }
.hero .btn-row { margin-top: 2rem; }
.hero .btn--ghost { color: var(--blue); border-color: rgba(255,255,255,.35); }
.hero .btn--ghost:hover { background: rgba(61,115,205,.16); border-color: var(--blue); color: var(--blue); }
.hero-media { position: relative; }
.hero-loop { position: absolute; left: -32px; bottom: -28px; width: 124px; opacity: .55; }

.hero-note {
  grid-column: 1 / -1;
  margin-top: 1.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.8rem;
}
.hero-note div { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(252,252,253,.55); }
.hero-note strong { display: block; font-family: var(--display); font-size: 1.1rem; letter-spacing: -.02em; color: var(--paper); text-transform: none; margin-bottom: .18rem; }

/* Pulsing status pill — same pattern as the coming-soon page's "Website coming soon" badge */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 1.1rem;
  padding: 7px 16px;
  border: 1px solid rgba(61,115,205,.5);
  border-radius: 99px;
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.status-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.7); }
}

/* --- page hero (inner pages) ------------------------------------------------
   Same idea as the homepage hero: text and image both visible on first load.
   Three arrangements, so the pages rhyme instead of repeating:
     .page-hero                 text left,  media right
     .page-hero--flip           media left, text right
     .hero-duo / .hero-offset   two images instead of one
   Text always comes first in the DOM, so mobile reads correctly regardless.
   -------------------------------------------------------------------------- */
.page-hero {
  padding-block: clamp(40px, 5.5vw, 74px);
  background: linear-gradient(180deg, var(--blue-wash), var(--paper) 82%);
  border-bottom: 1px solid var(--line);
}
.page-hero-in {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: clamp(28px, 4.5vw, 58px);
  align-items: center;
}
.page-hero--flip .page-hero-in { grid-template-columns: .96fr 1.04fr; }
.page-hero--flip .page-hero-text { order: 2; }
.page-hero--flip .page-hero-media { order: 1; }

.page-hero h1 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); max-width: 18ch; }
.page-hero .hook { margin-top: .95rem; }
.page-hero .lede { margin-top: 1rem; font-size: clamp(1rem, 1.35vw, 1.14rem); }
.page-hero .btn-row { margin-top: 1.7rem; }
.page-hero-media { position: relative; }

/* two-image arrangements */
.hero-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.hero-duo .frame:first-child { margin-top: 30px; }
.hero-offset { display: grid; grid-template-columns: .85fr 1.15fr; gap: 14px; align-items: end; }

/* legacy — kept so any page still using it doesn't break */
.page-head { padding-block: clamp(52px, 7vw, 92px) clamp(28px, 4vw, 44px); background: linear-gradient(180deg, var(--blue-wash), var(--paper)); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
.page-head .lede { margin-top: 1.3rem; }

/* --- layout helpers --------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 68px); align-items: center; }
.split--text-right { grid-template-columns: .95fr 1.05fr; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.frame { position: relative; border-radius: var(--radius); overflow: hidden; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame::after {
  content: "";
  position: absolute; inset: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  pointer-events: none;
}
.frame--blue::after { border-color: var(--blue); }

/* --- cards ------------------------------------------------------------------ */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  overflow: hidden;
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { border-color: var(--blue); transform: translateY(-4px); box-shadow: 0 12px 30px rgba(20,24,31,.07); }
.card--featured { border: 2px solid var(--blue); background: var(--blue-wash); }
.card--featured:hover { border-color: var(--blue-deep); }
.card--featured-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--blue);
  color: #fff;
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 99px;
}
.card-img { aspect-ratio: 4 / 3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 1.5rem 1.45rem 1.7rem; flex: 1; display: flex; flex-direction: column; gap: .75rem; }
.card-body p { color: var(--ink-soft); font-size: .95rem; }
.card-more {
  margin-top: auto;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
}

/* --- facts ------------------------------------------------------------------ */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fact { background: var(--paper); padding: 1.6rem 1.35rem; }
.fact dt { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.fact dd { margin: .45rem 0 0; font-family: var(--display); font-weight: 800; font-size: 1.45rem; letter-spacing: -.02em; line-height: 1.1; }

/* --- belt progression -------------------------------------------------------- */
.belts { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.belt { background: var(--paper); display: grid; grid-template-columns: 8px 1fr; }
.belt-swatch { background: var(--belt-white); box-shadow: inset -1px 0 0 var(--line); }
.belt:nth-child(2) .belt-swatch { background: var(--belt-blue); }
.belt:nth-child(3) .belt-swatch { background: var(--belt-purple); }
.belt:nth-child(4) .belt-swatch { background: var(--belt-brown); }
.belt:nth-child(5) .belt-swatch { background: var(--belt-black); }
.belt-body { padding: 1.1rem 1.35rem; }
.belt-body strong { font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; display: block; margin-bottom: .3rem; }
.belt-body span { color: var(--ink-soft); font-size: .95rem; }

/* --- schedule table ----------------------------------------------------------- */
.sched { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: .82rem; }
.sched th, .sched td { border: 1px solid var(--line); padding: .8rem .9rem; text-align: left; }
.sched th { color: var(--blue); letter-spacing: .1em; text-transform: uppercase; font-size: .68rem; font-weight: 500; background: var(--blue-wash); }
.sched td { color: var(--ink-soft); }
.sched td strong { color: var(--ink); font-weight: 600; display: block; }
.sched-scroll { overflow-x: auto; }

/* --- form ---------------------------------------------------------------------- */
.field { display: block; margin-bottom: 1.1rem; }
.field span {
  display: block;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: .45rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  padding: .82rem .9rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-wash);
  outline: none;
}
.field textarea { min-height: 130px; resize: vertical; }

/* --- CTA strip ------------------------------------------------------------------ */
.cta { background: var(--blue-wash); border-top: 1px solid var(--line); text-align: center; }
.cta h2 { max-width: 20ch; margin-inline: auto; }
.cta .lede { margin: 1.2rem auto 0; }
.cta .btn-row { justify-content: center; margin-top: 1.9rem; }

/* --- footer ---------------------------------------------------------------------- */
.site-foot {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,.08);
  padding-block: 56px 30px;
  color: rgba(252,252,253,.72);
}
.site-foot::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(61,115,205,.28) 0%, transparent 70%);
  pointer-events: none;
}
.site-foot .wrap { position: relative; z-index: 1; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
.foot-grid h4 { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin: 0 0 1rem; font-weight: 500; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: .55rem; }
.foot-grid a { color: rgba(252,252,253,.72); text-decoration: none; font-size: .92rem; }
.foot-grid a:hover { color: var(--blue); }
.foot-grid p { color: rgba(252,252,253,.6); font-size: .92rem; }
.foot-bottom {
  margin-top: 42px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; color: rgba(252,252,253,.5);
  text-transform: uppercase;
}
.foot-credit { display: inline-flex; align-items: center; gap: .35em; }
.foot-credit .heart-icon { width: 11px; height: 11px; flex: none; color: var(--blue); }
.foot-credit a { color: rgba(252,252,253,.72); text-decoration: none; }
.foot-credit a:hover { color: var(--blue); }

/* --- scroll reveal ----------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

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

/* --- style guide page only ------------------------------------------------------------ */
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.swatch { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.swatch-chip { height: 96px; }
.swatch-meta { padding: .85rem 1rem; font-family: var(--mono); font-size: .72rem; line-height: 1.7; }
.swatch-meta b { display: block; color: var(--ink); font-weight: 500; }
.swatch-meta span { color: var(--ink-soft); }

/* --- responsive ---------------------------------------------------------------------- */
@media (max-width: 900px) {
  .hero-in, .split, .split--text-right, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .page-hero-in, .page-hero--flip .page-hero-in { grid-template-columns: 1fr; }
  .page-hero--flip .page-hero-text { order: 1; }
  .page-hero--flip .page-hero-media { order: 2; }
  .page-hero h1 { max-width: none; }
  .hero-duo .frame:first-child { margin-top: 0; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .hero-note { grid-template-columns: repeat(2, 1fr); gap: 1.4rem 1.8rem; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero-loop { display: none; }

  .burger { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 1rem var(--gut) 1.5rem;
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  }
  .nav.is-open {
    opacity: 1;
    transform: none;
    visibility: visible;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .nav a { padding: .95rem 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 1rem; justify-content: center; border: 1px solid var(--blue); }

  .nav-dropdown-caret { display: none; }
  .nav-dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; margin-top: 0; padding: 0 0 0 1rem;
    background: transparent; gap: 0;
  }
  .nav-dropdown-menu a { padding: .8rem 0; font-size: .68rem; color: var(--ink-soft); }
  .nav-dropdown-menu a:hover { background: none; }
}

@media (max-width: 640px) {
  .site-foot { text-align: center; }
  .foot-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .foot-grid > div:first-child .brand { justify-content: center; }
  .foot-grid > div:first-child p { max-width: 42ch; margin-inline: auto; }
  .foot-social { justify-content: center; }
  .foot-bottom { flex-direction: column; align-items: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .loop path { stroke-dashoffset: 0; }
}
