/* =========================================================
   SEAFOOD MAFIA — chef-facing site (2026-09-13 repositioning)
   ---------------------------------------------------------
   Official Wovvo brand package (James, 2026-09-13: "keep the
   same brand package as before"): Deep Navy ground, White ink,
   Mafia Blue secondary, Neon Yellow accent used sparingly.
   Archivo Black display · Inter body · Corleone on the logo
   and the hero headline only. Offset-shadow idiom from
   styles.css carried over. Legacy pages (links, hookup,
   downloads, privacy) still load styles.css — same tokens.
   ========================================================= */

@font-face {
  font-family: "Corleone";
  src: url("/fonts/corleone-regular.otf") format("opentype");
  font-display: swap;
}

:root {
  --ink: #06122c;           /* Deep Navy (official primary) — the ground */
  --ink-2: #0b1d3f;         /* raised panels (navy tint) */
  --ink-3: #10254d;         /* inputs / deeper panels */
  --paper: #ffffff;         /* White (official) */
  --yellow: #ecff01;        /* Neon Yellow (official accent) — sparingly */
  --blue: #3450c7;          /* Mafia Blue (official secondary) */
  --blue-light: #7d92ec;    /* Mafia Blue tint for small text on navy */
  --gray: #93a0b8;
  --text-2: #c9d2f0;        /* body copy on navy */
  --hairline: rgba(255, 255, 255, 0.14);
  --hairline-strong: rgba(255, 255, 255, 0.3);
  --good: #2e8b4f;
  --loss: #c4472a;

  --display: "Archivo Black", "Arial Black", Impact, sans-serif;
  --corleone: "Corleone", "Archivo Black", "Arial Black", Impact, sans-serif;
  --body: "Inter", "Helvetica Now Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}
a { color: var(--yellow); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0; text-wrap: balance; }
p { margin: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.eyebrow { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow); font-weight: 800; }
.kicker { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-light); font-weight: 800; }

/* ---------- top bar ---------- */
.top { border-bottom: 1px solid var(--hairline); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.top .logo img { height: 34px; width: auto; }
.top nav { display: flex; gap: 22px; font-size: 14px; font-weight: 600; }
.top nav a { color: var(--text-2); }
.top nav a:hover { color: var(--paper); text-decoration: none; }
.top nav a.hot { color: var(--yellow); }
@media (max-width: 560px) { .top nav { gap: 14px; font-size: 13px; } .top nav a.hide-sm { display: none; } }

/* ---------- masthead ---------- */
.mast { padding: 64px 0 56px; border-bottom: 1px solid var(--hairline); }
.mast h1 {
  font-family: var(--corleone);
  font-size: clamp(44px, 7.2vw, 88px);
  line-height: 1.02;
  max-width: 14ch;
  margin-top: 16px;
  text-shadow: 4px 4px 0 var(--blue);
}
.mast .sub { margin-top: 24px; max-width: 58ch; font-size: 18px; color: var(--text-2); }
.mast .ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.mast .where { margin-top: 28px; font-size: 13px; color: var(--blue-light); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }

.btn {
  display: inline-block; font-weight: 800; padding: 14px 22px; border-radius: 4px; font-size: 15px;
  letter-spacing: 0.01em; border: 2px solid transparent;
  transition: transform 0.1s, box-shadow 0.15s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(2px); }
.btn.primary { background: var(--yellow); color: var(--ink); box-shadow: 0 4px 0 var(--blue); }
.btn.primary:hover { box-shadow: 0 6px 0 var(--blue); }
.btn.primary:active { box-shadow: 0 2px 0 var(--blue); }
.btn.ghost { border-color: var(--paper); color: var(--paper); background: transparent; box-shadow: 0 4px 0 var(--blue); }
.btn.ghost:hover { box-shadow: 0 6px 0 var(--blue); }
.btn.ghost:active { box-shadow: 0 2px 0 var(--blue); }

/* ---------- sections ---------- */
section { padding: 56px 0; border-bottom: 1px solid var(--hairline); }
section:last-of-type { border-bottom: 0; }
.sec-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.sec-head h2 { font-size: clamp(26px, 3.8vw, 40px); text-transform: uppercase; }
.sec-head .lede { color: var(--text-2); max-width: 62ch; font-size: 17px; }

/* three-up problem / patterns */
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--hairline); }
.cols > div { padding: 22px 22px 22px 0; border-right: 1px solid var(--hairline); }
.cols > div:last-child { border-right: 0; }
.cols > div + div { padding-left: 22px; }
.cols h3 { font-size: 18px; text-transform: uppercase; margin-bottom: 10px; line-height: 1.2; }
.cols p { color: var(--text-2); font-size: 15px; }
@media (max-width: 760px) {
  .cols { grid-template-columns: 1fr; }
  .cols > div { border-right: 0; border-bottom: 1px solid var(--hairline); padding: 20px 0; }
  .cols > div + div { padding-left: 0; }
  .cols > div:last-child { border-bottom: 0; }
}
.attrib { margin-top: 18px; font-size: 13px; color: var(--gray); max-width: 70ch; }

/* ---------- the ledger (breakdown) ---------- */
.ledger-wrap { overflow-x: auto; padding-bottom: 10px; }
.ledger {
  width: 100%; border-collapse: collapse; background: var(--paper); color: var(--ink);
  font-size: 15px; min-width: 620px; box-shadow: 8px 8px 0 rgba(52, 80, 199, 0.45);
}
.ledger th, .ledger td { padding: 12px 14px; text-align: right; border-bottom: 1px solid #dce1ee; vertical-align: top; }
.ledger th:first-child, .ledger td:first-child { text-align: left; color: #5b6b8c; font-weight: 500; }
.ledger thead th { font-family: var(--display); font-weight: 400; font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink); border-bottom: 2px solid var(--blue); }
.ledger thead th:first-child { color: #5b6b8c; font-family: var(--body); font-size: 11px; letter-spacing: 0.12em; font-weight: 800; padding-top: 18px; }
.ledger th small, .ledger td small { display: block; font-size: 12px; color: #5b6b8c; font-weight: 400; margin-top: 2px; }
.ledger thead th small { font-family: var(--body); text-transform: none; letter-spacing: 0; margin-top: 4px; }
.ledger tr.net td { font-family: var(--display); font-size: 26px; padding-top: 14px; padding-bottom: 14px; border-bottom: 0; }
.ledger tr.net td:first-child { font-family: var(--body); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 800; padding-top: 22px; }
.ledger td.neg { color: var(--loss); }
.ledger td.pos { color: var(--good); }
.ledger-note { margin-top: 22px; color: var(--text-2); max-width: 66ch; font-size: 15px; }
.ledger-note strong { color: var(--paper); }
.ledger-more { margin-top: 14px; font-size: 14px; }

/* ---------- cards (tool / room) ---------- */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; } }
.card { background: var(--ink-2); border: 1px solid var(--hairline); padding: 26px; display: flex; flex-direction: column; gap: 12px; box-shadow: 8px 8px 0 rgba(52, 80, 199, 0.45); }
.card h3 { font-size: 24px; text-transform: uppercase; }
.card p { color: var(--text-2); font-size: 15px; }
.card .rules { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 13px; color: var(--text-2); }
.card .rules li::before { content: "▸ "; color: var(--yellow); }
.card .cta { margin-top: auto; padding-top: 12px; }

/* ---------- who ---------- */
.who { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 760px) { .who { grid-template-columns: 1fr; } }
.who p { color: var(--text-2); font-size: 16px; }
.who p + p { margin-top: 12px; }
.who .name { font-family: var(--display); font-size: 24px; text-transform: uppercase; color: var(--paper); margin-bottom: 12px; }
.who .portrait { margin: 0; }
.who .portrait img { width: 100%; height: auto; display: block; border: 2px solid var(--paper); box-shadow: 8px 8px 0 var(--blue); }
.who .portrait figcaption { margin-top: 16px; font-size: 13px; color: var(--blue-light); line-height: 1.4; }

/* ---------- tableside close ---------- */
.close { background: var(--ink-2); }
.close .wrap { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.close h2 { font-size: clamp(28px, 4.4vw, 48px); text-transform: uppercase; }
.close p { color: var(--text-2); max-width: 58ch; font-size: 17px; }
.close .btn { margin-top: 10px; }
.close .fine { font-size: 13px; color: var(--gray); margin-top: 6px; }

/* ---------- footer ---------- */
footer { padding: 30px 0 44px; border-top: 1px solid var(--hairline); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; font-size: 13px; color: var(--gray); }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer nav a { color: var(--text-2); }
footer .fine { width: 100%; font-size: 12px; color: var(--gray); }

@media (prefers-reduced-motion: reduce) {
  .btn, .btn:hover, .btn:active { transition: none; transform: none; }
}


/* =========================================================
   AMBIENT BACKGROUNDS — lifted verbatim from styles.css
   (21st.dev-inspired, retinted to the brand palette in Aug).
   Same three roles as the old homepage: dots on the hero,
   aurora behind Meet the Boss, burst on the final CTA.
   All three are reduced-motion guarded.
   ========================================================= */

/* ============ HALFTONE DOT FIELD ============ */
.dots-host { position: relative; isolation: isolate; overflow: hidden; }
.dots-host > * { position: relative; z-index: 1; }
.dots-host::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(52, 80, 199, 0.55) 1.4px, transparent 2.2px),
    radial-gradient(circle, rgba(125, 146, 236, 0.40) 1.2px, transparent 2px),
    radial-gradient(circle, rgba(52, 80, 199, 0.30) 1.6px, transparent 2.4px),
    radial-gradient(circle, rgba(236, 255, 1, 0.16) 1.1px, transparent 1.9px),
    radial-gradient(circle, rgba(125, 146, 236, 0.22) 1.3px, transparent 2.1px);
  background-size: 26px 26px, 34px 34px, 44px 44px, 56px 56px, 68px 68px;
  background-position: 0 0, 7px 11px, 13px 5px, 21px 17px, 3px 23px;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, transparent 30%, black 72%);
  mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, transparent 30%, black 72%);
  animation: dot-drift 90s linear infinite alternate;
}
@keyframes dot-drift {
  to {
    background-position:
      -420px 260px,
      310px -180px,
      -240px -340px,
      180px 420px,
      -90px 150px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dots-host::before { animation: none; }
}

/* ============ AURORA (Meet the Boss backdrop) ============ */
.aurora-host { position: relative; isolation: isolate; overflow: hidden; }
.aurora-host > :not(.aurora) { position: relative; z-index: 1; }
.aurora {
  position: absolute;
  inset: -15%;
  z-index: 0;
  pointer-events: none;
}
.aurora i {
  position: absolute;
  inset: 0;
  display: block;
}
.aurora i:nth-child(1) {
  background: radial-gradient(ellipse 800px 600px at 50% 20%, rgba(52, 80, 199, 0.30) 0%, transparent 50%);
  animation: aurora-1 16s ease-in-out infinite alternate;
}
.aurora i:nth-child(2) {
  background: radial-gradient(ellipse 600px 400px at 80% 30%, rgba(125, 146, 236, 0.26) 0%, transparent 50%);
  animation: aurora-2 12s ease-in-out infinite alternate-reverse;
}
.aurora i:nth-child(3) {
  background: radial-gradient(ellipse 700px 500px at 20% 60%, rgba(236, 255, 1, 0.09) 0%, transparent 50%);
  animation: aurora-3 20s ease-in-out infinite alternate;
}
.aurora i:nth-child(4) {
  background: radial-gradient(ellipse 900px 300px at 60% 80%, rgba(52, 80, 199, 0.18) 0%, transparent 50%);
  animation: aurora-4 14s ease-in-out infinite alternate-reverse;
}
@keyframes aurora-1 {
  0%   { transform: translate(-60px, -30px) rotate(0deg) scale(1); }
  50%  { transform: translate(30px, 20px) rotate(180deg) scale(1.1); }
  100% { transform: translate(60px, -20px) rotate(360deg) scale(0.9); }
}
@keyframes aurora-2 {
  0%   { transform: translate(50px, 25px) rotate(45deg) scale(0.85); }
  50%  { transform: translate(-20px, -15px) rotate(225deg) scale(1.15); }
  100% { transform: translate(-50px, 40px) rotate(405deg) scale(0.9); }
}
@keyframes aurora-3 {
  0%   { transform: translate(-35px, 15px) rotate(90deg) scale(1.1); }
  50%  { transform: translate(45px, -25px) rotate(270deg) scale(0.85); }
  100% { transform: translate(-15px, 35px) rotate(450deg) scale(1); }
}
@keyframes aurora-4 {
  0%   { transform: translate(20px, -15px) rotate(135deg) scale(0.9); }
  50%  { transform: translate(-40px, 10px) rotate(315deg) scale(1.1); }
  100% { transform: translate(25px, -40px) rotate(495deg) scale(0.85); }
}
@media (prefers-reduced-motion: reduce) {
  .aurora i { animation: none; }
}

/* ============ RADIAL BURST (final CTA — local test) ============ */
.burst-host { position: relative; isolation: isolate; overflow: hidden; }
.burst-host > * { position: relative; z-index: 1; }
.burst-host::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 42%;
  width: 240vmax;
  height: 240vmax;
  margin: -120vmax 0 0 -120vmax;
  z-index: 0;
  pointer-events: none;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(236, 255, 1, 0.10) 0deg 0.5deg,
    transparent 0.5deg 4deg,
    rgba(125, 146, 236, 0.07) 4deg 4.4deg,
    transparent 4.4deg 8deg
  );
  -webkit-mask-image: radial-gradient(circle at center, black 0%, rgba(0,0,0,0.5) 18%, transparent 42%);
  mask-image: radial-gradient(circle at center, black 0%, rgba(0,0,0,0.5) 18%, transparent 42%);
  animation: burst-spin 180s linear infinite;
}
.burst-host::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 42%;
  width: 560px;
  height: 560px;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle, rgba(236, 255, 1, 0.10) 0%, rgba(52, 80, 199, 0.12) 35%, transparent 70%);
}
@keyframes burst-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .burst-host::before { animation: none; }
}
