:root {
  --bg: #05101c;
  --bg-mid: #12304a;
  --ink: #f2f6fa;
  --muted: #8aa0b8;
  --eta: #f0a202;
  --moving: #2bb673;
  --hairline: #2f4a66;
  --panel: #132438;
  font-family: "SF Pro Text", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}

a {
  color: var(--eta);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.margin-dots {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 20;
}

.margin-dots a {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--hairline);
  display: block;
  text-indent: -9999px;
  overflow: hidden;
}

.margin-dots a:focus-visible,
.margin-dots a:hover {
  background: var(--eta);
}

.margin-dots a.is-active {
  background: var(--moving);
  transform: scale(1.25);
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px 96px;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  padding: 72px 0 48px;
  overflow: hidden;
}

.hero-band {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--bg-mid) 0%, transparent 55%),
    linear-gradient(205deg, rgba(240, 162, 2, 0.18) 0%, transparent 45%);
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.eyebrow {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  line-height: 1.05;
  margin: 12px 0 16px;
  font-weight: 700;
}

.hero .tagline {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 36ch;
  margin: 0 0 24px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 12px;
  background: var(--eta);
  color: #0b1a2e;
  font-weight: 600;
  border: none;
}

.cta.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--hairline);
}

section {
  padding: 64px 0;
}

.section-intro {
  margin-bottom: 32px;
  max-width: 520px;
}

.section-intro.right {
  margin-left: auto;
  text-align: right;
}

.section-intro h2 {
  margin: 0 0 8px;
  font-size: 1.75rem;
}

.section-intro p {
  margin: 0;
  color: var(--muted);
}

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

.bento article {
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 22px 24px;
}

.bento article:nth-child(1) {
  grid-column: span 4;
}

.bento article:nth-child(2) {
  grid-column: span 2;
}

.bento article:nth-child(3) {
  grid-column: span 3;
}

.bento h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.bento p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

#gallery .polaroids {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.polaroid {
  background: var(--panel);
  padding: 12px 12px 20px;
  border-radius: 8px;
  border: 1px solid var(--hairline);
  width: min(280px, 44vw);
  transform: rotate(var(--tilt, 0deg));
}

.polaroid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.polaroid figcaption {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--muted);
  font-family: ui-monospace, monospace;
}

.accordion details {
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 4px 18px;
  margin-bottom: 12px;
}

.accordion summary {
  cursor: pointer;
  font-weight: 600;
  padding: 14px 0;
  list-style: none;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion .body {
  padding: 0 0 18px;
  color: var(--muted);
}

.accordion .body p {
  margin: 0 0 12px;
}

footer {
  border-top: 1px solid var(--hairline);
  padding: 32px 0 48px;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 720px) {
  .margin-dots {
    right: 12px;
    gap: 10px;
  }

  .bento article {
    grid-column: span 6 !important;
  }

  .section-intro.right {
    margin-left: 0;
    text-align: left;
  }
}
