:root {
  --bg: #0b0d10;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --text: #f5efe3;
  --muted: #b4b1a8;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #d4aa52;
  --accent-strong: #f2c36a;
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(212, 170, 82, 0.18), transparent 28%),
    radial-gradient(circle at bottom left, rgba(86, 145, 122, 0.16), transparent 26%),
    var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

main,
.footer,
.subpage {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 460px);
  gap: 48px;
  align-items: center;
  padding: 48px 0 72px;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  line-height: 0.95;
}

h1 {
  max-width: 8ch;
  font-size: clamp(4rem, 11vw, 7.8rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 18px;
}

.lede,
.content-grid p,
.footer p,
.prose p,
.plain-list {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.05rem;
}

.hero-copy {
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.button {
  border-radius: 999px;
  padding: 14px 22px;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.back-link:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #111;
  font-weight: 700;
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.hero-visual img,
.gallery img {
  border-radius: 30px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.feature-strip,
.content-grid,
.gallery,
.stack {
  padding-bottom: 72px;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.metric {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-strong);
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 700;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.plain-list {
  margin: 0;
  padding-left: 18px;
}

.plain-list li + li {
  margin-top: 10px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.gallery figcaption {
  margin-top: 16px;
  color: var(--muted);
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 20px;
  align-items: end;
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
}

.footer nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
}

.subpage-body {
  min-height: 100svh;
}

.subpage {
  padding: 48px 0 80px;
}

.narrow {
  max-width: 720px;
}

.back-link {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--muted);
}

.stack {
  display: grid;
  gap: 22px;
  margin-top: 36px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  padding: 28px;
}

.prose h2 {
  margin-top: 30px;
  margin-bottom: 12px;
}

@media (max-width: 900px) {
  .hero,
  .feature-strip,
  .content-grid,
  .gallery,
  .footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 32px;
  }

  h1 {
    max-width: 10ch;
  }

  .footer {
    align-items: start;
  }
}
