/* Strata Med gift cards: public purchase page and gift card page. Strata brand tokens as on
   stratawell.com (slate, Montserrat headings, Sorts Mill Goudy body). */
:root {
  --slate: #436676; --slate-dark: #34515e; --slate-deep: #2a4350; --ink: #404142; --muted: #5b5d60; --line: #c9d3d9;
  --mist: #f2f5f7; --card: #dde5ea; --white: #ffffff; --teal: #4aa8a4; --bad: #b42318; --bad-bg: #fdecea;
  --warn: #8a5a00; --warn-bg: #fff4dc; --info-bg: #e8f0f4;
  --heading: "Montserrat", "Gotham", Helvetica, Arial, sans-serif;
  --body: "Sorts Mill Goudy", "Goudy Old Style", Georgia, serif;
}
/* Seasons (Bill, 2026-11-10): seasons.js sets html[data-season]. Each season recolors the page and
   the gift card. White text on --slate stays at or above 4.5:1 in every season. */
html[data-season="winter"] { --slate: #2f5d7c; --slate-dark: #244a63; --slate-deep: #1a364a; --mist: #eef3f7; --line: #c6d4de; --info-bg: #e3edf4; --teal: #4f8db3; --hero-tint: #e6eff6; }
html[data-season="spring"] { --slate: #4d7356; --slate-dark: #3e5e46; --slate-deep: #2d4533; --mist: #f3f7f1; --line: #cfdccb; --info-bg: #e7f0e4; --teal: #6f9d77; --hero-tint: #fbeef1; }
html[data-season="summer"] { --slate: #1f6f8b; --slate-dark: #185a71; --slate-deep: #114052; --mist: #f0f7f9; --line: #c4dce4; --info-bg: #e1f0f5; --teal: #2f93a8; --hero-tint: #fdf4dc; }
html[data-season="fall"]   { --slate: #8a4b24; --slate-dark: #6f3b1b; --slate-deep: #4f2a14; --mist: #faf5ef; --line: #e2d3c4; --info-bg: #f5ebe0; --teal: #b8752f; --hero-tint: #fbefdf; }

* { box-sizing: border-box; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--mist); font-size: 18px; line-height: 1.6; overflow-x: hidden; }
a { color: var(--slate); }
.wrap { width: min(1120px, 100% - 32px); margin: 0 auto; }
h1, h2, h3 { font-family: var(--heading); font-weight: 400; text-transform: uppercase; margin: 0; line-height: 1.2; }
.eyebrow { font-family: var(--heading); text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; color: var(--slate); margin: 0 0 8px; }

.site-head { background: var(--slate); }
.head-row { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 16px; }
.brand img { height: 52px; width: auto; display: block; }
.head-phone { color: var(--white); text-decoration: none; font-family: var(--heading); font-size: .9rem; white-space: nowrap; }
/* Main menu from stratawell.com (Bill, 11/18). */
.main-nav { margin-left: auto; }
.main-nav > ul { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.main-nav li { position: relative; }
.nav-top { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; color: var(--white); text-decoration: none; background: none; border: 0; cursor: pointer;
  font-family: var(--heading); font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; border-radius: 4px; }
.nav-top:hover, .nav-top:focus-visible, .has-sub.open > .nav-top { background: rgba(255,255,255,.12); }
.nav-top .fa-chevron-down { font-size: .6rem; }
.main-nav .sub { list-style: none; margin: 0; padding: 6px 0; position: absolute; top: 100%; left: 0; min-width: 230px; background: var(--white);
  border-radius: 6px; box-shadow: 0 10px 30px rgba(0,0,0,.18); display: none; z-index: 30; }
.main-nav .sub a { display: block; padding: 9px 16px; color: var(--ink); text-decoration: none; font-family: var(--heading); font-size: .85rem; }
.main-nav .sub a:hover, .main-nav .sub a:focus-visible { background: var(--mist); color: var(--slate-dark); }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.open > .sub { display: block; }
.nav-toggle { display: none; background: rgba(255,255,255,.12); color: var(--white); border: 0; border-radius: 6px; width: 42px; height: 40px; font-size: 1.1rem; cursor: pointer; }
@media (max-width: 980px) {
  .head-row { flex-wrap: wrap; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; order: 2; }
  .head-phone { order: 1; margin-left: auto; }
  .main-nav { order: 3; flex-basis: 100%; display: none; padding-bottom: 12px; }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; }
  .nav-top { width: 100%; justify-content: space-between; padding: 12px 6px; }
  .main-nav .sub { position: static; box-shadow: none; background: rgba(255,255,255,.08); min-width: 0; }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub { display: none; }
  .has-sub.open > .sub { display: block; }
  .main-nav .sub a { color: var(--white); }
  .main-nav .sub a:hover, .main-nav .sub a:focus-visible { background: rgba(255,255,255,.12); color: var(--white); }
}

.hero { background: linear-gradient(180deg, var(--hero-tint, var(--white)) 0%, var(--white) 100%); text-align: center; padding: 44px 0 34px; border-bottom: 1px solid var(--line); }
.hero h1 { font-size: clamp(1.7rem, 4.4vw, 2.9rem); color: var(--slate); letter-spacing: .02em; }
.hero .lede { max-width: 720px; margin: 14px auto 0; color: var(--muted); }

.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; padding: 30px 0 60px; align-items: start; }
.steps { display: grid; gap: 18px; min-width: 0; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 22px clamp(16px, 3vw, 28px); }
.season-tag { display: inline-flex; align-items: center; gap: 6px; }
.panel h2 { font-size: 1.05rem; letter-spacing: .06em; color: var(--ink); display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.num { width: 28px; height: 28px; border-radius: 50%; background: var(--slate); color: var(--white); display: inline-grid; place-items: center; font-size: .85rem; flex: none; }
.hint { color: var(--muted); font-size: .92rem; margin: 4px 0 12px; }
.hint.right { text-align: right; margin: 4px 0 0; }
.opt { color: var(--muted); font-size: .85em; text-transform: none; }

.tabs { display: flex; gap: 0; border-bottom: 2px solid var(--line); margin-bottom: 12px; }
.tabs button { font-family: var(--heading); text-transform: uppercase; letter-spacing: .05em; font-size: .85rem; background: none; border: 0;
  padding: 10px 16px; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.tabs button[aria-selected="true"] { color: var(--slate); border-bottom-color: var(--slate); font-weight: 600; }

.amounts { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.amt, .pkg { font-family: var(--heading); background: var(--white); border: 1.5px solid var(--line); border-radius: 6px; cursor: pointer; color: var(--ink); }
.amt { padding: 16px 8px; font-size: 1.15rem; }
.amt:hover, .pkg:hover { border-color: var(--slate); }
.amt.on, .pkg.on { border-color: var(--slate); background: var(--slate); color: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.custom { margin-top: 14px; max-width: 280px; }
.money-in { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 4px; background: var(--white); }
.money-in span { padding: 0 10px; font-family: var(--heading); color: var(--muted); }
.money-in input { border: 0; flex: 1; min-width: 0; }

.packages { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.pkg { text-align: left; padding: 16px; display: grid; gap: 4px; }
.pkg-name { font-weight: 600; text-transform: uppercase; letter-spacing: .03em; font-size: .9rem; }
.pkg-sessions { font-size: .82rem; opacity: .85; }
.pkg-blurb { font-family: var(--body); font-size: .9rem; line-height: 1.4; opacity: .9; }
.pkg-price { font-size: 1.2rem; margin-top: 6px; }

label { display: block; font-family: var(--heading); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 5px; }
input, textarea { width: 100%; font: inherit; font-size: 1rem; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 4px; background: var(--white); color: var(--ink); }
input:focus, textarea:focus, .amt:focus-visible, .pkg:focus-visible, .btn:focus-visible { outline: 3px solid rgba(67,102,118,.35); outline-offset: 1px; border-color: var(--slate); }
input.invalid { border-color: var(--bad); }
.field { margin-bottom: 14px; min-width: 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.grid3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 0 16px; }
.choice { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 12px; }
.choice label { display: flex; align-items: center; gap: 8px; font-family: var(--body); font-size: 1rem; text-transform: none; letter-spacing: 0; color: var(--ink); margin: 0; cursor: pointer; }
.choice input { width: auto; }
#deliverOn { max-width: 220px; }
.err { color: var(--bad); font-size: .85rem; margin: 4px 0 0; min-height: 0; }
.err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--slate); color: var(--white); border: 0; border-radius: 3px;
  font-family: var(--heading); text-transform: uppercase; letter-spacing: .06em; font-size: .9rem; font-weight: 600; padding: 14px 26px; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--slate-dark); }
.btn-light { background: var(--white); color: var(--slate); border: 1.5px solid var(--slate); }
.btn-light:hover { background: var(--mist); }
#USIOCheckout { margin-top: 10px; }
#USIOCheckout iframe { max-width: 100%; }
.note { border-radius: 4px; padding: 12px 14px; font-size: .95rem; margin: 10px 0; line-height: 1.5; }
.note.bad { background: var(--bad-bg); color: var(--bad); }
.note.warn { background: var(--warn-bg); color: var(--warn); }
.note.info { background: var(--info-bg); color: var(--slate-deep); }
.note code { font-size: .9em; background: rgba(255,255,255,.7); padding: 1px 4px; border-radius: 3px; }

.summary { position: sticky; top: 20px; display: grid; gap: 16px; }
.totals { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 8px 18px; margin: 0; }
.totals div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--mist); }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; }
.totals .total { border-bottom: 0; font-family: var(--heading); font-size: 1.05rem; }
.totals .total dt { color: var(--ink); }
.fine { font-size: .82rem; color: var(--muted); margin: 0; }

/* The gift card artwork (purchase preview and gift card page). */
.gc-card { position: relative; aspect-ratio: 1.586; border-radius: 16px; overflow: hidden; color: var(--white); padding: 22px 24px;
  background: radial-gradient(circle at 85% 12%, rgba(255,255,255,.22), transparent 40%), linear-gradient(140deg, #5a8293 0%, var(--slate) 45%, var(--slate-deep) 100%);
  box-shadow: 0 14px 34px rgba(42,67,80,.35); isolation: isolate; }
.gc-logo { height: 46px; width: auto; display: block; }
.gc-value { font-family: var(--heading); font-weight: 300; font-size: clamp(1.9rem, 6vw, 2.6rem); position: absolute; right: 24px; bottom: 46px; z-index: 2; letter-spacing: .02em; }
.gc-kind { font-family: var(--heading); font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; position: absolute; right: 24px; bottom: 26px; z-index: 2; opacity: .92; }
.gc-art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.gc-logo { position: relative; z-index: 2; }
.gc-card.season-winter { background: radial-gradient(circle at 85% 12%, rgba(255,255,255,.25), transparent 42%), linear-gradient(140deg, #6a96b4 0%, #2f5d7c 50%, #1a364a 100%); }
.gc-card.season-winter .gc-ridge path { fill: rgba(255,255,255,.34); }
.gc-card.season-winter .gc-ridge path.far { fill: rgba(225,238,247,.22); }
.gc-card.season-spring { background: radial-gradient(circle at 85% 12%, rgba(255,240,245,.28), transparent 42%), linear-gradient(140deg, #86ad8c 0%, #4d7356 50%, #2d4533 100%); }
.gc-card.season-spring .gc-ridge path { fill: rgba(190,230,170,.22); }
.gc-card.season-summer { background: radial-gradient(circle at 85% 20%, rgba(255,230,160,.3), transparent 45%), linear-gradient(140deg, #45a3bf 0%, #1f6f8b 50%, #114052 100%); }
.gc-card.season-fall { background: radial-gradient(circle at 85% 12%, rgba(255,220,150,.25), transparent 42%), linear-gradient(140deg, #c27a3e 0%, #8a4b24 50%, #4f2a14 100%); }
.gc-card.season-fall .gc-ridge path { fill: rgba(255,214,150,.16); }
.gc-card.season-fall .gc-ridge path.far { fill: rgba(60,25,8,.35); }
.gc-ridge { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 46%; z-index: 1; }
.gc-ridge path { fill: rgba(255,255,255,.12); }
.gc-ridge path.far { fill: rgba(20,36,44,.35); }

/* Card designs (2026-11-12): the printed Strata card fronts, portrait, with the value under the card. */
.design-pick { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.design-pick .sub { font-size: .85rem; letter-spacing: .06em; color: var(--ink); margin-bottom: 12px; }
.designs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.design { padding: 0; border: 2px solid transparent; border-radius: 8px; background: none; cursor: pointer; overflow: hidden; line-height: 0; }
.design img { display: block; width: 100%; aspect-ratio: 720 / 1145; object-fit: cover; border-radius: 6px; }
.design:hover { border-color: var(--line); }
.design.on { border-color: var(--slate); box-shadow: 0 0 0 2px var(--slate); }
.design:focus-visible { outline: 3px solid rgba(67,102,118,.35); outline-offset: 2px; }
#design-name { margin: 8px 0 0; }
.gc-photo { margin: 0 auto; width: 100%; max-width: 250px; }
.gc-photo img { display: block; width: 100%; aspect-ratio: 720 / 1145; object-fit: cover; border-radius: 14px; background: var(--card);
  box-shadow: 0 14px 34px rgba(42,67,80,.3); }
.gc-photo figcaption { display: flex; flex-direction: column; align-items: center; margin-top: 14px; font-family: var(--heading); }
.gc-photo-value { font-size: 1.8rem; font-weight: 300; color: var(--ink); line-height: 1.2; }
.gc-photo-kind { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }

.done { padding: 40px 0 70px; }
.done-card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; max-width: 640px; margin: 0 auto; padding: 34px clamp(18px, 4vw, 40px); text-align: center; }
.done-card h2 { color: var(--slate); font-size: 1.6rem; margin-bottom: 14px; }
.ok-badge { width: 64px; height: 64px; border-radius: 50%; background: var(--teal); color: var(--white); display: grid; place-items: center; font-size: 1.8rem; margin: 0 auto 14px; }
.done-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 22px; }

.site-foot { background: var(--slate); color: var(--white); text-align: center; padding: 26px 0; font-size: .95rem; }
.site-foot a { color: var(--white); }
.site-foot .small { font-size: .85rem; opacity: .85; margin: 4px 0 0; }

@media (max-width: 900px) {
  /* minmax(0, …): USIO's fixed-width payment iframe must not widen the column on phones. */
  .checkout { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; order: -1; }
  .gc-card { max-width: 420px; width: 100%; margin: 0 auto; }
  .summary .gc-photo { max-width: 200px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .designs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .head-phone span { display: none; }
  .brand img { height: 42px; }
}
@media print {
  .site-head, .site-foot, .no-print { display: none !important; }
  body { background: #fff; }
  .gc-card { box-shadow: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .gc-photo img { box-shadow: none; }
}
