:root {
  color-scheme: dark;
  --ink: #171820;
  --ink-soft: #242631;
  --ivory: #fffdf7;
  --ivory-muted: #d7d0c4;
  --amber: #ff9f1c;
  --amber-hi: #ffd166;
  --cyan: #2ec4c7;
  --violet: #9b5de5;
  --line: rgb(255 253 247 / 18%);
  --page: min(1120px, calc(100vw - 40px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--amber-hi);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-180%);
  background: var(--ivory);
  color: var(--ink);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 10;
  width: var(--page);
  min-height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -24px;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: var(--ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 9px;
}

.site-nav { display: flex; gap: 24px; }
.site-nav a { color: var(--ivory-muted); text-decoration: none; }
.site-nav a:hover { color: var(--ivory); }

.hero {
  position: relative;
  min-height: 100svh;
  margin-top: -84px;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("/assets/hero-zero-point.webp") center / cover no-repeat;
  image-rendering: pixelated;
  transform: scale(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgb(23 24 32 / 92%) 0, rgb(23 24 32 / 52%) 92px, transparent 170px),
    linear-gradient(90deg, rgb(23 24 32 / 95%) 0%, rgb(23 24 32 / 78%) 38%, rgb(23 24 32 / 14%) 72%),
    linear-gradient(0deg, rgb(23 24 32 / 92%) 0%, transparent 48%);
}

.hero-content {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(150px, 23vh, 260px) 0 clamp(72px, 11vh, 120px);
}

.eyebrow { color: var(--amber-hi); margin: 0 0 12px; }

h1, h2 { line-height: 1.1; letter-spacing: -0.035em; }

h1 {
  max-width: 1040px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 500;
  text-wrap: balance;
}

.hero-copy {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--ivory-muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.availability {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 30px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  color: var(--ivory-muted);
  background: rgb(23 24 32 / 68%);
}

.gallery-section,
.page-main {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 112px) 0;
}

.gallery-heading { max-width: 680px; margin-bottom: 34px; }
.gallery-heading h2 { margin: 0 0 12px; font-size: clamp(1.8rem, 4vw, 3.2rem); font-weight: 500; }
.gallery-heading p { margin: 0; color: var(--ivory-muted); }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery figure { margin: 0; }
.gallery img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  image-rendering: pixelated;
}
.gallery figcaption { margin-top: 9px; color: var(--ivory-muted); font-size: .85rem; }

.site-footer {
  width: var(--page);
  margin: 0 auto;
  padding: 28px 0 38px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--ivory-muted);
  font-size: .88rem;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a:hover { color: var(--ivory); }

.page-main { max-width: 760px; min-height: calc(100svh - 190px); }
.page-main h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
.page-main h2 { margin-top: 44px; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
.page-main p, .page-main li { color: var(--ivory-muted); }
.page-main strong { color: var(--ivory); }
.page-main a { color: var(--cyan); }
.lede { font-size: 1.12rem; }
.notice { margin: 32px 0; padding: 18px 20px; border-left: 3px solid var(--amber); background: var(--ink-soft); }
.meta { color: var(--ivory-muted); font-size: .9rem; }

@media (max-width: 760px) {
  :root { --page: min(100% - 28px, 1120px); }
  .site-header { min-height: 72px; }
  .brand img { width: 36px; height: 36px; }
  .site-nav { gap: 14px; font-size: .82rem; }
  .site-nav a:first-child { display: none; }
  .hero { margin-top: -72px; min-height: 88svh; }
  .hero::before { background-position: 68% center; }
  .hero::after {
    background:
      linear-gradient(180deg, rgb(23 24 32 / 94%) 0, rgb(23 24 32 / 55%) 76px, transparent 150px),
      linear-gradient(90deg, rgb(23 24 32 / 88%) 0%, rgb(23 24 32 / 54%) 65%, rgb(23 24 32 / 18%) 100%),
      linear-gradient(0deg, rgb(23 24 32 / 96%) 0%, transparent 72%);
  }
  .hero-content { padding-bottom: 54px; }
  h1 { font-size: 1.65rem; white-space: nowrap; }
  .hero-copy { max-width: 360px; }
  .gallery { grid-template-columns: 1fr; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
