:root {
  --ink: #1b1d1c;
  --muted: #6d706d;
  --warm: #f7f6f2;
  --soft: #eeefec;
  --silver: #d9dcda;
  --line: #d3d5d1;
  --white: #ffffff;
  --green: #245b49;
  --green-dark: #183d32;
  --signal: #b2262e;
  --max: 1380px;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--warm);
  font-synthesis: none;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--warm); }
body.cart-open { overflow: hidden; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 999; left: 16px; top: 12px; padding: 12px 16px; background: var(--ink); color: var(--white); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.topbar {
  min-height: 34px;
  padding: 7px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--ink);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 11px;
}
.topbar a { color: #d9dbd9; }

.site-header {
  position: relative;
  z-index: 30;
  width: min(var(--max), calc(100% - 48px));
  height: 92px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  background: var(--warm);
}
.brand { display: inline-flex; justify-self: start; align-items: center; }
.brand img { width: 126px; height: 60px; object-fit: contain; object-position: left center; }
.site-header nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); font-family: "DM Sans", sans-serif; font-size: 13px; font-weight: 600; }
.site-header nav a { position: relative; padding: 12px 0; white-space: nowrap; }
.site-header nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 1px; background: var(--ink); transition: right .2s ease; }
.site-header nav a:hover::after, .site-header nav a.active::after { right: 0; }
.cart-trigger { justify-self: end; min-height: 42px; border: 1px solid var(--ink); background: transparent; display: flex; align-items: center; gap: 14px; padding: 0 8px 0 16px; cursor: pointer; font-size: 13px; font-weight: 600; }
.cart-trigger b { min-width: 26px; height: 26px; padding: 0 7px; background: var(--ink); color: var(--white); display: grid; place-items: center; font-size: 11px; }

.kicker { margin: 0; color: var(--muted); font-family: "DM Sans", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.kicker.light { color: #bfc4c1; }
.button { min-height: 48px; padding: 0 21px; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-size: 12px; font-weight: 700; letter-spacing: .01em; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: var(--green-dark); }
.button-outline { border-color: var(--ink); background: transparent; color: var(--ink); }
.button-outline:hover { background: var(--ink); color: var(--white); }
.button-light { background: var(--white); color: var(--ink); }
.button-light:hover { background: #e2e5e2; }
.button:disabled { opacity: .52; cursor: wait; }

.store-hero { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; min-height: 650px; display: grid; grid-template-columns: .82fr 1.18fr; border-bottom: 1px solid var(--line); }
.store-hero__copy { padding: 82px clamp(40px, 5vw, 80px) 62px 0; display: flex; flex-direction: column; justify-content: center; }
.store-hero h1 { margin: 22px 0 26px; max-width: 660px; font-size: clamp(56px, 6.2vw, 92px); line-height: .92; letter-spacing: -.066em; }
.store-hero__copy > p:not(.kicker) { max-width: 550px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.hero-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 33px; }
.hero-proof { margin: auto 0 0; padding-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hero-proof div { padding-top: 13px; border-top: 1px solid var(--line); }
.hero-proof dt { font-family: "DM Sans", sans-serif; font-size: 24px; font-weight: 700; letter-spacing: -.04em; }
.hero-proof dd { margin: 4px 0 0; color: var(--muted); font-size: 10px; line-height: 1.35; }
.store-hero__image { position: relative; min-height: 650px; overflow: hidden; background: var(--soft); }
.store-hero__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.store-hero__image:hover img { transform: scale(1.018); }
.store-hero__image > span { position: absolute; left: 0; bottom: 0; min-width: 290px; padding: 20px 24px; background: rgba(247,246,242,.96); display: grid; gap: 5px; }
.store-hero__image small { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
.store-hero__image b { font-size: 15px; }

.store-benefits { min-height: 78px; padding: 0 max(24px, calc((100vw - var(--max)) / 2)); background: var(--soft); display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; }
.store-benefits span { height: 100%; padding: 0 28px; border-left: 1px solid var(--line); display: flex; align-items: center; gap: 18px; font-size: 12px; font-weight: 600; }
.store-benefits span:last-child { border-right: 1px solid var(--line); }
.store-benefits b { font-size: 10px; color: var(--green); }

.paths, .ready-section, .catalog, .faq { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 112px 0; }
.section-intro { max-width: 920px; margin-bottom: 44px; }
.section-intro h2 { margin: 14px 0 0; font-size: clamp(44px, 5.2vw, 76px); line-height: .98; letter-spacing: -.057em; }
.path-grid { display: grid; grid-template-columns: 1.25fr .75fr; grid-template-rows: repeat(2, 310px); gap: 14px; }
.path-card { position: relative; min-height: 0; overflow: hidden; background: var(--ink); color: var(--white); }
.path-card--large { grid-row: 1 / 3; }
.path-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(10,12,11,.82) 100%); }
.path-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease; }
.path-card:hover img { transform: scale(1.025); }
.path-card > span { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 25px; display: grid; gap: 8px; }
.path-card small { color: #c8cdca; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.path-card b { max-width: 540px; font-family: "DM Sans", sans-serif; font-size: clamp(22px, 2.3vw, 38px); line-height: 1.06; letter-spacing: -.04em; }
.path-card:not(.path-card--large) b { font-size: clamp(20px, 1.9vw, 29px); }
.path-card em { margin-top: 5px; font-style: normal; font-size: 10px; text-decoration: underline; text-underline-offset: 4px; }

.ready-section { border-top: 1px solid var(--line); }
.catalog-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.catalog-heading h2 { margin: 13px 0 0; font-size: clamp(40px, 4.6vw, 66px); letter-spacing: -.055em; line-height: 1; }
.catalog-heading > p, .catalog-heading > a { margin: 0; color: var(--muted); font-size: 12px; }
.catalog-heading > a { color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 3px; }

.studio-feature { min-height: 650px; background: var(--green-dark); color: var(--white); display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.studio-feature__copy { padding: 90px max(36px, calc((100vw - var(--max)) / 2)); padding-right: clamp(50px, 7vw, 120px); display: flex; flex-direction: column; justify-content: center; }
.studio-feature h2 { margin: 18px 0 22px; max-width: 710px; font-size: clamp(48px, 5.7vw, 82px); line-height: .94; letter-spacing: -.06em; }
.studio-feature__copy > p:not(.kicker) { max-width: 620px; margin: 0; color: #c0cac5; font-size: 14px; line-height: 1.72; }
.studio-feature ul { margin: 26px 0 34px; padding: 0; display: grid; gap: 10px; list-style: none; color: #d7deda; font-size: 12px; }
.studio-feature li { padding-left: 20px; position: relative; }
.studio-feature li::before { content: ""; position: absolute; left: 0; top: .45em; width: 7px; height: 7px; border: 1px solid #8fa99e; }
.studio-feature .button { align-self: flex-start; }
.studio-feature__visual { position: relative; min-height: 650px; display: grid; place-items: center; background: #202523; overflow: hidden; }
.studio-feature__visual::before { content: ""; position: absolute; inset: 8%; border: 1px solid rgba(213,220,216,.18); }
.studio-feature__visual img { position: relative; z-index: 1; width: min(64%, 510px); height: min(64%, 510px); object-fit: contain; filter: grayscale(1) contrast(1.05); mix-blend-mode: screen; }
.telemetry { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 28px; padding: 18px 20px; border: 1px solid rgba(214,222,218,.25); background: rgba(16,19,18,.82); display: grid; grid-template-columns: 1fr auto; gap: 5px 20px; }
.telemetry span, .telemetry small { color: #aeb9b3; font-size: 9px; letter-spacing: .12em; }
.telemetry b { grid-column: 1 / -1; font-family: "DM Sans", sans-serif; font-size: 26px; }
.telemetry small { grid-row: 1; grid-column: 2; }

.catalog { padding-bottom: 130px; }
.catalog-toolbar { position: sticky; z-index: 10; top: 0; min-height: 70px; padding: 0 2px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(247,246,242,.96); backdrop-filter: blur(14px); display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.filters { min-width: 0; flex: 1; display: flex; align-items: center; gap: 24px; overflow-x: auto; scrollbar-width: thin; }
.filter { min-height: 38px; padding: 0; border: 0; border-bottom: 1px solid transparent; background: transparent; color: var(--muted); cursor: pointer; font-size: 12px; white-space: nowrap; }
.filter:hover, .filter.active { color: var(--ink); border-bottom-color: var(--ink); }
.search { width: min(280px, 32vw); height: 40px; flex: 0 0 auto; border-bottom: 1px solid #a7aaa7; display: flex; align-items: center; gap: 10px; }
.search span { font-size: 21px; transform: rotate(-15deg); }
.search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; font-size: 12px; }
.product-grid { margin-top: 30px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; gap: 44px 18px; }
.featured-grid { margin-top: 0; }
.product-grid.compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-card { min-width: 0; height: 100%; display: flex; flex-direction: column; content-visibility: auto; contain-intrinsic-size: 520px; }
.product-card__image { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: var(--soft); }
.product-card__image img { width: 100%; height: 100%; padding: clamp(10px, 1.25vw, 20px); object-fit: contain; transition: transform .45s ease; }
.product-card:hover .product-card__image img { transform: scale(1.025); }
.product-card__badge { position: absolute; top: 12px; left: 12px; padding: 7px 9px; background: rgba(247,246,242,.94); font-size: 9px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.image-count { position: absolute; right: 12px; bottom: 12px; min-width: 29px; height: 25px; padding: 0 8px; background: rgba(27,29,28,.9); color: var(--white); display: grid; place-items: center; font-size: 9px; }
.product-card__body { min-height: 0; flex: 1; padding: 18px 0 0; display: flex; flex-direction: column; }
.product-card__meta { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.product-card__meta span { min-width: 0; overflow-wrap: anywhere; }
.product-card__meta span:last-child { text-align: right; }
.product-card h3 { min-height: 3.75em; margin: 11px 0 7px; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; font-size: 19px; line-height: 1.25; letter-spacing: -.025em; }
.product-card__finish { margin: 0; color: var(--muted); display: grid; gap: 3px; font-size: 12px; line-height: 1.35; }
.product-card__finish span:first-child { min-height: 2.7em; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.product-card__finish span:last-child { color: #8b8f8c; font-size: 10px; letter-spacing: .04em; text-transform: uppercase; }
.product-card__footer { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: end; gap: 14px; }
.product-card__price { display: grid; gap: 2px; }
.product-card__price b { font-size: 18px; }
.product-card__price small { color: var(--muted); font-size: 10px; }
.product-card__price--quote b { max-width: 160px; font-size: 14px; line-height: 1.25; }
.product-card__link { font-size: 12px; font-weight: 600; border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
.empty-state { padding: 80px 20px; text-align: center; color: var(--muted); }
.catalog-more { display: flex; justify-content: center; padding-top: 56px; }
.catalog-more .button { min-width: 240px; }
.catalog-index { margin-top: 54px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.catalog-index summary { padding: 18px 0; cursor: pointer; color: var(--muted); font-size: 11px; font-weight: 600; }
.catalog-index nav { padding: 4px 0 24px; columns: 4; column-gap: 28px; }
.catalog-index nav a { margin-bottom: 8px; display: block; break-inside: avoid; color: var(--muted); font-size: 10px; line-height: 1.35; }
.catalog-index nav a:hover { color: var(--ink); }

.service-strip { padding: 96px max(24px, calc((100vw - var(--max)) / 2)); background: var(--ink); color: var(--white); display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.service-strip h2 { margin: 14px 0 0; max-width: 600px; font-size: clamp(42px, 4.4vw, 66px); line-height: .98; letter-spacing: -.055em; }
.service-strip ol { margin: 0; padding: 0; list-style: none; }
.service-strip li { padding: 22px 0; border-top: 1px solid #3d403f; display: grid; grid-template-columns: 50px 1fr; gap: 18px; }
.service-strip li:last-child { border-bottom: 1px solid #3d403f; }
.service-strip li > span { color: #8f9893; font-size: 10px; }
.service-strip li p { margin: 0; color: #bfc4c1; font-size: 13px; line-height: 1.55; }
.service-strip li b { color: var(--white); }

.faq { display: grid; grid-template-columns: .72fr 1.28fr; gap: 100px; }
.faq .section-intro { margin: 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 23px 42px 23px 0; cursor: pointer; list-style: none; font-family: "DM Sans", sans-serif; font-size: 17px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 5px; font-size: 22px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 720px; margin: -5px 0 24px; color: var(--muted); font-size: 13px; line-height: 1.7; }

.site-footer { padding: 72px max(24px, calc((100vw - var(--max)) / 2)) 30px; display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 50px; border-top: 1px solid var(--line); }
.footer-logo img { width: 150px; height: auto; }
.site-footer > div { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; font-size: 12px; }
.site-footer > div b { margin-bottom: 8px; font-family: "DM Sans", sans-serif; font-size: 13px; }
.site-footer > div a, .site-footer > div span { color: var(--muted); }
.site-footer > div a:hover { color: var(--ink); }
.copyright { grid-column: 1 / -1; margin: 30px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: #858986; font-size: 10px; }
.mobile-dock { display: none; }

/* Product page */
.breadcrumbs { width: min(var(--max), calc(100% - 48px)); margin: 28px auto; display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 11px; }
.breadcrumbs a { color: var(--ink); }
.product-detail { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(390px, .85fr); gap: clamp(46px, 6vw, 90px); padding: 12px 0 100px; }
.product-gallery { min-width: 0; }
.gallery-main { position: relative; aspect-ratio: 1 / .86; overflow: hidden; background: var(--soft); }
.gallery-main > img { width: 100%; height: 100%; object-fit: contain; }
.gallery-main > span { position: absolute; right: 15px; bottom: 15px; padding: 6px 8px; background: rgba(247,246,242,.92); font-size: 10px; }
.gallery-arrow { position: absolute; top: 50%; width: 43px; height: 43px; border: 0; background: rgba(247,246,242,.95); cursor: pointer; font-size: 17px; transform: translateY(-50%); }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 8px; }
.gallery-thumb { aspect-ratio: 1; padding: 0; border: 1px solid transparent; background: var(--soft); cursor: pointer; overflow: hidden; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active { border-color: var(--ink); }
.product-purchase { padding-top: 16px; align-self: start; }
.product-meta { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.product-purchase h1 { margin: 18px 0 16px; font-size: clamp(42px, 4.2vw, 66px); line-height: .98; letter-spacing: -.055em; }
.product-lead { margin: 0; max-width: 560px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.detail-price { margin: 28px 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 0 8px; }
.detail-price b { font-family: "DM Sans", sans-serif; font-size: 31px; letter-spacing: -.04em; }
.detail-price span { color: var(--muted); font-size: 11px; }
.detail-price small { grid-column: 1 / -1; margin-top: 3px; color: var(--muted); font-size: 10px; }
.quote-panel { margin: 28px 0; padding: 26px; border: 1px solid var(--line); background: var(--soft); }
.quote-panel h2 { margin: 10px 0 12px; font-size: 31px; line-height: 1.05; letter-spacing: -.04em; }
.quote-panel > p:not(.kicker) { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.quote-panel > small { margin-top: 13px; color: var(--muted); display: block; text-align: center; font-size: 10px; }
.quote-panel > small a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.quote-form { margin-top: 20px; display: grid; gap: 11px; }
.quote-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quote-form label { display: grid; gap: 6px; color: var(--muted); font-size: 10px; font-weight: 600; }
.quote-form input, .quote-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 0; background: var(--white); padding: 12px; color: var(--ink); font-size: 12px; resize: vertical; }
.quote-form .button { width: 100%; margin-top: 3px; }
.quote-status { min-height: 18px; margin: 0; text-align: center; color: var(--muted); font-size: 10px; line-height: 1.45; }
.quote-status[data-state="success"] { color: var(--green); }
.quote-status[data-state="error"] { color: var(--signal); }
.purchase-form fieldset { padding: 0; border: 0; }
.purchase-form legend, .cart-summary legend { margin-bottom: 11px; font-size: 11px; font-weight: 600; }
.length-selector { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.length-selector legend { grid-column: 1 / -1; }
.length-selector label { position: relative; cursor: pointer; }
.length-selector input { position: absolute; opacity: 0; }
.length-selector span { min-height: 68px; border: 1px solid var(--line); padding: 12px; display: grid; gap: 3px; }
.length-selector b { font-size: 13px; }
.length-selector small { color: var(--muted); font-size: 10px; }
.length-selector input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.quantity-row { margin: 22px 0 14px; display: grid; grid-template-columns: auto 116px 1fr; align-items: center; gap: 14px; }
.quantity-row > label { font-size: 11px; font-weight: 600; }
.quantity-control { height: 42px; border: 1px solid var(--line); display: grid; grid-template-columns: 34px 1fr 34px; }
.quantity-control button { border: 0; background: transparent; cursor: pointer; font-size: 18px; }
.quantity-control input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; text-align: center; appearance: textfield; font-size: 12px; }
.quantity-control input::-webkit-outer-spin-button, .quantity-control input::-webkit-inner-spin-button { appearance: none; margin: 0; }
.quantity-row > span { justify-self: end; color: var(--muted); font-size: 11px; }
.add-to-cart, .buy-now { width: 100%; margin-top: 8px; }
.purchase-notes { margin-top: 28px; border-top: 1px solid var(--line); }
.purchase-notes span { padding: 13px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 105px 1fr; gap: 15px; }
.purchase-notes b { font-size: 11px; }
.purchase-notes small { color: var(--muted); font-size: 11px; }
.product-specs { padding: 88px max(24px, calc((100vw - var(--max)) / 2)); background: var(--soft); display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.product-specs h2 { margin: 13px 0 0; font-size: 50px; letter-spacing: -.05em; }
.specs-intro { max-width: 440px; margin: 20px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.product-specs dl { margin: 0; }
.product-specs dl div { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: .7fr 1.3fr; gap: 20px; font-size: 12px; }
.product-specs dt { color: var(--muted); }
.product-specs dd { margin: 0; line-height: 1.55; }
.custom-profile-cta { min-height: 350px; padding: 72px max(24px, calc((100vw - var(--max)) / 2)); background: var(--green-dark); color: var(--white); display: flex; align-items: end; justify-content: space-between; gap: 60px; }
.custom-profile-cta h2 { margin: 13px 0 14px; max-width: 760px; font-size: clamp(44px, 5vw, 70px); line-height: .96; letter-spacing: -.055em; }
.custom-profile-cta p:not(.kicker) { max-width: 630px; margin: 0; color: #c0cac5; font-size: 13px; line-height: 1.65; }
.related-products { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 100px 0 120px; }
.product-mobile-actions { display: none; }
.not-found { width: min(860px, calc(100% - 48px)); min-height: 65vh; margin: 0 auto; padding: 120px 0; }
.not-found h1 { margin: 16px 0 20px; font-size: clamp(54px, 8vw, 100px); line-height: .93; letter-spacing: -.065em; }
.not-found > p:not(.kicker) { color: var(--muted); margin-bottom: 30px; }

.order-success { width: min(920px, calc(100% - 48px)); min-height: calc(100vh - 126px); margin: 0 auto; padding: 120px 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.order-success h1 { margin: 18px 0 24px; font-size: clamp(58px, 8vw, 108px); line-height: .9; letter-spacing: -.07em; }
.order-success > p:not(.kicker) { max-width: 650px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.order-success > div { display: flex; gap: 10px; margin-top: 34px; }

/* Cart */
.cart-drawer { position: fixed; inset: 0; z-index: 100; pointer-events: none; visibility: hidden; }
.cart-drawer.open { pointer-events: auto; visibility: visible; }
.cart-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.46); opacity: 0; transition: opacity .25s; }
.cart-drawer.open .cart-backdrop { opacity: 1; }
.cart-panel { position: absolute; top: 0; right: 0; width: min(500px, 100%); height: 100%; background: var(--warm); padding: 28px; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .28s ease; overflow-y: auto; outline: 0; }
.cart-drawer.open .cart-panel { transform: translateX(0); }
.cart-panel > header { padding-bottom: 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: start; }
.cart-panel h2 { margin: 8px 0 0; font-size: 34px; letter-spacing: -.04em; }
.cart-panel > header button { width: 40px; height: 40px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 23px; }
.cart-items { display: grid; }
.cart-item { padding: 17px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 76px 1fr auto; gap: 13px; align-items: center; }
.cart-item img { width: 76px; height: 76px; object-fit: cover; background: var(--soft); }
.cart-item__info { min-width: 0; display: grid; gap: 4px; }
.cart-item__info b { font-size: 12px; line-height: 1.3; }
.cart-item__info small { color: var(--muted); font-size: 10px; }
.cart-item__controls { margin-top: 4px; display: flex; gap: 8px; align-items: center; }
.cart-item__controls button { border: 0; padding: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 10px; text-decoration: underline; }
.cart-item__price { text-align: right; display: grid; gap: 5px; }
.cart-item__price b { font-size: 12px; }
.cart-item__price small { color: var(--muted); font-size: 9px; }
.cart-empty { margin: auto; padding: 60px 0; text-align: center; color: var(--muted); }
.text-button { padding: 5px 0; border: 0; border-bottom: 1px solid var(--ink); background: transparent; cursor: pointer; font-size: 11px; }
.cart-summary { margin-top: auto; padding-top: 26px; }
.cart-summary fieldset { margin: 0 0 20px; padding: 0; border: 0; display: grid; gap: 7px; }
.cart-summary label { position: relative; cursor: pointer; }
.cart-summary label input { position: absolute; left: 13px; top: 17px; accent-color: var(--green); }
.cart-summary label span { min-height: 58px; padding: 11px 12px 11px 40px; border: 1px solid var(--line); display: grid; gap: 2px; }
.cart-summary label input:checked + span { border-color: var(--ink); }
.cart-summary label b { font-size: 11px; }
.cart-summary label small { color: var(--muted); font-size: 9px; }
.cart-summary dl { margin: 0; padding: 18px 0; border-top: 1px solid var(--line); }
.cart-summary dl div { display: flex; justify-content: space-between; gap: 20px; padding: 5px 0; font-size: 11px; }
.cart-summary dd { margin: 0; }
.cart-summary .cart-total { margin-top: 8px; padding-top: 13px; border-top: 1px solid var(--line); font-size: 17px; font-weight: 700; }
.checkout-button { width: 100%; }
.secure-note { margin: 10px 0 0; color: var(--muted); text-align: center; font-size: 9px; }
.checkout-status { min-height: 18px; margin: 9px 0 0; color: var(--signal); text-align: center; font-size: 10px; line-height: 1.4; }

.reveal-ready { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal-ready.revealed { opacity: 1; transform: none; }

@media (max-width: 1180px) {
  .product-grid, .product-grid.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-header nav { gap: 18px; }
}

@media (max-width: 1040px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .store-hero { grid-template-columns: 1fr 1fr; }
  .product-detail { grid-template-columns: 1fr 1fr; gap: 38px; }
  .site-footer { grid-template-columns: 1.3fr repeat(3, 1fr); gap: 25px; }
  .studio-feature__copy { padding-left: 36px; }
}

@media (max-width: 900px) {
  .product-grid, .product-grid.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq { gap: 55px; }
}

@media (max-width: 760px) {
  body[data-page="catalog"] { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  body[data-page="product"] { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  .topbar { display: none; }
  .site-header { width: 100%; height: 72px; padding: 0 15px; position: sticky; top: 0; background: rgba(247,246,242,.96); backdrop-filter: blur(14px); }
  .brand img { width: 98px; height: 48px; }
  .cart-trigger { min-height: 38px; }
  .store-hero { width: 100%; min-height: 0; grid-template-columns: 1fr; border-bottom: 0; }
  .store-hero__copy { min-height: 520px; padding: 58px 15px 42px; }
  .store-hero h1 { font-size: clamp(51px, 15vw, 72px); }
  .hero-links { flex-direction: column; }
  .hero-proof { width: 100%; margin-top: 52px; padding-top: 0; gap: 12px; }
  .hero-proof dt { font-size: 19px; }
  .store-hero__image { min-height: 450px; }
  .store-benefits { padding: 0 15px; grid-template-columns: 1fr; }
  .store-benefits span { min-height: 58px; padding: 0 5px; border-left: 0; border-bottom: 1px solid var(--line); }
  .store-benefits span:last-child { border-right: 0; border-bottom: 0; }
  .paths, .ready-section, .catalog, .faq { width: calc(100% - 30px); padding: 78px 0; }
  .section-intro h2, .catalog-heading h2 { font-size: 46px; }
  .path-grid { grid-template-columns: 1fr; grid-template-rows: 470px repeat(2, 260px); }
  .path-card--large { grid-row: auto; }
  .path-card > span { left: 20px; right: 20px; bottom: 20px; }
  .path-card b, .path-card:not(.path-card--large) b { font-size: 27px; }
  .studio-feature { grid-template-columns: 1fr; }
  .studio-feature__copy { padding: 78px 15px 68px; }
  .studio-feature h2 { font-size: 52px; }
  .studio-feature__visual { min-height: 460px; }
  .catalog-toolbar { top: 72px; align-items: stretch; flex-direction: column; padding: 12px 0; }
  .filters { gap: 20px; overflow-x: auto; }
  .filter { flex: 0 0 auto; }
  .search { width: 100%; }
  .product-grid, .product-grid.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 12px; }
  .catalog-index nav { columns: 2; }
  .product-card__image { aspect-ratio: 1 / .95; }
  .service-strip { padding: 72px 15px; grid-template-columns: 1fr; gap: 48px; }
  .service-strip h2 { font-size: 48px; }
  .faq { display: block; }
  .faq .section-intro { margin-bottom: 40px; }
  .site-footer { padding: 55px 15px 25px; grid-template-columns: 1fr 1fr; }
  .footer-logo { grid-column: 1 / -1; }
  .site-footer > div:last-of-type { grid-column: 1 / -1; }
  .mobile-dock { position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; min-height: calc(60px + env(safe-area-inset-bottom)); padding: 0 10px env(safe-area-inset-bottom); border-top: 1px solid var(--line); background: rgba(247,246,242,.97); backdrop-filter: blur(16px); display: grid; grid-template-columns: repeat(4, 1fr); align-items: stretch; }
  .mobile-dock a, .mobile-dock button { min-width: 0; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 10px; font-weight: 600; }
  .mobile-dock .active { color: var(--green); }
  .mobile-dock b { min-width: 17px; height: 17px; padding: 0 4px; background: var(--ink); color: var(--white); display: grid; place-items: center; font-size: 8px; }
  .breadcrumbs { width: calc(100% - 30px); margin: 20px auto; }
  .product-detail { width: 100%; grid-template-columns: 1fr; gap: 0; padding: 0 0 65px; }
  .product-gallery { padding: 0 15px; }
  .gallery-main { aspect-ratio: 1; }
  .gallery-thumbs { overflow-x: auto; display: flex; }
  .gallery-thumb { flex: 0 0 66px; }
  .product-purchase { padding: 38px 15px 0; }
  .product-purchase h1 { font-size: 48px; }
  .quantity-row { grid-template-columns: auto 116px; }
  .quantity-row > span { grid-column: 1 / -1; justify-self: start; }
  .product-specs { padding: 62px 15px; grid-template-columns: 1fr; gap: 35px; }
  .product-specs h2 { font-size: 43px; }
  .custom-profile-cta { min-height: 440px; padding: 68px 15px; align-items: stretch; flex-direction: column; justify-content: center; }
  .custom-profile-cta h2 { font-size: 50px; }
  .related-products { width: calc(100% - 30px); padding: 75px 0 90px; }
  .product-mobile-actions { position: fixed; z-index: 80; left: 0; right: 0; bottom: 0; min-height: calc(72px + env(safe-area-inset-bottom)); padding: 9px 12px calc(9px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(247,246,242,.98); backdrop-filter: blur(16px); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; }
  .product-mobile-actions > span { min-width: 0; display: grid; gap: 2px; }
  .product-mobile-actions small { color: var(--muted); font-size: 9px; }
  .product-mobile-actions b { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
  .product-mobile-actions .button { min-height: 46px; padding: 0 15px; }
  .cart-panel { padding: 20px 15px; }
  .order-success { width: calc(100% - 30px); min-height: calc(100vh - 74px); padding: 70px 0; }
  .order-success h1 { font-size: 62px; }
  .order-success > div { width: 100%; flex-direction: column; }
}

@media (max-width: 560px) {
  .catalog-heading { align-items: start; flex-direction: column; gap: 12px; }
  .product-card h3 { min-height: 3.7em; font-size: 15px; }
  .product-card__meta { font-size: 8px; }
  .product-card__finish { font-size: 10px; }
  .product-card__price b { font-size: 14px; }
  .product-card__price--quote b { font-size: 12px; }
  .product-card__link { font-size: 10px; }
  .product-card__badge { top: 7px; left: 7px; max-width: calc(100% - 45px); font-size: 7px; }
  .image-count { right: 7px; bottom: 7px; }
  .quote-form__row { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 62px 1fr; }
  .cart-item img { width: 62px; height: 62px; }
  .cart-item__price { grid-column: 2; text-align: left; }
}

@media (max-width: 380px) {
  .product-grid, .product-grid.compact { grid-template-columns: 1fr; }
  .product-card h3 { min-height: auto; font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal-ready { opacity: 1; transform: none; }
}
