:root {
  --cream: #F7F1EA;
  --ink: #1E1E1E;
  --tomato: #D65028;
  --cobalt: #2C4EB6;
  --lime: #E6F0BE;
  --pistachio: #D3E3A6;
  --butter: #F5DE8B;
  --blush: #F2C9C1;
  --burgundy: #6B1F2A;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Figtree', 'Helvetica Neue', sans-serif;
  font-size: 18px;
  line-height: 1.5;
}

a { color: var(--ink); }
a:hover { color: var(--tomato); }

.display {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 900;
  font-variation-settings: "SOFT" 100;
  letter-spacing: -0.02em;
  margin: 0;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-outline { border-color: var(--ink); background: transparent; min-height: 44px; padding: 0 22px; font-size: 16px; }
.btn-solid { background: var(--tomato); color: var(--cream); }
.btn-cream { background: var(--lime); color: var(--ink); border: 0; }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.band-cobalt .btn:focus-visible { outline-color: var(--cream); }

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  padding-bottom: 24px;
}
.logo-mark { height: 40px; width: auto; display: block; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 48px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 96px;
}
.hero-copy { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
h1.display { font-size: clamp(48px, 6.6vw, 96px); line-height: 0.98; }
.lede { margin: 0; max-width: 34em; font-size: 21px; line-height: 1.5; }
.hero-cta { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.fine-print { font-size: 15px; }

.hero-visual { display: flex; flex-direction: column; gap: 20px; }
.colour-panel {
  background: var(--tomato);
  border-radius: 32px;
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease;
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 60px rgba(30, 30, 30, 0.1);
  border: 1px solid rgba(30, 30, 30, 0.06);
}
.panel-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.panel-photo[hidden] { display: none; }
.panel-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--ink);
  opacity: 0.55;
}
.panel-placeholder[hidden] { display: none; }
.colour-panel.is-light .panel-placeholder { color: var(--cream); opacity: 0.8; }
.placeholder-icon { width: 56px; height: 56px; }
.placeholder-text { margin: 0; font-size: 18px; font-weight: 700; }
.placeholder-file { margin: 0; font-size: 13px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.swatch-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.swatch-label { font-size: 17px; font-weight: 700; }

.swatches { display: flex; gap: 14px; flex-wrap: wrap; }
.swatch {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 0 0 2px var(--ink);
}
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--cream), 0 0 0 6px var(--ink); }
.band-cobalt .swatch { box-shadow: 0 0 0 2px var(--cream); }
.band-cobalt .swatch[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--cobalt), 0 0 0 6px var(--cream); }

/* Bands */
.band { padding-top: 96px; padding-bottom: 96px; }
.band-lime { background: var(--lime); }
.three-col { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-top: 56px; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; margin-top: 56px; }
.band-blush { background: var(--blush); }
.band-heading { max-width: 14em; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.02; }
.sub-heading { font-size: 30px; line-height: 1.1; margin-bottom: 12px; }
.band-lime p { margin: 0; }
.band-note { margin-top: 56px; font-size: 18px; font-weight: 700; }

.band-cobalt { background: var(--cobalt); color: var(--cream); padding-bottom: 112px; }
.preorder-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: start; }
.preorder-copy { display: flex; flex-direction: column; gap: 28px; }
.preorder-copy h2.display { font-size: clamp(40px, 5.2vw, 72px); line-height: 1; }
.preorder-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 19px; }

/* Form */
#preorder-form { display: flex; flex-direction: column; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-narrow input { max-width: 200px; }
.field label, .field-label { font-size: 17px; font-weight: 700; }
.field input[type="text"],
.field input[type="email"] {
  height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  border: 0;
  background: var(--cream);
  color: var(--ink);
  font-size: 18px;
  font-family: inherit;
  width: 100%;
}
.field input:focus-visible { outline: 3px solid var(--cream); outline-offset: 2px; }

.pill-row { display: flex; gap: 10px; flex-wrap: wrap; }
.pill {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 2px solid var(--cream);
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  background: transparent;
  color: var(--cream);
  font-family: inherit;
}
.pill[aria-pressed="true"] { background: var(--cream); color: var(--ink); }

.consent-row { display: flex; align-items: flex-start; gap: 12px; }
.consent-row input { width: 24px; height: 24px; margin: 2px 0 0 0; flex-shrink: 0; }
.consent-row label { font-size: 17px; line-height: 1.45; }

.form-error { margin: 0; font-size: 17px; font-weight: 700; color: var(--lime); }
.form-success { display: flex; flex-direction: column; gap: 16px; }
#success-copy { color: var(--cream); }

/* Footer */
.footer { background: var(--tomato); padding-top: 56px; padding-bottom: 56px; }
.footer-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-logo { height: 64px; width: auto; display: block; }
.footer-contact { display: flex; flex-direction: column; gap: 6px; font-size: 17px; text-align: right; }

@media (max-width: 900px) {
  .hero, .preorder-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .three-col, .two-col { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .wrap { padding-left: 20px; padding-right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .colour-panel { transition: none; }
}
