:root {
  --ink: #17211d;
  --muted: #5c675f;
  --line: #e2dbd0;
  --paper: #f3efe7;
  --white: #fbfaf6;
  --green: #1a3c32;
  --green-deep: #10261f;
  color-scheme: light;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
}

img { max-width: 100%; }

a { color: inherit; }

h1, h2, .brand, .band figcaption {
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  letter-spacing: -0.03em;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 3;
  background: rgba(243, 239, 231, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-size: 1.28rem;
}

.brand svg { display: block; }

.links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.links a { text-decoration: none; }

.links a:hover { text-decoration: underline; }

.btn {
  display: inline-block;
  background: var(--green);
  color: #f6f1e7;
  text-decoration: none;
  padding: 0.62rem 1rem;
  border-radius: 999px;
  font-weight: 500;
}

.btn:hover { background: var(--green-deep); text-decoration: none; }

.btn.light {
  background: transparent;
  color: #f6f1e7;
  box-shadow: inset 0 0 0 1px rgba(246, 241, 231, 0.45);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 78vh;
  background: var(--green-deep);
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 26rem;
}

.hero-copy {
  color: #f6f1e7;
  padding: 3.5rem 3.2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.eyebrow {
  margin: 0;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  opacity: 0.78;
}

.hero h1 {
  font-size: clamp(2.7rem, 5vw, 4.5rem);
  line-height: 0.98;
  margin: 0.7rem 0 1rem;
}

.hero p { margin: 0; max-width: 34rem; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-top: 1.6rem;
}

.actions .text {
  color: #f6f1e7;
  text-underline-offset: 0.18em;
}

.sheet, .split, .join {
  width: min(68rem, calc(100% - 2.4rem));
  margin-left: auto;
  margin-right: auto;
}

.sheet { padding: 4.2rem 0 1rem; }

.sheet h2, .join h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 0.4rem; }

.lede { margin: 0 0 1.6rem; max-width: 38rem; color: var(--muted); }

table { width: 100%; border-collapse: collapse; }

th {
  text-align: left;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  padding: 0 0.4rem 0.7rem;
}

td {
  padding: 0.95rem 0.4rem;
  border-top: 1px solid var(--line);
  vertical-align: baseline;
}

.time { font-variant-numeric: tabular-nums; font-weight: 600; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0 4rem;
}

.split img { width: 100%; height: 100%; object-fit: cover; max-height: 34rem; }

.steps { list-style: none; margin: 1.2rem 0 0; padding: 0; }

.steps li {
  position: relative;
  padding: 0 0 1.25rem 2.6rem;
}

.steps li::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.35rem;
  color: var(--green);
}

.steps { counter-reset: step; }

.steps strong { display: block; }

.band { margin: 0; position: relative; }

.band img {
  width: 100%;
  max-height: 36rem;
  object-fit: cover;
  display: block;
}

.band figcaption {
  position: absolute;
  left: 1.6rem;
  bottom: 1.4rem;
  margin: 0;
  color: #f7f3ea;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  max-width: 16ch;
}

.join {
  padding: 4rem 0 3rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
}

.join p { max-width: 36rem; margin: 0.4rem 0 0; color: var(--muted); }

footer {
  border-top: 1px solid var(--line);
  padding: 1.2rem 1.5rem 2rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.failbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem 1.5rem;
  background: var(--green);
  color: #f6f1e7;
}

.failbar p { margin: 0; }

.failbar a { color: #f6f1e7; }

@media (max-width: 860px) {
  .links a:not(.btn) { display: none; }
  .hero, .split, .join { grid-template-columns: 1fr; display: grid; }
  .hero-copy { padding: 2rem 1.25rem 2.5rem; }
  .join { align-items: start; }
  footer { flex-direction: column; }
}

.hero .btn { background: #f4f0e8; color: #10261f; }
.hero .btn:hover { background: #fff; }
