/* jefeocsa hub — mobile-first */
:root {
  --bg: #0c0a0b;
  --bg-elev: #161113;
  --bg-card: #1a1418;
  --cream: #f7f0e6;
  --muted: #c9b8a8;
  --gold: #e2c27a;
  --gold-deep: #b8923a;
  --pink: #e23a7a;
  --line: rgba(226, 194, 122, 0.28);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Fraunces", "Times New Roman", serif;
  --tap: 52px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--cream);
  min-height: 100dvh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }
/* Author display rules must not override the hidden attribute. */
[hidden] { display: none !important; }
a { color: inherit; }

.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;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -40px;
  background: var(--gold);
  color: #1a1208;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  z-index: 100;
  font-weight: 700;
}
.skip-link:focus { top: 1rem; }

/* Age gate */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background:
    linear-gradient(180deg, rgba(12,10,11,0.82), rgba(12,10,11,0.94)),
    #0c0a0b;
  backdrop-filter: blur(10px);
}
.age-card {
  width: min(26rem, 100%);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.75rem 1.4rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.age-kicker {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--gold);
  margin: 0 0 0.6rem;
  font-weight: 700;
}
.age-card h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.8rem;
  margin: 0 0 0.7rem;
}
.age-card p#age-copy {
  color: var(--muted);
  margin: 0 0 1.4rem;
}
.age-actions { display: grid; gap: 0.7rem; }

.underage {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 2rem;
  text-align: center;
  color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.btn-primary {
  background: linear-gradient(180deg, #f0d69a, var(--gold) 40%, var(--gold-deep));
  color: #1a1208;
  box-shadow: 0 8px 24px rgba(184, 146, 58, 0.28);
}
.btn-primary:hover { filter: brightness(1.05); }
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--muted);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--cream); }
.btn-block { width: 100%; }

/* Hero / banner
   assets/banner.jpg is an upright ~2.5:1 crop (1500x600).
   object-position is vertical-only in wide slots (cover is width-limited). */
.hero {
  position: relative;
  height: 150px;
  overflow: hidden;
}
.hero-banner img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  object-position: center 58%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12,10,11,0.15) 0%, rgba(12,10,11,0.2) 40%, var(--bg) 100%);
}

.wrap {
  width: min(28.5rem, calc(100% - 2rem));
  margin: -58px auto 0;
  position: relative;
  z-index: 2;
  padding-bottom: 1.75rem;
}

.profile {
  text-align: center;
}
.avatar {
  width: 108px;
  height: 108px;
  margin: 0 auto 0.55rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 6px var(--bg), 0 12px 30px rgba(0,0,0,0.45);
  background: #2a1c22;
}
.badge {
  display: inline-block;
  margin: 0 0 0.35rem;
  padding: 0.2rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.profile h1 {
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0.15rem 0 0.15rem;
  line-height: 1.1;
}
.hook {
  margin: 0;
  color: var(--gold);
  font-weight: 600;
  font-size: 1.05rem;
}
.lede {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Signup card */
.signup { margin-top: 0.85rem; }
.signup-soon {
  padding: 0.7rem 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: var(--bg-card);
}
.signup-soon p { margin: 0; }
.signup.is-soon + .links { margin-top: 1.05rem; }
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.05rem 1rem;
  box-shadow: var(--shadow);
}
.card-kicker {
  margin: 0 0 0.2rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pink);
  font-weight: 700;
}
.card-title {
  font-family: var(--display);
  font-size: 1.32rem;
  font-weight: 500;
  margin: 0 0 0.45rem;
  line-height: 1.22;
}
.benefits {
  list-style: none;
  margin: 0 0 0.65rem;
  padding: 0;
  display: grid;
  gap: 0.2rem;
}
.benefits li {
  position: relative;
  padding-left: 0.95rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.3;
  font-weight: 600;
}
.benefits li::before {
  content: "";
  position: absolute;
  left: 0.12rem;
  top: 0.42em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--gold);
}
.field { margin-bottom: 0.6rem; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.optional { color: var(--muted); font-weight: 500; }
.field input[type="text"],
.field input[type="email"] {
  width: 100%;
  min-height: var(--tap);
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(226,194,122,0.22);
  background: #110e10;
  color: var(--cream);
}
.field input::placeholder { color: #8a7b70; }
.field input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(226,194,122,0.18);
}
.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
.consent {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.7rem;
  align-items: start;
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0.15rem 0 0.7rem;
  cursor: pointer;
}
.consent input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  accent-color: var(--gold);
}
.signup-note {
  margin: 0 0 0.7rem;
  padding: 0.5rem 0.8rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: rgba(226, 194, 122, 0.05);
}
.card.is-disabled {
  opacity: 0.96;
}
.card.is-disabled input,
.card.is-disabled button {
  cursor: not-allowed;
}
.card.is-disabled .field input[type="text"],
.card.is-disabled .field input[type="email"] {
  opacity: 0.65;
  background: #0d0b0c;
}
.card.is-disabled .btn-primary,
.btn-primary:disabled {
  background: #2a2426;
  color: #8a7d72;
  box-shadow: none;
  border: 1px solid var(--line);
  filter: none;
  cursor: not-allowed;
}
.card.is-disabled .btn-primary:hover,
.btn-primary:disabled:hover {
  filter: none;
}
.btn:disabled:active {
  transform: none;
}
.fineprint {
  margin: 0.55rem 0 0;
  font-size: 0.75rem;
  color: #8f8176;
  text-align: center;
}
.success { text-align: center; }
.success .card-title { margin-bottom: 0.5rem; }
.success p { color: var(--muted); margin: 0 0 1rem; }
.form-error {
  color: #ffb4c4;
  font-size: 0.9rem;
  margin: 0.7rem 0 0;
  text-align: center;
}

/* Social links */
.links {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.35rem;
}
.link-btn {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 64px;
  padding: 0.7rem 0.95rem;
  border-radius: 16px;
  border: 1px solid rgba(226,194,122,0.22);
  background: var(--bg-elev);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}
.link-btn:hover { border-color: var(--gold); background: #1d171b; }
.link-btn:active { transform: scale(0.99); }
.link-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.link-of {
  background: linear-gradient(180deg, #f0d69a, var(--gold) 45%, #c49a3e);
  color: #1a1208;
  border-color: transparent;
  box-shadow: 0 10px 28px rgba(184, 146, 58, 0.28);
}
.link-of:hover { filter: brightness(1.04); background: linear-gradient(180deg, #f4dcab, #e2c27a 45%, #c49a3e); }
.link-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(247,240,230,0.06);
}
.link-of .link-icon { background: rgba(26,18,8,0.12); }
.link-text { display: flex; flex-direction: column; min-width: 0; }
.link-text strong { font-size: 1.02rem; line-height: 1.2; }
.link-text em {
  font-style: normal;
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.link-of .link-text em { color: #4a3414; }
.chip {
  display: inline-block;
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  border: 1px solid currentColor;
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
}
.link-btn[data-placeholder="true"] { border-style: dashed; }

.foot {
  width: min(28.5rem, calc(100% - 2rem));
  margin: 0 auto 2rem;
  color: #8f8176;
  font-size: 0.78rem;
  text-align: center;
}
.foot p { margin: 0 0 0.55rem; }
.foot a { color: inherit; text-decoration: underline; text-underline-offset: 0.12em; }
#main:focus { outline: none; }
#main:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

@media (min-width: 720px) {
  .hero { height: 260px; }
  .hero-banner img { height: 260px; object-position: center 78%; }
  .wrap { margin-top: -64px; }
  .profile h1 { font-size: 3rem; }
  .avatar { width: 132px; height: 132px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .link-btn { transition: none; }
}
