:root {
  color-scheme: dark;
  --ink: #101b23;
  --deep: #0c151c;
  --panel: #12212a;
  --paper: #f5f1e9;
  --soft: #bac6c8;
  --gold: #c9a66b;
  --gold-light: #e1bf84;
  --line: rgba(230, 231, 225, .17);
  --gold-line: rgba(201, 166, 107, .45);
  --display: Georgia, 'Times New Roman', serif;
  --body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  min-width: 0;
  background: radial-gradient(ellipse at 70% 0, #192a34, var(--deep) 52rem);
  color: var(--paper);
  font-family: var(--body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; }
.shell { max-width: 1280px; padding-inline: clamp(18px, 5vw, 64px); margin-inline: auto; }
.site-header { background: var(--ink); border-bottom: 1px solid var(--line); }
.header-inner { height: 82px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { width: auto; height: 60px; display: block; }
.header-contact {
  color: var(--gold-light);
  border: 1px solid var(--gold-line);
  padding: .65rem 1rem;
  text-decoration: none;
  font-weight: 630;
  font-size: .875rem;
  border-radius: 2px;
}
.header-contact:hover { background: rgba(201, 166, 107, .1); }

.hero {
  isolation: isolate;
  position: relative;
  margin-top: clamp(20px, 3vw, 38px);
  background: #192831;
  border: 1px solid var(--gold-line);
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0 0 0 auto;
  width: 62%;
  height: 100%;
  object-fit: cover;
  object-position: center 33%;
  z-index: -2;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #14232d 22%, #14232d 36%, rgba(20,35,45,.92) 43%, rgba(20,35,45,.22) 72%, rgba(20,35,45,.05));
}
.hero-copy { max-width: 630px; padding: clamp(37px, 6vw, 77px) clamp(24px, 5vw, 64px); }
.kicker {
  margin: 0 0 .65rem;
  font-size: .875rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--gold-light);
  font-weight: 660;
}
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.033em; }
h1 { font-size: clamp(2.38rem, 6.25vw, 5rem); line-height: .99; margin: 0 0 1.15rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.05rem); line-height: 1.18; margin: 0; }
.hero-copy > p:last-child { margin: 0; max-width: 25rem; color: #d3dcde; font-size: clamp(1rem, 1.4vw, 1.12rem); }
.fallback { margin-block: 2rem; }

.calculator { 
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(295px, 345px);
  align-items: start;
  gap: clamp(24px, 4.2vw, 64px);
  margin-top: clamp(29px, 4vw, 54px);
  margin-bottom: clamp(48px, 7vw, 94px);
}
.builder { min-width: 0; }
.occasion { margin-bottom: 2.15rem; }
.occasion h2 { margin-bottom: .85rem; }

.segments { display: grid; padding: 0; margin: 0; min-inline-size: 0; border: 1px solid var(--line); background: var(--ink); gap: 1px; }
.occasions { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.segments label { position: relative; display: grid; cursor: pointer; }
.segments label + label { border-inline-start: 1px solid var(--line); }
.segments input { position: absolute; inline-size: 1px; block-size: 1px; opacity: 0; }
.segments span { display: grid; place-items: center; min-height: 46px; padding: .55rem .45rem; color: var(--soft); font-size: .875rem; font-weight: 650; text-align: center; }
.segments label:hover span { background: rgba(201, 166, 107, .08); color: var(--paper); }
.segments input:checked + span { color: var(--gold-light); background: #28302d; box-shadow: inset 0 -2px var(--gold); }
.segments input:focus-visible + span { outline: 2px solid var(--gold-light); outline-offset: -3px; }
.section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .3rem .7rem; margin-bottom: .8rem; }
.tax-note { color: var(--soft); font-size: .875rem; white-space: nowrap; }
.formats { width: min(100%, 372px); grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: .8rem; }
.formats span { min-height: 44px; }
.section-note { font-size: .94rem; color: var(--soft); margin: 0 0 .95rem; }
.package-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 1100px) {
  .confirmation-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: clamp(14px, 1.8vw, 21px);
  text-align: left;
  color: var(--paper);
  background: var(--panel);
  cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.card-input { position: absolute; inline-size: 1px; block-size: 1px; opacity: 0; }
.package-card:has(.card-input:focus-visible) { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.package-card:hover { border-color: var(--gold-line); background: #1a2b35; }
.package-card:has(.card-input:checked) { border-color: var(--gold); background: #1d2c31; box-shadow: inset 0 0 0 1px rgba(201, 166, 107, .2); }
.card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: .6rem; }
.card-detail { color: var(--gold-light); font-size: .875rem; font-weight: 620; }
.choice { flex: none; display: grid; place-items: center; width: 19px; height: 19px; border: 1px solid #819299; border-radius: 50%; }
.package-card:has(.card-input:checked) .choice { border-color: var(--gold-light); color: var(--deep); background: var(--gold-light); }
.package-card:has(.card-input:checked) .choice::before { content: ''; width: 8px; height: 4px; transform: rotate(-45deg) translateY(-1px); border: solid currentColor; border-width: 0 0 2px 2px; }
.card-title { font-family: var(--display); font-size: clamp(1.25rem, 2.1vw, 1.48rem); line-height: 1.15; margin-block: .5rem; }
.card-description, .card-images { color: var(--soft); font-size: .875rem; }
.card-images { margin-top: .42rem; }
.card-price { margin-top: auto; padding-top: .8rem; font-size: 1.05rem; font-weight: 670; color: var(--gold-light); }
.quote-card { grid-column: 1 / -1; display: grid; gap: 8px; padding: 1rem 1.2rem; background: var(--panel); border: 1px solid var(--line); }
.quote-card strong { color: var(--gold-light); }

.extras { margin-top: 2rem; }
.extras h2 { margin-bottom: .8rem; }
#extra-options { border-block: 1px solid var(--line); }
.extra-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: .85rem; }
.extra-row + .extra-row { border-top: 1px solid var(--line); }
.extra-name { display: block; font-weight: 620; font-size: .95rem; }
.extra-description { display: block; color: var(--soft); font-size: .875rem; margin-top: .17rem; }
.extra-option { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; cursor: pointer; }
.extra-option:has(input:checked) .extra-name, .extra-option:hover .extra-name { color: var(--gold-light); }
.extra-option input { width: 19px; height: 19px; margin: 0; accent-color: var(--gold-light); cursor: inherit; }
.extra-price { text-align: right; color: var(--gold-light); font-size: .875rem; font-weight: 620; white-space: nowrap; }
.stepper { display: flex; align-items: center; flex-shrink: 0; border: 1px solid var(--line); }
.stepper button { min-width: 44px; min-height: 44px; padding: 0 .38rem; color: var(--gold-light); border: 0; background: none; cursor: pointer; font-size: 1.28rem; }
.stepper button:not([aria-disabled="true"]):hover { background: rgba(201, 166, 107, .09); }
.stepper button[aria-disabled="true"] { opacity: .4; cursor: default; }
.stepper output { min-width: 2rem; padding-inline: .2rem; text-align: center; font-variant-numeric: tabular-nums; }

.summary {
  position: sticky;
  top: 22px;
  scroll-margin-top: 18px;
  background: linear-gradient(150deg, #1b2c36, #111e27 78%);
  border: 1px solid var(--gold-line);
  box-shadow: 0 12px 28px rgba(0,0,0,.15);
  padding: clamp(18px, 2.45vw, 30px);
}
.summary-header { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: 1.05rem; }
.text-button { background: none; color: var(--soft); border: 0; padding: .4rem 0 .4rem .35rem; cursor: pointer; font-size: .875rem; text-decoration: underline; text-underline-offset: .2em; }
.text-button:hover { color: var(--gold-light); }
.summary-items { list-style: none; margin: 0 0 1rem; padding: 0; }
.summary-items li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: .8rem; padding-block: .55rem; color: #dbe1df; font-size: .875rem; }
.summary-items li + li { border-top: 1px solid var(--line); }
.summary-items li strong { color: var(--paper); text-align: right; font-weight: 630; white-space: nowrap; }
.summary-total { border-top: 1px solid var(--gold-line); padding-top: 1.05rem; }
.total-label { color: var(--soft); font-size: .875rem; margin: 0 0 .35rem; }
.summary-amount { font: 400 clamp(1.98rem, 3.25vw, 2.55rem)/1.05 var(--display); letter-spacing: -.035em; color: var(--gold-light); margin: 0; overflow-wrap: anywhere; }
.summary-note, .inquiry-note { color: var(--soft); font-size: .875rem; margin: .75rem 0 0; }
.button { display: inline-grid; place-items: center; min-height: 46px; border: 1px solid transparent; border-radius: 2px; padding: .55rem 1rem; font-weight: 700; text-align: center; text-decoration: none; font-size: .9rem; }
.primary { color: #0e1b23; background: var(--gold); }
.primary:hover { background: var(--gold-light); }
#inquiry { width: 100%; margin-top: 1.2rem; }
.site-footer { display: flex; gap: 1.25rem; padding-bottom: 24px; color: var(--soft); font-size: .875rem; }
.site-footer a { text-underline-offset: .2em; }
.site-footer a:hover { color: var(--gold-light); }
.mobile-dock { display: none; }

@media (max-width: 900px) {
  .calculator { grid-template-columns: minmax(0, 1fr) minmax(260px, .7fr); gap: 22px; }
  .occasions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .occasions label:nth-child(3) { border-inline-start: 0; }
  .occasions label:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 700px) {
  .header-inner { height: 68px; }
  .brand img { height: 52px; }
  .hero-image { width: 80%; object-position: center 34%; }
  .hero::before { background: linear-gradient(90deg, #14232d 8%, rgba(20,35,45,.93) 37%, rgba(20,35,45,.65) 70%, rgba(20,35,45,.38)); }
  .hero-copy { padding: 32px 18px 36px; }
  .hero-copy > p:last-child { max-width: 19rem; }
  .calculator { grid-template-columns: 1fr; gap: 26px; }
  .summary { position: static; }
  .mobile-dock:not(.summary-in-view) {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
    inset: auto 0 0;
    z-index: 2;
    background: #14232d;
    border-top: 1px solid var(--gold-line);
    padding: .6rem max(18px, env(safe-area-inset-right)) calc(.6rem + env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
  }
  .mobile-dock span, .mobile-dock strong { display: block; }
  .mobile-dock span { font-size: .875rem; color: var(--soft); }
  .mobile-dock strong { color: var(--gold-light); font: 400 1.16rem/1.15 var(--display); }
  .mobile-dock .button { flex: none; padding-inline: .7rem; }
  body:has(.mobile-dock:not([hidden])) .site-footer { padding-bottom: calc(91px + env(safe-area-inset-bottom)); }
}

@media (max-width: 460px) {
  .package-grid { grid-template-columns: 1fr; }
  .extra-option { grid-template-columns: auto minmax(0, 1fr); column-gap: .6rem; row-gap: .25rem; }
  .extra-option input { grid-row: span 2; }
  .extra-price { grid-column: 2; text-align: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; }
}

:root { --muted-gold: #9f8457; }
.cookie-panel { position:fixed; z-index:100; bottom:max(.8rem,env(safe-area-inset-bottom)); right:clamp(.8rem,3vw,2.5rem); width:min(36rem,calc(100% - 1.6rem)); max-height:85dvh; overflow:auto; padding:clamp(1rem,3vw,1.65rem); background:var(--ink); color:var(--paper); border:1px solid var(--muted-gold); border-radius:3px; box-shadow:0 8px 32px #0006; }
.cookie-panel[hidden], .cookie-panel [hidden] { display:none; }
.cookie-panel h2 { font:400 clamp(1.5rem,3vw,2rem)/1.12 var(--display); margin:0; }
.cookie-panel p, .cookie-panel label { font:400 1rem/1.5 var(--body); }
.cookie-panel p { margin:.65rem 0; }
.cookie-panel a { color:var(--gold); }
.cookie-panel fieldset { margin:.8rem 0; border:1px solid var(--line); }
.cookie-panel label { display:block; padding:.3rem; }
.cookie-panel button { min-height:44px; font:600 .9rem var(--body); padding:.5rem .7rem; cursor:pointer; background:transparent; border:1px solid var(--muted-gold); color:var(--paper); border-radius:2px; }
.cookie-panel button:hover { background:#293640; }
.cookie-actions { display:flex; flex-wrap:wrap; gap:.45rem; margin-top:.8rem; }
.cookie-actions button { flex:1 1 8rem; }
.cookie-policy-disclosure summary { cursor:pointer; color:var(--gold); text-decoration:underline; padding:.6rem 0; }
.cookie-policy-disclosure summary:focus-visible { outline:2px solid var(--gold); }
.cookie-policy-disclosure h3 { margin:1rem 0 .3rem; font-size:1.05rem; }
@media (prefers-reduced-motion: no-preference) {
  .cookie-panel:not([hidden]) {
    animation: cookie-appear 240ms cubic-bezier(.22,.61,.36,1);
  }
  @keyframes cookie-appear {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
