/* ps-design-v6.css — Draft v6 design system (PS-T03), ported verbatim from the
   Preparation Station Draft Review v6 preview (styles.css, sha256
   0b7cff434a87c58c0fd1929db89f93fceaeeb7ee25b7e3f7b5cd79acb7774bf0).
   Opt-in only: link it from a page that is meant to use the v6 look. It is NOT
   loaded site-wide and does not replace esa-style.css; its element selectors
   (body, h1, a, ...) therefore only apply on pages that link this file. */
:root {
  --navy: #061d3d;
  --navy-2: #0b2d52;
  --teal: #086a72;
  --teal-dark: #07565d;
  --sage: #7fb49d;
  --mint: #eaf3f0;
  --cream: #fbf7ef;
  --paper: #fffdf8;
  --gold: #d9a329;
  --coral: #c7664e;
  --ink: #122233;
  --muted: #526270;
  --line: #d6e1dd;
  --panel: #ffffff;
  --panel-soft: #f8fbf9;
  --shadow: 0 18px 55px rgba(6, 29, 61, .09);
  --shadow-card: 0 10px 26px rgba(6, 29, 61, .055);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, .button { min-height: 46px; }
:focus-visible { outline: 3px solid #005a70; outline-offset: 3px; box-shadow: 0 0 0 5px rgba(255,255,255,.92); }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; padding: .7rem 1rem; background: #fff; border-radius: 10px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,253,248,.95); border-bottom: 1px solid rgba(8,106,114,.16); backdrop-filter: blur(16px); }
.nav-wrap { width: min(1180px, calc(100% - 32px)); margin: auto; min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; width: 258px; max-width: 45vw; }
.brand img { width: 100%; height: auto; }
.nav-links { display: flex; align-items: center; gap: 24px; font-weight: 700; font-size: .94rem; }
.nav-links a { text-decoration: none; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--teal); }
.menu-button { display: none; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: .65rem .9rem; color: var(--navy); font-weight: 800; }

.container { width: min(1120px, calc(100% - 36px)); margin-inline: auto; }
.narrow { width: min(760px, calc(100% - 36px)); margin-inline: auto; }
.section { padding: clamp(72px, 8vw, 88px) 0; }
.section-sm { padding: clamp(44px, 5vw, 56px) 0; }
.tint { background: var(--mint); }
.cream { background: var(--cream); }
.navy { color: #fff; background: var(--navy); }
.eyebrow { color: var(--teal); font-size: .78rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.navy .eyebrow { color: #87d0c1; }
h1, h2, h3 { margin: 0 0 .65em; color: var(--navy); font-family: Georgia, "Times New Roman", serif; line-height: 1.08; letter-spacing: -.025em; }
h1 { font-size: clamp(2.45rem, 6.2vw, 5.3rem); max-width: 950px; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
.navy h1, .navy h2, .navy h3 { color: #fff; }
.lead { color: var(--muted); font-size: clamp(1.06rem, 1.5vw, 1.25rem); max-width: 760px; }
.navy .lead { color: #d7e3eb; }
.micro { color: var(--muted); font-size: .88rem; }
.kicker { margin-bottom: 8px; font-weight: 800; color: var(--teal); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: .78rem 1.1rem; border: 1px solid var(--teal); border-radius: 999px; background: var(--teal); color: #fff; font-weight: 850; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--teal-dark); transform: translateY(-1px); }
.button.secondary { color: var(--navy); background: transparent; border-color: #9bb6b3; }
.button.gold { color: var(--navy); background: var(--gold); border-color: var(--gold); }
.button.light { color: var(--navy); background: #fff; border-color: #fff; }
.button.text { min-height: auto; padding: .35rem 0; color: var(--teal); background: none; border: 0; border-radius: 0; }

.hero { position: relative; overflow: hidden; padding: 78px 0 82px; background: linear-gradient(140deg, var(--paper) 0 62%, var(--mint) 62% 100%); }
.hero::after { content: ""; position: absolute; right: -140px; bottom: -220px; width: 520px; height: 520px; border: 80px solid rgba(217,163,41,.12); border-radius: 50%; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .94fr 1.06fr; align-items: center; gap: 54px; }
.hero-mark { width: min(390px, 88%); margin-inline: auto; filter: drop-shadow(0 22px 22px rgba(6,29,61,.14)); }
.hero-photo-wrap { position: relative; margin: 0; }
.hero-photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: center; border: 8px solid rgba(255,255,255,.82); border-radius: 28px; box-shadow: 0 28px 70px rgba(6,29,61,.18); }
.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); box-shadow: var(--shadow-card); }
.trust-item { padding: 25px 24px; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item strong { display: block; color: var(--navy); font-size: 1.03rem; }

.grid { display: grid; gap: 22px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-card); }
.product-card, .resource-card { transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.product-card:hover, .resource-card:hover { border-color: #b8d0c9; box-shadow: var(--shadow); transform: translateY(-2px); }
.card p:last-child { margin-bottom: 0; }
.card.accent { border-top: 5px solid var(--gold); }
.card.calm { background: var(--cream); border-color: #cfe0d9; }
.number { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: var(--teal); font-weight: 900; margin-bottom: 16px; }
.icon-chip { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; color: var(--teal); background: var(--mint); font-size: 1.35rem; font-weight: 900; }
.status { display: inline-flex; align-items: center; gap: 7px; width: fit-content; padding: .36rem .66rem; border-radius: 999px; font-size: .76rem; line-height: 1.25; font-weight: 900; letter-spacing: .045em; text-transform: uppercase; }
.status.review { color: #774c00; background: #fff0c8; }
.status.pending { max-width: 100%; color: #7a3c18; background: #ffe3d4; border-radius: 18px; text-align: left; white-space: normal; }
.status.available { color: #0b5a3f; background: #dff5e9; }
.status.retail { color: #0b5a3f; background: #dff5e9; }
.status.coming { color: #365273; background: #e8eff8; }
.status.planning { color: #4f5876; background: #e9ecf6; }
.status.development { color: #6b3b71; background: #f3e6f6; }
.status.free { color: #0a5c65; background: #ddf3f0; }
.channel { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-heading > div { max-width: 760px; }
.age-card { min-height: 210px; display: flex; flex-direction: column; justify-content: space-between; }
.age-card .age { color: var(--teal); font-size: 1.9rem; font-weight: 900; letter-spacing: -.03em; }
.guide-shell { padding: clamp(24px, 5vw, 48px); border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(145deg, var(--panel) 0%, var(--panel-soft) 100%); box-shadow: var(--shadow-card); }
.guide-options { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 26px; }
.guide-option { min-height: 44px; padding: .68rem .9rem; border: 1px solid #aac0bc; border-radius: 999px; color: var(--navy); background: #fff; font-weight: 800; cursor: pointer; }
.guide-option[aria-pressed="true"] { color: #fff; border-color: var(--teal); background: var(--teal); }
.guide-result { display: none; margin-top: 22px; padding: 18px 20px; border-left: 4px solid var(--gold); border-radius: 0 14px 14px 0; background: var(--cream); }
.guide-result.show { display: block; }

.pathway { position: relative; padding-left: 58px; }
.pathway::before { content: ""; position: absolute; left: 19px; top: 12px; bottom: 12px; width: 3px; background: linear-gradient(var(--gold), var(--teal)); }
.path-step { position: relative; padding: 0 0 30px; }
.path-step::before { content: attr(data-step); position: absolute; left: -58px; top: -2px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--teal); font-weight: 900; border: 4px solid var(--paper); }

.page-hero { padding: 48px 0 40px; background: var(--mint); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.5rem, 4.5vw, 4rem); }
.breadcrumbs { margin-bottom: 18px; color: var(--muted); font-size: .9rem; }
.breadcrumbs a { color: var(--teal); }
.notice { padding: 18px 20px; border-left: 4px solid var(--gold); border-radius: 0 14px 14px 0; background: #fff7dc; }
.notice.teal { border-color: var(--teal); background: var(--mint); }

.filters { display: grid; grid-template-columns: 1.6fr repeat(2, 1fr) auto; gap: 12px; align-items: end; padding: 20px; margin: 18px 0 16px; background: linear-gradient(135deg, var(--mint), #f5faf7); border: 1px solid #d2e4dd; border-radius: 18px; box-shadow: 0 8px 20px rgba(6,29,61,.035); }
label { display: block; color: var(--navy); font-weight: 800; font-size: .9rem; }
input, select, textarea { width: 100%; padding: .78rem .85rem; margin-top: 5px; border: 1px solid #a9bbb8; border-radius: 12px; color: var(--ink); background: #fff; }
textarea { min-height: 132px; resize: vertical; }
.catalog-results { margin-top: 24px; }
.catalog-results-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.catalog-results-heading h2 { margin: 0; font-size: clamp(1.25rem, 2vw, 1.55rem); }
#catalog-result-count { margin: 0; white-space: nowrap; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.product-card { display: flex; flex-direction: column; min-height: 100%; border-color: #d7e1dd; }
.product-card .sku { color: var(--muted); font-size: .8rem; font-weight: 800; letter-spacing: .04em; }
.product-card .button { margin-top: auto; align-self: flex-start; }
.purchase-path { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; color: var(--navy); background: var(--mint); font-size: .9rem; }
.empty { display: none; text-align: center; padding: 40px; border: 1px dashed #9bb6b3; border-radius: 18px; }

.form-card { padding: clamp(22px, 4vw, 42px); background: linear-gradient(145deg, var(--panel) 0%, #fbfdfc 100%); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field.full { grid-column: 1 / -1; }
.form-status { min-height: 1.5em; margin-top: 14px; font-weight: 800; }
.form-status.success { color: #0b6848; }
.form-status.error { color: #9e2f22; }
.selected-records { margin-bottom: 22px; padding: 16px 18px; border-left: 4px solid var(--gold); border-radius: 0 14px 14px 0; background: var(--cream); }
.selected-records ul { margin: 8px 0; padding-left: 20px; }
.inquiry-options { grid-column: 1 / -1; margin: 0; padding: 14px 16px; border: 1px solid #a9bbb8; border-radius: 12px; }
.inquiry-options legend { padding: 0 6px; color: var(--navy); font-weight: 800; }
.inquiry-options label { display: flex; align-items: center; gap: 8px; min-height: 46px; font-weight: 650; }
.inquiry-options input { width: auto; margin: 0; }
.resource-card { display: flex; flex-direction: column; }
.worksheet-preview { width: 100%; max-height: 260px; margin: -8px 0 22px; object-fit: cover; object-position: top; border: 1px solid var(--line); border-radius: 14px; background: var(--cream); }
.resource-card .button { align-self: flex-start; margin-top: auto; }
.resource-meta { margin: 8px 0 22px; padding-left: 20px; color: var(--muted); }
.resource-accessible { display: inline-block; margin-top: 12px; color: var(--teal); font-weight: 800; }
.worksheet-section { padding: 28px 0; border-bottom: 1px solid var(--line); }
.worksheet-section:last-child { border-bottom: 0; }
.worksheet-table { width: 100%; margin: 14px 0 24px; border-collapse: collapse; }
.worksheet-table caption { margin-bottom: 8px; color: var(--navy); font-weight: 900; text-align: left; }
.worksheet-table th, .worksheet-table td { min-height: 44px; padding: 10px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.worksheet-table th { color: #fff; background: var(--navy); }
.worksheet-table tbody tr:nth-child(even) { background: var(--cream); }
.write-line { display: block; min-height: 2.2rem; margin-top: 6px; border-bottom: 1px solid var(--teal); }
.worksheet-identity { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }
.worksheet-identity p { margin: 0; }

@media print {
  .site-header, .footer, .print-hide { display: none !important; }
  .section, .page-hero { padding: 24px 0; }
  .worksheet-section { break-before: page; }
  .worksheet-section:first-child { break-before: auto; }
  body { background: #fff; }
}

.calm-hero { position: relative; overflow: hidden; padding: clamp(52px, 7vw, 78px) 0; background: linear-gradient(135deg, #eaf3f0 0%, #eef6f3 58%, #f9f6ef 100%); }
.calm-hero::before { content: ""; position: absolute; right: -140px; top: -190px; width: 480px; height: 480px; border: 58px solid rgba(217,163,41,.10); border-radius: 50%; }
.calm-hero .container { position: relative; z-index: 1; }
.calm-hero h1 { font-size: clamp(2.5rem, 4vw, 4rem); }
.calm-showcase { display: grid; grid-template-columns: .78fr 1.22fr; gap: 44px; align-items: center; }
.product-photo { margin: 0; align-self: start; overflow: hidden; border: 6px solid rgba(255,255,255,.82); border-radius: 24px; background: var(--navy); box-shadow: 0 28px 70px rgba(6,29,61,.20); }
.product-photo img { width: 100%; height: min(570px, 58vw); object-fit: cover; object-position: center; border-radius: 24px; }
.product-photo figcaption { margin-top: 10px; color: var(--muted); font-size: .82rem; text-align: center; }
.product-facts { display: grid; grid-template-columns: max-content 1fr; gap: 7px 18px; margin: 24px 0; }
.product-facts dt, .product-facts dd { margin: 0; }
.footer { padding: 38px 0 14px; color: #dbe7ee; background: var(--navy); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 26px; align-items: start; }
.footer-grid p { margin: .45rem 0; }
.footer-logo { display: block; width: min(100%, 218px); height: auto !important; aspect-ratio: 1400 / 466; object-fit: contain; padding: 8px; background: var(--paper); border-radius: 12px; }
.footer h3 { color: #fff; font: 900 1rem/1.2 Inter, sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.footer a { display: block; width: fit-content; margin: .48rem 0; color: #dbe7ee; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 26px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.16); color: #aebfcc; font-size: .82rem; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.footer .micro { color: #c6d5e0; }
.footer-bottom a { display: inline; }
.filters { grid-template-columns: repeat(4, minmax(0,1fr)); }
.filter-search { grid-column: span 2; }
.guide-result .button { margin-top: 20px; }
.guide-result + button { margin-top: 20px; }
.status { font-size: .875rem; letter-spacing: .015em; }
dt { font-weight: 800; color: var(--teal); }
dd { margin: 0 0 18px; }
summary { cursor: pointer; min-height: 44px; }
details.card + details.card { margin-top: 16px; }
.status-legend { margin: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.status-legend summary { color: var(--navy); font-weight: 800; }
.status-legend[open] summary { margin-bottom: 14px; }

@media (max-width: 980px) {
  .menu-button { display: inline-flex; }
  .nav-links { display: none; position: absolute; top: 74px; left: 16px; right: 16px; padding: 18px; flex-direction: column; align-items: stretch; gap: 5px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px; }
  .hero-grid, .calm-showcase { grid-template-columns: 1fr; }
  .hero-mark { width: 280px; }
  .hero-photo-wrap { max-width: 720px; }
  .grid.four, .grid.five, .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / -1; }
}

@media (max-width: 1100px) and (min-width: 921px) {
  .grid.five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .section { padding: 64px 0; }
  .nav-wrap { min-height: 72px; }
  .brand { width: 235px; max-width: 68vw; }
  .hero { padding: 62px 0; background: var(--paper); }
  .hero-mark { width: 230px; }
  .hero-photo { border-width: 5px; border-radius: 20px; }
  .trust-strip, .grid.two, .grid.three, .grid.four, .grid.five, .catalog-grid, .form-grid, .filters { grid-template-columns: 1fr; }
  .catalog-results-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  #catalog-result-count { white-space: normal; }
  .filter-search { grid-column: auto; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .section-heading { display: block; }
  .section-heading .button { margin-top: 12px; }
  .page-hero { padding: 44px 0 34px; }
  .card { padding: 24px; }
  .filters { padding: 15px; gap: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer { padding-top: 32px; }
  .footer-grid { gap: 22px; }
  .footer-bottom { display: grid; gap: 8px; margin-top: 22px; padding-top: 12px; }
  .button-row .button { width: 100%; }
  .product-facts { grid-template-columns: 1fr; gap: 2px; }
  .product-facts dd { margin-bottom: 12px; }
}

@media (max-width: 980px) {
  .product-photo { width: min(460px, 100%); margin-inline: auto; }
  .product-photo img { height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center; }
}

@media (max-width: 520px) {
  .worksheet-identity { grid-template-columns: 1fr; }
  .worksheet-table { display: block; overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

@media (hover: none) {
  .product-card:hover, .resource-card:hover { border-color: var(--line); box-shadow: var(--shadow-card); transform: none; }
}
