:root {
  --brand-gold: #FFC010;
  --ink: #050505;
  --paper: #ffffff;
  --rule: #050505;
  --muted: #4a4a4a;
  --max-width: 1080px;
  --body-font: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body-font);
  line-height: 1.35;
}

body {
  margin: 0;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  background: var(--paper);
}

.section-white,
.section-gold {
  border-bottom: 1px solid var(--rule);
  padding: 34px 18px;
}

.section-white {
  background: var(--paper);
}

.section-gold {
  background: var(--brand-gold);
}

.content {
  margin: 0 auto;
  max-width: var(--max-width);
}

.eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.brand-logo {
  height: auto;
  margin: 0 0 8px;
  width: 170px;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.95;
  margin: 0;
}

h1 {
  font-size: 4.2rem;
}

h2 {
  font-size: 2.55rem;
  max-width: 9em;
}

h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0;
}

p {
  margin: 0;
}

.hero {
  padding-top: 26px;
}

.hero-subhead,
.section-intro,
.occasion-line,
.callout,
.guardrail,
.footer-line,
.quote-note,
.confirmation-message {
  font-weight: 600;
}

.hero-subhead {
  font-size: 1.45rem;
  line-height: 1.08;
  margin-top: 14px;
  max-width: 16em;
}

.occasion-line {
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 22px;
  padding-top: 16px;
}

.callout {
  background: var(--brand-gold);
  border: 1px solid var(--rule);
  font-size: 1.05rem;
  line-height: 1.12;
  margin-top: 18px;
  padding: 13px 14px;
  text-align: center;
}

.photo-block {
  margin: 24px auto 0;
  max-width: var(--max-width);
}

.photo-block img {
  background: var(--paper);
  border: 1px solid var(--rule);
  height: auto;
  width: 100%;
}

.photo-block figcaption {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  font-style: italic;
  margin-top: 8px;
}

.section-intro {
  font-size: 1.15rem;
  margin-top: 14px;
}

.configurator {
  margin: 0;
}

.builder-layout {
  align-items: start;
  display: grid;
  gap: 28px;
}

.builder-main,
.summary-panel {
  min-width: 0;
}

.builder-section {
  border-bottom: 1px solid var(--rule);
  padding: 0 0 34px;
}

.builder-section + .builder-section {
  padding-top: 34px;
}

.item-list {
  border-top: 1px solid var(--rule);
  margin-top: 22px;
}

.request-item {
  align-items: center;
  border-bottom: 1px solid var(--rule);
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 13px 0;
}

.request-item p {
  font-weight: 700;
  margin-top: 3px;
}

.request-item em,
.field-note {
  font-style: italic;
}

.quantity-label {
  display: block;
  font-weight: 600;
  margin-top: 12px;
}

.quantity-control {
  align-items: stretch;
  border: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 42px 54px 42px;
  height: 42px;
}

.quantity-control button,
.quantity-control input {
  background: var(--paper);
  border: 0;
  min-width: 0;
  text-align: center;
}

.quantity-control button {
  font-weight: 700;
}

.quantity-control input {
  font-weight: 500;
}

.quantity-control button + input,
.quantity-control input + button {
  border-left: 1px solid var(--rule);
}

.quantity-control input {
  appearance: textfield;
}

.quantity-control input::-webkit-inner-spin-button,
.quantity-control input::-webkit-outer-spin-button {
  appearance: none;
  margin: 0;
}

.flavor-fieldset {
  border: 0;
  margin: 24px 0 0;
  padding: 0;
}

.flavor-fieldset legend {
  font-weight: 600;
  margin-bottom: 10px;
}

.flavor-fieldset label {
  border-top: 1px solid var(--rule);
  display: block;
  font-weight: 600;
  padding: 9px 0;
}

.flavor-fieldset label:last-child {
  border-bottom: 1px solid var(--rule);
}

.flavor-fieldset input {
  margin-right: 8px;
}

.event-details .form-grid {
  border-top: 1px solid var(--rule);
  display: grid;
  gap: 0;
  margin-top: 22px;
}

.form-grid label,
.wide-field {
  border-bottom: 1px solid var(--rule);
  display: grid;
  font-weight: 600;
  gap: 8px;
  padding: 13px 0;
}

.form-grid input,
.form-grid select,
.wide-field textarea {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 0;
  font-weight: 500;
  min-height: 44px;
  padding: 9px 10px;
  width: 100%;
}

.field-note {
  color: var(--muted);
  font-weight: 500;
  margin-top: -2px;
}

.wide-field textarea {
  resize: vertical;
}

.guardrail {
  border-bottom: 1px solid var(--rule);
  margin-top: 22px;
  padding-bottom: 16px;
}

.submit-action {
  background: var(--ink);
  border: 1px solid var(--ink);
  color: var(--paper);
  display: block;
  font-weight: 700;
  margin-top: 18px;
  min-height: 48px;
  padding: 13px 16px;
  text-align: center;
  width: 100%;
}

.submit-action:focus,
.submit-action:hover {
  background: var(--paper);
  color: var(--ink);
}

.confirmation-message {
  margin-top: 16px;
}

.summary-panel {
  background: var(--brand-gold);
  border: 1px solid var(--rule);
  order: -1;
  padding: 18px;
}

.summary-panel h2 {
  font-size: 2.2rem;
}

.summary-panel h2,
.summary-total span,
.summary-total strong {
  font-weight: 700;
}

.summary-items {
  border-top: 1px solid var(--rule);
  margin-top: 16px;
}

.summary-items p {
  border-bottom: 1px solid var(--rule);
  font-weight: 500;
  padding: 10px 0;
}

.summary-total {
  align-items: center;
  border-bottom: 1px solid var(--rule);
  display: flex;
  gap: 16px;
  font-weight: 700;
  justify-content: space-between;
  padding: 14px 0;
}

.quote-note {
  margin-top: 12px;
}

.footer-line {
  border-top: 1px solid var(--rule);
  font-size: 0.95rem;
  padding-top: 16px;
}

@media (min-width: 720px) {
  .section-white,
  .section-gold {
    padding: 52px 32px;
  }

  .hero {
    align-items: center;
    display: grid;
    gap: 34px;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  }

  .hero .content,
  .photo-block {
    margin-top: 0;
  }

  .hero-subhead {
    font-size: 1.75rem;
  }

  .brand-logo {
    width: 220px;
  }

  h1 {
    font-size: 7.2rem;
  }

  h2 {
    font-size: 4.3rem;
  }

  .occasion-line {
    max-width: 34em;
  }

  .builder-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    margin: 0 auto;
    max-width: var(--max-width);
  }

  .summary-panel {
    order: 0;
    position: sticky;
    top: 18px;
  }

  .flavor-fieldset {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .flavor-fieldset legend {
    grid-column: 1 / -1;
  }

  .flavor-fieldset label:nth-last-child(2) {
    border-bottom: 1px solid var(--rule);
  }

  .event-details .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-grid label:nth-last-child(2) {
    border-bottom: 1px solid var(--rule);
  }

  .form-grid label:nth-child(odd) {
    padding-right: 16px;
  }

  .form-grid label:nth-child(even) {
    border-left: 1px solid var(--rule);
    padding-left: 16px;
  }

  .submit-action {
    max-width: 280px;
  }
}
