:root {
  --paper: #faf9f5;
  --ink: #172a33;
  --muted: #4d6069;
  --teal: #126b7d;
  --teal-dark: #0e5264;
  --teal-soft: #eaf4f2;
  --purple: #502879;
  --purple-soft: #f1eaf7;
  --surface: #efeee7;
  --production: #13343e;
  --on-production: #e0eeed;
  --line: #dedfd6;
  --field-border: #838e8a;
  --white: #ffffff;
  --radius-control: 5px;
  --radius-surface: 10px;
  --select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232d5869' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --body-font: Inter, "Segoe UI", Arial, sans-serif;
  --display-font: "Inter Tight", Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body-font);
  font-synthesis: none;
  color-scheme: light;
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
html { scroll-behavior: smooth; scroll-padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
section[id] { scroll-margin-top: 92px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.shell { width: min(100% - 96px, 1336px); margin-inline: auto; }
.skip { position: fixed; top: -80px; left: 12px; background: var(--white); padding: 10px; z-index: 20; }
.skip:focus { top: 10px; }

.site-header { position: sticky; top: 0; z-index: 5; background: var(--paper); border-bottom: 1px solid var(--line); }
.head-content, .head-actions, .brand, .site-header nav { display: flex; align-items: center; }
.head-content { position: relative; min-height: 75px; justify-content: space-between; gap: 22px; }
.brand { gap: 10px; font-family: var(--display-font); font-size: 1.42rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.brand img { flex: none; object-fit: contain; }
.brand-mark { width: 29px; height: 42px; }
.brand-lockup { width: 104px; height: 72px; }
.site-header nav { gap: clamp(20px, 3vw, 46px); font-size: .9rem; font-weight: 550; }
.site-header nav a { transition: color .18s; }
.site-header nav a:hover { color: var(--teal); }
.head-actions { gap: 10px; }
.nav-toggle { display: none; padding: 8px; min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: var(--radius-control); background: transparent; color: var(--ink); }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 21px; border: 1px solid transparent; border-radius: var(--radius-control); font-size: .92rem; font-weight: 650; text-align: center; transition: color .18s, background .18s, border-color .18s; white-space: nowrap; }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: #244754; }
.button-accent { background: var(--teal); color: white; }
.button-accent:hover { background: var(--teal-dark); }
.button-outline { border-color: var(--field-border); color: var(--ink); background: transparent; }
.button-outline:hover { border-color: var(--teal); background: var(--teal-soft); }
.head-quote { min-height: 44px; padding-inline: 15px; }
.quote-nav { gap: 7px; background: var(--teal); color: var(--white); }
.quote-nav:hover { background: var(--teal-dark); }
.quote-nav .icon { width: 17px; height: 17px; }
.text-link { color: var(--ink); line-height: 1.4; font-weight: 650; text-decoration: underline; text-decoration-color: #7e9eaa; text-underline-offset: 5px; }
.text-link:hover { color: var(--teal); text-decoration-color: var(--teal); }

.hero { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(25px, 5vw, 78px); padding-block: clamp(32px, 5vw, 70px) 32px; }
.hero-copy { padding-block: 6px 16px; }
.eyebrow { color: var(--purple); font-size: .77rem; font-weight: 700; letter-spacing: .12em; line-height: 1.3; }
.hero h1 { margin: 17px 0 22px; font: 800 clamp(3.34rem, 6.05vw, 6.2rem)/.95 var(--display-font); letter-spacing: -.062em; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero-description { color: var(--muted); max-width: 33ch; font-size: clamp(1rem, 1.45vw, 1.17rem); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 21px; align-items: center; margin-top: 27px; }
.hero-families { display: flex; flex-wrap: wrap; gap: 2px 16px; margin: 22px 0 0; padding: 0; list-style: none; }
.hero-families a { display: inline-flex; align-items: center; min-height: 36px; padding-block: 3px; border-bottom: 1px solid var(--field-border); color: var(--teal-dark); font-size: .87rem; font-weight: 650; }
.hero-families a:hover { border-color: var(--teal); color: var(--teal); }
.hero-media { min-width: 0; }
.hero-photo { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: center; background: var(--surface); border-radius: var(--radius-surface); }
figcaption { display: flex; justify-content: space-between; gap: 10px; padding-top: 9px; color: var(--muted); font-size: .76rem; font-weight: 500; line-height: 1.5; }
figcaption span { color: #526772; }
.specifications { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.specifications div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px 13px; padding: 17px clamp(14px, 2vw, 28px); border-left: 1px solid var(--line); }
.specifications div:first-child { padding-left: 0; border-left: 0; }
.specifications dt { color: var(--muted); font-size: .84rem; font-weight: 600; }
.specifications dd { font-size: .91rem; font-weight: 650; }

.section { padding-block: 80px; }
.catalog { padding-top: 60px; }
.section-intro h2 { font: 750 clamp(2.5rem, 4.5vw, 4.65rem)/.99 var(--display-font); letter-spacing: -.059em; }
.section-intro > .eyebrow { margin-bottom: 12px; }
.section-intro > p:not(.eyebrow) { color: var(--muted); font-size: 1rem; line-height: 1.65; }
.catalog-intro { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.catalog-intro > p { margin-bottom: 1px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 25px 0 21px; border-bottom: 1px solid var(--line); }
.filters button { position: relative; min-height: 45px; padding: 0 3px; border: 0; background: transparent; color: var(--muted); font-size: .91rem; font-weight: 550; text-align: left; transition: color .16s; }
.filters button::after { content: ""; position: absolute; height: 2px; inset: auto 0 -1px; background: transparent; }
.filters button:is(:hover, [aria-pressed="true"]) { color: var(--teal); }
.filters button[aria-pressed="true"]::after { background: var(--teal); }
.product-grid { display: grid; gap: 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-card { display: flex; flex-direction: column; background: var(--white); min-width: 0; border: 1px solid var(--line); border-radius: var(--radius-surface); overflow: hidden; }
.product-image { position: relative; overflow: hidden; background: var(--surface); aspect-ratio: 3 / 2; }
.product-image:has(img[hidden]) { display: none; }
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.family-photo-note { position: absolute; inset: auto 8px 8px auto; padding: 4px 7px; border-radius: var(--radius-control); background: var(--paper); color: var(--muted); font-size: .78rem; font-weight: 600; }
.product-body { flex: 1; display: flex; flex-direction: column; padding: clamp(14px, 1.7vw, 22px); }
.family-label { margin-bottom: 6px; color: var(--muted); font-size: .78rem; font-weight: 650; line-height: 1.35; }
.product-body h3 { font: 750 1.38rem/1.14 var(--display-font); letter-spacing: -.028em; overflow-wrap: anywhere; }
.family-specs { display: grid; gap: 9px; margin-top: auto; padding-block: 16px 14px; }
.family-size-label { display: grid; gap: 6px; color: var(--muted); font-size: .85rem; font-weight: 650; }
.family-size-label select { font-variant-numeric: tabular-nums; }
.swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.swatches button { min-height: 39px; display: inline-flex; flex: 1; justify-content: center; gap: 6px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-control); background: transparent; color: var(--ink); padding: 0 8px; font-size: .875rem; font-weight: 550; }
.swatches button[aria-pressed="true"] { border-color: var(--teal); background: var(--teal-soft); }
.swatches button:hover { border-color: var(--teal); }
.swatches i { width: 10px; height: 10px; border-radius: 50%; border: 1px solid #b09169; background: #bc996d; }
.swatches [data-material="white"] i { background: #fff; border-color: #a9b9c1; }
.product-price { display: grid; align-items: end; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.product-price small, .product-price strong { display: block; }
.product-price small { font-size: .8rem; line-height: 1.4; color: var(--muted); }
.product-price strong { margin-top: 3px; font: 750 1.3rem/1.15 var(--display-font); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.product-quote { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 11px; border: 1px solid var(--teal); border-radius: var(--radius-control); color: var(--teal-dark); background: transparent; font-size: .89rem; font-weight: 650; }
.product-quote:hover, .product-quote[data-in-quote] { background: var(--teal-soft); }
.catalog-more { margin-top: 24px; }
.catalog-notice { margin-top: 14px; font-size: .82rem; color: var(--muted); line-height: 1.5; }

.process { padding-block: 0 75px; }
.process .section-intro h2 { font-size: clamp(2.2rem, 3.75vw, 3.5rem); }
.process-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; counter-reset: step; column-gap: 24px; margin: 20px 0 0; padding: 0; }
.process-list li { padding: 17px 0 0 36px; border-top: 1px solid var(--line); position: relative; counter-increment: step; }
.process-list li::before { content: counter(step) "."; position: absolute; left: 0; font: 750 1.29rem/1.2 var(--display-font); color: var(--teal); }
.process-list h3, .reference-card h3 { font: 700 1.24rem/1.16 var(--display-font); letter-spacing: -.025em; }
.process-list p { margin-top: 6px; color: var(--muted); line-height: 1.6; }

.production { background: var(--production); color: var(--white); padding-block: 68px; }
.production-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.production-media img { width: 100%; height: auto; object-fit: cover; aspect-ratio: 3 / 2; border-radius: var(--radius-surface); }
.production .eyebrow { color: #acd8d8; }
.production .section-intro > p:not(.eyebrow), .production figcaption { color: var(--on-production); }
.production :focus-visible { outline-color: var(--on-production); }
.production .section-intro > p:not(.eyebrow), .quote .section-intro > p:not(.eyebrow) { margin-top: 16px; }
.production-feature { display: flex; gap: 13px; margin-top: 24px; padding-top: 19px; border-top: 1px solid #507079; }
.production-feature .icon { margin-top: 1px; color: #acd8d8; }
.production-feature h3 { font-size: 1.03rem; margin-bottom: 5px; letter-spacing: -.02em; }
.production-feature p { color: var(--on-production); line-height: 1.6; }
.certificate-link { display: inline-block; margin-top: 8px; font-size: .9rem; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.references { padding-bottom: 48px; }
.reference-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 23px; }
.reference-card { min-width: 0; padding-bottom: 16px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.reference-image { width: 100%; height: auto; aspect-ratio: 1.95; object-fit: contain; background: var(--surface); padding: 20px; border-radius: var(--radius-surface); }
.reference-example-photo { object-fit: cover; padding: 0; }
.reference-labels { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 5px 10px; margin: 12px 0 6px; color: var(--muted); font-size: .8rem; font-weight: 550; }
.reference-labels span { border-radius: var(--radius-control); padding: 3px 6px; background: var(--purple-soft); color: var(--purple); }
.reference-labels:empty { margin: 6px 0 0; }
.reference-description { margin-top: 8px; color: var(--muted); line-height: 1.55; white-space: pre-line; }
.reference-link { display: inline-block; margin-top: 9px; font-size: .86rem; }
.reference-empty { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-top: 21px; padding-block: 16px; border-block: 1px solid var(--line); color: var(--muted); line-height: 1.55; }
.shipping { display: grid; grid-template-columns: .58fr 1.42fr; gap: 24px; }
.shipping-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; }
.shipping article { padding-top: 12px; border-top: 1px solid var(--line); }
.shipping h3 { margin-bottom: 7px; font: 700 1.25rem/1.2 var(--display-font); }
.shipping article p { color: var(--muted); line-height: 1.6; }

.quote { padding-block: 70px; background: var(--surface); color: var(--ink); border-block: 1px solid var(--line); }
.quote-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(28px, 7.3vw, 100px); align-items: start; }
.quote-intro { padding-block: 8px; }
.quote .section-intro .quote-minimum { margin-top: 24px; padding: 12px 0 0; border-top: 1px solid var(--field-border); font-size: .87rem; }
.quote-help { display: inline-block; margin-top: 11px; font-size: .88rem; }
.quote-form { background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-surface); padding: clamp(17px, 3vw, 30px); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid label { display: grid; gap: 6px; font-size: .87rem; font-weight: 650; }
.form-grid :is(input, select, textarea), .catalog-tools :is(input, select), .family-size-label select, .tracking-input input { width: 100%; min-width: 0; min-height: 44px; padding: 8px 10px; border: 1px solid var(--field-border); border-radius: var(--radius-control); background: var(--white); color: var(--ink); font: 450 1rem/1.35 var(--body-font); }
:is(.form-grid, .catalog-tools, .family-size-label) select { appearance: none; padding-right: 29px; background-image: var(--select-chevron); background-repeat: no-repeat; background-position: right 8px center; }
.form-note { color: var(--muted); font-size: .78rem; line-height: 1.5; margin-block: 15px; }
.quote-form button[type="submit"].button { background: var(--teal); width: 100%; }
.quote-form button[type="submit"].button:hover { background: var(--teal-dark); }
.inline-status { line-height: 1.55; font-weight: 650; font-size: .9rem; }
.inline-status:not(:empty) { margin-block: 13px 0; }
.inline-status[data-state="error"] { color: #9f372c; }
.inline-status[data-state="success"] { color: #2f6b32; }
#quote-reference { margin-left: .22em; font-variant-numeric: tabular-nums; }

.faq { display: grid; grid-template-columns: .58fr 1.42fr; gap: 24px; padding-bottom: 52px; }
.faq-list { border-top: 1px solid var(--line); min-width: 0; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; padding-block: 14px; cursor: pointer; line-height: 1.42; font-weight: 650; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; width: 8px; height: 8px; flex: 0 0 8px; margin-right: 4px; border-right: 1.5px solid var(--teal); border-bottom: 1.5px solid var(--teal); transform: rotate(45deg) translateY(-2px); }
.faq-list details[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.faq-list details p { color: var(--muted); line-height: 1.62; padding: 0 22px 15px 0; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-top: 24px; }
.contact-list { display: grid; gap: 1px; align-content: start; }
.contact-list > * { display: flex; align-items: center; gap: 13px; color: var(--muted); padding: 13px 0; border-bottom: 1px solid var(--line); }
.contact-list strong { display: block; color: var(--ink); margin-top: 2px; overflow-wrap: anywhere; }
.contact-list > a:hover strong { color: var(--teal); }
.map { min-height: 245px; height: 100%; }
.map iframe { border: 1px solid var(--line); width: 100%; height: 100%; min-height: 245px; }
footer { background: var(--white); border-top: 1px solid var(--line); }
.footer-content { display: flex; align-items: center; gap: 25px; min-height: 106px; padding-block: 16px; }
.footer-content p { color: var(--muted); font-size: .87rem; }
.floating { position: fixed; z-index: 4; right: max(15px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); display: grid; gap: 5px; }
.floating a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--white); color: var(--teal-dark); transition: background .18s; }
.floating a:hover { background: var(--teal-soft); }
.floating .assistant-launcher { border-color: var(--line); border-radius: var(--radius-control); box-shadow: none; }

@media (max-width: 1199px), (max-width: 1366px) and (orientation: landscape) and (pointer: coarse) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .shell { width: calc(100% - 60px); }
  .hero { gap: 30px; }
  .hero h1 { font-size: clamp(3rem, 6.65vw, 5rem); }
  .head-actions { gap: 8px; }
}
@media (max-width: 930px) {
  .site-header nav { gap: 18px; }
  .shipping, .faq { grid-template-columns: 1fr; }
}
@media (max-width: 900px), (max-width: 1100px) and (orientation: portrait) and (pointer: coarse) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
  .hero-photo { aspect-ratio: 4 / 3; object-position: 62% center; }
}
@media (max-width: 900px) {
  .head-content { min-height: 64px; gap: 11px; }
  .nav-toggle { display: grid; place-items: center; order: 3; }
  .head-actions { margin-left: auto; }
  .site-header nav { display: none; position: absolute; z-index: 1; flex-direction: column; align-items: stretch; gap: 0; top: 100%; right: 0; min-width: 183px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 12px 24px #112f3b16; }
  .site-header nav.is-open { display: flex; }
  .site-header nav a { padding: 13px 16px; }
}
@media (max-width: 780px) {
  .shell { width: calc(100% - 42px); }
  .hero { padding-top: 30px; gap: 22px; }
  .hero h1 { font-size: clamp(2.8rem, 7vw, 4.5rem); margin-block: 14px; }
  .hero-copy { padding-bottom: 27px; }
  .hero-media { align-self: end; }
  .hero-actions { margin-top: 17px; }
  .section { padding-block: 51px; }
  .process { padding-bottom: 51px; }
  .production, .quote { padding-block: 53px; }
  .specifications div { padding-block: 13px; }
}
@media (max-width: 610px) {
  .shell { width: calc(100% - 34px); }
  .brand { gap: 7px; font-size: 1.19rem; }
  .brand-mark { width: 24px; height: 35px; }
  .brand-lockup { width: 87px; height: 60px; }
  .head-actions { gap: 7px; }
  .head-quote { padding-inline: 10px; font-size: .8rem; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 19px; padding-block: 29px 20px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(3rem, 10.9vw, 4.7rem); }
  .hero-photo { aspect-ratio: 3 / 2; object-position: center; }
  .hero-actions .button { min-height: 44px; }
  .hero-families { margin-top: 13px; gap: 1px 14px; }
  .specifications div { gap: 3px; display: block; padding: 10px 7px; }
  .specifications dt { font-size: .73rem; margin-bottom: 3px; }
  .specifications dd { font-size: .76rem; line-height: 1.35; }
  .catalog-intro { display: block; }
  .catalog-intro > p { margin-top: 9px; }
  .filters { flex-wrap: nowrap; gap: 19px; margin-block: 13px 16px; overflow-x: auto; }
  .filters button { flex: none; white-space: nowrap; font-size: .85rem; }
  .filters button::after { bottom: 0; }
  .filters button:focus-visible { outline-offset: -3px; }
  .production-grid, .quote-layout, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .process-list, .reference-grid { grid-template-columns: minmax(0, 1fr); row-gap: 18px; }
  .reference-image { aspect-ratio: 1.75; }
  .production-media { order: 2; }
  .shipping-grid { gap: 14px; }
  .footer-content { flex-wrap: wrap; gap: 8px 16px; padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .footer-content p { order: 3; width: 100%; }
  .floating { bottom: max(10px, env(safe-area-inset-bottom)); right: max(10px, env(safe-area-inset-right)); display: flex; align-items: center; gap: 0; }
  .floating:has(> :not([hidden])) { border: 1px solid var(--line); border-radius: var(--radius-surface); padding: 3px; background: var(--white); box-shadow: 0 5px 16px #172a331a; }
  .floating a, .floating .assistant-launcher { border-color: transparent; }
  .floating .assistant-launcher { justify-content: center; width: 44px; min-height: 44px; padding: 0; }
  .floating .assistant-launcher span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 430px) {
  .product-grid { grid-template-columns: minmax(0, 1fr); }
  .product-price { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
}
@media (max-width: 390px) {
  .form-grid, .shipping-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

/* Catalog controls and quote workspace */
.quote-count { display: inline-grid; place-items: center; min-width: 21px; height: 21px; padding: 1px 4px; border-radius: 999px; background: var(--white); color: var(--teal-dark); font-size: .73rem; font-variant-numeric: tabular-nums; }
.catalog-tools { display: grid; grid-template-columns: 1.65fr .8fr .9fr; gap: 13px; margin-top: 23px; padding: 15px; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius-surface); }
.catalog-tools label, .tracking-input label { display: grid; align-content: start; gap: 6px; font-size: .85rem; font-weight: 650; }
.catalog-results { min-height: 33px; margin: -9px 0 10px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; }
.catalog-results .inline-status { margin: 0; color: var(--muted); }
.catalog-results .inline-status[data-state="error"] { color: #9f372c; }
.quiet-button { display: inline-flex; align-items: center; min-height: 40px; padding: 5px 0; border: 0; background: transparent; color: var(--teal-dark); text-decoration: underline; text-underline-offset: 3px; font-size: .85rem; font-weight: 650; }
.quiet-button:hover { color: var(--purple); }
.catalog-toast { position: fixed; z-index: 7; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; align-items: center; justify-content: space-between; gap: 12px; width: min(100% - 27px, 420px); padding: 12px 14px; background: var(--ink); color: white; border-radius: var(--radius-surface); box-shadow: 0 8px 24px #112f3b28; font-size: .89rem; line-height: 1.45; }
.catalog-toast a { display: inline-flex; align-items: center; min-height: 40px; white-space: nowrap; color: #b4e7f0; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }

.quote-workspace { display: grid; gap: 13px; min-width: 0; }
.quote-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 13px; }
.quote-section-heading h3 { font: 750 1.5rem/1 var(--display-font); letter-spacing: -.025em; }
.quote-line-count { color: var(--teal-dark); background: var(--teal-soft); border-radius: 999px; padding: 5px 9px; font-size: .83rem; font-weight: 600; white-space: nowrap; }
.quote-empty { color: var(--muted); margin: 4px 0 14px; font-size: .91rem; line-height: 1.53; }
.quote-empty p:first-child { color: var(--ink); font-weight: 650; }
.quote-empty p + p { margin-top: 3px; }
.quote-lines { list-style: none; padding: 0; margin: 0; }
.quote-lines li { padding: 14px 0 7px; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.quote-line-main { display: grid; grid-template-columns: minmax(0, 1fr) 93px; align-items: center; gap: 10px 17px; }
.quote-lines li p { margin-top: 4px; color: var(--muted); font-size: .88rem; line-height: 1.42; }
.line-quantity { display: grid; gap: 5px; color: var(--muted); font-size: .8rem; font-weight: 650; }
.line-quantity input { width: 100%; min-height: 44px; padding: 7px; border: 1px solid var(--field-border); border-radius: var(--radius-control); background: var(--paper); color: var(--ink); font-size: 1rem; font-variant-numeric: tabular-nums; }
.line-quantity input:user-invalid { border-color: #9f372c; }
.quote-line-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: start; }
.quote-line-actions > .quiet-button, .quote-line-options summary { min-height: 44px; font-size: .81rem; }
.quote-line-options summary { display: list-item; padding: 12px 0; color: var(--teal-dark); font-weight: 650; cursor: pointer; }
.quote-line-options .form-grid { margin-bottom: 11px; }
.quote-selection-actions, .builder-actions, .receipt-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 15px; }
.quote-selection-actions .button { min-height: 44px; }
.quote-next { margin-top: 12px; padding: 9px 11px; border-radius: var(--radius-control); background: var(--teal-soft); color: var(--teal-dark); font-size: .88rem; line-height: 1.5; }
.custom-size-panel { margin-top: 14px; padding: 13px; border: 1px solid var(--line); border-radius: var(--radius-surface); background: var(--paper); }
.custom-size-panel h4 { margin: 0 0 11px; font-size: 1rem; }
.quote-form .builder-actions { margin-top: 13px; }
.quote-form #quote-line-submit.button { width: auto; background: transparent; }
.quote-form #quote-line-submit.button:hover { background: var(--surface); }
.form-grid label small { color: var(--muted); font-weight: 450; }
.form-grid textarea { resize: vertical; font: 450 1rem/1.4 var(--body-font); }
.receipt-actions { width: 100%; margin-top: 5px; }
.receipt-actions .text-link { display: inline-flex; min-height: 42px; align-items: center; }
.footer-links { display: flex; gap: 18px; margin-left: auto; font-size: .86rem; font-weight: 650; }
.footer-links a:hover { color: var(--teal); }

/* Private quote status */
.tracking { max-width: 860px; padding-block: clamp(37px, 6.5vw, 84px); }
.tracking h1 { margin-top: 9px; font: 750 clamp(2.48rem, 7vw, 5rem)/.98 var(--display-font); letter-spacing: -.055em; }
.tracking-input { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 13px; margin-top: 23px; border: 1px solid var(--line); }
.tracking-input .button { width: auto; min-height: 44px; }
.tracking-result { margin-top: 23px; padding: clamp(17px, 4vw, 33px); border: 1px solid var(--line); border-radius: var(--radius-surface); background: var(--white); }
.tracking-result-head { display: flex; align-items: center; justify-content: space-between; gap: 13px; }
.tracking-result-head p, .tracking-dates dt { color: var(--muted); font-size: .86rem; }
.tracking-result-head h2 { margin-top: 4px; font: 750 clamp(1.5rem, 4vw, 2.4rem)/1 var(--display-font); }
.tracking-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; padding: 0; margin: 24px 0; }
.tracking-steps li { min-height: 46px; display: grid; align-items: center; padding: 9px; border: 1px solid var(--line); border-radius: var(--radius-control); color: var(--muted); font-size: .85rem; line-height: 1.34; }
.tracking-steps li[aria-current] { background: var(--teal); color: var(--white); border-color: var(--teal); font-weight: 700; }
.tracking-dates { display: flex; flex-wrap: wrap; gap: 12px 26px; padding-top: 12px; border-top: 1px solid var(--line); }
.tracking-dates dd { margin-top: 4px; font-size: .91rem; font-weight: 650; }

@media (max-width: 900px) {
  .quote-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 610px) {
  .catalog-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 15px; padding: 11px; gap: 9px; }
  .catalog-search { grid-column: 1 / -1; }
  .quote-line-main { grid-template-columns: minmax(0, 1fr) 84px; gap: 8px 10px; }
  .quote-section-heading { flex-wrap: wrap; }
  .catalog-toast { bottom: max(72px, calc(env(safe-area-inset-bottom) + 62px)); }
  .footer-links { margin-left: 0; gap: 8px 13px; flex-wrap: wrap; }
  .tracking-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tracking-input { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 610px), (pointer: coarse) {
  .swatches button, .hero-families a, .quiet-button, .receipt-actions .text-link, .catalog-toast a { min-height: 44px; }
  .site-header nav a { display: flex; align-items: center; min-height: 44px; }
}
@media (max-width: 360px) {
  .head-content { gap: 6px; }
  .brand { gap: 5px; font-size: 1.02rem; }
  .brand-mark { width: 22px; height: 32px; }
  .quote-nav { gap: 5px; padding-inline: 8px; }
  .quote-nav .icon { display: none; }
}
