/* Prance-Lux theme. Uses tokens from tokens.css */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 130px; }
body { margin: 0; background: var(--pl-ivory); color: var(--pl-ink); font-family: var(--pl-font-body); font-size: var(--pl-text-base); line-height: var(--pl-leading); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--pl-font-heading); font-weight: 600; line-height: 1.12; color: var(--pl-ink); margin: 0 0 var(--pl-space-4); letter-spacing: .005em; }
h1 { font-size: var(--pl-h1); }
h2 { font-size: var(--pl-h2); }
h3 { font-size: var(--pl-h3); }
p { margin: 0 0 var(--pl-space-4); }
a { color: var(--pl-blue); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--pl-blue-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--pl-focus); outline-offset: 3px; border-radius: 4px; }
code { font-size: .9em; background: var(--pl-mist); padding: .1em .35em; border-radius: 4px; }
.wrap { width: min(100% - 2.5rem, var(--pl-wrap)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.center { text-align: center; margin-top: var(--pl-space-6); }
mark.tbc { background: var(--pl-tbc-bg); color: var(--pl-ink); padding: .05em .35em; border-radius: 4px; font-weight: 600; font-size: .92em; }

/* Skip link */
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--pl-white); color: var(--pl-ink); padding: .75rem 1rem; border-radius: var(--pl-radius-sm); font-weight: 700; }
.skip-link:focus { top: 1rem; }

/* Announcement + header */
.announce { background: var(--pl-ink); color: var(--pl-white); font-size: var(--pl-text-sm); text-align: center; padding: .45rem 0; }
.announce p { margin-block: 0; }
.site-header { background: var(--pl-navy); color: var(--pl-white); position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 rgb(255 255 255 / 8%); }
.header-inner { display: flex; align-items: center; gap: var(--pl-space-5); min-height: 88px; }
.brand { display: inline-flex; border-radius: 8px; }
.brand img { width: 92px; height: auto; }
.site-header :focus-visible { outline-color: var(--pl-focus-on-dark); }
.site-nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; gap: var(--pl-space-2); margin: 0; padding: 0; align-items: center; }
.nav-list > li > a, .sub-toggle { color: var(--pl-white); text-decoration: none; font: 600 1rem var(--pl-font-body); padding: .65rem .9rem; border-radius: var(--pl-radius-pill); background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; }
.nav-list > li > a:hover, .sub-toggle:hover, .nav-list > li > a[aria-current="page"] { background: rgb(255 255 255 / 10%); color: var(--pl-white); }
.nav-list > li > a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--pl-teal-light); }
.chev { width: .5rem; height: .5rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s var(--pl-ease); }
.sub-toggle[aria-expanded="true"] .chev { transform: rotate(-135deg) translateY(-2px); }
.has-sub { position: relative; }
.sub-menu { list-style: none; margin: 0; padding: var(--pl-space-2); position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px; background: var(--pl-white); border-radius: var(--pl-radius); box-shadow: var(--pl-shadow); display: none; }
.sub-toggle[aria-expanded="true"] + .sub-menu { display: block; }
.sub-menu a { display: block; padding: .6rem .9rem; color: var(--pl-ink); text-decoration: none; border-radius: var(--pl-radius-sm); font-weight: 600; }
.sub-menu a:hover, .sub-menu a[aria-current="page"] { background: var(--pl-mist); color: var(--pl-ink); }
.sub-menu :focus-visible { outline-color: var(--pl-focus); }
.bag-link { color: var(--pl-white); text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; padding: .55rem .95rem; border: 1px solid rgb(255 255 255 / 45%); border-radius: var(--pl-radius-pill); min-height: 44px; }
.bag-link:hover, .bag-link[aria-current="page"] { color: var(--pl-white); background: rgb(255 255 255 / 10%); }
.bag-count { background: var(--pl-teal-light); color: var(--pl-ink); min-width: 1.6rem; height: 1.6rem; padding: 0 .4rem; border-radius: var(--pl-radius-pill); display: inline-grid; place-items: center; font-size: .875rem; font-weight: 700; }
.menu-toggle { display: none; margin-left: auto; color: var(--pl-white); background: none; border: 1px solid rgb(255 255 255 / 45%); border-radius: var(--pl-radius-pill); font: 600 1rem var(--pl-font-body); padding: .55rem .95rem; min-height: 44px; align-items: center; gap: .55rem; cursor: pointer; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; } .menu-icon::after { top: 6px; }

@media (max-width: 1060px) {
  .menu-toggle { display: inline-flex; }
  .header-inner { flex-wrap: wrap; gap: var(--pl-space-3); min-height: 76px; }
  .brand img { width: 64px; }
  .bag-link { order: 2; }
  .menu-toggle { order: 1; }
  .site-nav { order: 3; flex-basis: 100%; display: none; padding-bottom: var(--pl-space-4); }
  .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-list > li > a, .sub-toggle { width: 100%; justify-content: space-between; border-radius: var(--pl-radius-sm); }
  .sub-menu { position: static; box-shadow: none; background: rgb(255 255 255 / 6%); }
  .sub-menu a { color: var(--pl-white); }
  .sub-menu a:hover, .sub-menu a[aria-current="page"] { background: rgb(255 255 255 / 12%); color: var(--pl-white); }
  .sub-menu :focus-visible { outline-color: var(--pl-focus-on-dark); }
}

/* Thread motif */
.thread { display: flex; align-items: center; gap: 0; margin: var(--pl-space-3) 0 var(--pl-space-5); max-width: 260px; }
.thread svg { flex: none; width: 64px; height: 16px; }
.thread span { display: block; flex: 1; height: 1.6px; background: var(--pl-thread); border-radius: 2px; margin-left: -2px; }
.section-head .thread, .center .thread { margin-inline: auto; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto var(--pl-space-6); }
.section-head h1, .section-head h2 { margin-bottom: 0; }
.section-intro { color: var(--pl-muted); font-size: var(--pl-text-lg); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .75rem 1.6rem; border-radius: var(--pl-radius-pill); font: 700 1rem var(--pl-font-body); letter-spacing: .02em; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: background-color .2s var(--pl-ease), color .2s var(--pl-ease); }
.btn-primary { background: var(--pl-teal); color: var(--pl-white); }
.btn-primary:hover { background: var(--pl-teal-dark); color: var(--pl-white); text-decoration: none; }
.btn-secondary { background: transparent; color: var(--pl-ink); border-color: var(--pl-ink); }
.btn-secondary:hover { background: var(--pl-ink); color: var(--pl-white); }
.btn-light { background: var(--pl-white); color: var(--pl-ink); }
.btn-light:hover { background: var(--pl-teal-light); color: var(--pl-ink); }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: var(--pl-space-3); }
.link-button { background: none; border: 0; padding: 0; color: var(--pl-blue); font: inherit; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; min-height: 24px; }

/* Hero */
.hero { padding: var(--pl-space-8) 0; background: var(--pl-ivory); }
.hero-media { position: relative; }
.hero-media::before { content: ""; position: absolute; inset: -12%; background: radial-gradient(closest-side, rgb(52 150 137 / 14%), transparent); z-index: 0; pointer-events: none; }
.hero-frame { z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--pl-space-7); align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .875rem; font-weight: 700; color: var(--pl-teal); margin-bottom: var(--pl-space-3); }
.eyebrow a { color: var(--pl-teal); text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.eyebrow-light { color: var(--pl-teal-light); }
.lede { font-size: var(--pl-text-lg); color: var(--pl-muted); max-width: 36ch; margin-bottom: var(--pl-space-6); }
.hero-frame { background: var(--pl-white); border-radius: 50%; aspect-ratio: 1; padding: 9%; position: relative; box-shadow: var(--pl-shadow); }
.hero-frame::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; padding: 2px; background: var(--pl-thread); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.hero-frame img { border-radius: 50%; width: 100%; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-media { max-width: 420px; margin-inline: auto; } .hero { padding: var(--pl-space-7) 0; } }

/* Sections */
.section { padding: var(--pl-space-8) 0; }
.section-alt { background: var(--pl-white); }
.section-tight { padding: var(--pl-space-7) 0 var(--pl-space-8); }

/* Category tiles */
.cat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--pl-space-5); }
.cat-tile { display: flex; flex-direction: column; background: var(--pl-white); border-radius: var(--pl-radius); overflow: hidden; text-decoration: none; color: var(--pl-ink); box-shadow: var(--pl-shadow); height: 100%; }
.cat-tile img { aspect-ratio: 1; object-fit: contain; width: 100%; transition: transform .4s var(--pl-ease); }
.cat-tile:hover img { transform: scale(1.03); }
.cat-art { display: grid; place-items: center; aspect-ratio: 1; background: var(--pl-mist); }
.cat-art img { width: 45%; aspect-ratio: auto; }
.cat-name { font-family: var(--pl-font-heading); font-size: 1.75rem; font-weight: 600; padding: var(--pl-space-4) var(--pl-space-5) 0; }
.cat-note { color: var(--pl-muted); padding: 0 var(--pl-space-5) var(--pl-space-5); }
.cat-tile:hover .cat-name { text-decoration: underline; text-underline-offset: .15em; }
@media (max-width: 760px) { .cat-grid { grid-template-columns: 1fr; } }

/* Product cards */
.product-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--pl-space-5); }
.card-link { display: flex; flex-direction: column; height: 100%; background: var(--pl-white); border: 1px solid var(--pl-line); border-radius: var(--pl-radius); overflow: hidden; text-decoration: none; color: var(--pl-ink); transition: box-shadow .25s var(--pl-ease), transform .25s var(--pl-ease); }
.card-link:hover { box-shadow: var(--pl-shadow); transform: translateY(-2px); color: var(--pl-ink); }
.card-media { display: block; aspect-ratio: 1; background: var(--pl-white); }
.card-media img { width: 100%; height: 100%; object-fit: contain; }
.card-body { display: flex; flex-direction: column; gap: .35rem; padding: var(--pl-space-4) var(--pl-space-5) var(--pl-space-5); border-top: 1px solid var(--pl-line); flex: 1; }
.card-kicker { font-size: .875rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--pl-teal); }
.card-title { font-size: 1.4rem; margin: 0; }
.card-link:hover .card-title { text-decoration: underline; text-underline-offset: .15em; }
.card-price { margin-top: auto; padding-top: .35rem; }

/* Navy band */
.band { background: var(--pl-navy); color: var(--pl-white); padding: var(--pl-space-8) 0; position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; border: 2px solid rgb(95 208 192 / 35%); pointer-events: none; }
.band h2, .band h3 { color: var(--pl-white); }
.band p { color: var(--pl-white); }
.band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--pl-space-7); align-items: center; position: relative; z-index: 1; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--pl-space-4); }
.steps li { display: grid; grid-template-columns: auto 1fr; column-gap: var(--pl-space-4); background: rgb(255 255 255 / 6%); border-radius: var(--pl-radius); padding: var(--pl-space-5); }
.steps h3 { margin: 0 0 .25rem; font-size: 1.45rem; }
.steps p { margin: 0; grid-column: 2; }
.step-n { grid-row: span 2; font-family: var(--pl-font-heading); font-size: 2rem; color: var(--pl-teal-light); line-height: 1; }
@media (max-width: 860px) { .band-grid { grid-template-columns: 1fr; } }

/* Promise */
.promise-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--pl-space-5); }
.promise-grid li { background: var(--pl-white); border-radius: var(--pl-radius); padding: var(--pl-space-6); border-top: 3px solid var(--pl-teal); }
@media (max-width: 760px) { .promise-grid { grid-template-columns: 1fr; } }

/* Breadcrumbs */
.breadcrumbs { background: var(--pl-white); border-bottom: 1px solid var(--pl-line); font-size: var(--pl-text-sm); }
.breadcrumbs ol { list-style: none; margin: 0; padding: .7rem 0; display: flex; flex-wrap: wrap; gap: .25rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: .35rem; color: var(--pl-muted); }
.breadcrumbs a { color: var(--pl-blue); display: inline-block; padding: .15rem 0; }
.breadcrumbs a[aria-current="page"] { color: var(--pl-ink); text-decoration: none; font-weight: 600; }

/* Collection */
.collection-hero { padding: var(--pl-space-7) 0 0; }
.collection-hero .section-head { margin-bottom: var(--pl-space-4); }
.filter-links ul { list-style: none; margin: 0 0 var(--pl-space-5); padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--pl-space-2); }
.filter-links a { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1.15rem; border-radius: var(--pl-radius-pill); border: 1px solid var(--pl-line); background: var(--pl-white); color: var(--pl-ink); text-decoration: none; font-weight: 600; }
.filter-links a:hover { border-color: var(--pl-ink); }
.filter-links a[aria-current="page"] { background: var(--pl-ink); color: var(--pl-white); border-color: var(--pl-ink); }
.result-count { color: var(--pl-muted); }
.empty-state { text-align: center; max-width: 560px; margin: var(--pl-space-6) auto; background: var(--pl-white); border-radius: var(--pl-radius); padding: var(--pl-space-7) var(--pl-space-6); box-shadow: var(--pl-shadow); }
.empty-state img { margin: 0 auto var(--pl-space-5); width: 120px; }

/* Product page */
.pdp { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--pl-space-7); padding: var(--pl-space-6) 0 var(--pl-space-7); align-items: start; }
.gallery-frame { background: var(--pl-white); border: 1px solid var(--pl-line); border-radius: var(--pl-radius); overflow: hidden; }
.gallery-main { width: 100%; aspect-ratio: 1; object-fit: contain; }
.thumbs { list-style: none; margin: var(--pl-space-3) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--pl-space-2); }
.thumb { padding: 0; border: 2px solid var(--pl-line); border-radius: var(--pl-radius-sm); background: var(--pl-white); cursor: pointer; overflow: hidden; width: 80px; height: 80px; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb[aria-pressed="true"] { border-color: var(--pl-teal); box-shadow: 0 0 0 1px var(--pl-teal); }
.pdp-info h1 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); margin-bottom: 0; }
.price { font-size: 1.35rem; font-weight: 700; margin-bottom: var(--pl-space-4); }
.price-note { font-size: var(--pl-text-sm); font-weight: 400; color: var(--pl-muted); }
.pdp-short { font-size: var(--pl-text-lg); }
.pdp-meta { color: var(--pl-muted); }
.buy-form { border-top: 1px solid var(--pl-line); padding-top: var(--pl-space-5); margin-top: var(--pl-space-5); }
.field { border: 0; padding: 0; margin: 0 0 var(--pl-space-5); }
.field legend, .field > label { font-weight: 700; margin-bottom: var(--pl-space-2); display: block; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: var(--pl-space-2); }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; justify-content: center; min-width: 76px; min-height: 44px; padding: .5rem 1rem; border: 1.5px solid var(--pl-muted); border-radius: var(--pl-radius-pill); background: var(--pl-white); font-weight: 600; }
.chip input:checked + span { background: var(--pl-ink); color: var(--pl-white); border-color: var(--pl-ink); }
.chip input:focus-visible + span { outline: 3px solid var(--pl-focus); outline-offset: 3px; }
.hint { font-size: var(--pl-text-sm); color: var(--pl-muted); margin-top: var(--pl-space-2); }
.qty { display: inline-flex; align-items: stretch; border: 1.5px solid var(--pl-muted); border-radius: var(--pl-radius-pill); overflow: hidden; background: var(--pl-white); }
.qty input { width: 3.5rem; text-align: center; border: 0; font: 600 1rem var(--pl-font-body); color: var(--pl-ink); background: transparent; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { width: 44px; min-height: 44px; border: 0; background: transparent; color: var(--pl-ink); cursor: pointer; display: inline-grid; place-items: center; }
.qty-btn:hover { background: var(--pl-mist); }
.form-status { min-height: 1.6em; margin-top: var(--pl-space-3); font-weight: 600; color: var(--pl-teal); }
.form-status a { color: var(--pl-blue); }
.assurance { list-style: none; padding: var(--pl-space-4) 0 0; margin: var(--pl-space-4) 0 0; border-top: 1px solid var(--pl-line); display: grid; gap: .4rem; }
.assurance li::before { content: ""; display: inline-block; width: 18px; height: 2px; background: var(--pl-thread); vertical-align: middle; margin-right: .6rem; border-radius: 2px; }
.pdp-details { display: grid; grid-template-columns: 1fr 1fr; gap: var(--pl-space-7); padding-bottom: var(--pl-space-8); }
.pdp-details h2 { font-size: 2rem; }
@media (max-width: 900px) { .pdp, .pdp-details { grid-template-columns: 1fr; gap: var(--pl-space-6); } }

/* Tables */
.table { width: 100%; border-collapse: collapse; margin: 0 0 var(--pl-space-6); background: var(--pl-white); border-radius: var(--pl-radius-sm); overflow: hidden; }
.table caption { text-align: left; font-weight: 700; padding: 0 0 var(--pl-space-2); }
.table th, .table td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--pl-line); vertical-align: top; }
.table thead th { background: var(--pl-mist); }
.spec th { width: 40%; }

/* Dialog */
.dialog { border: 0; border-radius: var(--pl-radius); padding: 0; width: min(720px, 100% - 2rem); max-height: 85vh; color: var(--pl-ink); background: var(--pl-ivory); box-shadow: 0 20px 60px rgb(27 47 71 / 35%); }
.dialog::backdrop { background: rgb(27 47 71 / 60%); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; padding: var(--pl-space-5) var(--pl-space-6); background: var(--pl-navy); }
.dialog-head h2 { color: var(--pl-white); margin: 0; font-size: 2rem; }
.dialog-close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgb(255 255 255 / 50%); background: transparent; color: var(--pl-white); cursor: pointer; display: inline-grid; place-items: center; }
.dialog-close:focus-visible { outline-color: var(--pl-focus-on-dark); }
.dialog-body { padding: var(--pl-space-6); overflow: auto; }

/* Cart */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: var(--pl-space-6); align-items: start; }
.cart-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--pl-space-4); }
.cart-item { display: grid; grid-template-columns: 110px 1fr auto; gap: var(--pl-space-5); align-items: center; background: var(--pl-white); border: 1px solid var(--pl-line); border-radius: var(--pl-radius); padding: var(--pl-space-4); }
.cart-item img { width: 110px; height: 110px; object-fit: contain; }
.cart-item h3 { font-size: 1.4rem; margin: 0 0 .25rem; }
.cart-item h3 a { color: var(--pl-ink); }
.cart-item .opts { color: var(--pl-muted); margin: 0 0 .25rem; font-size: var(--pl-text-sm); }
.cart-item .item-controls { display: flex; flex-direction: column; align-items: flex-end; gap: var(--pl-space-2); }
.remove-btn { background: none; border: 0; color: var(--pl-blue); text-decoration: underline; font: inherit; cursor: pointer; min-height: 44px; padding: 0 .25rem; }
.empty-cart { background: var(--pl-white); border-radius: var(--pl-radius); padding: var(--pl-space-6); border: 1px solid var(--pl-line); }
.cart-summary { background: var(--pl-white); border-radius: var(--pl-radius); padding: var(--pl-space-6); box-shadow: var(--pl-shadow); position: sticky; top: 110px; }
.cart-summary h2 { font-size: 1.9rem; }
.cart-summary dl { margin: 0 0 var(--pl-space-5); }
.cart-summary dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--pl-line); }
.cart-summary dt { color: var(--pl-muted); }
.cart-summary dd { margin: 0; font-weight: 600; }
.cart-summary .total dt, .cart-summary .total dd { color: var(--pl-ink); font-weight: 700; }
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } .cart-summary { position: static; } }
@media (max-width: 560px) { .cart-item { grid-template-columns: 80px 1fr; } .cart-item img { width: 80px; height: 80px; } .cart-item .item-controls { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; } }

/* Prose & content pages */
.prose { max-width: 820px; }
.prose > h2 { margin-top: var(--pl-space-6); font-size: 2rem; }
.prose-list { padding-left: 1.25rem; }
.prose-list li { margin-bottom: .4rem; }
.draft-banner { background: var(--pl-tbc-bg); border-left: 4px solid var(--pl-ink); padding: var(--pl-space-4) var(--pl-space-5); border-radius: var(--pl-radius-sm); }
.about-figure { margin: 0 0 var(--pl-space-6); }
.about-figure img { border-radius: var(--pl-radius); background: var(--pl-white); max-height: 420px; width: 100%; object-fit: contain; border: 1px solid var(--pl-line); }
.about-figure figcaption { color: var(--pl-muted); font-size: var(--pl-text-sm); margin-top: var(--pl-space-2); }
.faq-list { display: grid; gap: var(--pl-space-3); margin-bottom: var(--pl-space-6); }
.faq { background: var(--pl-white); border: 1px solid var(--pl-line); border-radius: var(--pl-radius); }
.faq summary { cursor: pointer; padding: var(--pl-space-4) var(--pl-space-5); display: flex; justify-content: space-between; align-items: center; gap: 1rem; list-style: none; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; color: var(--pl-teal); line-height: 1; }
.faq[open] summary::after { content: "\2212"; }
.faq-q { font-size: 1.45rem; margin: 0; }
.faq-a { padding: 0 var(--pl-space-5) var(--pl-space-3); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--pl-space-7); }
.contact-grid h2 { font-size: 1.8rem; }
.contact-form { background: var(--pl-white); border-radius: var(--pl-radius); padding: var(--pl-space-6); box-shadow: var(--pl-shadow); }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; font: inherit; color: var(--pl-ink); background: var(--pl-white); border: 1.5px solid var(--pl-muted); border-radius: var(--pl-radius-sm); padding: .7rem .85rem; min-height: 48px; }
.contact-form [aria-invalid="true"] { border-color: var(--pl-error); }
.error { color: var(--pl-error); font-size: var(--pl-text-sm); font-weight: 600; margin: .35rem 0 0; }
.error:empty { display: none; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Style guide */
.logo-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--pl-space-5); }
.logo-row figure { margin: 0; }
.logo-row figcaption { font-size: var(--pl-text-sm); color: var(--pl-muted); margin-top: var(--pl-space-2); }
.logo-on-navy, .logo-on-light { display: grid; place-items: center; padding: var(--pl-space-6); border-radius: var(--pl-radius); }
.logo-on-navy { background: var(--pl-navy); }
.logo-on-light { background: var(--pl-white); border: 1px solid var(--pl-line); }
.swatches { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--pl-space-4); }
.swatch { background: var(--pl-white); border: 1px solid var(--pl-line); border-radius: var(--pl-radius); padding: var(--pl-space-4); display: grid; gap: .2rem; font-size: var(--pl-text-sm); }
.swatch-chip { height: 64px; border-radius: var(--pl-radius-sm); border: 1px solid var(--pl-line); margin-bottom: var(--pl-space-2); }
.swatch-name { font-weight: 700; font-size: 1rem; }
.swatch-use { color: var(--pl-muted); }
.type-sample-h { font-family: var(--pl-font-heading); font-size: 2.4rem; line-height: 1.2; margin-bottom: var(--pl-space-4); }

/* Footer */
.site-footer { background: var(--pl-ink); color: var(--pl-white); padding: var(--pl-space-8) 0 var(--pl-space-5); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--pl-space-6); }
.footer-brand img { width: 96px; margin-bottom: var(--pl-space-4); }
.footer-brand p { max-width: 34ch; }
.footer-title { color: var(--pl-white); font-size: 1.5rem; margin-bottom: var(--pl-space-3); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; }
.site-footer a { color: var(--pl-white); text-decoration: none; display: inline-block; padding: .3rem 0; min-height: 24px; }
.site-footer a:hover { color: var(--pl-teal-light); text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--pl-focus-on-dark); }
.footer-legal { border-top: 1px solid rgb(255 255 255 / 18%); margin-top: var(--pl-space-7); padding-top: var(--pl-space-5); font-size: var(--pl-text-sm); }
.footer-legal p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .card-link:hover { transform: none; }
  .cat-tile:hover img { transform: none; }
}
@media (forced-colors: active) { .thread span { background: CanvasText; } .btn { border-color: ButtonText; } }

/* Placeholder flags */
.card-media, .cat-media { position: relative; display: block; }
.photo-flag { position: absolute; left: .6rem; top: .6rem; background: var(--pl-ink); color: var(--pl-white); font-size: .8125rem; font-weight: 700; padding: .15rem .55rem; border-radius: var(--pl-radius-pill); }
.photo-note { font-size: var(--pl-text-sm); color: var(--pl-muted); margin-top: var(--pl-space-3); }
.center-note { text-align: center; }
.cat-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 860px; margin-inline: auto; }
@media (max-width: 760px) { .cat-grid-2 { grid-template-columns: 1fr; } }
.cat-media img { aspect-ratio: 1; object-fit: contain; width: 100%; }
.type-group { margin-top: var(--pl-space-6); }
.group-title { font-size: 2rem; border-bottom: 1px solid var(--pl-line); padding-bottom: var(--pl-space-2); }
.group-count { font-family: var(--pl-font-body); font-size: 1rem; color: var(--pl-muted); font-weight: 600; }
.model-form { background: var(--pl-white); border: 1px dashed var(--pl-muted); border-radius: var(--pl-radius-sm); padding: var(--pl-space-5); }
.check { display: flex; align-items: center; gap: .6rem; min-height: 44px; }
.check input { width: 22px; height: 22px; accent-color: var(--pl-teal); }
.cookie-form { background: var(--pl-white); border-radius: var(--pl-radius); padding: var(--pl-space-5); border: 1px solid var(--pl-line); }

/* Cookie banner */
.cookie-banner { background: var(--pl-white); color: var(--pl-ink); border-bottom: 3px solid var(--pl-teal); padding: var(--pl-space-4) 0; }
.cookie-banner { display: none; }
.pl-show-consent .cookie-banner:not([hidden]) { display: block; }
.cookie-banner[hidden] { display: none; }
.cookie-inner { display: grid; grid-template-columns: 1fr auto; gap: var(--pl-space-5); align-items: center; }
.cookie-title { font-size: 1.5rem; margin-bottom: var(--pl-space-2); }
.cookie-banner p { margin: 0; font-size: var(--pl-text-sm); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: var(--pl-space-2); }
@media (max-width: 900px) { .cookie-inner { grid-template-columns: 1fr; } .cookie-actions .btn { flex: 1 1 100%; } }

