:root {
  --cream: #FAF8F2;
  --cream-2: #F3EEE2;
  --espresso: #1B2421;
  --espresso-2: #2A3630;
  --crimson: #C63B2B;
  --crimson-dark: #A62E20;
  --gold: #DA9A28;
  --gold-soft: #E8B458;
  --ink: #2A2F2B;
  --muted: #5C6157;
  --line: #E3DCCB;
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(27, 36, 33, 0.07);
  --shadow-md: 0 10px 30px rgba(27, 36, 33, 0.12);
  --shadow-lg: 0 24px 60px rgba(27, 36, 33, 0.16);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Outfit', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 72px; /* dock clearance */
}

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

.wrap { width: min(1180px, 92%); margin: 0 auto; }

h1, h2, h3 { font-family: var(--serif); color: var(--espresso); line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 700; line-height: 1.1; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }

a { color: var(--crimson); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; text-decoration: none;
  border: 2px solid transparent; border-radius: 999px; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  padding: 12px 26px; font-size: 1rem;
}
.btn-sm { padding: 9px 20px; font-size: .9rem; }
.btn-lg { padding: 15px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--crimson); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--crimson-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { border-color: var(--espresso); color: var(--espresso); background: transparent; }
.btn-outline:hover { background: var(--espresso); color: var(--cream); transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--espresso); }
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-2px); }
.btn:focus-visible, .chip:focus-visible, .tab:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 2px;
}

/* ---------- Ticker ---------- */
.ticker-bar {
  background: var(--espresso); color: var(--cream); overflow: hidden;
  padding: 8px 0; font-size: .82rem; letter-spacing: .04em;
}
.ticker-track {
  display: flex; gap: 28px; align-items: center; white-space: nowrap;
  width: max-content; animation: ticker 36s linear infinite;
}
.tick-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 248, 242, 0.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-emblem { display: grid; place-items: center; filter: drop-shadow(0 2px 3px rgba(27,36,33,.2)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--serif); font-weight: 700; color: var(--espresso); font-size: 1.02rem; }
.brand-text em { font-style: normal; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav > a { text-decoration: none; color: var(--espresso); font-weight: 500; font-size: .95rem; position: relative; }
.main-nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -5px; width: 0; height: 2px;
  background: var(--crimson); transition: width .2s ease;
}
.main-nav > a:not(.btn):hover::after { width: 100%; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--espresso); margin: 5px 0; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 90px; background:
  radial-gradient(1100px 500px at 85% -10%, rgba(218, 154, 40, 0.14), transparent 60%),
  linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; z-index: 2; }
.hero-eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.eyebrow-kicker { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--crimson); }
.hero-sub { margin: 20px 0 30px; font-size: 1.1rem; color: var(--muted); max-width: 56ch; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { list-style: none; display: flex; gap: 22px; margin-top: 30px; font-size: .85rem; color: var(--muted); }
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

.hero-media { display: grid; gap: 20px; }
.hero-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.hero-photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.hero-photo img { width: 100%; height: 380px; object-fit: cover; }

.hero-calc {
  background: var(--espresso); color: var(--cream); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow-md);
}
.hero-calc h2 { color: var(--cream); font-size: 1.05rem; margin-bottom: 14px; }
.hero-calc-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.hero-calc-row label { font-size: .9rem; }
.hero-calc-row small { color: rgba(250,248,242,.6); }
.stepper { display: flex; align-items: center; background: var(--espresso-2); border-radius: 999px; overflow: hidden; }
.stepper button {
  width: 34px; height: 34px; border: none; background: none; color: var(--gold);
  font-size: 1.2rem; cursor: pointer; transition: background .15s ease;
}
.stepper button:hover { background: rgba(218,154,40,.15); }
.stepper input {
  width: 58px; text-align: center; background: none; border: none; color: var(--cream);
  font: 600 1rem var(--sans); -moz-appearance: textfield; appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.hero-calc-note { font-size: .85rem; color: rgba(250,248,242,.78); margin: 4px 0 16px; line-height: 1.5; min-height: 38px; }

.hero-arches {
  position: absolute; bottom: -1px; left: 0; right: 0; height: 46px; z-index: 1;
  background:
    radial-gradient(circle 26px at 26px 46px, transparent 25px, var(--cream) 26px) 0 0/52px 46px repeat-x;
  opacity: .9;
}

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.kicker { display: inline-block; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--gold); margin-bottom: 12px; }
.section-head p { color: var(--muted); margin-top: 12px; }

/* ---------- Packages / Tabs ---------- */
.packages { background: var(--cream); }
.tabs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.tab {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: .92rem; font-weight: 500;
  background: var(--cream-2); color: var(--espresso);
  border: 1.5px solid var(--line); border-radius: 999px;
  padding: 10px 20px; cursor: pointer; transition: all .2s ease;
}
.tab:hover { border-color: var(--gold); }
.tab.is-active { background: var(--crimson); color: #fff; border-color: var(--crimson); box-shadow: var(--shadow-sm); }
.tab-badge {
  background: var(--gold); color: var(--espresso); font-size: .72rem; font-weight: 700;
  border-radius: 999px; padding: 3px 10px; letter-spacing: .02em;
}
.tab.is-active .tab-badge { background: var(--cream); }

.pkg-panel {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 0;
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-md); border: 1px solid var(--line);
  animation: fadeUp .35s ease;
}
.pkg-panel[hidden] { display: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.pkg-media { min-height: 340px; }
.pkg-media img { width: 100%; height: 100%; object-fit: cover; }
.pkg-body { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; }
.pkg-count {
  align-self: flex-start; background: rgba(218,154,40,.16); color: #8a5f10;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  border-radius: 999px; padding: 5px 14px; margin-bottom: 16px;
}
.pkg-body p { color: var(--muted); margin: 12px 0 18px; }
.pkg-list { list-style: none; margin-bottom: 26px; }
.pkg-list li { padding: 9px 0 9px 30px; position: relative; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.pkg-list li::before {
  content: ""; position: absolute; left: 4px; top: 14px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--gold);
  -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"/></svg>') center/contain no-repeat;
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"/></svg>') center/contain no-repeat;
  background-color: var(--crimson);
}
.pkg-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.price { font-family: var(--serif); font-size: 1.7rem; font-weight: 700; color: var(--espresso); }
.price small { font-family: var(--sans); font-size: .85rem; font-weight: 500; color: var(--muted); }

/* ---------- Pairing Builder ---------- */
.pairing { background: var(--espresso); color: var(--cream); }
.pairing .section-head h2 { color: var(--cream); }
.pairing .section-head p { color: rgba(250,248,242,.7); }
.builder-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 30px; }
.builder-col h3 { color: var(--gold); font-size: 1rem; margin-bottom: 16px; font-family: var(--sans); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-family: var(--sans); font-size: .88rem; font-weight: 500;
  background: var(--espresso-2); color: var(--cream);
  border: 1.5px solid rgba(250,248,242,.2); border-radius: 999px;
  padding: 10px 18px; cursor: pointer; transition: all .18s ease;
}
.chip:hover { border-color: var(--gold); transform: translateY(-1px); }
.chip.is-selected { background: var(--gold); color: var(--espresso); border-color: var(--gold); font-weight: 600; }
.builder-result {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: rgba(250,248,242,.06); border: 1px solid rgba(218,154,40,.35);
  border-radius: var(--radius); padding: 24px 28px;
}
.builder-pair { display: block; font-family: var(--serif); font-size: 1.25rem; color: var(--cream); margin-bottom: 6px; }
.builder-note { font-size: .9rem; color: rgba(250,248,242,.65); }
.builder-right { display: flex; align-items: center; gap: 16px; }
.builder-price { font-family: var(--serif); font-size: 1.9rem; font-weight: 700; color: var(--gold); }
.builder-per { font-size: .85rem; color: rgba(250,248,242,.6); margin-right: 6px; }

/* ---------- Craft strip ---------- */
.craft { background: var(--cream-2); }
.craft-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.craft-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.craft-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.craft-icon {
  width: 54px; height: 54px; border-radius: 14px; background: rgba(198,59,43,.09);
  display: grid; place-items: center; margin-bottom: 18px;
}
.craft-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.craft-card p { font-size: .92rem; color: var(--muted); }

/* ---------- Coverage ---------- */
.coverage { background: var(--cream); }
.coverage-photo { margin-top: 32px; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.coverage-photo img { width: 100%; height: 340px; object-fit: cover; }
.coverage-photo figcaption {
  position: absolute; left: 0; bottom: 0; right: 0;
  background: linear-gradient(180deg, transparent, rgba(27,36,33,.85));
  color: var(--cream); font-family: var(--serif); font-size: 1.05rem;
  padding: 40px 24px 18px;
}
.coverage-grid { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 32px; }
.coverage-col, .coverage-note {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm);
}
.coverage-col h3, .coverage-note h3 { font-size: 1.05rem; margin-bottom: 16px; }
.zone-list { list-style: none; }
.zone-list li { padding: 8px 0 8px 24px; position: relative; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.zone-list li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.coverage-note p { font-size: .93rem; color: var(--muted); margin-bottom: 12px; }
.coverage-note .btn { margin-top: 8px; }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.contact-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 44px; align-items: start; }
.contact-form-wrap h2 { margin-bottom: 10px; }
.contact-form-wrap > p { color: var(--muted); margin-bottom: 28px; }
.quote-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: .85rem; font-weight: 600; color: var(--espresso); }
.field input, .field select, .field textarea {
  font: 400 .95rem var(--sans); color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px;
  background: var(--cream); transition: border-color .18s ease, box-shadow .18s ease;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(218,154,40,.18);
}
.field input.is-invalid, .field input.is-invalid { border-color: var(--crimson); }
.form-status { font-size: .92rem; font-weight: 600; min-height: 1.2em; }
.form-status.ok { color: #2e7d4f; }
.form-status.err { color: var(--crimson); }
.form-fine { font-size: .85rem; color: var(--muted); }

.contact-info {
  background: var(--espresso); color: var(--cream); border-radius: var(--radius);
  padding: 34px; box-shadow: var(--shadow-md);
}
.contact-info h3 { color: var(--cream); font-size: 1.3rem; margin-bottom: 22px; }
.info-list { display: grid; gap: 16px; margin-bottom: 26px; }
.info-list div { display: grid; gap: 3px; padding-bottom: 14px; border-bottom: 1px solid rgba(250,248,242,.12); }
.info-list dt { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.info-list dd { font-size: .98rem; color: rgba(250,248,242,.92); }
.info-list a { color: var(--gold-soft); text-decoration: none; }
.info-list a:hover { text-decoration: underline; }
.compliance h4 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.compliance p { font-size: .88rem; color: rgba(250,248,242,.72); line-height: 1.6; }

/* ---------- Footer ---------- */
.site-footer { background: #141b18; color: rgba(250,248,242,.75); padding: 40px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 14px; max-width: 460px; }
.footer-brand p { font-size: .85rem; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--gold-soft); text-decoration: none; font-size: .88rem; }
.footer-links a:hover { text-decoration: underline; }
.copyright { width: 100%; text-align: center; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(250,248,242,.1); font-size: .82rem; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(20, 27, 24, .65); backdrop-filter: blur(4px); }
.modal-card {
  position: relative; background: var(--cream); border-radius: var(--radius);
  max-width: 640px; width: 100%; max-height: 80vh; overflow-y: auto;
  padding: 36px; box-shadow: var(--shadow-lg); animation: fadeUp .3s ease;
}
.modal-card h3 { margin-bottom: 16px; font-size: 1.5rem; }
.modal-body h4 { font-family: var(--serif); color: var(--espresso); margin: 18px 0 6px; font-size: 1.05rem; }
.modal-body p, .modal-body li { font-size: .94rem; color: var(--muted); line-height: 1.65; }
.modal-body ul { padding-left: 20px; margin: 8px 0; }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px;
  border: none; border-radius: 50%; background: var(--cream-2); color: var(--espresso);
  font-size: 1.4rem; cursor: pointer; transition: background .15s ease;
}
.modal-close:hover { background: var(--line); }

/* ---------- Docked Calculator ---------- */
.calc-dock {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 70;
  background: rgba(27, 36, 33, .97); color: var(--cream);
  border-top: 2px solid var(--gold);
  box-shadow: 0 -8px 30px rgba(27,36,33,.25);
  transform: translateY(100%); transition: transform .35s ease;
}
.calc-dock.is-visible { transform: none; }
.calc-dock-inner { display: flex; align-items: center; gap: 22px; padding: 12px 0; flex-wrap: wrap; }
.calc-title { font-family: var(--serif); font-weight: 600; color: var(--gold); font-size: 1rem; letter-spacing: .02em; }
.calc-dock label { display: flex; align-items: center; gap: 10px; font-size: .85rem; }
.calc-dock input {
  width: 74px; padding: 8px 10px; border-radius: 8px; border: 1px solid rgba(250,248,242,.25);
  background: var(--espresso-2); color: var(--cream); font: 600 .95rem var(--sans); text-align: center;
  -moz-appearance: textfield; appearance: textfield;
}
.calc-dock input::-webkit-outer-spin-button, .calc-dock input::-webkit-inner-spin-button { -webkit-appearance: none; }
.dock-summary { display: flex; align-items: center; gap: 18px; margin-left: auto; flex-wrap: wrap; }
#dockSummary { font-size: .88rem; color: rgba(250,248,242,.85); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo img { height: 320px; }
  .pkg-panel { grid-template-columns: 1fr; }
  .pkg-media { min-height: 260px; }
  .pkg-media img { height: 260px; }
  .craft-grid { grid-template-columns: repeat(2, 1fr); }
  .coverage-grid { grid-template-columns: 1fr 1fr; }
  .coverage-note { grid-column: 1 / -1; }
  .builder-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .section { padding: 60px 0; }
  .hero { padding: 48px 0 70px; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 4%; box-shadow: var(--shadow-md);
  }
  .main-nav.is-open { display: flex; }
  .main-nav > a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .main-nav .btn { margin: 14px 4px 6px; justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .craft-grid { grid-template-columns: 1fr; }
  .coverage-grid { grid-template-columns: 1fr; }
  .pkg-body { padding: 26px; }
  .calc-dock-inner { gap: 12px; }
  .dock-summary { margin-left: 0; width: 100%; justify-content: space-between; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-brand { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  *, *::before, *::after { transition: none !important; animation-duration: .01ms !important; }
}
