/* =========================================================
   2026 YEAR-END PARTY — POT MONEY
   Golden Hour visual system
   ========================================================= */

:root {
  --espresso: #211a16;
  --espresso-2: #30231c;
  --ink: #342820;
  --muted: #8d8073;
  --gold: #bd8746;
  --gold-dark: #95612f;
  --gold-light: #e6c58e;
  --champagne: #f1dfbd;
  --ivory: #faf7f0;
  --paper: #fffdf9;
  --line: #e9e1d5;
  --success: #55745b;
  --danger: #a64c3e;
  --shadow: 0 24px 70px rgba(49, 34, 22, 0.09);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
button,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  z-index: 10;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.15'/%3E%3C/svg%3E");
}
.site-header {
  height: 82px;
  padding: 0 max(5.5vw, 24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #211a16;
  color: #fff;
  position: relative;
  z-index: 2;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(230, 197, 142, 0.55);
  border-radius: 50%;
  color: var(--gold-light);
  font-size: 22px;
}
.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  letter-spacing: 0.14em;
}
.brand-copy strong {
  font-size: 12px;
  font-weight: 700;
}
.brand-copy small {
  color: #b8a998;
  font-size: 8px;
  letter-spacing: 0.17em;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 34px;
}
.event-status {
  font-size: 9px;
  letter-spacing: 0.16em;
  color: #d7c5ae;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c5a06a;
  margin-right: 8px;
  box-shadow: 0 0 0 4px rgba(197, 160, 106, 0.12);
}
.header-link {
  color: #f0d7ae;
  font-size: 11px;
  border-bottom: 1px solid rgba(240, 215, 174, 0.45);
  padding-bottom: 5px;
}
.header-link span {
  margin-left: 8px;
}

.hero-section {
  min-height: 590px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 82px max(10vw, 28px) 100px;
  color: white;
  background:
    radial-gradient(
      ellipse at 78% 30%,
      rgba(185, 127, 61, 0.28),
      transparent 35%
    ),
    radial-gradient(
      ellipse at 10% 100%,
      rgba(132, 81, 40, 0.25),
      transparent 42%
    ),
    linear-gradient(115deg, #211a16 0%, #30231c 56%, #49301f 100%);
}
.hero-section:after {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  right: 5%;
  top: -12%;
  border: 1px solid rgba(230, 197, 142, 0.12);
  box-shadow:
    0 0 0 45px rgba(230, 197, 142, 0.025),
    0 0 0 95px rgba(230, 197, 142, 0.02),
    0 0 0 150px rgba(230, 197, 142, 0.015);
}
.hero-orbit {
  position: absolute;
  border: 1px solid rgba(230, 197, 142, 0.22);
  border-radius: 50%;
  transform: rotate(-24deg);
}
.orbit-one {
  width: 440px;
  height: 170px;
  right: 9%;
  top: 27%;
}
.orbit-two {
  width: 540px;
  height: 220px;
  right: 4%;
  top: 22%;
}
.hero-content {
  max-width: 650px;
  position: relative;
  z-index: 1;
}
.eyebrow,
.section-kicker,
.step-label {
  color: var(--gold-light);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow span {
  width: 25px;
  height: 1px;
  background: var(--gold-light);
}
.hero-year {
  margin: 28px 0 9px;
  color: #bca58b;
  font-size: 10px;
  letter-spacing: 0.36em;
}
.hero-content h1 {
  margin: 0;
  font:
    600 clamp(58px, 7.3vw, 100px)/0.98 "Playfair Display",
    serif;
  letter-spacing: -0.045em;
}
.hero-content h1 em,
h2 em,
.summary-card h3 em {
  color: var(--gold-light);
  font-weight: 500;
}
.hero-description {
  max-width: 460px;
  margin: 25px 0 30px;
  color: #c9b9a8;
  font-size: 13px;
  line-height: 1.9;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}
.button {
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 49px;
  padding: 0 22px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.025em;
  transition: 0.2s ease;
}
.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}
.button-gold {
  color: #2c2018;
  background: linear-gradient(120deg, #e8c88f, #bd8746);
  box-shadow: 0 10px 28px rgba(189, 135, 70, 0.2);
}
.button-gold span {
  font-size: 16px;
}
.text-action {
  color: #e3d4c2;
  font-size: 11px;
}
.text-action span {
  color: var(--gold-light);
  margin-left: 8px;
}
.hero-side-note {
  position: absolute;
  right: 8%;
  bottom: 31%;
  z-index: 1;
  display: flex;
  gap: 13px;
  align-items: center;
  color: #cbb79d;
  font-size: 8px;
  line-height: 1.8;
  letter-spacing: 0.17em;
}
.side-line {
  width: 32px;
  height: 1px;
  background: var(--gold-light);
}
.hero-bottom {
  position: absolute;
  left: max(5.5vw, 24px);
  right: max(5.5vw, 24px);
  bottom: 24px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  color: #9e8b78;
  font-size: 8px;
  letter-spacing: 0.17em;
}
.hero-bottom-center {
  color: var(--gold-light);
  font-size: 14px;
}

.intro-strip {
  display: grid;
  grid-template-columns: 1.1fr 1.5fr 0.55fr;
  align-items: center;
  gap: 7%;
  padding: 75px max(10vw, 28px);
  background: #f2eadc;
}
.intro-strip h2,
.section-heading h2,
.retrieve-copy h2 {
  margin: 12px 0 0;
  font:
    600 clamp(32px, 4vw, 46px)/1.12 "Playfair Display",
    serif;
  letter-spacing: -0.03em;
}
.intro-strip h2 em,
.section-heading h2 em,
.retrieve-copy h2 em {
  color: var(--gold-dark);
}
.intro-strip p {
  max-width: 490px;
  margin: 0;
  color: #7d7064;
  line-height: 1.9;
  font-size: 12px;
}
.strip-price {
  border-left: 1px solid #d8c8b0;
  padding-left: 25px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.strip-price span,
.strip-price small {
  color: #998875;
  font-size: 8px;
  letter-spacing: 0.17em;
}
.strip-price strong {
  color: var(--gold-dark);
  font:
    600 37px "Playfair Display",
    serif;
}

.entry-section {
  padding: 100px max(8vw, 24px) 110px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin: 0 auto 38px;
  max-width: 1180px;
}
.section-heading .section-kicker,
.retrieve-copy .section-kicker {
  color: var(--gold-dark);
}
.secure-note {
  color: #817568;
  font-size: 10px;
  padding: 10px 14px;
  border: 1px solid #e5dccf;
  border-radius: 30px;
}
.secure-icon {
  color: var(--gold-dark);
  margin-right: 6px;
  font-size: 15px;
}
.entry-layout {
  max-width: 1180px;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: start;
}
.entry-card,
.summary-card,
.privacy-card,
.help-card,
.retrieve-panel {
  background: var(--paper);
  border: 1px solid #eee7dc;
  box-shadow: var(--shadow);
}
.entry-card {
  padding: clamp(24px, 4vw, 44px);
}
.card-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.step-label {
  color: #a27a4a;
  font-size: 8px;
}
.card-heading h3 {
  margin: 9px 0 5px;
  font:
    600 25px "Playfair Display",
    serif;
}
.card-heading p {
  margin: 0;
  color: #9a8c7d;
  font-size: 11px;
}
.card-number {
  color: #eee4d5;
  font:
    600 42px "Playfair Display",
    serif;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.field-full {
  grid-column: 1 / -1;
}
.field label,
.retrieve-form label {
  font-size: 10px;
  font-weight: 700;
  color: #625346;
}
.field label b {
  color: #b8754c;
}
.field input,
.retrieve-form input {
  width: 100%;
  height: 46px;
  border: 1px solid #e7dfd4;
  outline: none;
  background: #fffefa;
  padding: 0 14px;
  color: var(--ink);
  font-size: 11px;
  border-radius: 2px;
  transition: 0.2s;
}
.field input:focus,
.retrieve-form input:focus {
  border-color: #bd925d;
  box-shadow: 0 0 0 3px rgba(189, 135, 70, 0.1);
}
.field input::placeholder,
.retrieve-form input::placeholder {
  color: #b7ada1;
}
.input-wrap {
  position: relative;
}
.input-wrap input {
  padding-left: 48px;
}
.input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #a37b4c;
  font-size: 9px;
  font-weight: 700;
}
.field-hint {
  color: #a29688;
  font-size: 9px;
  line-height: 1.5;
}
.form-divider {
  height: 1px;
  background: #eee8df;
  margin: 34px 0;
}
.bet-heading {
  margin-bottom: 22px;
}
.set-list {
  display: grid;
  gap: 12px;
}
.set-card {
  border: 1px solid #eae2d7;
  padding: 17px 19px;
  background: #fffefa;
  transition: 0.2s;
}
.set-card:focus-within {
  border-color: #c7a16f;
}
.set-one {
  background: linear-gradient(115deg, #fbf5e9, #fffefa);
  border-color: #e8d8bd;
}
.set-topline,
.set-title-wrap,
.set-control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.set-title-wrap {
  justify-content: flex-start;
  gap: 12px;
}
.set-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: #f0e4d1;
  color: #956a3d;
  font:
    600 13px "Playfair Display",
    serif;
}
.set-title-wrap h4 {
  margin: 0 0 4px;
  font:
    600 15px "Playfair Display",
    serif;
}
.set-title-wrap p {
  margin: 0;
  color: #9b8e80;
  font-size: 9px;
}
.limit-pill,
.unlimited-pill {
  border: 1px solid #e6d4b8;
  color: #9b7445;
  padding: 6px 8px;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.unlimited-pill {
  border-color: #dce6d9;
  color: #68816a;
}
.set-control-row {
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid rgba(224, 214, 200, 0.6);
}
.set-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.set-price strong {
  font:
    600 21px "Playfair Display",
    serif;
  color: #79532f;
}
.set-price small {
  color: #a99b8b;
  font-size: 9px;
}
.quantity-control {
  display: flex;
  align-items: center;
  gap: 17px;
}
.quantity-control output {
  min-width: 17px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}
.qty-btn {
  width: 29px;
  height: 29px;
  border: 1px solid #e5d8c5;
  background: #fff;
  color: #946a3c;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
}
.qty-btn:hover {
  background: #f4ead9;
}
.set-one-note {
  margin-top: 10px;
  color: #9b866b;
  font-size: 9px;
}
.declaration {
  margin: 25px 0 18px;
}
.check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  color: #817568;
  font-size: 10px;
  line-height: 1.7;
}
.check-label input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.custom-check {
  flex: 0 0 17px;
  height: 17px;
  border: 1px solid #d5c5ad;
  background: white;
  position: relative;
  margin-top: 1px;
}
.check-label input:checked + .custom-check {
  background: #a8763f;
  border-color: #a8763f;
}
.check-label input:checked + .custom-check:after {
  content: "✓";
  color: white;
  position: absolute;
  left: 3px;
  top: -1px;
  font-size: 12px;
}
.form-error {
  min-height: 0;
  color: var(--danger);
  font-size: 10px;
  line-height: 1.5;
}
.form-error:not(:empty) {
  padding: 9px 11px;
  background: #fbefec;
  margin-bottom: 12px;
}
.button-submit {
  width: 100%;
  justify-content: space-between;
  color: #fff;
  background: var(--espresso);
  padding: 0 20px;
}
.button-submit b {
  color: var(--gold-light);
  font-size: 17px;
}
.form-footnote {
  text-align: center;
  margin: 13px 0 0;
  color: #a69a8d;
  font-size: 9px;
}
.form-footnote span {
  color: var(--gold-dark);
  margin-right: 5px;
}

.summary-column {
  display: grid;
  gap: 15px;
}
.summary-card {
  padding: 29px 25px;
  color: #f8f0e4;
  background: linear-gradient(150deg, #30231c, #211a16);
  border: 0;
}
.summary-card .step-label {
  color: #d1ad78;
}
.summary-card h3 {
  margin: 14px 0 25px;
  font:
    600 29px/1.12 "Playfair Display",
    serif;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: #c7b8a7;
  font-size: 10px;
}
.summary-line strong {
  color: #fff;
  font-size: 11px;
}
.summary-rule {
  height: 1px;
  margin: 12px 0 0;
  background: rgba(230, 197, 142, 0.35);
}
.total-entries {
  color: #f0d7ae;
  border: 0;
}
.total-entries strong {
  color: #f0d7ae;
}
.summary-total {
  margin-top: 16px;
  padding: 18px;
  background: rgba(230, 197, 142, 0.1);
  border: 1px solid rgba(230, 197, 142, 0.19);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.summary-total span,
.summary-total small {
  color: #c2ad92;
  font-size: 8px;
  letter-spacing: 0.15em;
}
.summary-total strong {
  color: #f0cf98;
  font:
    600 32px "Playfair Display",
    serif;
}
.summary-lock {
  margin-top: 19px;
  color: #b9aa98;
  font-size: 9px;
  line-height: 1.7;
}
.summary-lock span {
  color: var(--gold-light);
  margin-right: 6px;
}
.privacy-card {
  display: flex;
  gap: 13px;
  padding: 18px;
  box-shadow: none;
}
.privacy-symbol {
  color: #b3824c;
  font-size: 22px;
}
.privacy-card strong {
  font:
    600 13px "Playfair Display",
    serif;
}
.privacy-card p {
  margin: 6px 0 0;
  color: #958779;
  font-size: 9px;
  line-height: 1.7;
}
.help-card {
  padding: 17px 18px;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.help-card span {
  color: #a08f7d;
  font-size: 8px;
  letter-spacing: 0.13em;
}
.help-card a {
  font-size: 11px;
  font-weight: 700;
  color: #8c6036;
}
.help-card a b {
  margin-left: 6px;
}

.retrieve-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  align-items: center;
  padding: 85px max(10vw, 28px);
  background: #eee4d4;
}
.retrieve-copy h2 {
  margin-bottom: 16px;
}
.retrieve-copy p {
  max-width: 390px;
  color: #817467;
  font-size: 11px;
  line-height: 1.9;
}
.retrieve-panel {
  padding: 28px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px 15px;
}
.retrieve-icon {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f2e6d3;
  color: #966b3d;
  font-size: 27px;
}
.retrieve-panel h3 {
  margin: 2px 0 5px;
  font:
    600 19px "Playfair Display",
    serif;
}
.retrieve-panel p {
  margin: 0;
  color: #9a8c7e;
  font-size: 9px;
}
.retrieve-form {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  margin-top: 10px;
}
.retrieve-form label {
  margin-top: 5px;
}
.button-dark {
  width: 100%;
  margin-top: 8px;
  justify-content: space-between;
  background: var(--espresso);
  color: white;
}
.retrieve-form .form-error {
  grid-column: 1 / -1;
}
.site-footer {
  padding: 36px 24px;
  text-align: center;
  background: #211a16;
  color: #b9a996;
}
.footer-brand {
  color: #e5c28b;
  font-size: 9px;
  letter-spacing: 0.18em;
  font-weight: 700;
}
.footer-brand span {
  margin-right: 7px;
}
.site-footer p {
  margin: 10px 0 5px;
  font:
    14px "Playfair Display",
    serif;
  color: #eee2d1;
}
.site-footer small {
  color: #8e7e6d;
  font-size: 8px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(25, 18, 14, 0.72);
  backdrop-filter: blur(6px);
}
.modal-backdrop.is-open {
  display: flex;
}
.review-modal {
  position: relative;
  width: min(100%, 520px);
  padding: 34px;
  background: #fffdf8;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 17px;
  border: 0;
  background: transparent;
  font-size: 25px;
  color: #8d7d6b;
  cursor: pointer;
}
.review-modal h2 {
  margin: 10px 0;
  font:
    600 31px "Playfair Display",
    serif;
}
.review-modal h2 em {
  color: var(--gold-dark);
}
.modal-intro {
  color: #958779;
  font-size: 10px;
}
.review-person {
  margin: 20px 0 10px;
  padding: 14px;
  background: #f5eee3;
  color: #6d5945;
  font-size: 10px;
  line-height: 1.8;
}
.review-items {
  border-top: 1px solid #e9e0d4;
}
.review-row {
  display: flex;
  justify-content: space-between;
  padding: 11px 2px;
  color: #827365;
  font-size: 10px;
  border-bottom: 1px solid #eee7dc;
}
.review-row strong {
  color: #46372a;
}
.review-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 18px 0;
  color: #766858;
  font-size: 11px;
}
.review-total strong {
  color: #8e602f;
  font:
    600 25px "Playfair Display",
    serif;
}
.modal-actions {
  display: flex;
  gap: 10px;
}
.modal-actions .button {
  flex: 1;
}
.button-outline {
  background: white;
  color: #72583c;
  border: 1px solid #dfd2bf;
}
.modal-footnote {
  margin: 14px 0 0;
  color: #aa9b8a;
  font-size: 8px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .hero-side-note {
    right: 5%;
    bottom: 15%;
  }
  .intro-strip {
    grid-template-columns: 1fr 1.3fr;
  }
  .strip-price {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid #d8c8b0;
    padding: 18px 0 0;
  }
  .entry-layout {
    grid-template-columns: 1fr;
  }
  .summary-column {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .summary-card {
    grid-row: span 2;
  }
}
@media (max-width: 620px) {
  .site-header {
    height: 70px;
    padding: 0 18px;
  }
  .event-status {
    display: none;
  }
  .header-right {
    gap: 0;
  }
  .hero-section {
    min-height: 570px;
    padding: 75px 25px 105px;
  }
  .hero-content h1 {
    font-size: clamp(55px, 15vw, 78px);
  }
  .hero-description {
    max-width: 330px;
    font-size: 12px;
  }
  .hero-side-note {
    display: none;
  }
  .hero-section:after {
    right: -60%;
    top: 10%;
  }
  .orbit-one,
  .orbit-two {
    right: -45%;
  }
  .hero-bottom {
    left: 20px;
    right: 20px;
    font-size: 6px;
    letter-spacing: 0.1em;
  }
  .intro-strip {
    display: block;
    padding: 58px 25px;
  }
  .intro-strip p {
    margin: 22px 0;
  }
  .strip-price {
    display: inline-flex;
    border-top: 0;
    border-left: 1px solid #d8c8b0;
    padding: 0 0 0 18px;
  }
  .entry-section {
    padding: 65px 15px 75px;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 25px;
  }
  .entry-card {
    padding: 23px 17px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .field-full {
    grid-column: auto;
  }
  .card-heading h3 {
    font-size: 22px;
  }
  .card-number {
    font-size: 34px;
  }
  .set-card {
    padding: 15px 13px;
  }
  .set-title-wrap {
    gap: 9px;
  }
  .limit-pill,
  .unlimited-pill {
    font-size: 6px;
    padding: 5px;
  }
  .summary-column {
    grid-template-columns: 1fr;
  }
  .summary-card {
    grid-row: auto;
  }
  .retrieve-section {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 60px 22px;
  }
  .retrieve-panel {
    padding: 22px 17px;
  }
  .modal-actions {
    flex-direction: column-reverse;
  }
  .review-modal {
    padding: 28px 22px;
  }
}

/* =========================================================
   POT MONEY JS FEEDBACK — append to pot-money.css
   ========================================================= */

.qty-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  transform: none;
}

.set-card.has-entries {
  border-color: rgba(189, 135, 70, 0.55);
  box-shadow: inset 3px 0 0 rgba(189, 135, 70, 0.65);
}

.set-card.limit-reached .set-one-note {
  color: #8b663e;
  font-weight: 600;
}

.set-card.quantity-updated {
  animation: quantityPulse 0.32s ease;
}

@keyframes quantityPulse {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.006);
  }
  100% {
    transform: scale(1);
  }
}

.form-error.is-visible {
  padding: 10px 12px;
  margin: 0 0 12px;
  background: #fbefec;
  border-left: 3px solid #a64c3e;
}

.visually-hidden {
  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;
}

/* =========================================================
   GOLDEN HOUR — STICKY LIVE SUMMARY
   Keeps the running total visible while the employee scrolls
   through the longer entry form.
   ========================================================= */

@media (min-width: 901px) {
  .entry-layout {
    align-items: stretch;
  }

  .summary-column {
    align-self: stretch;
    min-width: 0;
  }

  .summary-card {
    position: sticky;
    top: 24px;
    z-index: 3;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(230, 197, 142, 0.45) transparent;
  }

  .summary-card::-webkit-scrollbar {
    width: 5px;
  }

  .summary-card::-webkit-scrollbar-track {
    background: transparent;
  }

  .summary-card::-webkit-scrollbar-thumb {
    background: rgba(230, 197, 142, 0.35);
    border-radius: 10px;
  }
}

/* Sticky summary is disabled when it moves below the form. */
@media (max-width: 900px) {
  .summary-card {
    position: relative;
    top: auto;
    max-height: none;
    overflow: visible;
  }
}

/* Avoid motion for visitors who request reduced animation. */
@media (prefers-reduced-motion: reduce) {
  .set-card.quantity-updated {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* =========================================================
   GOLDEN HOUR — MOBILE-FIRST REFINEMENT
   Keep desktop layout intact; rebuild the narrow layout so
   every card/control fits the actual viewport width.
   ========================================================= */

/* Prevent any decorative element or grid child from widening the page. */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

main,
.site-header,
.site-footer,
.entry-section,
.entry-layout,
.entry-card,
.summary-column,
.retrieve-section,
.retrieve-panel {
  min-width: 0;
  max-width: 100%;
}

.entry-layout > *,
.summary-column > *,
.form-grid > *,
.set-card,
.set-topline,
.set-title-wrap,
.set-control-row {
  min-width: 0;
}

@media (max-width: 620px) {
  /* Header: preserve brand and retrieval link without squeezing either. */
  .site-header {
    height: 66px;
    padding: 0 16px;
    gap: 10px;
  }

  .brand {
    min-width: 0;
    gap: 9px;
  }

  .brand-mark {
    width: 33px;
    height: 33px;
    flex: 0 0 33px;
    font-size: 19px;
  }

  .brand-copy {
    min-width: 0;
    letter-spacing: 0.11em;
  }

  .brand-copy strong {
    font-size: 10px;
  }

  .brand-copy small {
    font-size: 7px;
    letter-spacing: 0.1em;
  }

  .header-link {
    white-space: nowrap;
    font-size: 10px;
  }

  /* Reduce hero height and keep its content within the phone. */
  .hero-section {
    min-height: 500px;
    padding: 66px 22px 82px;
  }

  .eyebrow {
    gap: 8px;
    font-size: 7px;
    letter-spacing: 0.15em;
  }

  .eyebrow span {
    width: 17px;
    flex: 0 0 17px;
  }

  .hero-year {
    margin-top: 24px;
    font-size: 8px;
    letter-spacing: 0.25em;
  }

  .hero-content h1 {
    font-size: clamp(48px, 13.5vw, 66px);
    overflow-wrap: normal;
  }

  .hero-description {
    max-width: 100%;
    font-size: 11px;
    line-height: 1.8;
  }

  .hero-actions {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 17px;
  }

  .hero-actions .button {
    min-height: 45px;
    padding: 0 16px;
    gap: 12px;
  }

  .hero-bottom {
    left: 16px;
    right: 16px;
    bottom: 17px;
    gap: 8px;
    font-size: 6px;
    letter-spacing: 0.06em;
  }

  .hero-bottom > span {
    max-width: 44%;
  }

  .hero-bottom-center {
    flex: 0 0 auto;
  }

  /* Intro strip: true single-column flow. */
  .intro-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 17px;
    padding: 43px 20px;
  }

  .intro-strip h2,
  .section-heading h2,
  .retrieve-copy h2 {
    font-size: clamp(30px, 9vw, 39px);
  }

  .intro-strip p {
    margin: 0;
    font-size: 11px;
  }

  .strip-price {
    display: grid;
    grid-template-columns: auto auto;
    align-items: baseline;
    justify-content: start;
    column-gap: 9px;
    row-gap: 1px;
    border: 0;
    border-top: 1px solid #d8c8b0;
    padding: 13px 0 0;
  }

  .strip-price span {
    grid-column: 1 / -1;
  }

  .strip-price strong {
    font-size: 29px;
  }

  /* Entry section uses the full available width, with deliberate gutters. */
  .entry-section {
    padding: 46px 14px 56px;
  }

  .section-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 20px;
  }

  .section-heading h2 {
    margin-top: 8px;
  }

  .secure-note {
    padding: 8px 11px;
    font-size: 9px;
  }

  .entry-layout {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 18px;
  }

  .entry-card {
    width: 100%;
    padding: 22px 15px;
    box-shadow: 0 12px 32px rgba(49, 34, 22, 0.055);
  }

  .card-heading {
    gap: 10px;
    margin-bottom: 22px;
  }

  .card-heading h3 {
    font-size: 21px;
  }

  .card-heading p {
    font-size: 10px;
    line-height: 1.5;
  }

  .card-number {
    flex: 0 0 auto;
    font-size: 31px;
  }

  .form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .field,
  .field-full {
    grid-column: 1;
    width: 100%;
  }

  .field label,
  .retrieve-form label {
    font-size: 10px;
  }

  .field input,
  .retrieve-form input {
    height: 47px;
    padding: 0 12px;
    font-size: 13px;
    min-width: 0;
  }

  .input-wrap input {
    padding-left: 43px;
  }

  .field-hint {
    font-size: 9px;
  }

  .form-divider {
    margin: 27px 0;
  }

  .bet-heading {
    margin-bottom: 17px;
  }

  .set-list {
    gap: 11px;
    width: 100%;
  }

  .set-card {
    width: 100%;
    padding: 14px 12px;
    border-radius: 2px;
  }

  .set-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .set-title-wrap {
    flex: 1 1 auto;
    gap: 9px;
  }

  .set-icon {
    width: 33px;
    height: 33px;
    flex: 0 0 33px;
    font-size: 12px;
  }

  .set-title-wrap > div {
    min-width: 0;
  }

  .set-title-wrap h4 {
    font-size: 15px;
  }

  .set-title-wrap p {
    font-size: 8px;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }

  .limit-pill,
  .unlimited-pill {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 5px 6px;
    font-size: 6px;
    letter-spacing: 0.06em;
  }

  .set-control-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 13px;
    padding-top: 12px;
  }

  .set-price {
    min-width: 0;
    gap: 6px;
  }

  .set-price strong {
    font-size: 20px;
    white-space: nowrap;
  }

  .set-price small {
    font-size: 8px;
    white-space: nowrap;
  }

  .quantity-control {
    flex: 0 0 auto;
    gap: 10px;
  }

  .qty-btn {
    width: 35px;
    height: 35px;
    flex: 0 0 35px;
    font-size: 19px;
    border-radius: 2px;
  }

  .quantity-control output {
    min-width: 19px;
    font-size: 13px;
  }

  .set-one-note {
    font-size: 8px;
    line-height: 1.5;
  }

  .declaration {
    margin: 21px 0 16px;
  }

  .check-label {
    gap: 9px;
    font-size: 10px;
    line-height: 1.65;
  }

  .custom-check {
    flex-basis: 19px;
    width: 19px;
    height: 19px;
  }

  .button-submit,
  .button-dark {
    min-height: 49px;
    font-size: 11px;
  }

  .form-footnote {
    font-size: 8px;
    line-height: 1.5;
  }

  /* Summary becomes a deliberate full-width mobile checkout panel. */
  .summary-column {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    gap: 11px;
  }

  .summary-card {
    width: 100%;
    padding: 23px 19px;
    border-radius: 2px;
    position: static;
    max-height: none;
    overflow: visible;
  }

  .summary-card h3 {
    margin: 11px 0 18px;
    font-size: 27px;
  }

  .summary-line {
    padding: 10px 0;
    font-size: 10px;
  }

  .summary-total {
    margin-top: 13px;
    padding: 15px;
  }

  .summary-total strong {
    font-size: clamp(27px, 8vw, 33px);
  }

  .summary-lock {
    margin-top: 14px;
    font-size: 9px;
  }

  .privacy-card,
  .help-card {
    width: 100%;
    padding: 15px;
  }

  .privacy-card strong {
    font-size: 12px;
  }

  .privacy-card p {
    font-size: 9px;
  }

  /* Retrieval area stacks cleanly and uses full width. */
  .retrieve-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 48px 18px;
  }

  .retrieve-copy p {
    font-size: 10px;
  }

  .retrieve-panel {
    width: 100%;
    min-width: 0;
    padding: 20px 15px;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px 12px;
  }

  .retrieve-icon {
    width: 37px;
    height: 37px;
    font-size: 23px;
  }

  .retrieve-panel h3 {
    font-size: 17px;
  }

  .retrieve-panel p {
    font-size: 9px;
  }

  .site-footer {
    padding: 30px 18px;
  }

  /* Review modal fits short phone screens and scrolls internally. */
  .modal-backdrop {
    align-items: flex-end;
    padding: 10px;
  }

  .review-modal {
    width: 100%;
    max-height: calc(100dvh - 20px);
    overflow-y: auto;
    padding: 27px 19px 20px;
    border-radius: 5px 5px 2px 2px;
  }

  .review-modal h2 {
    max-width: calc(100% - 20px);
    font-size: 27px;
    line-height: 1.15;
  }

  .review-person {
    overflow-wrap: anywhere;
  }

  .review-row {
    gap: 12px;
    font-size: 9px;
  }

  .review-total strong {
    font-size: 23px;
  }

  .modal-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .modal-actions .button {
    width: 100%;
    min-height: 46px;
  }
}

/* Extra-small phones: keep controls comfortable without overflow. */
@media (max-width: 360px) {
  .site-header {
    padding: 0 12px;
  }

  .brand-copy small {
    letter-spacing: 0.06em;
  }

  .header-link {
    font-size: 9px;
  }

  .entry-section {
    padding-right: 10px;
    padding-left: 10px;
  }

  .entry-card {
    padding-right: 12px;
    padding-left: 12px;
  }

  .set-card {
    padding-right: 9px;
    padding-left: 9px;
  }

  .set-title-wrap p {
    max-width: 135px;
  }

  .quantity-control {
    gap: 7px;
  }

  .qty-btn {
    width: 32px;
    height: 34px;
    flex-basis: 32px;
  }

  .set-price small {
    display: none;
  }
}

/* Touch and motion accessibility. */
@media (hover: none) {
  .button:hover {
    transform: none;
  }

  .qty-btn:hover {
    background: #fff;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* SweetAlert2 — Golden Hour treatment */
.swal2-popup.pm-swal {
  border: 1px solid #e9dfd0;
  border-radius: 4px;
  padding: 2rem;
  color: #342820;
  font-family: "DM Sans", sans-serif;
  box-shadow: 0 24px 80px rgba(33, 26, 22, 0.22);
}
.pm-swal .swal2-title {
  color: #342820;
  font:
    600 27px/1.2 "Playfair Display",
    serif;
}
.pm-swal .swal2-html-container {
  color: #817568;
  font-size: 12px;
  line-height: 1.8;
}
.pm-swal .swal2-confirm {
  border-radius: 2px !important;
  background: linear-gradient(120deg, #e8c88f, #bd8746) !important;
  color: #2c2018 !important;
  font:
    700 11px "DM Sans",
    sans-serif !important;
  padding: 13px 22px !important;
  box-shadow: none !important;
}
.pm-swal .swal2-cancel {
  border-radius: 2px !important;
  background: #f1eadf !important;
  color: #70563b !important;
}
.pm-swal-toast {
  border: 1px solid #e9dfd0 !important;
  border-radius: 4px !important;
  font-family: "DM Sans", sans-serif !important;
}
.pm-reference-code {
  display: block;
  margin: 15px 0 8px;
  padding: 16px 12px;
  background: #f5eee3;
  border: 1px dashed #c59a63;
  color: #80552c;
  font: 700 17px/1.4 monospace;
  letter-spacing: 0.08em;
  overflow-wrap: anywhere;
}
.pm-reference-hint {
  font-size: 11px;
  color: #8d8073;
}
.pm-loading-button {
  opacity: 0.72;
  pointer-events: none;
}
