/* ============================================================
   NATTY+ canonical site footer — shared by every public page.
   Pages link this via <link rel="stylesheet" href="/foot.css">.
   Relies on each page's :root vars (--bg/--ink/--ink-soft/
   --ink-faint/--line/--line-strong/--amber) — identical across
   the site.
   ============================================================ */
.sitefoot {
  border-top: 0.5px solid var(--line);
  margin-top: 72px;
  padding: 8px 24px 48px;
}
/* Index embeds the footer inside .container, which already pads. */
.container .sitefoot { padding-left: 0; padding-right: 0; padding-bottom: 0; }

/* --- Email signup band --- */
.fs { text-align: center; padding: 40px 0 6px; }
.fs-title { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.fs-title .accent { color: var(--amber); }
.fs-sub { font-size: 13.5px; color: var(--ink-soft); margin-top: 6px; }
/* Explicit row/width/margin values guard against page-level `form`/`input`
   element selectors (e.g. track.html's stacked lookup form) leaking in. */
.fs-form { margin: 18px auto 0; display: flex; flex-direction: row; gap: 8px; max-width: 420px; }
.fs-form input {
  flex: 1; width: auto; min-width: 0; margin: 0;
  font-family: inherit; font-size: 15px; color: var(--ink);
  background: #fbf8f1; border: 0.5px solid var(--line-strong);
  border-radius: 10px; padding: 12px 14px; outline: none;
}
.fs-form input:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(184,115,51,0.08); }
.fs-form button {
  font-family: inherit; font-size: 14px; font-weight: 600; white-space: nowrap;
  width: auto; margin: 0;
  color: #fff; background: var(--ink); border: none; border-radius: 10px;
  padding: 12px 18px; cursor: pointer; transition: opacity .15s;
}
.fs-form button:hover { opacity: .88; }
.fs-form button:disabled { opacity: .5; cursor: default; }
.fs-note { font-size: 11px; color: var(--ink-faint); margin-top: 10px; }
.fs-err { color: #a03c28; font-size: 12.5px; margin-top: 8px; }
.fs-done {
  max-width: 420px; margin: 16px auto 0;
  background: rgba(184,115,51,0.08); border: 0.5px solid rgba(184,115,51,0.3);
  border-radius: 12px; padding: 14px 18px; font-size: 14.5px; color: var(--ink);
}
.fs-done strong { color: var(--amber); letter-spacing: 0.04em; }

/* --- Link columns --- */
.sf-cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  max-width: 620px; margin: 38px auto 0; text-align: left;
}
.sf-col h4 {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 600; margin: 0 0 10px;
}
.sf-col a {
  display: block; font-size: 14px; color: var(--ink-soft);
  text-decoration: none; padding: 4px 0; transition: color .15s;
}
.sf-col a:hover { color: var(--amber); }

/* --- Bottom bar: clickable wordmark + disclaimer + copyright --- */
.sf-bottom {
  text-align: center; margin-top: 40px; padding: 26px 0 0;
  border-top: 0.5px solid var(--line);
}
.sf-url {
  display: inline-block; font-size: 15px; font-weight: 700; letter-spacing: 0.08em;
  color: var(--ink); text-decoration: none; transition: color .2s;
}
.sf-url .plus {
  color: var(--amber); display: inline-block;
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
  animation: plusWiggle 7s ease-in-out infinite;
}
.sf-url:hover, .sf-url:focus-visible { color: var(--amber); }
.sf-url:hover .plus, .sf-url:focus-visible .plus { animation: none; transform: rotate(180deg); }
@keyframes plusWiggle {
  0%, 90%, 100% { transform: rotate(0) scale(1); }
  93% { transform: rotate(22deg) scale(1.18); }
  96.5% { transform: rotate(-8deg) scale(1); }
}
.sf-disc, .sf-copy {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 500;
}
.sf-disc { margin-top: 12px; }
.sf-copy { margin-top: 8px; letter-spacing: 0.12em; }
.sf-disc .sep, .sf-copy .sep { color: var(--amber); margin: 0 8px; }

@media (max-width: 560px) {
  .sf-cols { grid-template-columns: 1fr 1fr; gap: 22px; }
  .fs-form { flex-direction: column; }
  .fs-form button { padding: 13px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .sf-url .plus { animation: none; transition: none; }
  .sf-url:hover .plus { transform: none; }
}

/* ============================================================
   BRAND WORDMARK — NATTY+ display font (HanWangHeiHeavy subset)
   + the "living" amber plus. Loaded on every page via foot.css.
   ============================================================ */
@font-face {
  font-family: 'NattyDisplay';
  src: url('/assets/natty-display.woff') format('woff'),
       url('/assets/natty-display.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}
/* Every NATTY+ wordmark: topbar, age gate, footer. (Tag stays Inter for contrast.) */
.brand, .agegate-brand, .sf-url {
  font-family: 'NattyDisplay', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0.005em;
}
/* Keep sub-labels (e.g. partners "Partner Program") in Inter for contrast. */
.brand small, .brand .brand-tag {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
/* The living "+": soft amber glow, pivots cleanly about its OWN centre. */
.brand .plus, .agegate-brand .plus {
  display: inline-block; line-height: 1;
  transform-origin: 50% 50%;
  transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), text-shadow .3s ease;
  text-shadow: 0 0 5px rgba(200, 132, 61, 0.35);
}
/* Very soft idle "breathing" glow so it feels alive without shouting. */
@keyframes plusGlow {
  0%, 100% { text-shadow: 0 0 4px rgba(200, 132, 61, 0.26); }
  50%      { text-shadow: 0 0 9px rgba(200, 132, 61, 0.55); }
}
.brand .plus { animation: plusGlow 3.8s ease-in-out infinite; }
/* Topbar hover: spin the OTHER way (-90°) about centre + brighten.
   Covers both markups: index/subpages (<button.brand-link><span.brand>)
   and partners (<a.brand> is the link itself). */
.brand-link:hover .brand .plus,
.brand-link:focus-visible .brand .plus,
.brand:hover .plus,
.brand:focus-visible .plus {
  transform: rotate(-90deg);
  text-shadow: 0 0 11px rgba(200, 132, 61, 0.9), 0 0 20px rgba(200, 132, 61, 0.45);
  animation: none;
}
/* Footer wordmark "+" also glows; keep its idle wiggle, align hover spin to -90°. */
.sf-url .plus { text-shadow: 0 0 5px rgba(200, 132, 61, 0.35); }
.sf-url:hover .plus, .sf-url:focus-visible .plus {
  transform: rotate(-90deg);
  text-shadow: 0 0 11px rgba(200, 132, 61, 0.9), 0 0 20px rgba(200, 132, 61, 0.45);
}
@media (prefers-reduced-motion: reduce) {
  .brand .plus, .agegate-brand .plus { animation: none; transition: none; }
  .brand-link:hover .brand .plus { transform: none; }
}
