:root {
  --ink: #0b1b2a;
  --navy: #071624;
  --navy-2: #10283b;
  --blue: #1f5872;
  --gold: #c9a65a;
  --gold-2: #e3cf9a;
  --ivory: #f7f1e6;
  --sand: #e6d8c1;
  --mist: #eef4f3;
  --white: #ffffff;
  --muted: #667482;
  --danger: #9d2f2f;
  --success: #2f6f58;
  --shadow: 0 24px 70px rgba(7, 22, 36, .18);
  --shadow-soft: 0 14px 38px rgba(7, 22, 36, .12);
  --radius: 26px;
  --radius-sm: 14px;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  text-rendering: geometricPrecision;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
  border-radius: 8px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 1000;
  background: var(--gold);
  color: var(--navy);
  padding: .75rem 1rem;
  border-radius: 999px;
  font-weight: 800;
}
.skip-link:focus { top: 1rem; }

.preview-banner {
  background: var(--gold);
  color: var(--navy);
  text-align: center;
  padding: .65rem 1rem;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 241, 230, .92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(11, 27, 42, .1);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  min-width: fit-content;
}
.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: var(--navy);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(201, 166, 90, .45);
}
.brand-name {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.main-nav {
  display: none;
  align-items: center;
  gap: .25rem;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 800;
}
.main-nav a {
  padding: .7rem .85rem;
  border-radius: 999px;
  color: #203447;
}
.main-nav a:hover, .main-nav a[aria-current='page'] {
  background: rgba(201, 166, 90, .17);
  color: var(--navy);
}
.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.cart-badge {
  min-width: 1.45rem;
  height: 1.45rem;
  padding: 0 .4rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--navy);
  color: var(--ivory);
  font-size: .72rem;
  letter-spacing: 0;
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 4.8rem 0; }
.section-tight { padding: 3rem 0; }
.eyebrow {
  margin: 0 0 .75rem;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
h1, h2, h3 {
  font-family: var(--serif);
  color: var(--navy);
  line-height: .98;
  font-weight: 700;
  margin: 0;
}
h1 { font-size: clamp(3.7rem, 13vw, 8.8rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2.45rem, 7vw, 5.4rem); letter-spacing: -.045em; }
h3 { font-size: clamp(1.65rem, 4vw, 2.5rem); letter-spacing: -.025em; }
p { margin: 0; }
.lede { font-size: clamp(1.05rem, 2vw, 1.28rem); color: #33485b; max-width: 690px; }
.muted { color: var(--muted); }

.btn-primary, .btn-secondary, .btn-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  border-radius: 999px;
  padding: .85rem 1.2rem;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-weight: 900;
  font-size: .8rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
}
.btn-primary {
  background: var(--navy);
  color: var(--ivory);
  box-shadow: 0 14px 26px rgba(7, 22, 36, .18);
}
.btn-primary:hover { transform: translateY(-2px); background: #0f273c; }
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: rgba(11, 27, 42, .22);
}
.btn-secondary:hover { transform: translateY(-2px); border-color: var(--gold); background: rgba(201, 166, 90, .14); }
.btn-text { padding-inline: 0; min-height: auto; color: var(--navy); }
.btn-text::after { content: '\2192'; color: var(--gold); }

.auth-submit, .cart-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: .95rem 1.25rem;
  background: var(--navy);
  color: var(--ivory);
  box-shadow: 0 14px 26px rgba(7, 22, 36, .18);
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}
.auth-submit:hover, .cart-submit:hover {
  transform: translateY(-2px);
  background: #0f273c;
  box-shadow: 0 18px 32px rgba(7, 22, 36, .22);
}
.auth-submit:disabled, .cart-submit:disabled {
  cursor: not-allowed;
  opacity: .58;
  transform: none;
  box-shadow: none;
}

.hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  align-items: stretch;
  overflow: hidden;
  background: var(--navy);
  color: var(--ivory);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 22, 36, .95) 0%, rgba(7, 22, 36, .72) 43%, rgba(7, 22, 36, .22) 100%),
    radial-gradient(circle at 74% 28%, rgba(227, 207, 154, .42), transparent 16rem),
    radial-gradient(circle at 88% 76%, rgba(31, 88, 114, .72), transparent 22rem),
    linear-gradient(135deg, #0a2033 0%, #1d5d78 44%, #d9bf7a 45%, #f4ead8 46%, #14324a 70%, #06111d 100%);
}
.hero::after {
  content: '';
  position: absolute;
  right: 8%;
  bottom: 7%;
  width: min(42vw, 500px);
  aspect-ratio: 3/4;
  border-radius: 44% 44% 12px 12px;
  border: 1px solid rgba(247, 241, 230, .42);
  background:
    linear-gradient(180deg, transparent 0 54%, rgba(7, 22, 36, .26) 54% 100%),
    radial-gradient(circle at 50% 22%, rgba(247,241,230,.85), transparent 2.5rem),
    linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.02));
  opacity: .64;
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 6.5rem 1.25rem 3rem;
  display: grid;
  align-content: end;
  gap: 2rem;
}
.hero h1, .hero .eyebrow { color: var(--ivory); }
.hero .eyebrow { color: var(--gold-2); }
.hero-copy { max-width: 820px; }
.hero-copy .lede { color: rgba(247, 241, 230, .86); margin-top: 1.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero .btn-secondary { color: var(--ivory); border-color: rgba(247,241,230,.4); }
.hero .btn-secondary:hover { background: rgba(247,241,230,.11); }

.booking-panel {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(247, 241, 230, .2);
  background: rgba(247, 241, 230, .09);
  backdrop-filter: blur(18px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.booking-field {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(247, 241, 230, .95);
  color: var(--navy);
}
.booking-field span {
  display: block;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-weight: 900;
  color: var(--gold);
}
.booking-field strong { font-family: var(--serif); font-size: 1.45rem; }

.editorial-split {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.photo-panel {
  min-height: 430px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(180deg, rgba(7,22,36,.05), rgba(7,22,36,.48)),
    radial-gradient(circle at 68% 18%, rgba(247,241,230,.9), transparent 5rem),
    linear-gradient(135deg, #17364b, #2a7892 45%, #d6b86f 46%, #f7f1e6 47%, #133047 100%);
  box-shadow: var(--shadow-soft);
}
.photo-panel.alt {
  background:
    linear-gradient(180deg, rgba(7,22,36,.02), rgba(7,22,36,.5)),
    radial-gradient(circle at 24% 25%, rgba(227,207,154,.82), transparent 5rem),
    linear-gradient(140deg, #f7f1e6 0%, #d7c39c 24%, #1d5268 25%, #0d2438 100%);
}
.photo-caption {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(7, 22, 36, .76);
  color: var(--ivory);
  backdrop-filter: blur(14px);
}
.photo-caption strong { display: block; font-family: var(--serif); font-size: 1.55rem; line-height: 1.05; }
.photo-caption span { color: rgba(247,241,230,.75); font-size: .9rem; }

.stat-row {
  display: grid;
  gap: 1px;
  background: rgba(11, 27, 42, .12);
  border: 1px solid rgba(11, 27, 42, .12);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  background: #fffaf0;
  padding: 1.5rem;
}
.stat strong { display: block; font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--navy); }
.stat span { color: var(--muted); font-size: .92rem; }

.product-grid {
  display: grid;
  gap: 1.2rem;
  margin-top: 2rem;
}
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: var(--radius);
  background: #fffaf0;
  border: 1px solid rgba(11, 27, 42, .1);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(7,22,36,.06);
  transition: transform .22s ease, box-shadow .22s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.product-media, .product-swatch {
  min-height: 245px;
  background:
    radial-gradient(circle at 68% 24%, rgba(247,241,230,.9), transparent 3.8rem),
    linear-gradient(135deg, #15334a, #236b87 43%, #c9a65a 44%, #f7f1e6 45%, #0b1b2a 100%);
}
.product-swatch.spa { background: radial-gradient(circle at 30% 18%, rgba(247,241,230,.9), transparent 3.2rem), linear-gradient(135deg, #d8c7a8, #6e8f83 46%, #c9a65a 47%, #10283b 100%); }
.product-swatch.dining { background: radial-gradient(circle at 66% 24%, rgba(227,207,154,.85), transparent 3.3rem), linear-gradient(135deg, #241713, #7f4b36 44%, #c9a65a 45%, #f7f1e6 46%, #0b1b2a 100%); }
.product-swatch.adventure { background: radial-gradient(circle at 78% 18%, rgba(247,241,230,.88), transparent 3.7rem), linear-gradient(135deg, #08324c, #2b819c 45%, #e3cf9a 46%, #21382d 100%); }
.product-swatch.wellness { background: radial-gradient(circle at 24% 25%, rgba(247,241,230,.88), transparent 3.7rem), linear-gradient(135deg, #e7d8be, #a1b7a4 45%, #c9a65a 46%, #172c36 100%); }
.product-media img { width: 100%; height: 245px; object-fit: cover; }
.product-body { padding: 1.25rem; display: grid; gap: .75rem; flex: 1; }
.product-kicker { color: var(--gold); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 900; }
.product-title { font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--navy); }
.product-price { font-weight: 900; color: var(--navy); }
.product-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: auto; }

.filter-bar {
  display: flex;
  gap: .65rem;
  overflow-x: auto;
  padding: .5rem 0 1rem;
  margin-top: 1.5rem;
}
.filter-btn {
  white-space: nowrap;
  border: 1px solid rgba(11,27,42,.18);
  background: transparent;
  color: var(--navy);
  border-radius: 999px;
  padding: .7rem 1rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .74rem;
  cursor: pointer;
}
.filter-btn:hover, .filter-btn:focus { background: rgba(201,166,90,.16); border-color: var(--gold); }

.amenity-list {
  display: grid;
  gap: 1px;
  background: rgba(11, 27, 42, .12);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(11, 27, 42, .1);
}
.amenity {
  background: #fffaf0;
  padding: 1.35rem;
}
.amenity h3 { font-size: 1.65rem; margin-bottom: .45rem; }

.navy-band {
  background: var(--navy);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}
.navy-band h2, .navy-band h3 { color: var(--ivory); }
.navy-band .lede, .navy-band .muted { color: rgba(247,241,230,.74); }
.quote-grid { display: grid; gap: 1rem; margin-top: 2rem; }
.quote-card {
  padding: 1.5rem;
  border: 1px solid rgba(247, 241, 230, .16);
  border-radius: var(--radius);
  background: rgba(247, 241, 230, .06);
}
.quote-card blockquote { margin: 0; font-family: var(--serif); font-size: 1.75rem; line-height: 1.08; }
.quote-card cite { display: block; margin-top: 1rem; color: var(--gold-2); font-style: normal; font-weight: 800; }

.page-hero {
  padding: 5rem 0 3rem;
  background:
    radial-gradient(circle at 75% 20%, rgba(201,166,90,.22), transparent 16rem),
    linear-gradient(180deg, #fffaf0, var(--ivory));
}
.page-hero .lede { margin-top: 1rem; }

.product-detail {
  display: grid;
  gap: 2rem;
  align-items: stretch;
}
.detail-panel {
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--radius);
  background: #fffaf0;
  border: 1px solid rgba(11,27,42,.1);
  box-shadow: var(--shadow-soft);
}
.detail-meta { color: var(--gold); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 900; }
.detail-price { font-size: 1.4rem; font-weight: 900; margin: 1rem 0; }

.account-layout, .cart-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}
.perk-list { display: grid; gap: .8rem; margin-top: 1.25rem; }
.perk {
  padding: 1rem;
  border-left: 3px solid var(--gold);
  background: rgba(255,250,240,.76);
  border-radius: 0 18px 18px 0;
}

#webwiz-auth, #webwiz-cart-page {
  background: #fffaf0;
  border: 1px solid rgba(11,27,42,.1);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 3vw, 2rem);
  box-shadow: var(--shadow-soft);
}
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .45rem;
  padding: .35rem;
  background: rgba(11,27,42,.06);
  border-radius: 999px;
  margin-bottom: 1.2rem;
}
.auth-tab {
  border: 0;
  border-radius: 999px;
  padding: .85rem 1rem;
  background: transparent;
  color: var(--navy);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.auth-tab-active { background: var(--navy); color: var(--ivory); box-shadow: 0 8px 18px rgba(7,22,36,.18); }
.auth-form, .cart-inquiry { display: grid; gap: 1rem; }
.auth-fields, .cart-fields { display: grid; gap: .8rem; }
.auth-input, .cart-input {
  width: 100%;
  border: 1px solid rgba(11,27,42,.18);
  border-radius: 16px;
  background: var(--white);
  color: var(--navy);
  padding: .95rem 1rem;
  font: inherit;
}
textarea.cart-input { min-height: 130px; resize: vertical; }
.auth-input:focus, .cart-input:focus { border-color: var(--gold); outline: 3px solid rgba(201,166,90,.22); }
.auth-error {
  margin: 0;
  padding: .85rem 1rem;
  border-radius: 14px;
  background: rgba(157,47,47,.1);
  color: var(--danger);
  font-weight: 800;
}
.auth-note, .cart-disclaimer { color: var(--muted); font-size: .88rem; }
.auth-account { display: grid; gap: .65rem; }
.auth-welcome { color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 900; }
.auth-email { font-family: var(--serif); font-size: 2rem; color: var(--navy); line-height: 1.05; }
.auth-logout { width: fit-content; }

.cart-items { display: grid; gap: .8rem; }
.cart-item {
  display: grid;
  gap: .75rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(11,27,42,.1);
  border-radius: 18px;
  background: var(--white);
}
.cart-item-info { display: grid; gap: .2rem; }
.cart-item-title { font-family: var(--serif); font-size: 1.45rem; line-height: 1.05; color: var(--navy); font-weight: 700; }
.cart-item-unit { color: var(--muted); font-size: .9rem; }
.cart-item-qty { display: inline-flex; align-items: center; gap: .55rem; }
.cart-qty-btn, .cart-remove {
  border: 1px solid rgba(11,27,42,.18);
  background: #fffaf0;
  color: var(--navy);
  border-radius: 999px;
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  font-weight: 900;
  cursor: pointer;
}
.cart-qty-btn:hover, .cart-remove:hover { border-color: var(--gold); background: rgba(201,166,90,.14); }
.cart-item-price { font-weight: 900; }
.cart-total {
  margin: 1rem 0;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(11,27,42,.14);
  border-bottom: 1px solid rgba(11,27,42,.14);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.15rem;
}
.cart-total strong { font-family: var(--serif); font-size: 2rem; color: var(--navy); }
.cart-empty, .cart-confirm {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(201,166,90,.12);
  color: var(--navy);
  font-weight: 800;
}
.cart-confirm { background: rgba(47,111,88,.12); color: var(--success); }

.footer {
  background: #06111d;
  color: rgba(247,241,230,.78);
  padding-top: 3rem;
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 2.5rem;
  display: grid;
  gap: 2rem;
}
.footer-brand { max-width: 360px; }
.footer-logo { display: inline-flex; align-items: center; gap: .75rem; color: var(--ivory); margin-bottom: .9rem; }
.footer-logo .brand-mark { background: rgba(247,241,230,.08); }
.footer h2, .footer h3 { color: var(--ivory); }
.footer h3 {
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: .85rem;
}
.footer nav, .footer-contact { display: grid; gap: .55rem; }
.footer a { color: rgba(247,241,230,.78); }
.footer a:hover { color: var(--gold-2); }
.footer-bottom {
  border-top: 1px solid rgba(247,241,230,.12);
  padding: 1rem 1.25rem;
  text-align: center;
  color: rgba(247,241,230,.58);
  font-size: .86rem;
}

@media (min-width: 680px) {
  .main-nav { display: flex; }
  .booking-panel { grid-template-columns: repeat(4, 1fr); align-items: center; }
  .booking-panel .btn-primary { height: 100%; }
  .stat-row { grid-template-columns: repeat(4, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .amenity-list { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { grid-template-columns: repeat(3, 1fr); }
  .cart-item { grid-template-columns: 1.4fr auto auto auto; }
  .footer-grid { grid-template-columns: 1.4fr .8fr .8fr 1fr; }
}

@media (min-width: 960px) {
  .section { padding: 6.8rem 0; }
  .editorial-split { grid-template-columns: 1.05fr .95fr; gap: 4rem; }
  .editorial-split.reverse > :first-child { order: 2; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .shop-grid { grid-template-columns: repeat(4, 1fr); }
  .product-detail, .account-layout, .cart-layout { grid-template-columns: .9fr 1.1fr; gap: 3rem; }
}

@media (max-width: 679px) {
  .header-inner { align-items: flex-start; flex-direction: column; }
  .main-nav { display: flex; width: 100%; overflow-x: auto; padding-bottom: .2rem; }
  .brand-name { font-size: 1.25rem; }
  .hero-inner { padding-top: 4rem; }
  .hero::after { opacity: .25; width: 70vw; right: -18%; }
  .product-actions .btn-primary, .product-actions .btn-secondary { width: 100%; }
}
