:root {
  --ink: #14201c;
  --paper: #e7eee4;
  --field: #1f4d3a;
  --field-deep: #16382a;
  --glow: #c49214;
  --muted: #5a6b62;
  --sheet: #fbf8f1;
  --sheet-line: rgba(20, 32, 28, 0.12);
  --max: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Figtree", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 90% 70% at 12% 8%, rgba(196, 146, 20, 0.2), transparent 55%),
    radial-gradient(ellipse 70% 55% at 88% 18%, rgba(31, 77, 58, 0.26), transparent 52%),
    linear-gradient(165deg, #f4f8f2 0%, #d5e2d6 45%, #b7cdb9 100%);
  animation: drift 18s ease-in-out infinite alternate;
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(20, 32, 28, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 32, 28, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black 35%, transparent 92%);
}

@keyframes drift {
  from { filter: saturate(1); }
  to { filter: saturate(1.1); }
}

.top {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.15rem 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--field);
  text-decoration: none;
}

.top-nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.nav-link {
  color: var(--field);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.nav-link:hover {
  text-decoration: underline;
}

.hero-stage {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2rem, 8vh, 4.5rem) 1.5rem 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  min-height: min(78vh, 46rem);
  animation: rise 0.85s ease-out both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.brand-mark {
  margin: 0 0 0.85rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(3rem, 9vw, 5.75rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.92;
  color: var(--field);
}

.hero-copy h1 {
  margin: 0 0 1rem;
  max-width: 16ch;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.lede {
  margin: 0 0 1.75rem;
  max-width: 34rem;
  font-size: 1.1rem;
  color: var(--muted);
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.35rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.45rem;
  border: 0;
  border-radius: 0.35rem;
  background: var(--field);
  color: #f4faf6;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
  background: var(--field-deep);
  transform: translateY(-2px);
}

.button.secondary {
  background: transparent;
  color: var(--field);
  box-shadow: inset 0 0 0 1.5px var(--field);
}

.button.secondary:hover {
  background: rgba(31, 77, 58, 0.06);
}

.note {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  min-height: 22rem;
  animation: rise 1.05s 0.12s ease-out both;
}

.stack {
  position: relative;
  height: 100%;
  min-height: 22rem;
}

.sheet {
  position: absolute;
  background: var(--sheet);
  color: var(--ink);
  box-shadow:
    0 18px 40px rgba(20, 32, 28, 0.14),
    0 2px 0 rgba(20, 32, 28, 0.04);
  border: 1px solid rgba(20, 32, 28, 0.08);
}

.sheet-catalog {
  inset: 8% 18% auto 0;
  padding: 1.1rem 1.15rem 1.2rem;
  transform: rotate(-3.5deg);
  z-index: 2;
  animation: float-a 7s ease-in-out infinite;
}

.sheet-bid {
  inset: 28% 0 auto 28%;
  padding: 1rem 1.1rem 1.15rem;
  transform: rotate(4deg);
  z-index: 3;
  animation: float-b 8s ease-in-out infinite;
}

.sheet-paddle {
  right: 4%;
  bottom: 6%;
  width: 7.2rem;
  height: 8.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  transform: rotate(-8deg);
  z-index: 4;
  background: linear-gradient(180deg, #f7f1e4, #efe4cf);
  animation: float-c 6.5s ease-in-out infinite;
}

@keyframes float-a {
  0%, 100% { transform: rotate(-3.5deg) translateY(0); }
  50% { transform: rotate(-2.5deg) translateY(-8px); }
}

@keyframes float-b {
  0%, 100% { transform: rotate(4deg) translateY(0); }
  50% { transform: rotate(5deg) translateY(-6px); }
}

@keyframes float-c {
  0%, 100% { transform: rotate(-8deg) translateY(0); }
  50% { transform: rotate(-6deg) translateY(-10px); }
}

.sheet header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--sheet-line);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.sheet-catalog .row {
  display: grid;
  grid-template-columns: 1.6rem 1fr auto;
  gap: 0.55rem;
  padding: 0.35rem 0;
  font-size: 0.92rem;
  border-bottom: 1px dashed var(--sheet-line);
}

.sheet-catalog .row b {
  color: var(--field);
}

.sheet-catalog .row em {
  font-style: normal;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.sheet-bid .item-title {
  margin: 0 0 0.75rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.sheet-bid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sheet-bid li {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr;
  gap: 0.4rem;
  min-height: 1.55rem;
  border-bottom: 1px solid var(--sheet-line);
  font-size: 0.72rem;
  color: var(--muted);
  align-items: end;
  padding-bottom: 0.2rem;
}

.paddle-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.paddle-num {
  font-family: "Fraunces", Georgia, serif;
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--field);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}

.section h2 {
  margin: 0 0 0.75rem;
  max-width: 18ch;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--field);
}

.section-lede {
  margin: 0 0 1.75rem;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-left: 3rem;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(31, 77, 58, 0.1);
  color: var(--field);
  font-weight: 700;
  font-size: 0.95rem;
}

.steps strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1.05rem;
}

.steps span {
  color: var(--muted);
}

.audience {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.audience li {
  padding-left: 1.2rem;
  position: relative;
  font-weight: 500;
}

.audience li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--glow);
}

.close {
  padding-bottom: 4.5rem;
}

.foot {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1.5rem 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(20, 32, 28, 0.1);
  font-size: 0.9rem;
  color: var(--muted);
}

.foot a:not(.brand) {
  color: var(--field);
}

@media (max-width: 860px) {
  .hero-stage {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-visual {
    order: -1;
    min-height: 18rem;
  }

  .stack {
    min-height: 18rem;
  }

  .sheet-catalog {
    inset: 4% 22% auto 2%;
  }

  .sheet-bid {
    inset: 34% 2% auto 24%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .atmosphere,
  .hero-stage,
  .hero-visual,
  .sheet-catalog,
  .sheet-bid,
  .sheet-paddle {
    animation: none;
  }

  .button {
    transition: none;
  }
}
