/* ==========================================================================
   BJJ BAY — shared design system (mobile-first)
   ========================================================================== */
:root {
  --bg: #f3efe6;
  --bg-warm: #efe9dc;
  --ink: #17150f;
  --ink-soft: #45413a;
  --red: #8f2b1f;
  --red-deep: #7a2418;
  --clay: #d98a7e;
  --muted: #6f6a5c;
  --line: rgba(23,21,15,0.12);
  --line-soft: rgba(23,21,15,0.08);
  --card: #fbf9f4;
  --shadow: 0 24px 60px -30px rgba(23,21,15,0.4);
  --wa: #12a755;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Archivo', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.5;
}
::selection { background: var(--red); color: var(--bg); }
img { max-width: 100%; }
a { color: inherit; }

.serif { font-family: 'Instrument Serif', serif; font-weight: 400; }
.mono { font-family: 'Space Mono', monospace; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

.kicker { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); display: inline-flex; align-items: center; gap: 9px; }
.kicker .bar { width: 24px; height: 2px; background: var(--red); display: inline-block; }

/* film grain */
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 200; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

@keyframes tickerMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes livePulse { 0% { transform: scale(1); opacity: 1; } 70% { transform: scale(2.6); opacity: 0; } 100% { opacity: 0; } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ── Header / nav ─────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(243,239,230,0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 20px; max-width: 1180px; margin: 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand svg, .brand img { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 8px; display: block; transition: transform .25s ease; }
.brand:hover img { transform: scale(1.06) rotate(-2deg); }
.brand-word { font-family: 'Space Mono', monospace; font-weight: 700; font-size: 17px; letter-spacing: .04em; }
.brand-word b { color: var(--red); }
.nav-links { display: none; }
.nav-right { display: flex; align-items: center; gap: 10px; }

.lang-toggle { display: flex; padding: 3px; background: rgba(23,21,15,.07); border-radius: 999px; }
.lang-toggle button { border: none; background: transparent; cursor: pointer; font-family: 'Space Mono', monospace; font-size: 10px; font-weight: 700; letter-spacing: .08em; padding: 6px 11px; border-radius: 999px; color: var(--muted); transition: all .2s; }
.lang-toggle button.active { background: var(--ink); color: var(--bg); }

.nav-menu-btn { display: inline-flex; flex-direction: column; gap: 4px; justify-content: center; align-items: center; width: 40px; height: 38px; border: 1px solid var(--line); border-radius: 10px; background: transparent; cursor: pointer; }
.nav-menu-btn span { width: 17px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav.open .nav-menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.open .nav-menu-btn span:nth-child(2) { opacity: 0; }
.nav.open .nav-menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-drawer {
  max-height: 0; overflow: hidden; background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: max-height .35s ease, border-color .35s ease;
}
.nav.open .nav-drawer { max-height: 480px; border-bottom-color: var(--line); }
.nav-drawer a { display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; text-decoration: none; color: var(--ink); font-size: 17px; border-top: 1px solid var(--line-soft); }
.nav-drawer a:first-child { border-top: none; }
.nav-drawer a .n { font-family: 'Space Mono', monospace; font-size: 11px; color: var(--red); }
.nav-drawer a[aria-current="page"] { color: var(--red); }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: 'Archivo', sans-serif; font-weight: 600; font-size: 15px;
  padding: 15px 24px; border-radius: 999px; text-decoration: none; cursor: pointer; border: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-dark { background: var(--ink); color: var(--bg); box-shadow: 0 12px 30px -14px rgba(23,21,15,.7); }
.btn-dark:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }
.btn-red { background: var(--red); color: var(--bg); box-shadow: 0 12px 30px -14px rgba(143,43,31,.8); }
.btn-red:hover { transform: translateY(-2px); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

.wa-btn { display: inline-flex; align-items: center; justify-content: center; gap: 11px; background: linear-gradient(135deg,#2ed36f 0%,#12a755 55%,#0d8f52 100%); color: #fff !important; font-weight: 700; font-size: 15px; padding: 16px 26px; border-radius: 999px; text-decoration: none; position: relative; overflow: hidden; box-shadow: 0 12px 32px rgba(16,150,80,.35), inset 0 1px 0 rgba(255,255,255,.3); transition: transform .22s, box-shadow .22s; }
.wa-btn svg { width: 22px; height: 22px; fill: #fff; flex: 0 0 auto; }
.wa-btn::after { content: ''; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; background: linear-gradient(100deg,transparent,rgba(255,255,255,.35),transparent); transform: skewX(-20deg); transition: left .5s; }
.wa-btn:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(16,150,80,.45), inset 0 1px 0 rgba(255,255,255,.3); }
.wa-btn:hover::after { left: 130%; }

/* ── Page hero (interior pages) ───────────────────────────────────────── */
.phero { padding: 44px 0 30px; position: relative; }
.phero h1 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: clamp(44px, 13vw, 92px); line-height: .95; letter-spacing: -.01em; margin: 16px 0 0; }
.phero h1 em { font-style: italic; color: var(--red); }
.phero .lede { font-size: 17px; line-height: 1.55; color: var(--ink-soft); max-width: 560px; margin: 18px 0 0; }
.crumb { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.crumb a { color: var(--muted); text-decoration: none; border-bottom: 1px dotted rgba(23,21,15,.3); }
.crumb a:hover { color: var(--red); }

/* ── Cards grid ───────────────────────────────────────────────────────── */
.grid { display: grid; grid-template-columns: 1fr; gap: 14px; }

/* section explore cards (home) */
.xcard {
  position: relative; display: block; text-decoration: none; color: var(--ink);
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 24px 22px; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.xcard::before { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 120% at 100% 0, rgba(143,43,31,.09), transparent 55%); opacity: 0; transition: opacity .3s; }
.xcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(143,43,31,.4); }
.xcard:hover::before { opacity: 1; }
.xcard .xnum { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: .14em; color: var(--red); }
.xcard .xicon { font-size: 30px; line-height: 1; margin-bottom: 14px; display: block; }
.xcard h3 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 27px; margin: 8px 0 6px; letter-spacing: -.01em; }
.xcard p { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 0; }
.xcard .go { margin-top: 16px; display: inline-flex; align-items: center; gap: 7px; font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.xcard .go .arrow { transition: transform .25s; }
.xcard:hover .go .arrow { transform: translateX(4px); }
.xcard .tag { position: absolute; top: 16px; right: 16px; font-family: 'Space Mono', monospace; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; background: var(--red); color: var(--bg); padding: 5px 9px; border-radius: 999px; }

/* listing cards (clubs, gis, comps) */
.lcard { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; text-decoration: none; color: var(--ink); display: block; transition: transform .25s, box-shadow .25s, border-color .25s; }
.lcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(143,43,31,.35); }
.lcard .lhead { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.lcard h3 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 23px; margin: 0 0 4px; line-height: 1.1; }
.lcard .city { font-family: 'Space Mono', monospace; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.lcard p { font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); margin: 8px 0 0; }
.pills { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.pill { font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: .06em; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); }
.pill.red { border-color: rgba(143,43,31,.4); color: var(--red); }
.lcard .visit { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-family: 'Space Mono', monospace; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.lcard .visit .arrow { transition: transform .2s; }
.lcard:hover .visit .arrow { transform: translate(2px,-2px); }

.section { padding: 42px 0; }
.section-head { margin-bottom: 24px; }
.section-head h2 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: clamp(30px, 8vw, 44px); line-height: 1.02; margin: 12px 0 0; letter-spacing: -.01em; }
.section-head p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); max-width: 560px; margin: 12px 0 0; }

/* ticker */
.ticker { background: var(--red); color: var(--bg); overflow: hidden; padding: 12px 0; }
.ticker-track { display: inline-flex; white-space: nowrap; animation: tickerMove 30s linear infinite; will-change: transform; }
.ticker-track span { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; padding: 0 22px; position: relative; }
.ticker-track span::after { content: '✦'; position: absolute; right: -6px; color: var(--clay); }

/* note / callout */
.note { background: rgba(143,43,31,.07); border-radius: 12px; padding: 16px 18px; font-family: 'Space Mono', monospace; font-size: 12px; line-height: 1.55; color: var(--red-deep); }

/* featured card (seminars) */
.feat { display: block; background: var(--ink); color: var(--bg); border-radius: 20px; overflow: hidden; position: relative; }
.feat-img { width: 100%; height: 240px; object-fit: cover; object-position: center 22%; display: block; }
.feat-body { padding: 24px 22px 28px; }
.feat-body .kicker { color: var(--clay); }
.feat-body h2 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 38px; line-height: .98; margin: 12px 0 8px; }
.feat-body h2 em { font-style: italic; color: var(--clay); }
.feat-body p { color: #b5b0a5; font-size: 15px; line-height: 1.55; margin: 0 0 20px; }
.feat-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.feat-meta span { font-family: 'Space Mono', monospace; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #d8d3c8; border: 1px solid rgba(243,239,230,.2); padding: 6px 11px; border-radius: 999px; }
@media (min-width: 760px) {
  .feat { display: grid; grid-template-columns: 1.05fr 1fr; align-items: stretch; }
  .feat-img { height: 100%; min-height: 340px; }
  .feat-body { padding: 44px 40px; align-self: center; }
  .feat-body h2 { font-size: 52px; }
}
.soon { opacity: .78; }
.soon .lhead h3 { color: var(--ink); }
.badge-soon { font-family: 'Space Mono', monospace; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; background: rgba(23,21,15,.08); color: var(--muted); padding: 5px 9px; border-radius: 999px; }

/* equal-weight seminar cards (home + seminars) */
.sems2 { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 760px) { .sems2 { grid-template-columns: 1fr 1fr; } }
.rsem { display: block; text-decoration: none; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: transform .28s, box-shadow .28s, border-color .28s; }
.rsem:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(143,43,31,.4); }
.rsem-top { position: relative; overflow: hidden; background: #0c0b09; padding: 30px 20px 22px; display: flex; flex-direction: column; align-items: center; }
.rsem-top::after { content: ''; position: absolute; inset: 0; z-index: 0; background: radial-gradient(78% 80% at 50% 22%, rgba(230,126,45,.22), transparent 68%); }
.rsem-top img { order: 1; position: relative; z-index: 1; width: 124px; height: 146px; border-radius: 15px; object-fit: cover; object-position: center 14%; box-shadow: 0 0 0 1px rgba(243,239,230,.16), 0 20px 38px -20px #000; }
.rsem-badge { order: 0; position: relative; z-index: 2; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 18px; font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; background: #e67e2d; color: #17150f; padding: 7px 11px; border-radius: 999px; }
.rsem-date { order: 2; position: relative; z-index: 1; margin-top: 15px; font-family: 'Space Mono', monospace; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #f3efe6; }
.rsem-body { padding: 22px; }
.rsem-venue { font-family: 'Space Mono', monospace; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rsem-body h3 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 30px; line-height: 1; margin: 6px 0 0; }
.rsem-body p { font-size: 14px; line-height: 1.55; color: var(--ink-soft); margin: 12px 0 0; }
.rsem-meta { display: inline-block; margin-top: 14px; font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--red); border: 1px solid rgba(143,43,31,.3); padding: 5px 10px; border-radius: 999px; }
.rsem .go { margin-top: 16px; display: flex; align-items: center; gap: 7px; font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.rsem .go .arrow { transition: transform .25s; }
.rsem:hover .go .arrow { transform: translateX(4px); }

/* facts band */
.facts { display: grid; grid-template-columns: 1fr; gap: 2px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { background: var(--bg); padding: 24px 0; }
.fact .fl { font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.fact .fv { font-family: 'Instrument Serif', serif; font-size: 24px; line-height: 1.05; }
.fact .fv a { color: inherit; text-decoration: none; border-bottom: 1px dotted rgba(23,21,15,.3); }
.fact .fv a:hover { color: var(--red); }
.fact .fs { font-size: 13px; color: var(--ink-soft); margin-top: 8px; }
@media (min-width: 620px) { .facts { grid-template-columns: repeat(3,1fr); } .fact { padding: 30px 26px; } .fact:not(:last-child) { border-right: 1px solid var(--line); } }

/* about / highlight cards */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.about-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.about-card .an { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: .12em; color: var(--red); }
.about-card h3 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 23px; margin: 8px 0 8px; }
.about-card p { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); margin: 0; }
@media (min-width: 760px) { .about-grid { grid-template-columns: repeat(3,1fr); } }

/* ── Find your mat — finder ───────────────────────────────────────────── */
.finder { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.finder-controls { padding: 18px 16px 6px; display: flex; flex-direction: column; gap: 16px; }
.fgroup { }
.flabel { font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; }
.fchips { display: flex; flex-wrap: wrap; gap: 7px; }
.fchips[data-scroll] { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; margin-bottom: -4px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.fchips[data-scroll]::-webkit-scrollbar { display: none; }
.f-chip { flex: 0 0 auto; border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 9px 14px; font-family: 'Space Mono', monospace; font-size: 11.5px; letter-spacing: .04em; color: var(--ink-soft); cursor: pointer; transition: all .18s ease; white-space: nowrap; }
.f-chip:hover { border-color: var(--red); color: var(--red); }
.f-chip.on { background: var(--red); border-color: var(--red); color: var(--bg); box-shadow: 0 8px 18px -10px rgba(143,43,31,.9); }
.finder-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--line); margin-top: 12px; background: var(--bg-warm); }
.finder-count { font-size: 14px; color: var(--ink-soft); }
.finder-count b { font-family: 'Instrument Serif', serif; font-size: 26px; color: var(--red); margin-right: 3px; }
.finder-reset { border: none; background: none; cursor: pointer; font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.finder-reset:hover { color: var(--red); }
.finder-list { display: grid; gap: 10px; padding: 16px 16px 6px; }
.fclub { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-radius: 14px; padding: 14px; transition: transform .2s, box-shadow .2s, border-color .2s; background: var(--bg); }
.fclub:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -22px rgba(23,21,15,.5); border-color: rgba(143,43,31,.4); }
.fclub-logo { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.fclub-main { flex: 1 1 auto; min-width: 0; }
.fclub-main h4 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 21px; margin: 0 0 2px; }
.fclub-city { font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fclub-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.f-pill { font-family: 'Space Mono', monospace; font-size: 9.5px; letter-spacing: .04em; padding: 3px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); }
.fclub-go { flex: 0 0 auto; color: var(--red); font-size: 18px; transition: transform .2s; }
.fclub:hover .fclub-go { transform: translateX(3px); }
.finder-empty { text-align: center; color: var(--muted); font-family: 'Space Mono', monospace; font-size: 13px; padding: 26px 12px; }
.finder-foot { padding: 4px 18px 18px; font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: .04em; color: var(--muted); }
@media (min-width: 760px) {
  .finder-controls { padding: 24px 24px 8px; }
  .finder-list { grid-template-columns: 1fr 1fr; padding: 18px 24px 8px; }
  .finder-bar { padding: 16px 24px; }
  .finder-foot { padding: 6px 24px 22px; }
}

/* event disclaimer */
.disclaimer { max-width: 1180px; margin: 0 auto; padding: 6px 20px 40px; font-family: 'Space Mono', monospace; font-size: 10.5px; line-height: 1.55; letter-spacing: .03em; color: var(--muted); }
@media (min-width: 760px) { .disclaimer { padding-left: 32px; padding-right: 32px; } }

/* CTA band */
.cta-band { background: var(--ink); color: var(--bg); border-radius: 20px; padding: 40px 26px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(90% 120% at 50% 0, rgba(217,138,126,.16), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: clamp(28px,7vw,42px); line-height: 1.05; margin: 12px 0 8px; }
.cta-band h2 em { font-style: italic; color: var(--clay); }
.cta-band p { color: #b5b0a5; font-size: 15px; margin: 0 auto 22px; max-width: 440px; }
.cta-band .kicker { color: var(--clay); }

/* ── Shared footer ────────────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: #b5b0a5; margin-top: 20px; }
.footer-top { display: flex; flex-direction: column; gap: 26px; padding: 44px 20px 30px; max-width: 1180px; margin: 0 auto; }
.footer-brand { display: flex; align-items: center; gap: 11px; }
.footer-brand svg, .footer-brand img { width: 38px; height: 38px; border-radius: 9px; display: block; }
.footer-brand .fb-word { font-family: 'Space Mono', monospace; font-weight: 700; font-size: 18px; letter-spacing: .04em; color: var(--bg); }
.footer-brand .fb-word b { color: var(--clay); }
.footer-tag { font-size: 13px; color: #8a8578; margin-top: 3px; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.footer-cols h4 { font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #8a8578; margin: 0 0 12px; font-weight: 700; }
.footer-cols a { display: block; text-decoration: none; color: #cfcabf; font-size: 14px; padding: 5px 0; transition: color .2s; }
.footer-cols a:hover { color: var(--bg); }
.footer-bottom { border-top: 1px solid rgba(243,239,230,.1); }
.footer-bottom-inner { max-width: 1180px; margin: 0 auto; padding: 22px 20px 30px; display: flex; flex-direction: column; gap: 16px; }
.footer-legal { font-size: 11px; color: #6f6a5c; line-height: 1.6; }
.footer-legal a { color: #8a8578; }
.powered { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; padding: 10px 14px; border: 1px solid rgba(243,239,230,.14); border-radius: 12px; background: rgba(243,239,230,.03); transition: border-color .25s, background .25s, transform .25s; align-self: flex-start; }
.powered:hover { border-color: rgba(217,138,126,.5); background: rgba(217,138,126,.06); transform: translateY(-2px); }
.powered svg { width: 26px; height: 26px; flex: 0 0 26px; }
.powered .pw-text { display: flex; flex-direction: column; line-height: 1.25; }
.powered .pw-lead { font-family: 'Space Mono', monospace; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: #6f6a5c; }
.powered .pw-name { font-size: 13px; color: #e8e3d8; font-weight: 600; }
.powered .pw-mail { font-family: 'Space Mono', monospace; font-size: 10px; color: var(--clay); }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
  * { scroll-behavior: auto; }
}

/* ── Tablet / desktop enhancements ────────────────────────────────────── */
@media (min-width: 760px) {
  .wrap { padding-left: 32px; padding-right: 32px; }
  .nav-inner { padding: 15px 32px; }
  .grid.cols-2 { grid-template-columns: 1fr 1fr; gap: 18px; }
  .grid.cols-3 { grid-template-columns: repeat(3,1fr); gap: 18px; }
  .phero h1 { margin-top: 20px; }
  .phero .lede { font-size: 19px; }
  .section { padding: 60px 0; }
  .footer-top { flex-direction: row; justify-content: space-between; padding: 56px 32px 34px; }
  .footer-cols { grid-template-columns: repeat(3,minmax(120px,1fr)); gap: 40px; }
  .footer-bottom-inner { flex-direction: row; align-items: center; justify-content: space-between; padding: 24px 32px 34px; }
  .cta-band { padding: 64px 40px; }
}
.nav-contact { display: none; text-decoration: none; font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); border: 1px solid var(--line); padding: 9px 14px; border-radius: 999px; transition: border-color .2s, color .2s; }
.nav-contact:hover { border-color: var(--red); color: var(--red); }

/* horizontal nav only when there's real room for all 7 links */
@media (min-width: 940px) {
  .nav-links { display: flex; align-items: center; gap: 2px; }
  .nav-links a { text-decoration: none; color: var(--ink-soft); font-size: 13.5px; padding: 8px 10px; border-radius: 999px; white-space: nowrap; transition: background .2s, color .2s; }
  .nav-links a:hover { background: rgba(23,21,15,.06); color: var(--ink); }
  .nav-links a[aria-current="page"] { color: var(--red); }
  .nav-menu-btn { display: none; }
  .nav-contact { display: inline-flex; }
}
