:root {
  --navy: #0a2946;
  --dark: #071c30;
  --gold: #f4be40;
  --cream: #f7f5ef;
  --white: #fff;
  --ink: #1b3042;
  --muted: #516171;
  --line: #deded7;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 1rem/1.55 Arial, sans-serif;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { color: var(--navy); font-family: Georgia, serif; line-height: 1.08; }
h1 { margin: 0 0 18px; font-size: clamp(2.55rem, 5.3vw, 5rem); letter-spacing: -.055em; }
h2 { margin: 0 0 12px; font-size: clamp(1.9rem, 3.7vw, 3.05rem); letter-spacing: -.035em; }
h3 { margin: 0; font-size: 1.65rem; letter-spacing: -.025em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid #b94614; outline-offset: 4px; }

.wrap { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 2; background: var(--white); padding: 12px; }
.skip-link:focus { top: 8px; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 16px 32px; }
.logo { width: 205px; height: auto; }
.site-nav, .actions, .jump-links { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; }
.site-nav { font-size: .875rem; font-weight: 700; }
.site-nav a { padding-block: 6px; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 17px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: var(--dark);
  background: var(--gold);
  font-size: .95rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.button:hover { background: #ffce5f; }
.button.outline { color: var(--navy); background: transparent; border-color: var(--navy); }
.button.outline:hover { background: #ede9db; }

.hero { background: var(--navy); color: var(--white); }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; min-height: 420px; }
.hero-copy { align-self: center; padding-block: clamp(36px, 6vw, 76px); padding-right: clamp(16px, 5vw, 64px); }
.hero h1 { color: var(--white); }
.eyebrow { margin-bottom: 10px; color: var(--muted); font-size: .875rem; font-weight: 700; }
.hero .eyebrow { color: var(--gold); }
.hero .intro { color: #e1ecf5; font-size: 1.12rem; max-width: 48ch; }
.hero-photo { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: center 65%; }
.hero a:focus-visible, .site-footer a:focus-visible { outline-color: var(--gold); }
.hero-price { display: flex; flex-wrap: wrap; column-gap: 19px; row-gap: 3px; color: #fff; margin: 0 0 20px; }
.hero-price span { white-space: nowrap; }
.hero-price strong { color: var(--gold); font: 700 1.52rem Georgia, serif; }

.section { padding-block: clamp(36px, 6vw, 70px); }
.section + .section { border-top: 1px solid var(--line); }
.section-note { color: var(--muted); max-width: 70ch; }
.closeout-promo { background: var(--gold); }
.closeout-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px clamp(16px, 3vw, 38px);
  padding-block: 28px;
}
.closeout-promo h2 {
  margin-bottom: 4px;
  font-size: clamp(1.85rem, 3.3vw, 2.75rem);
}
.closeout-promo p { margin: 0; }
.closeout-price { font-weight: 700; }
.closeout-price strong {
  color: var(--navy);
  font: 700 clamp(2.65rem, 4.8vw, 4.4rem)/1 Georgia, serif;
  letter-spacing: -.055em;
}
@media (max-width: 680px) {
  .closeout-inner { grid-template-columns: 1fr; }
}

.quick-nav { padding-block: 14px; background: var(--white); border-bottom: 1px solid var(--line); }
.jump-links a, .crumb a { font-weight: 700; text-underline-offset: 4px; }
.crumb { padding-block: 14px; font-size: .925rem; }

.collection-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 24px; }
.collection-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: 0 7px 22px #071c300b;
  overflow: hidden;
}
.collection-card img { width: 100%; aspect-ratio: 1.95; object-fit: cover; }
.card-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 21px; }
.card-copy h3 { margin-bottom: 12px; }
.card-copy .eyebrow, .swatch-copy p { margin-bottom: 4px; }
.card-copy .summary { margin: 0 0 18px; color: var(--muted); }
.card-copy .button { margin-top: auto; }
.price-line { display: flex; flex-wrap: wrap; gap: 5px 7px; align-items: baseline; margin: 0 0 10px; font-size: .9rem; }
.price-line strong { color: var(--navy); font: 700 1.75rem/1.1 Georgia, serif; }
.price-tiers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  gap: 8px;
  margin: 0 0 12px;
}
.price-tiers div { min-width: 0; padding: 8px 10px 9px; border: 1px solid var(--line); border-radius: 4px; background: var(--cream); }
.price-tiers div + div { background: #fff1ca; border-color: #e6c97a; }
.price-tiers dt { color: var(--muted); font-size: .875rem; font-weight: 700; }
.price-tiers dd { margin: 2px 0 0; font-size: .875rem; }
.price-tiers dd strong { color: var(--navy); font: 700 1.65rem/1.1 Georgia, serif; }
.price-tiers dd span { white-space: nowrap; }
.price-caption { margin: 0 0 6px; color: #e1ecf5; font-size: .9rem; font-weight: 700; }
.collection-hero .hero-inner { min-height: 355px; }
.collection-hero h1 { margin-bottom: 13px; }
.collection-hero .price-tiers { max-width: 360px; margin-bottom: 18px; color: var(--ink); }

.spec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 24px 0 18px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.spec-grid div { padding: 13px 16px; background: var(--white); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec-grid dt { color: var(--muted); font-size: .875rem; }
.spec-grid dd { margin: 3px 0 0; font-weight: 700; }

.color-controls:not([hidden]) { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px 24px; margin-block: 16px; }
.color-controls label { display: block; font-weight: 700; margin-bottom: 3px; }
.color-controls input { width: min(360px, 100%); padding: 10px 12px; min-height: 44px; border: 1px solid var(--muted); border-radius: 4px; font: inherit; }
.color-controls p { margin: 0; color: var(--muted); }
.swatch-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 15px; margin-top: 20px; }
.swatch { border: 1px solid var(--line); border-radius: 5px; background: var(--white); overflow: hidden; }
.swatch img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.swatch-copy { padding: 12px; overflow-wrap: anywhere; }
.swatch-copy h3 { font-size: 1.16rem; }
.swatch-copy p { color: var(--muted); font-size: .875rem; margin: 4px 0 0; }

.support { background: #ebe6d9; }
.support .wrap { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px 42px; align-items: center; }
.support h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.support p { margin-bottom: 0; }
.support .actions { justify-content: flex-end; }
.site-footer { background: var(--dark); color: #e1ecf5; padding-block: 25px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; }
.footer-inner p { margin: 0; }
.footer-inner a { text-underline-offset: 4px; }

@media (max-width: 925px) {
  .swatch-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .header-inner { flex-wrap: wrap; padding-block: 13px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { padding: 32px 0 27px; }
  .hero-photo { height: clamp(190px, 45vw, 315px); }
  .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .swatch-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .support .wrap { grid-template-columns: 1fr; }
  .support .actions { justify-content: flex-start; }
}
@media (max-width: 500px) {
  .site-nav { gap: 4px 15px; }
  .logo { width: 172px; }
  .collection-grid { grid-template-columns: 1fr; }
  .swatch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.swatch-link {
  display: block;
  height: 100%;
  text-decoration: none;
  cursor: zoom-in;
}
.swatch-link:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.swatch-link:focus-visible { outline-offset: -4px; }

.color-preview {
  width: min(760px, calc(100% - 28px));
  max-height: calc(100dvh - 28px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
}
.color-preview::backdrop { background: #071c30db; }
.color-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
}
.color-preview-header h2 { font-size: clamp(1.3rem, 3vw, 2rem); margin: 0; }
.color-preview-header p { margin: 3px 0 0; color: var(--muted); font-size: .875rem; }
.color-preview-header button {
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid var(--navy);
  border-radius: 4px;
  color: var(--navy);
  background: var(--white);
  font: 700 .9rem Arial, sans-serif;
  cursor: pointer;
}
.color-preview img {
  width: 100%;
  height: min(72dvh, 750px);
  object-fit: contain;
  background: var(--cream);
}
