:root {
  color-scheme: dark;
  --road: #090d0a;
  --lime: #aff477;
  --ink: #eff7eb;
  --muted: #b3c1b6;
  --edge: #394a3e;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--road);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  min-height: 100svh;
  background: radial-gradient(ellipse at 75% 6%, #183722, transparent 47%), var(--road);
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
.profile { width: 100%; max-width: 36rem; padding: 1rem clamp(1rem, 4vw, 3.5rem) 2rem; margin: auto; }
.masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: .65rem;
  border-bottom: 1px solid var(--edge);
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .16em;
}
.age { border: 1px solid var(--edge); padding: .3rem .55rem; letter-spacing: .03em; }
.feature {
  display: grid;
  gap: .9rem;
  grid-template-areas: "intro" "portrait" "contact";
  padding-block: 1rem;
}
.intro { grid-area: intro; }
.role { color: var(--lime); font-size: .875rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 .6rem; }
.intro h1 {
  margin: 0;
  font-family: "Arial Black", "Helvetica Neue", sans-serif;
  font-size: clamp(2.45rem, 9.5vw, 3.5rem);
  font-weight: 950;
  line-height: .85;
  letter-spacing: -.065em;
  text-transform: uppercase;
}
.intro h1 span { display: block; color: var(--lime); }
.portrait {
  grid-area: portrait;
  position: relative;
  isolation: isolate;
  width: 100%;
  min-width: 0;
  height: clamp(17rem, min(115vw, 61svh), 35rem);
  margin: 0;
  overflow: hidden;
  background: #101c14;
  touch-action: pan-y pinch-zoom;
}
.portrait img, .placeholder { position: absolute; inset: 0; width: 100%; height: 100%; }
.placeholder { background: linear-gradient(145deg, #1d3b25, #0d1610); }
.portrait img {
  object-fit: cover;
  opacity: 0;
  user-select: none;
  -webkit-user-drag: none;
}
.portrait img.ready { opacity: 1; }
.portrait img[src$="/bike.jpg"] { object-fit: contain; object-position: center !important; }
.portrait::after {
  position: absolute;
  inset: 60% 0 0;
  content: "";
  background: linear-gradient(transparent, #080e0bf2);
  pointer-events: none;
}
figcaption, .gallery { position: absolute; z-index: 1; bottom: .35rem; }
figcaption { left: .8rem; bottom: 1rem; font-weight: 700; font-size: .9rem; }
.gallery { display: flex; right: .35rem; }
.gallery button {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
}
.gallery button::before {
  content: "";
  width: 1rem;
  height: .23rem;
  transform: skewX(-20deg);
  background: #e8efe878;
}
.gallery button[aria-pressed="true"]::before { background: var(--lime); }
.gallery-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0 0 .2rem;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
  background: #090d0add;
  border: 1px solid #e8efe862;
}
.previous { left: .55rem; }
.next { right: .55rem; }
.contact { grid-area: contact; min-width: 0; }
.continue, .decline {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  gap: .6rem;
  padding: .65rem .85rem;
  text-align: center;
  text-decoration: none;
  font-weight: 850;
}
.continue { background: var(--lime); color: #101b0d; border: 0; }
.continue:hover { background: #c6ff9f; }
.decline { background: transparent; border: 1px solid var(--edge); color: var(--ink); }
#browser-help { color: var(--muted); line-height: 1.45; }
.age-screen { min-height: 100svh; display: grid; place-items: center; padding: 1rem; }
.age-gate { width: min(100%, 24rem); border: 1px solid var(--edge); border-top: 4px solid var(--lime); background: #111b14; padding: 1.5rem; }
.age-gate h1 { font-size: 3.8rem; line-height: 1; margin: 0; color: var(--lime); }
.age-gate p { color: var(--muted); line-height: 1.5; margin: .65rem 0 1.25rem; }
.age-actions { display: grid; grid-template-columns: 2fr 1fr; gap: .6rem; }
@media (min-width: 52rem) {
  .profile { max-width: 76rem; padding-top: 1.6rem; }
  .feature {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    grid-template-rows: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-areas: ". portrait" "intro portrait" "contact portrait";
    column-gap: clamp(2rem, 6vw, 5rem);
    padding-block: 2rem;
    align-items: start;
  }
  .intro h1 { font-size: clamp(4rem, 7.5vw, 7rem); }
  .portrait { align-self: center; height: clamp(24rem, 73svh, 46rem); }
  .contact { margin-top: 1rem; }
  .contact .continue { width: min(100%, 20rem); }
}
.feature, .age-gate { animation: arrive .5s ease-out both; }
.intro::before {
  display: block;
  width: 5.75rem;
  height: .3rem;
  margin-bottom: .8rem;
  content: "";
  background: repeating-linear-gradient(120deg, var(--lime) 0 10px, transparent 10px 18px);
  animation: mark .65s ease-out both;
  transform-origin: left;
}
@keyframes arrive { from { opacity: 0; transform: translateY(.55rem); } }
@keyframes mark { from { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) {
  .feature, .age-gate, .intro::before { animation: none; }
}
