/* The front door and the 404, all dark. Same adaim look as the deck's dark slides:
   near-black paper, a warm glow, smoked-glass cards, orange kept for the few things to look at.
   Fonts are self-hosted, so nothing loads from Google. */

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/poppins-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/poppins-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
}

:root {
  --ink: #f6f6f7;
  --ink-2: #d4d4d8;
  --ink-3: #b4b4bd;
  --paper: #0a0a0b;
  --card: rgba(22, 22, 25, 0.66);
  --card-line: rgba(255, 255, 255, 0.1);
  --orange-text: #ff8a3d;
  --focus: #ff8a3d;
  --glow-a: rgba(255, 112, 20, 0.42);
  --glow-a2: rgba(252, 98, 1, 0.16);
  --glow-b: rgba(255, 168, 20, 0.3);
  --glow-b2: rgba(248, 157, 1, 0.1);
  --orange-solid: linear-gradient(135deg, #ea4901 0%, #d23a01 100%);
  --head-filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.55)) drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
  --serif: "Poppins", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

a {
  color: inherit;
}

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

.kicker {
  color: var(--orange-text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ───────────── the front door ───────────── */

.home {
  background:
    radial-gradient(42rem 30rem at 50% -4%, var(--glow-a) 0%, var(--glow-a2) 30%, transparent 64%),
    radial-gradient(30rem 30rem at 100% 112%, var(--glow-b) 0%, var(--glow-b2) 26%, transparent 58%),
    var(--paper);
}

.door {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 56px 24px;
  text-align: center;
}

.me {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.me-photo {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 0 0 4px var(--paper),
    0 0 0 5.5px rgba(255, 138, 61, 0.65),
    0 0 56px -8px rgba(252, 98, 1, 0.6);
}

.me-name {
  margin-top: 26px;
  font-family: var(--serif);
  font-size: clamp(38px, 5.4vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  filter: var(--head-filter);
}

.me .kicker {
  margin-top: 12px;
}

.options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 920px;
  margin-top: 52px;
  text-align: left;
}

.option {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 28px 24px;
  border-radius: 20px;
  border: 1px solid var(--card-line);
  background: var(--card);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.9);
  text-decoration: none;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}
.option:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 138, 61, 0.6);
  box-shadow:
    0 0 0 1px rgba(255, 138, 61, 0.35),
    0 0 36px -8px rgba(252, 98, 1, 0.5),
    0 24px 50px -20px rgba(0, 0, 0, 0.95);
}
.option:focus-visible {
  border-radius: 20px;
}

.option-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.option-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--orange-solid);
  color: #fff;
  box-shadow: 0 6px 18px -6px rgba(252, 98, 1, 0.75);
}

.option-kicker {
  color: var(--ink-3);
  font-size: 14px;
  font-weight: 500;
}

.option-title {
  margin-top: 6px;
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 32px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.option-body {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.55;
}

.option-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  color: var(--orange-text);
  font-weight: 600;
}
.option-cta span {
  transition: transform 0.18s ease;
}
.option:hover .option-cta span {
  transform: translateX(4px);
}

.quiet {
  margin-top: 32px;
  color: var(--ink-3);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}
.quiet:hover {
  color: var(--ink);
}

/* ───────────── smaller screens ───────────── */

@media (max-width: 700px) {
  .options {
    grid-template-columns: minmax(0, 1fr);
    max-width: 480px;
    margin-top: 40px;
  }
}

@media (max-width: 640px) {
  .door {
    padding: 40px 16px;
  }
  .me-photo {
    width: 112px;
    height: 112px;
  }
  .option {
    padding: 22px 20px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
