:root {
  color-scheme: dark;
  --ink: #0d0d0d;
  --panel: #171717;
  --line: #333333;
  --text: #ffffff;
  --muted: #b7b7b7;
  --orange: #f36a21;
  --orange-dark: #d9500c;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap {
  width: min(920px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding-top: env(safe-area-inset-top);
  border-bottom: 1px solid var(--line);
  background: rgba(13, 13, 13, 0.96);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.055em;
}

.brand img {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 7px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 5px;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.035em;
  transition: background 160ms ease, transform 160ms ease;
}

.button:hover { background: var(--orange-dark); transform: translateY(-1px); }
.button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.button-small { min-height: 44px; padding-inline: 19px; }

.hero { padding: clamp(42px, 8vw, 76px) 0 30px; }

.eyebrow {
  margin: 0;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

h1 {
  max-width: 790px;
  margin: 12px 0 18px;
  font-size: clamp(44px, 7.5vw, 72px);
  line-height: 0.96;
  letter-spacing: -0.048em;
}

.intro {
  max-width: 690px;
  margin: 0;
  color: #cccccc;
  font-size: clamp(17px, 2.3vw, 20px);
  line-height: 1.55;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 175px;
  gap: 10px;
  padding: 16px 0 54px;
}

.gallery figure {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  border-radius: 4px;
  background: var(--panel);
}

.gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.gallery figure:hover img { transform: scale(1.02); }
.gallery .feature { grid-column: span 8; grid-row: span 2; }
.gallery figure:nth-child(2),
.gallery figure:nth-child(3) { grid-column: span 4; }
.gallery figure:nth-child(n + 4) { grid-column: span 3; }

.auction-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
}

.auction-cta h2 {
  max-width: 600px;
  margin: 0;
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.auction-cta p { margin: 8px 0 0; color: var(--muted); line-height: 1.5; }
.auction-cta .button { flex: 0 0 auto; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0 calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid #242424;
  color: #8e8e8e;
  font-size: 13px;
}

.site-footer p { margin: 0; }
.site-footer a { text-underline-offset: 3px; }

@media (max-width: 680px) {
  .wrap { width: min(100% - 24px, 560px); }
  .nav { min-height: 64px; }
  .brand { gap: 8px; font-size: 12px; letter-spacing: 0.04em; }
  .brand img { width: 42px; height: 42px; }
  .button-small { min-height: 42px; padding-inline: 14px; }
  .hero { padding: 38px 0 20px; }
  h1 { font-size: clamp(42px, 12.5vw, 56px); }
  .intro { font-size: 16px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 8px; padding-bottom: 42px; }
  .gallery figure,
  .gallery figure:nth-child(2),
  .gallery figure:nth-child(3),
  .gallery figure:nth-child(n + 4) { grid-column: span 1; grid-row: span 1; }
  .gallery .feature { grid-column: span 2; grid-row: span 2; }
  .auction-cta { display: block; padding: 28px 0 38px; }
  .auction-cta .button { width: 100%; margin-top: 20px; }
  .site-footer { display: block; line-height: 1.7; }
  .site-footer a { display: inline-block; margin-top: 6px; }
}

@media (max-width: 370px) {
  .brand span { max-width: 82px; line-height: 1.05; }
  h1 { font-size: 39px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
