/* Team Vice — site styles.
   Flat and plain by decision (2026-09-12): no gradients anywhere, one accent
   colour, solid surfaces. Two faces only — Bodoni Moda for headings, because the
   logo is a Didone and the page should read as the mark, and Inter for everything
   else. Mobile-first: this site's main audience arrives from a phone bio link, and
   the creator page is the link-in-bio hub. */

* {
  box-sizing: border-box;
}

:root {
  --bg: #0e0e11;
  --surface: #17171c;
  --surface-2: #1f1f26;
  --line: #2b2b34;
  --text: #f2f2f4;
  --muted: #9a9aa6;
  /* The one theme colour. Solid — never a gradient, never a glow. */
  --accent: #ff2d78;
  --accent-ink: #1b0610;
  --radius: 10px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  /* The logo is a Didone; headings are set in the same voice so the page reads as
     the mark. Body copy stays Inter — Bodoni's hairlines do not survive 15px. */
  --font-display: 'Bodoni Moda', 'Times New Roman', Times, Georgia, serif;
}

html {
  scroll-behavior: smooth;
  /* Anchor targets land below the sticky header instead of underneath it. */
  scroll-padding-top: 72px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Keyboard focus: one visible ring everywhere, only for keyboard users. */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Logo ───────────────────────────────────────────────────────────────── */

/* The logo files (scripts/trace-logo.py) are single `currentColor` paths, painted
   here as CSS masks so one asset serves any colour — white on the dark site, and
   still correct if it is ever placed on a light ground. Never recolour by editing
   the SVGs. */
.logo {
  display: block;
  flex: none;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.logo-mark {
  height: 26px;
  aspect-ratio: 635 / 639;
  -webkit-mask-image: url('/assets/logo-mark.svg');
  mask-image: url('/assets/logo-mark.svg');
}

.logo-wordmark {
  height: 11px;
  aspect-ratio: 944 / 105;
  -webkit-mask-image: url('/assets/logo-wordmark.svg');
  mask-image: url('/assets/logo-wordmark.svg');
}

.logo-lockup {
  height: clamp(104px, 20vw, 148px);
  aspect-ratio: 944 / 679;
  -webkit-mask-image: url('/assets/logo-lockup.svg');
  mask-image: url('/assets/logo-lockup.svg');
}

/* Names the logo carries visually, kept in the document for search and screen
   readers. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 22px;
}

a {
  color: var(--text);
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

/* ── Header ─────────────────────────────────────────────────────────────── */

header.site {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}

nav.site {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
}

nav.site a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}

nav.site a:hover {
  color: var(--text);
}

main {
  flex: 1;
  padding: 0 0 64px;
}

/* ── Type ───────────────────────────────────────────────────────────────── */

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 6vw, 50px);
  line-height: 1.14;
  margin: 0 0 16px;
}

h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(21px, 3vw, 25px);
  margin: 0 0 16px;
}

h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 6px;
}

p {
  text-wrap: pretty;
  margin: 0 0 14px;
}

.muted {
  color: var(--muted);
  font-size: 15px;
}

.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

/* Was .grad-text. Kept as a hook for the one accent-coloured word per page. */
.accent {
  color: var(--accent);
}

/* ── Hero ───────────────────────────────────────────────────────────────── */

.hero {
  padding: 64px 0 8px;
}

h1.logo-lockup {
  margin: 0 0 26px;
}

.hero .lede {
  max-width: 34em;
  font-size: 17px;
  color: var(--muted);
}

.hero .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.metrics .m b {
  display: block;
  font-size: 22px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.metrics .m span {
  font-size: 13px;
  color: var(--muted);
}

/* ── Sections & cards ───────────────────────────────────────────────────── */

section {
  margin-top: 56px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}

.card .num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

/* ── Roster card (index) ────────────────────────────────────────────────── */

.roster-card {
  display: block;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.roster-card:hover {
  border-color: var(--accent);
}

.roster-card .head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.roster-card .head p {
  margin: 0;
}

.roster-card .go {
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.roster-card:hover .go {
  color: var(--text);
}

.avatar {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--line);
  background: var(--surface-2);
}

.avatar.lg {
  width: 84px;
  height: 84px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.chips li {
  font-size: 13px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 10px;
}

.chips li b {
  color: var(--text);
  font-weight: 600;
}

/* ── Buttons ────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}

.btn:hover {
  filter: brightness(1.08);
}

.btn.secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn.secondary:hover {
  filter: none;
  border-color: var(--muted);
}

/* ── Contact panel ──────────────────────────────────────────────────────── */

.contact-panel {
  padding: 28px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-panel p {
  color: var(--muted);
  max-width: 34em;
  margin: 0 0 18px;
}

/* ── Creator page (link-in-bio hub) ──────────────────────────────────────── */

.profile {
  max-width: 440px;
  margin: 0 auto;
  padding: 44px 22px 0;
  text-align: center;
}

.profile .avatar {
  margin: 0 auto;
}

.profile h1 {
  font-size: 28px;
  margin: 16px 0 4px;
}

.profile .role {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

/* The one action that pays for everything: 18+ statement and a single button,
   stated in the page rather than behind a dialog. One tap to the destination.
   Wording is the audited wording — see docs/instagram-link-audit.md §4. */
.enter {
  margin-top: 30px;
  padding: 22px 20px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  /* Left-aligned: the 18+ statement is a paragraph to read, not a caption. */
  text-align: left;
}

/* The one heading that is NOT set in the brand serif. Bodoni's hairline "+" makes
   "18+" faint, and this is the warning Meta's standard turns on
   (docs/instagram-link-audit.md §4) — legibility beats house style here. */
.enter h2 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  margin: 0 0 8px;
}

.enter p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 16px;
}

.enter .btn {
  width: 100%;
  padding: 14px 22px;
  font-size: 16px;
}

.enter .fineprint {
  margin: 10px 0 0;
}

.link-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 8px;
  text-align: left;
}

.link-list a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 15px;
}

.link-list a:hover {
  border-color: var(--muted);
}

.link-list b {
  font-weight: 600;
}

.link-list .meta {
  margin-left: auto;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

.fineprint {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 10px;
}

.profile .stamp {
  margin-top: 22px;
}

.profile .bookings {
  margin: 26px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

.profile .bookings a {
  color: var(--text);
}

/* ── Footer ─────────────────────────────────────────────────────────────── */

footer.site {
  border-top: 1px solid var(--line);
  padding: 20px 0 26px;
  color: var(--muted);
  font-size: 13.5px;
}

footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
}

footer.site .foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

footer.site .foot-links a {
  color: var(--muted);
  text-decoration: none;
}

footer.site .foot-links a:hover {
  color: var(--text);
}

/* ── 404 ────────────────────────────────────────────────────────────────── */

.notfound {
  padding: 72px 0 32px;
  max-width: 540px;
}

.notfound .code {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 12px;
}

.notfound .lede {
  color: var(--muted);
  font-size: 16px;
}

.notfound .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

@media (max-width: 560px) {
  .hero {
    padding: 48px 0 8px;
  }

  /* Phone: the two hero buttons stack full-width instead of wrapping unevenly. */
  .hero .cta-row .btn {
    flex: 1 1 100%;
  }

  .metrics {
    gap: 20px;
  }

  nav.site {
    gap: 14px;
  }

  /* Phone header: keep the two links people actually use; About lives in the footer. */
  nav.site a[href$='#about'] {
    display: none;
  }
}

/* ── Chatter assessment (/apply) ────────────────────────────────────────── */

.apply-intro {
  padding: 48px 0 20px;
}

.apply-intro .lede {
  font-size: 17px;
  color: var(--text);
  max-width: 40em;
}

.apply-form .card,
.apply-done {
  margin-bottom: 18px;
}

.apply-form h2 {
  margin-bottom: 8px;
}

.field {
  display: block;
  margin: 20px 0 0;
}

.field .label {
  display: block;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
}

.field .hint {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 8px;
}

.field input[type='text'],
.field textarea,
.typing textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 13px;
  resize: vertical;
}

.field input[type='text']:focus,
.field textarea:focus,
.typing textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.field .count {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

.field .count.short {
  color: #ffb26b;
}

.stiff {
  margin: 14px 0 8px;
  padding: 10px 14px;
  border-left: 2px solid var(--accent);
  background: var(--surface-2);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--muted);
  font-size: 15px;
}

.thread {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 10px 0;
}

.thread p {
  margin: 0;
  max-width: 78%;
  padding: 9px 13px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.4;
}

.thread .them {
  align-self: flex-start;
  background: var(--surface-2);
  border-bottom-left-radius: 4px;
}

.thread .me {
  align-self: flex-end;
  background: var(--accent);
  color: var(--accent-ink);
  border-bottom-right-radius: 4px;
}

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 20px 0 0;
  font-size: 15px;
  line-height: 1.5;
}

.check input {
  margin: 5px 0 0;
  width: 18px;
  height: 18px;
  flex: none;
  accent-color: var(--accent);
}

.typing {
  margin-top: 18px;
}

.passage {
  font-size: 17px;
  line-height: 1.7;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--muted);
  max-height: 11em;
  overflow-y: auto;
  margin-bottom: 12px;
  user-select: none;
  -webkit-user-select: none;
}

.passage .ok {
  color: var(--text);
}

.passage .bad {
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: 3px;
}

.passage .cur {
  background: var(--surface);
  box-shadow: inset 0 -2px 0 var(--accent);
}

.typing textarea {
  resize: none;
  font-size: 17px;
}

.typing textarea[readonly] {
  opacity: 0.7;
}

.typing-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.typing-bar .stat b {
  color: var(--text);
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

.typing-bar .btn {
  padding: 9px 16px;
  font-size: 14px;
  margin-left: auto;
}

.typing-best {
  margin: 12px 0 0;
  font-size: 15px;
}

.apply-submit {
  padding: 4px 0 20px;
}

.apply-submit .btn {
  margin-top: 20px;
  width: 100%;
}

.notice {
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 15px;
}

.notice code {
  font-size: 14px;
}

.notice.warn {
  border-color: #ffb26b;
}

.notice.err {
  border-color: var(--accent);
}

@media (min-width: 720px) {
  .apply-submit .btn {
    width: auto;
  }
}
