/* VDW — country club sportswear. Ivory paper, forest ink, Playfair Display for voice, Montserrat for everything else. */
:root {
  --ivory: #FBF4EB;
  --paper: #F4EADC;
  --forest: #0F2F1F;
  --navy: #12223D;
  --sand: #DBC6A8;
  --olive: #8A9B7A;
  --ink: #0F2F1F;
  --muted: #4E5E52;
  --line: #DCCDB7;
  --error: #8E2F1F;
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --body: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0; text-wrap: balance; }
p { margin: 0; }

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.eyebrow {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.num { font-variant-numeric: tabular-nums; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 .78rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase;
  padding: 17px 28px; border: 1px solid var(--forest);
  background: var(--forest); color: var(--ivory);
  text-decoration: none; cursor: pointer; border-radius: 0;
  transition: background .2s ease, color .2s ease;
}
.btn:hover { background: #1B4430; }
.btn.ghost { background: transparent; color: var(--forest); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--forest); }
.btn[disabled] { opacity: .5; cursor: progress; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--ivory) 92%, transparent);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--ivory); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { width: 44px; height: auto; }
.brand span { font-family: var(--display); font-size: 1.05rem; letter-spacing: .14em; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--forest); }
.nav .btn { padding: 12px 18px; color: var(--ivory); }
@media (max-width: 760px) {
  .nav a:not(.btn) { display: none; }
  .brand span { display: none; }
}

/* Hero */
.hero { border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding-block: 72px 80px; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.hero h1 { font-size: clamp(2.8rem, 6.4vw, 5.2rem); letter-spacing: -.01em; }
.hero h1 em { font-style: italic; }
.lede { font-size: 1.08rem; color: var(--muted); max-width: 46ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-mark { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; max-width: 460px; width: 100%; justify-self: end; background: var(--forest); }
.hero-mark img { width: 52%; }
.hero-mark .cap { position: absolute; left: 20px; right: 20px; bottom: 18px; display: flex; justify-content: space-between; color: var(--sand); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 44px 56px; gap: 40px; }
  .hero-mark { justify-self: stretch; max-width: none; aspect-ratio: 4 / 3; }
  .hero-mark img { width: 34%; }
}

/* Progress */
.progress { display: flex; flex-direction: column; gap: 10px; max-width: 460px; }
.progress-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: .9rem; }
.progress-top strong { font-family: var(--display); font-size: 1.6rem; font-weight: 400; }
.bar { height: 6px; background: var(--paper); border: 1px solid var(--line); position: relative; overflow: hidden; }
.bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--forest); transition: width .8s ease; }
.progress small { color: var(--muted); font-size: .82rem; }

/* Sections */
section.block { padding-block: 88px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--muted); max-width: 46ch; }

/* Product feature */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.feature-visual { background: var(--paper); border: 1px solid var(--line); padding: 32px; display: grid; place-items: center; position: relative; min-width: 0; }
.feature-visual svg { width: 100%; max-width: 380px; height: auto; }
.feature-copy { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.feature-copy h3 { font-size: 2.2rem; }
.specs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.specs li { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.specs li span:first-child { color: var(--muted); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding-top: 3px; }
.price { display: flex; align-items: baseline; gap: 14px; font-variant-numeric: tabular-nums; }
.price strong { font-size: 1.5rem; font-weight: 500; }
.price s { color: var(--muted); }
.illus { position: absolute; left: 14px; bottom: 12px; font-size: .7rem; color: var(--muted); letter-spacing: .04em; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .specs li { grid-template-columns: 110px 1fr; } }

/* Club band */
.band { background: var(--forest); color: var(--ivory); }
.band .wrap { padding-block: 72px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; }
.band .eyebrow { color: var(--sand); display: block; margin-bottom: 12px; }
.band h3 { font-size: 1.6rem; font-style: italic; margin-bottom: 8px; }
.band p { color: #C9D0C2; font-size: .92rem; }
@media (max-width: 860px) { .band .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .band .wrap { grid-template-columns: 1fr; } }

/* How backorder works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--forest); }
.steps li { padding: 22px 22px 0 0; display: flex; flex-direction: column; gap: 10px; }
.steps .n { font-family: var(--display); font-size: 2.4rem; line-height: 1; color: var(--forest); }
.steps h3 { font-size: 1.25rem; }
.steps p { color: var(--muted); font-size: .92rem; }
.steps .when { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--olive); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 28px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.promise { margin-top: 44px; padding: 24px 28px; background: var(--paper); border-left: 3px solid var(--forest); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.promise div { display: flex; flex-direction: column; gap: 6px; font-size: .92rem; }
.promise strong { font-weight: 600; }
@media (max-width: 760px) { .promise { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { padding-block: 40px; display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; font-size: .88rem; color: var(--muted); }
.site-footer img { width: 40px; margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--forest); }

/* Product page */
.pdp .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; padding-block: 48px 88px; align-items: start; }
.pdp-visual { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); background: var(--paper); border: 1px solid var(--line); padding: 40px 28px 44px; display: flex; flex-direction: column; align-items: center; gap: 18px; min-width: 0; }
.pdp-visual svg { width: 100%; max-width: 420px; height: auto; }
.pdp-panel { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.pdp-panel h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
.crumbs { font-size: .78rem; color: var(--muted); }
.crumbs a { text-decoration: none; }
@media (max-width: 900px) { .pdp .wrap { grid-template-columns: 1fr; gap: 32px; padding-block: 28px 64px; } .pdp-visual { position: static; } }

.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field > label, .field > .legend { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  font: 400 1rem var(--body); color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 0; padding: 13px 14px; width: 100%;
}
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest); }
.err { color: var(--error); font-size: .82rem; min-height: 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }

.swatches { display: flex; gap: 12px; flex-wrap: wrap; }
.swatch { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border: 1px solid var(--line); background: transparent; cursor: pointer; font: 500 .9rem var(--body); color: var(--ink); }
.swatch i { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); }
.swatch[aria-checked="true"] { border-color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); }

.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.sizes button { min-width: 54px; padding: 12px 14px; border: 1px solid var(--line); background: transparent; font: 500 .9rem var(--body); color: var(--ink); cursor: pointer; }
.sizes button[aria-checked="true"] { background: var(--forest); color: var(--ivory); border-color: var(--forest); }
.link-btn { background: none; border: 0; padding: 0; font: 500 .82rem var(--body); color: var(--forest); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; align-self: flex-start; }

.qty { display: inline-flex; border: 1px solid var(--line); background: #fff; width: max-content; }
.qty button { width: 46px; border: 0; background: transparent; font-size: 1.2rem; color: var(--ink); cursor: pointer; }
.qty input { width: 56px; border: 0; text-align: center; font: 500 1rem var(--body); font-variant-numeric: tabular-nums; padding: 12px 0; }

.summary { border: 1px solid var(--line); background: var(--paper); }
.summary dl { margin: 0; display: grid; grid-template-columns: 1fr auto; }
.summary dt, .summary dd { margin: 0; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: .92rem; }
.summary dd { text-align: right; font-variant-numeric: tabular-nums; font-weight: 500; }
.summary dt.total, .summary dd.total { font-weight: 600; border-bottom: 0; background: var(--ivory); }
.summary dd.total { font-size: 1.1rem; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--forest); flex: none; }

.notice { font-size: .85rem; color: var(--muted); border-left: 2px solid var(--sand); padding-left: 14px; }

.size-table-wrap { overflow-x: auto; }
table.size-table { border-collapse: collapse; width: 100%; min-width: 460px; font-size: .88rem; font-variant-numeric: tabular-nums; }
.size-table th, .size-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.size-table th:first-child, .size-table td:first-child { text-align: left; }
.size-table thead th { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Confirmation */
.confirm { display: flex; flex-direction: column; gap: 20px; border: 1px solid var(--forest); padding: 28px; background: #fff; }
.confirm h2 { font-size: 2rem; }
.qr-block { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; }
.qr-block img { width: 220px; height: auto; border: 1px solid var(--line); background: #fff; }
.bank-lines { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: .92rem; margin: 0; }
.bank-lines dt { color: var(--muted); }
.bank-lines dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; word-break: break-word; }
.copy { font: 600 .68rem var(--body); letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--line); background: transparent; padding: 4px 8px; margin-left: 8px; cursor: pointer; color: var(--forest); }
@media (max-width: 560px) { .qr-block { grid-template-columns: 1fr; } }

/* Policy page */
.doc .wrap { max-width: 760px; padding-block: 56px 96px; display: flex; flex-direction: column; gap: 36px; }
.doc h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); }
.doc section { display: flex; flex-direction: column; gap: 12px; }
.doc h2 { font-size: 1.6rem; }
.doc p, .doc li { color: #2C3F33; }
.doc ul, .doc ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }

/* ---------- Coming soon: The Court Collection ---------- */
.badge { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; padding: 7px 12px; border: 1px solid var(--forest); color: var(--forest); }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--forest); }

.photo { position: relative; margin: 0; min-width: 0; }
.photo img { width: 100%; height: auto; }
.photo figcaption { position: absolute; left: 12px; bottom: 10px; font-size: .68rem; letter-spacing: .06em; color: #fff; background: rgba(15, 47, 31, .55); padding: 3px 8px; }

.hero-photo .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; padding-block: 56px 72px; }
.hero-photo h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
.hero-photo h1 em { font-style: italic; }
@media (max-width: 860px) { .hero-photo .wrap { grid-template-columns: 1fr; gap: 32px; padding-block: 32px 56px; } .hero-photo .photo { order: -1; } }

.pieces { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.piece-list { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.piece h3 { font-size: 1.7rem; margin-bottom: 8px; }
.piece p { color: var(--muted); margin-bottom: 12px; }
.piece .specs li { grid-template-columns: 120px 1fr; }
@media (max-width: 860px) { .pieces { grid-template-columns: 1fr; } }

.photo-band { position: relative; background: var(--forest); }
.photo-band .grid { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.photo-band .photo img { height: 100%; object-fit: cover; }
.photo-band .quote { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 56px max(20px, env(safe-area-inset-right, 0px)) 56px 56px; color: var(--ivory); }
.photo-band blockquote { margin: 0; font-family: var(--display); font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.2; font-style: italic; max-width: 18ch; }
.photo-band .eyebrow { color: var(--sand); }
@media (max-width: 860px) { .photo-band .grid { grid-template-columns: 1fr; } .photo-band .quote { padding: 40px max(20px, env(safe-area-inset-right, 0px)) 48px max(20px, env(safe-area-inset-left, 0px)); } }

.notify { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.notify .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; padding-block: 80px; align-items: start; }
.notify h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.notify-copy p { color: var(--muted); max-width: 42ch; }
.notify-form { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.interest { display: flex; gap: 10px; flex-wrap: wrap; border: 0; padding: 0; margin: 0; }
.interest legend { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; padding: 0; }
.interest label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: .9rem; }
.interest input { accent-color: var(--forest); width: 16px; height: 16px; }
.done { display: flex; flex-direction: column; gap: 10px; padding: 28px; border: 1px solid var(--forest); background: #fff; }
.done h3 { font-size: 1.8rem; }
.done p { color: var(--muted); }
@media (max-width: 860px) { .notify .wrap { grid-template-columns: 1fr; gap: 28px; padding-block: 56px; } }

.gallery { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.gallery-main { background: var(--paper); border: 1px solid var(--line); }
.thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.thumbs button { padding: 0; border: 1px solid var(--line); background: none; cursor: pointer; }
.thumbs button[aria-pressed="true"] { border-color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); }
.thumbs img { width: 100%; height: auto; }
