/* ===== Tokens ===== */
:root {
  --bg: #0e0e10;
  --surface: #17171a;
  --ink: #f5f3ef;
  --muted: #9b9894;
  --accent: #c9622b;
  --line: rgba(245, 243, 239, 0.14);
  --line-strong: rgba(245, 243, 239, 0.28);

  --font-display: "Big Shoulders Display", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}

/* ===== Reset ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  color-scheme: dark;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ===== Corner frame (comp-card motif) ===== */
.frame {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
}

.mark {
  position: absolute;
  width: 22px;
  height: 22px;
  opacity: 0.55;
}

.mark.tl {
  top: 18px;
  left: 18px;
  border-top: 1px solid var(--accent);
  border-left: 1px solid var(--accent);
}

.mark.tr {
  top: 18px;
  right: 18px;
  border-top: 1px solid var(--accent);
  border-right: 1px solid var(--accent);
}

.mark.bl {
  bottom: 18px;
  left: 18px;
  border-bottom: 1px solid var(--accent);
  border-left: 1px solid var(--accent);
}

.mark.br {
  bottom: 18px;
  right: 18px;
  border-bottom: 1px solid var(--accent);
  border-right: 1px solid var(--accent);
}

.tag {
  position: fixed;
  top: 26px;
  left: 50px;
  z-index: 20;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}

/* Mirrors .tag's offset from the top-left corner mark so this doesn't sit
   on top of .mark.tr on the opposite corner. */
.cyvilobadge {
  position: fixed;
  top: 26px;
  right: 50px;
  z-index: 25;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.5em 0.9em;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 243, 239, 0.75);
  background: rgba(6, 6, 7, 0.45);
  border: 1px solid rgba(245, 243, 239, 0.3);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: color 0.2s, border-color 0.2s;
}

.cyvilobadge:hover,
.cyvilobadge:focus-visible {
  color: var(--ink);
  border-color: rgba(245, 243, 239, 0.6);
}

.cyvilobadge__mark {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ===== Landing / Hero ===== */
.hero {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
}

.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(6, 6, 7, 0.98) 0%,
    rgba(6, 6, 7, 0.94) 30%,
    rgba(6, 6, 7, 0.55) 52%,
    rgba(6, 6, 7, 0.08) 72%,
    rgba(6, 6, 7, 0) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 clamp(24px, 6vw, 56px) clamp(40px, 7vh, 72px);
  animation: rise 0.7s ease-out both;
}

.name {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(3.6rem, 16vw, 8rem);
  line-height: 0.84;
  letter-spacing: -0.01em;
}

.specialty {
  margin-top: 0.9rem;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  color: rgba(245, 243, 239, 0.72);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}

.specialty span:not(:last-child)::after {
  content: "\00B7";
  color: var(--accent);
  margin-left: 0.5em;
}

.btn {
  margin-top: clamp(28px, 5vh, 44px);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  align-self: flex-start;
  border: 1px solid rgba(245, 243, 239, 0.55);
  background: rgba(6, 6, 7, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0.95em 1.8em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

.btn__arrow {
  transition: transform 0.2s ease;
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}

/* ===== Links page ===== */
.page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: clamp(96px, 16vh, 140px) 24px 64px;
  animation: rise 0.7s ease-out both;
}

.page__header {
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

.page__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
}

.page__eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.page .name {
  font-size: clamp(2.6rem, 11vw, 4rem);
  margin-top: 0.5rem;
}

.page .specialty {
  justify-content: center;
  margin-top: 0.7rem;
}

.linklist {
  width: 100%;
  max-width: 480px;
  margin: clamp(40px, 8vh, 64px) auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.linktile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 1.3em 1.5em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.linktile:hover,
.linktile:focus-visible {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.linktile--primary {
  border-color: var(--line-strong);
}

.linktile__label {
  display: flex;
  flex-direction: column;
  gap: 0.3em;
}

.linktile__title {
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.linktile__sub {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: none;
}

.linktile__arrow {
  color: var(--accent);
  font-size: 1.1rem;
}

.back {
  align-self: center;
  margin-top: clamp(48px, 9vh, 80px);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.back:hover,
.back:focus-visible {
  color: var(--ink);
  border-color: var(--line-strong);
}

/* ===== Age gate ===== */
.agegate {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 6, 7, 0.85);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.agegate[hidden] {
  display: none;
}

.agegate__panel {
  width: 100%;
  max-width: 360px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  padding: 32px 28px;
  text-align: center;
  animation: rise 0.25s ease-out both;
}

.agegate__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.agegate__title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 2.1rem;
  line-height: 0.9;
  letter-spacing: -0.01em;
  margin-top: 0.5rem;
}

.agegate__body {
  margin-top: 0.9rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--muted);
}

.agegate__actions {
  margin-top: 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.agegate__btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.9em 1.2em;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.agegate__btn--confirm {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

.agegate__btn--confirm:hover,
.agegate__btn--confirm:focus-visible {
  background: transparent;
  color: var(--ink);
}

.agegate__btn--leave:hover,
.agegate__btn--leave:focus-visible {
  border-color: var(--ink);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__content,
  .page,
  .agegate__panel {
    animation: none;
  }
  .btn__arrow,
  .linktile {
    transition: none;
  }
}
