:root {
  --paper: #f3f0e8;
  --paper-deep: #e9e3d7;
  --ink: #121212;
  --gold: #c5a33a;
  --black: var(--paper);
  --panel: var(--paper-deep);
  --white: var(--ink);
  --muted: #66635c;
  --line: #c9c3b7;
  --yellow: var(--gold);
  --display: "Arial Narrow", "Helvetica Neue Condensed", Impact, sans-serif;
  --body: Inter, Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: auto;
  scroll-snap-type: y mandatory;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
}

a { color: inherit; }
button { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 88px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  padding: 14px clamp(24px, 3vw, 56px);
  border-bottom: 1px solid #d1cabd;
  background: rgb(243 240 232 / 94%);
  backdrop-filter: blur(12px);
}

.wordmark,
.generator-section h2,
.contact-section h2,
.why-section h2,
.hero h1,
.generator-card h3,
.result-value {
  font-family: var(--display);
  font-stretch: condensed;
  text-transform: uppercase;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  width: max-content;
  font-size: clamp(24px, 2vw, 36px);
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  letter-spacing: -1px;
}
.wordmark small {
  color: var(--yellow);
  font-family: var(--body);
  font-size: 0.38em;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: lowercase;
}

.site-header nav { display: flex; gap: clamp(16px, 1.8vw, 30px); }
.site-header nav a {
  color: #59564f;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-decoration: none;
  text-transform: uppercase;
}
.site-header nav a:hover { color: var(--yellow); }

.header-cta,
.draw-button,
.print-button {
  border: 1px solid rgb(112 84 16 / 24%);
  border-radius: 999px;
  background: linear-gradient(145deg, #d1b34e 0%, #bd982e 100%);
  color: #111;
  box-shadow:
    0 12px 26px rgb(94 70 13 / 18%),
    inset 0 1px 0 rgb(255 255 255 / 48%);
  cursor: pointer;
  font-weight: 900;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 15px 22px;
  font-size: 14px;
}

.section {
  min-height: 100vh;
  padding: clamp(76px, 9vw, 150px) clamp(24px, 5vw, 88px);
  border-bottom: 1px solid var(--line);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(40px, 8vw, 150px);
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 34px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 7px; height: 25px; background: var(--yellow); }

.hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(60px, 5.3vw, 102px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.88;
}
.hero h1 span { color: var(--yellow); }

.hero h2 {
  max-width: 630px;
  margin: 44px 0 20px;
  color: var(--yellow);
  font-size: clamp(24px, 2.1vw, 38px);
  line-height: 1.1;
  text-transform: uppercase;
}
.hero-copy > p:not(.eyebrow) { max-width: 710px; color: #5f5c56; }

.text-link {
  display: inline-flex;
  gap: 26px;
  margin-top: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--yellow);
  font-weight: 900;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
}

.why-section {
  display: grid;
  grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr);
  gap: clamp(55px, 9vw, 150px);
  align-items: start;
}
.why-section-heading {
  position: sticky;
  top: 130px;
}
.why-section h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(62px, 7vw, 116px);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: .88;
}
.why-section-copy {
  max-width: 820px;
  padding-top: clamp(15px, 4vw, 66px);
  color: #56534d;
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.7;
}
.why-section-copy p { margin: 0 0 1.45em; }
.why-section-copy p:last-child {
  margin-bottom: 0;
  color: var(--gold);
  font-weight: 800;
}

.hero-art { position: relative; min-height: 720px; overflow: hidden; }
.quote {
  position: absolute;
  top: 0;
  color: transparent;
  font-family: Georgia, serif;
  font-size: clamp(300px, 27vw, 540px);
  line-height: 0.65;
  -webkit-text-stroke: 2px var(--yellow);
}
.quote-one { left: 0; }
.quote-two { right: 2%; }
.slashes {
  position: absolute;
  right: 4%;
  bottom: 1%;
  color: transparent;
  font-family: var(--display);
  font-size: clamp(190px, 20vw, 360px);
  font-weight: 900;
  letter-spacing: -0.28em;
  line-height: 1;
  -webkit-text-stroke: 2px var(--yellow);
}

.generator-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(460px, 1.1fr);
  gap: clamp(46px, 7vw, 120px);
  align-items: start;
}
.generator-intro { position: sticky; top: 140px; }
.generator-section.has-results .generator-intro { position: static; }
.generator-section.has-results { padding-bottom: clamp(42px, 4vw, 68px); }
.generator-section h2,
.contact-section h2 {
  margin: 0 0 34px;
  font-size: clamp(52px, 5vw, 86px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.94;
}
.generator-intro > p:not(.eyebrow) { color: #5f5c56; }

.generator-card {
  position: relative;
  width: min(100%, 660px);
  justify-self: end;
  padding: 20px 0 0;
  border-top: 2px solid var(--yellow);
}
.generator-card::before {
  content: "///";
  position: absolute;
  top: -24px;
  right: 0;
  padding-left: 12px;
  background: var(--black);
  color: var(--yellow);
  font-family: var(--display);
  font-size: 31px;
  font-weight: 900;
  letter-spacing: -0.16em;
  line-height: 1;
}
.generator-card h3 {
  margin: 0 0 30px;
  font-size: clamp(34px, 3vw, 52px);
  line-height: 0.95;
}
.count-selector {
  display: grid;
  grid-template-columns: repeat(4, minmax(58px, 1fr));
  gap: clamp(14px, 2vw, 30px);
  align-items: end;
}
.count-selector button {
  position: relative;
  padding: 0 0 10px;
  border: 0;
  border-bottom: 1px solid #aaa398;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-family: var(--display);
  font-size: clamp(36px, 3.2vw, 54px);
  font-weight: 900;
  line-height: 1;
  text-align: left;
  transition: color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.count-selector button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 4px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}
.count-selector button:hover { border-color: var(--yellow); color: var(--yellow); }
.count-selector button.is-selected {
  border-color: var(--yellow);
  color: var(--white);
  transform: translateY(-5px);
}
.count-selector button.is-selected::after { transform: scaleX(1); }

.draw-button,
.print-button {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 42px;
  padding: 23px 28px;
  font-size: clamp(17px, 1.4vw, 23px);
}
.generator-card .draw-button {
  width: auto;
  min-width: 250px;
  justify-content: space-between;
  gap: 34px;
  margin-top: 30px;
  padding: 16px 20px;
  font-size: 14px;
  letter-spacing: 0.8px;
}
.draw-button:disabled { cursor: wait; opacity: 0.45; box-shadow: none; }
.draw-button:not(:disabled):hover,
.print-button:hover,
.header-cta:hover {
  background: linear-gradient(145deg, #ddc467 0%, #c6a039 100%);
  box-shadow:
    0 17px 34px rgb(94 70 13 / 24%),
    inset 0 1px 0 rgb(255 255 255 / 58%);
  transform: translateY(-2px);
}
.draw-button:not(:disabled):active,
.print-button:active,
.header-cta:active { box-shadow: 0 7px 16px rgb(94 70 13 / 18%); transform: translateY(0); }
.draw-button:focus-visible,
.print-button:focus-visible,
.header-cta:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.generator-note { margin: 16px 0 0; color: var(--muted); font-size: 14px; }

.draw-animation {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  grid-template-rows: auto auto minmax(2.2em, auto);
  place-content: center;
  justify-items: center;
  gap: 14px;
  padding: 18px 24px;
  border-top: 2px solid var(--yellow);
  background: rgb(243 240 232 / 98%);
  text-align: center;
  overflow: hidden;
}
.draw-animation[hidden] { display: none; }
.draw-animation::before,
.draw-animation::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  border: 1px solid rgb(197 163 58 / 45%);
  transform: rotate(45deg);
  animation: draw-drift 2.2s ease-in-out infinite alternate;
}
.draw-animation::before { top: -105px; left: -60px; }
.draw-animation::after { right: -60px; bottom: -105px; animation-delay: -1.1s; }
.draw-orbit {
  position: relative;
  width: 82px;
  height: 82px;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  animation: draw-rotate 2.4s linear infinite;
}
.draw-orbit::before,
.draw-orbit::after,
.draw-orbit span {
  position: absolute;
  display: block;
  width: 14px;
  height: 14px;
  background: var(--yellow);
  content: "";
  transform: rotate(45deg);
}
.draw-orbit::before { top: -7px; left: 33px; }
.draw-orbit::after { right: -7px; bottom: 19px; }
.draw-orbit span:nth-child(1) { bottom: -7px; left: 22px; }
.draw-orbit span:nth-child(2) { top: 19px; left: -7px; }
.draw-orbit span:nth-child(3) {
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  background: transparent;
  border: 2px solid var(--yellow);
  transform: translate(-50%, -50%) rotate(45deg);
}
.draw-phase {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.25px;
  text-transform: uppercase;
}
.draw-candidate {
  position: relative;
  z-index: 1;
  max-width: 660px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(26px, 2.7vw, 42px);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  animation: candidate-pulse 210ms ease-in-out infinite alternate;
}

@keyframes draw-rotate { to { transform: rotate(360deg); } }
@keyframes draw-drift { to { transform: translateY(34px) rotate(75deg); } }
@keyframes candidate-pulse { to { opacity: 0.48; transform: scale(0.985); } }

@media (prefers-reduced-motion: reduce) {
  .draw-orbit,
  .draw-animation::before,
  .draw-animation::after,
  .draw-candidate,
  .result-card,
  .result-index,
  .result-ornament,
  .question-mark,
  .why-dialog[open],
  .delivery-dialog[open] { animation: none !important; }
  .header-cta,
  .draw-button,
  .print-button,
  .delivery-submit,
  .secondary-button { transition: none; }
}

.results {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  padding-top: clamp(58px, 7vh, 78px);
  background: var(--paper);
  scroll-margin-top: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.results-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; }
.results-heading h2 { margin-bottom: 8px; }
.results-heading p:not(.eyebrow) { margin: 0; font-size: 24px; }
.secondary-button {
  padding: 13px 18px;
  border: 1px solid #8e887f;
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  box-shadow: 0 7px 18px rgb(0 0 0 / 7%);
  cursor: pointer;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}
.secondary-button:hover { border-color: var(--yellow); color: #8f7020; transform: translateY(-1px); }

.result-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--result-count, 3), minmax(0, 1fr));
  gap: clamp(18px, 3vw, 60px);
  margin-top: clamp(22px, 2.5vw, 36px);
  padding: 8px 0 24px;
}
.result-grid[data-result-count="1"] { grid-template-columns: minmax(280px, 760px); justify-content: center; }
.result-grid[data-result-count="2"] { grid-template-columns: repeat(2, minmax(280px, 560px)); justify-content: center; }
.result-card {
  position: relative;
  isolation: isolate;
  min-height: clamp(240px, 21vw, 320px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 62px clamp(12px, 2.4vw, 42px) 76px;
  outline: none;
  animation: result-reveal 720ms cubic-bezier(.2,.75,.25,1) both;
  animation-delay: calc(var(--result-order, 0) * 130ms);
}
.result-card:focus-visible { outline: 3px solid var(--white); outline-offset: 4px; }
.result-index {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  color: rgb(197 163 58 / 12%);
  font-family: var(--display);
  font-size: clamp(150px, 15vw, 260px);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: .7;
  transform: translate(-52%, -55%);
  transition: color 350ms ease, transform 450ms cubic-bezier(.2,.75,.25,1);
  user-select: none;
}
.result-card::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -2;
  width: min(90%, 370px);
  aspect-ratio: 1.45;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgb(197 163 58 / 15%) 0%, rgb(197 163 58 / 5%) 46%, transparent 72%);
  filter: blur(10px);
  opacity: .35;
  transform: translate(-50%, -50%) scale(.86);
  transition: opacity 350ms ease, transform 500ms cubic-bezier(.2,.75,.25,1);
  pointer-events: none;
}
.result-card::after {
  content: attr(data-company);
  position: absolute;
  left: 50%;
  bottom: 15px;
  z-index: 3;
  max-width: calc(100% - 28px);
  padding: 7px 11px;
  border: 0;
  border-radius: 7px;
  background: var(--yellow);
  color: #111;
  box-shadow: 0 9px 20px rgb(94 70 13 / 22%);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.35px;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  white-space: normal;
  opacity: 0;
  transform: translate(-50%, 6px);
  transition: opacity 180ms ease, transform 220ms ease;
  pointer-events: none;
}
.result-card:hover::before,
.result-card:focus::before { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
.result-card:hover::after,
.result-card:focus::after { opacity: 1; transform: translate(-50%, 0); }
.result-value {
  position: relative;
  z-index: 1;
  max-width: 100%;
  margin: 0;
  font-size: clamp(30px, 2.7vw, 52px);
  letter-spacing: -0.02em;
  line-height: 1.02;
  text-align: center;
  hyphens: auto;
  overflow-wrap: break-word;
  text-wrap: balance;
  transition: transform 350ms cubic-bezier(.2,.75,.25,1);
}
.result-card:hover .result-value,
.result-card:focus .result-value { transform: translateY(-5px); }
.result-card:hover .result-index,
.result-card:focus .result-index { color: rgb(197 163 58 / 20%); transform: translate(-52%, -57%) scale(1.045); }
.result-ornament {
  position: absolute;
  left: 50%;
  bottom: 51px;
  z-index: 1;
  width: 58px;
  height: 1px;
  background: var(--yellow);
  transform: translateX(-50%);
  transition: width 350ms cubic-bezier(.2,.75,.25,1);
}
.result-ornament::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border: 1px solid var(--yellow);
  background: var(--paper);
  transform: translate(-50%, -50%) rotate(45deg);
}
.result-card:hover .result-ornament,
.result-card:focus .result-ornament { width: 92px; }
.result-grid[data-result-count="3"] .result-value { font-size: clamp(29px, 2.45vw, 48px); }
.result-grid[data-result-count="4"] .result-value { font-size: clamp(27px, 2.2vw, 43px); }
@keyframes result-reveal {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
.print-details { display: none; }
.results-actions { display: grid; grid-template-columns: 1fr minmax(280px, 0.55fr); gap: 50px; align-items: center; margin-top: 24px; }
.results-actions p { max-width: 900px; color: #5f5c56; }
.results-actions .print-button { margin: 0; }

.contact-section { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(60px, 10vw, 170px); align-items: center; }
.contact-copy h2 { max-width: 1030px; }
.yellow-statement {
  margin: 30px 0;
  color: var(--yellow);
  font-family: var(--display);
  font-size: clamp(46px, 4.8vw, 82px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.92;
  text-transform: uppercase;
}
.contact-copy > p:not(.yellow-statement) { max-width: 880px; color: #5f5c56; }
.contact-card {
  position: relative;
  align-self: end;
  padding: clamp(190px, 20vw, 330px) 0 0 clamp(28px, 4vw, 70px);
}
.question-mark {
  position: absolute;
  top: -18px;
  left: clamp(20px, 4vw, 72px);
  color: transparent;
  font-family: var(--display);
  font-size: clamp(190px, 21vw, 360px);
  font-weight: 900;
  line-height: 0.82;
  -webkit-text-stroke: 2px var(--yellow);
  transform-origin: 50% 62%;
  animation: question-breathe 4.2s ease-in-out infinite;
  will-change: transform;
}

@keyframes question-breathe {
  0%, 100% { transform: scale(0.92); }
  50% { transform: scale(1.04); }
}
.contact-card > p { max-width: 520px; margin-top: 0; }
.contact-card address { display: flex; flex-direction: column; margin-top: 40px; font-style: normal; }
.contact-card strong { margin-bottom: 10px; color: var(--yellow); font-size: 22px; text-transform: uppercase; }
.contact-card a { width: max-content; color: var(--white); text-decoration: none; }
.contact-card a:hover { color: var(--yellow); }

.site-footer {
  min-height: 130px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 24px clamp(24px, 5vw, 88px);
  border-top: 1px solid #d1cabd;
  background: #fffdf7;
  color: #54514b;
  font-size: 13px;
  scroll-snap-align: end;
  scroll-snap-stop: always;
}
.powered-by { display: flex; align-items: center; gap: 14px; }
.powered-by a { display: flex; align-items: center; }
.powered-by img {
  width: 122px;
  height: auto;
  transition: opacity 160ms ease, transform 160ms ease;
}
.powered-by a:hover img { opacity: 0.75; transform: translateY(-2px); }
.powered-by a:focus-visible { outline: 2px solid #54514b; outline-offset: 5px; }
.footer-meta { display: flex; align-items: center; gap: 22px; }
.footer-meta a { text-decoration-color: var(--yellow); text-underline-offset: 4px; }
.inline-link { color: var(--white); font-weight: 900; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 5px; }

.why-dialog,
.delivery-dialog {
  width: min(920px, calc(100vw - 40px));
  max-height: calc(100vh - 56px);
  margin: auto;
  padding: 0;
  border: 0;
  border-top: 7px solid var(--yellow);
  background: var(--paper);
  color: var(--white);
  box-shadow: 0 28px 90px rgb(0 0 0 / 32%);
  overflow: auto;
}
.why-dialog::backdrop,
.delivery-dialog::backdrop {
  background: rgb(18 18 18 / 48%);
  backdrop-filter: blur(6px);
}
.why-dialog[open],
.delivery-dialog[open] { animation: dialog-in 220ms ease-out; }
.why-dialog-inner { padding: clamp(30px, 5vw, 70px); }
.why-dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}
.why-dialog-header .eyebrow { margin-bottom: 28px; }
.dialog-close {
  position: sticky;
  top: 18px;
  z-index: 10;
  float: right;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0 0 4px;
  border: 1px solid #8e887f;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
  margin: 18px 18px -66px 0;
  background: var(--paper);
  box-shadow: 0 8px 24px rgb(0 0 0 / 15%);
}
.dialog-close:hover { border-color: var(--yellow); color: var(--yellow); }
.dialog-close:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.why-dialog h2 {
  max-width: 720px;
  margin: 0 0 38px;
  font-family: var(--display);
  font-size: clamp(50px, 6vw, 82px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.92;
  text-transform: uppercase;
}
.why-dialog-copy {
  max-width: 760px;
  color: #5f5c56;
  font-size: 17px;
  line-height: 1.65;
}
.why-dialog-copy p { margin: 0 0 1.2em; }
.why-dialog-copy p:last-child {
  margin-bottom: 0;
  color: var(--yellow);
  font-weight: 800;
}

.delivery-dialog { width: min(760px, calc(100vw - 40px)); }
.delivery-dialog-inner { padding: clamp(30px, 5vw, 64px); }
.delivery-dialog .eyebrow { margin-bottom: 26px; }
.delivery-dialog h2 {
  max-width: 620px;
  margin: 0 0 24px;
  font-family: var(--display);
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.92;
  text-transform: uppercase;
}
.delivery-lead {
  max-width: 610px;
  margin: 0 0 38px;
  color: #5f5c56;
  font-size: 18px;
}
.delivery-form { display: grid; gap: 24px; }
.form-trap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.delivery-form label { display: grid; gap: 9px; }
.delivery-form label > span {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.delivery-form input {
  width: 100%;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid #948e83;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--white);
  font-size: 21px;
}
.delivery-form input::placeholder { color: #878178; }
.delivery-form input:focus { border-bottom: 3px solid var(--yellow); padding-bottom: 12px; }
.delivery-submit {
  width: max-content;
  display: flex;
  justify-content: space-between;
  gap: 42px;
  margin-top: 8px;
  padding: 17px 21px;
  border: 1px solid rgb(112 84 16 / 24%);
  border-radius: 999px;
  background: linear-gradient(145deg, #d1b34e 0%, #bd982e 100%);
  color: #111;
  box-shadow:
    0 12px 26px rgb(94 70 13 / 18%),
    inset 0 1px 0 rgb(255 255 255 / 48%);
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.delivery-submit:hover {
  background: linear-gradient(145deg, #ddc467 0%, #c6a039 100%);
  box-shadow: 0 17px 34px rgb(94 70 13 / 24%);
  transform: translateY(-2px);
}
.delivery-submit:active { box-shadow: 0 7px 16px rgb(94 70 13 / 18%); transform: translateY(0); }
.delivery-submit:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
.delivery-form-note { margin: 0; color: #777269; font-size: 12px; }
.delivery-status { min-height: 1.4em; margin: -8px 0 0; color: #746b59; font-size: 14px; }
.delivery-status.is-error { color: #a02d24; }
.delivery-submit:disabled { cursor: wait; opacity: .72; transform: none; }
.delivery-confirmation { padding: 20px 0 0; }
.delivery-confirmation-mark {
  margin: 0 0 20px;
  color: var(--yellow);
  font-family: var(--display);
  font-size: 86px;
  font-weight: 900;
  line-height: 1;
}
.delivery-confirmation h3 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 66px);
  line-height: 0.95;
  text-transform: uppercase;
}
.delivery-confirmation > p:not(.delivery-confirmation-mark) { max-width: 560px; color: #5f5c56; }
.delivery-confirmation .secondary-button { margin-top: 18px; }

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1050px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .generator-section { grid-template-columns: 1fr; }
  .generator-intro { position: static; }
  .generator-card { justify-self: start; }
  .why-section { grid-template-columns: 1fr; }
  .why-section-heading { position: static; }
  .result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .result-grid[data-result-count="1"] { grid-template-columns: minmax(280px, 680px); }
  .contact-section { grid-template-columns: 1fr; }
  .question-mark { font-size: 210px; }
}

@media (max-width: 650px) {
  body { font-size: 16px; }
  .site-header { min-height: 72px; padding: 12px 18px; }
  .wordmark { font-size: 24px; }
  .header-cta { padding: 12px 14px; font-size: 11px; gap: 10px; }
  .section { min-height: auto; padding: 78px 20px; }
  .hero h1 { font-size: clamp(56px, 17vw, 76px); }
  .hero h2 { margin-top: 34px; }
  .generator-section h2, .contact-section h2, .why-section h2 { font-size: clamp(48px, 14vw, 66px); }
  .why-section-copy { padding-top: 0; font-size: 17px; }
  .generator-card { width: 100%; padding: 18px 0 0; }
  .generator-card h3 { margin-bottom: 26px; font-size: 36px; }
  .count-selector { gap: 7px; }
  .count-selector button { font-size: 34px; }
  .generator-card .draw-button { width: 100%; min-width: 0; }
  .results-heading { display: grid; align-items: start; }
  .result-grid { grid-template-columns: 1fr; }
  .result-grid[data-result-count="1"],
  .result-grid[data-result-count="2"] { grid-template-columns: 1fr; }
  .result-card { min-height: 230px; padding: 48px 12px 72px; }
  .result-index { font-size: clamp(130px, 43vw, 190px); }
  .results-actions { grid-template-columns: 1fr; }
  .contact-card { padding: 175px 0 0 22px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .why-dialog,
  .delivery-dialog { width: calc(100vw - 20px); max-height: calc(100vh - 20px); }
  .why-dialog-inner,
  .delivery-dialog-inner { padding: 26px 20px 34px; }
  .why-dialog h2 { margin-bottom: 28px; font-size: clamp(42px, 13vw, 58px); }
  .why-dialog-copy { font-size: 16px; }
  .dialog-close { width: 42px; height: 42px; }
  .delivery-dialog h2 { font-size: clamp(39px, 12vw, 52px); }
  .delivery-lead { font-size: 16px; }
  .delivery-form input { font-size: 18px; }
  .delivery-submit { width: 100%; }
}

@media print {
  @page { size: A4; margin: 18mm; }
  body { background: #fff; color: #111; font-size: 11pt; }
  .site-header, .hero, .why-section, .generator-intro, .generator-card, .results-heading .eyebrow, .results-heading .secondary-button, .results-actions, .contact-section, .embedded-insight, .site-footer { display: none !important; }
  .section, .generator-section, .results { display: block !important; min-height: 0; padding: 0; border: 0; }
  .results[hidden] { display: none !important; }
  .results-heading { display: block; margin-bottom: 12mm; }
  .results-heading h2 { color: #111; font-size: 34pt; }
  .result-grid { display: block; margin: 0; }
  .result-card { break-inside: avoid; min-height: 0; margin-bottom: 8mm; padding: 5mm 0; border: 0; border-top: 2px solid #111; }
  .result-card::before, .result-card::after, .result-index, .result-ornament { display: none; }
  .result-value { font-size: 25pt; }
  .print-details { display: block; margin-top: 4mm; }
  .print-theme { color: #111; font-weight: 800; text-transform: uppercase; }
  .print-description { color: #333; }
}
