:root {
  font-family: system-ui, sans-serif;
  font-size: 100%;
  color: #242a2e;
  background: #f5f6f7;
  --ink: #242a2e;
  --muted: #515d65;
  --slate: #373a36;
  --brand: #2b478b;
  --cyan: #17abdd;
  --line: #dce2e6;
  --serif: Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 280px; }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
h1, h2, h3, p, figure { margin: 0; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.frame { width: min(100% - 100px, 1312px); margin-inline: auto; }
.skip { position: fixed; z-index: 3; top: 12px; left: 12px; transform: translateY(-170%); background: #fff; padding: 10px 14px; }
.skip:focus { transform: none; }

.site-header { color: #f6f8fa; background: var(--ink); border-bottom: 1px solid #41494d; }
.header-inner { min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; }
.brand { justify-self: start; display: inline-flex; }
.brand img { width: 119px; height: auto; display: block; }
.header-inner nav { display: flex; gap: 34px; }
.header-inner nav a { text-decoration: none; font-size: .875rem; color: #e1e7eb; white-space: nowrap; }
.header-inner nav a:hover { color: #a1dff2; }

.hero { background: var(--ink); color: white; overflow: hidden; }
.hero-inner { min-height: 403px; display: grid; grid-template-columns: 49% 51%; }
.hero-copy { align-self: center; position: relative; z-index: 1; padding: 46px 25px 66px 0; }
.eyebrow { color: #94d8ec; font-weight: 600; font-size: .8125rem; letter-spacing: .14em; }
.hero h1 { font-family: var(--serif); font-size: clamp(3.1rem, 5.15vw, 5.1rem); line-height: .99; letter-spacing: -.041em; font-weight: 400; margin-top: 14px; }
.hero-copy > p.price-inclusions { padding-inline-start: 12px; border-inline-start: 2px solid #86d5ee; font-size: .9375rem; }
.hero-copy > p:not(.eyebrow) { max-width: 460px; margin-top: 19px; line-height: 1.65; color: #e1e6e8; }
.primary, .secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; border: 1px solid transparent; border-radius: 5px; padding: 9px 17px; text-decoration: none; font-size: .875rem; font-weight: 600; }
.primary { color: #10242d; background: #69cbea; margin-top: 24px; }
.primary:hover { background: #a2e1f3; }
.secondary { color: var(--brand); border-color: #b9c7d6; background: white; }
.secondary:hover { background: #edf4fa; }
.hero-photo { position: relative; isolation: isolate; margin-right: calc((min(100vw - 100px, 1312px) - 100vw) / 2); }
.hero-photo img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 60% 52%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink), transparent 38%), linear-gradient(0deg, #151c20a6, transparent 42%); }
.hero-photo figcaption { position: absolute; z-index: 1; right: max(25px, calc((100vw - 1312px) / 2)); bottom: 54px; font-size: .8125rem; color: #fff; background: #242a2edc; border-radius: 4px; padding: 5px 10px; }

.price-overview { position: relative; z-index: 1; margin-top: -31px; }
.rate-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); border: 1px solid var(--line); border-radius: 8px; overflow: clip; background: white; box-shadow: 0 12px 28px #232a3410; }
.rate { min-height: 91px; background: #fff; border: 0; border-right: 1px solid var(--line); color: var(--ink); padding: 13px clamp(14px, 2vw, 29px); text-align: left; display: grid; align-content: center; justify-items: start; row-gap: 3px; }
.rate:last-child { border-right: 0; }
.rate > span { font-size: .875rem; font-weight: 600; color: var(--brand); }
.rate strong { font-family: var(--serif); font-size: 2rem; font-weight: 400; line-height: 1; white-space: nowrap; }
.rate small { font-family: system-ui, sans-serif; font-size: .8125rem; color: var(--muted); }
.rate:hover, .rate[aria-pressed="true"] { background: #eef7fa; }
.rate:focus-visible { outline-offset: -4px; }

.catalog { padding-top: 39px; padding-bottom: 60px; scroll-margin-top: 20px; }
.section-heading h2, .pricing h2 { font-family: var(--serif); font-size: clamp(2.25rem, 4vw, 3.375rem); font-weight: 400; line-height: 1.05; letter-spacing: -.035em; }
.section-heading p { margin-top: 7px; color: var(--muted); font-size: .875rem; line-height: 1.6; }
.catalog-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 17px; border: 1px solid #d1e2ed; border-left: 3px solid #17abdd; padding: 10px 13px; border-radius: 4px; color: #34444e; background: #edf4f8; font-size: .875rem; }
.catalog-note svg { width: 19px; height: 19px; color: var(--brand); }
.browse-layout { display: grid; grid-template-columns: 224px minmax(0,1fr); align-items: start; gap: 23px; margin-top: 23px; }
.filters { background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 17px; }
.filter-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 17px; gap: 8px; }
.filter-heading h3 { font-size: 1.0625rem; font-weight: 600; }
.text-button { padding: 4px 1px; border: 0; background: transparent; text-decoration: underline; text-underline-offset: 3px; color: var(--brand); font-size: .875rem; }
.text-button:hover { color: #184965; }
fieldset { min-width: 0; margin: 17px 0 0; padding: 0; border: 0; }
.filters label:not(.radio), .filters legend { display: block; padding: 0; font-size: .875rem; font-weight: 600; }
.filters label[for="tier"] { margin-top: 17px; }
input:not([type="radio"], [type="checkbox"]), select { background-color: white; color: var(--ink); min-height: 42px; width: 100%; border: 1px solid #cbd4da; border-radius: 5px; padding: 8px 9px; font-size: .875rem; }
input::placeholder { color: #5b6770; }
input::-webkit-inner-spin-button { appearance: none; }
input[type="number"] { appearance: textfield; }
select { appearance: none; padding-right: 26px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23505d68' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 9px center; }
select:disabled { color: #65717a; background-color: #eef1f3; }
.radio { display: flex; align-items: center; gap: 8px; min-height: 29px; font-size: .875rem; color: #333e45; cursor: pointer; }
.radio input { margin: 0; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--brand); }
.filters select { margin-top: 5px; }
.amounts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 5px; }
.amount { position: relative; display: block; margin-top: 4px; }
.amount > span { position: absolute; left: 8px; top: 10px; color: var(--muted); font-weight: 400; pointer-events: none; }
.amount input { padding-left: 21px; padding-right: 5px; font-weight: 400; }
.field-error { color: #9e3330; margin-top: 7px; font-size: .8125rem; }
input[aria-invalid="true"] { border-color: #ad3d37; }

.results-top { min-height: 45px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.results-top p { color: #44525c; font-size: .875rem; }
.results-top p strong { color: var(--ink); font-weight: 600; }
.sort { display: flex; align-items: center; gap: 9px; font-size: .875rem; color: var(--muted); white-space: nowrap; }
.sort select { width: auto; }
.product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.product { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: #fff; transition: border-color .18s, box-shadow .18s; }
.product:hover, .product:focus-within { border-color: #9fb6cd; box-shadow: 0 5px 15px #202b3912; }
.product-image { position: relative; aspect-ratio: 1.77; background: #e5e6e7; overflow: hidden; }
.product-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .24s; }
.product:hover img { transform: scale(1.035); }
.product-tag { position: absolute; top: 10px; left: 10px; padding: 4px 8px; color: #24313a; background: #fff; border-radius: 4px; font-weight: 600; font-size: .8125rem; box-shadow: 0 2px 5px #17182220; }
.product-content { padding: 13px 13px 15px; display: flex; flex-direction: column; flex: 1; }
.product-title { font-size: 1rem; font-weight: 600; line-height: 1.35; margin-bottom: 5px; }
.product-title button { padding: 0; border: 0; background: transparent; color: inherit; text-align: left; font-weight: inherit; }
.product-title button::after { content: ""; position: absolute; inset: 0; }
.product-title button:focus-visible { outline: 0; }
.product:has(button:focus-visible) { outline: 3px solid var(--cyan); outline-offset: 2px; }
.product-spec { color: var(--muted); font-size: .8125rem; line-height: 1.45; }
.product-bottom { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 3px 8px; margin-top: auto; padding-top: 11px; }
.product-rate { font-size: .8125rem; color: var(--muted); white-space: nowrap; }
.product-rate strong { color: var(--ink); font-size: 1.125rem; font-weight: 600; }
.rate-status { color: #75511e; font-size: .8125rem; white-space: nowrap; }
.empty { background: white; border: 1px dashed #bcc8d0; border-radius: 7px; padding: 42px 16px; text-align: center; }
.empty h3 { font-size: 1.1rem; }
.empty p { margin: 7px 0 16px; color: var(--muted); }

.pricing { border-top: 1px solid var(--line); background: #e7eff3; padding: 44px 0; }
.pricing-inner { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.pricing p { max-width: 680px; font-size: .9375rem; line-height: 1.7; color: #40515d; margin-top: 11px; }
.pricing-example { display: grid; gap: 5px; color: #415663; background: #fff; padding: 15px 19px; border: 1px solid #d2dfe8; border-radius: 6px; font-size: .8125rem; }
.pricing-example strong { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--ink); }
footer { color: #d9e0e4; background: var(--ink); }
.footer-inner { padding-block: 18px; display: flex; justify-content: space-between; gap: 10px; font-size: .875rem; }
.footer-inner a { text-underline-offset: 3px; }

dialog { width: min(880px, calc(100% - 32px)); max-height: calc(100% - 32px); border: 1px solid #a6b0b8; padding: 0; background: white; color: var(--ink); border-radius: 10px; }
dialog::backdrop { background: #172027b8; }
.dialog-shell { position: relative; display: grid; grid-template-columns: 48% 52%; }
.dialog-close { position: absolute; z-index: 1; top: 12px; right: 12px; width: 41px; height: 41px; display: grid; place-content: center; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--ink); }
.dialog-close:hover { background: #e8f2f8; }
.dialog-image { background: #e5e7e7; align-content: center; }
.dialog-image img { display: block; width: 100%; max-height: 520px; object-fit: contain; }
.dialog-content { padding: 32px 23px 25px; }
.dialog-content .eyebrow { color: var(--brand); padding-right: 38px; }
.dialog-content h2 { font-family: var(--serif); font-size: clamp(1.95rem, 3.4vw, 2.9rem); line-height: 1.04; font-weight: 400; margin: 7px 18px 12px 0; }
.detail-rate { color: var(--muted); font-size: .875rem; }
.detail-rate strong { color: var(--ink); font-size: 1.5rem; line-height: 1; }
.detail-rate-note { font-size: .8125rem; color: #75511e; margin-top: 5px; }
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px 14px; font-size: .875rem; }
.slab-photo-link { display: block; color: var(--brand); font-size: .875rem; margin-top: 9px; }
.specs dt { color: var(--muted); font-size: .8125rem; }
.specs dd { margin: 1px 0 0; font-weight: 600; }
.slab-action { margin-top: 19px; }
.product-action { position: relative; z-index: 1; color: #fff; background: var(--brand); border-radius: 5px; display: inline-flex; justify-content: center; align-items: center; min-height: 42px; padding: 7px 9px; margin-top: 11px; text-decoration: none; font-size: .875rem; font-weight: 600; text-align: center; }
.product-action:hover { background: #20376f; }

@media (max-width: 1100px) {
  .frame { width: calc(100% - 56px); }
  .hero-photo { margin-right: -28px; }
  .browse-layout { grid-template-columns: 190px minmax(0,1fr); gap: 15px; }
  .filters { padding: 13px; }
  .product-grid { gap: 12px; }
}
@media (max-width: 850px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero-inner { min-height: 350px; grid-template-columns: 56% 44%; }
  .hero h1 { font-size: clamp(2.7rem, 6.2vw, 4.25rem); }
}
@media (max-width: 720px) {
  .rate-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .rate { min-height: 72px; padding: 8px 12px; }
  .rate:nth-child(even) { border-right: 0; }
  .rate:not(:last-child) { border-bottom: 1px solid var(--line); }
  .rate:last-child { grid-column: 1 / -1; }
  .rate strong { font-size: 1.6rem; }
}
@media (max-width: 625px) {
  .frame { width: calc(100% - 32px); }
  .header-inner { min-height: 65px; grid-template-columns: 1fr auto; gap: 8px; }
  .brand img { width: 103px; }
  .header-inner nav { display: none; }
  .hero-inner { display: block; width: 100%; }
  .hero-copy { padding: 29px 16px 25px; }
  .hero h1 { font-size: clamp(2.52rem, 10vw, 3.55rem); margin-top: 10px; }
  .hero-copy > p:not(.eyebrow) { margin-top: 13px; }
  .primary { margin-top: 16px; }
  .hero-photo { height: 168px; margin: 0; }
  .hero-photo::after { background: linear-gradient(0deg, #151c2090, transparent 48%); }
  .hero-photo figcaption { bottom: 20px; right: 16px; }
  .price-overview { margin-top: 12px; }
  .catalog { padding-top: 29px; padding-bottom: 35px; }
  .browse-layout { display: block; margin-top: 15px; }
  .filters form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px 12px; align-items: start; }
  .filter-heading { grid-column: 1 / -1; margin: 0; }
  .filters fieldset { margin: 0; grid-row: span 2; }
  .filters label[for="tier"] { margin: 0; }
  .filters select { margin: -5px 0 0; }
  .filters .price-fields { grid-column: 1 / -1; grid-row: auto; }
  .results { margin-top: 12px; }
  .results-top { gap: 8px; }
  .sort { gap: 4px; }
  .sort select { max-width: 156px; }
  .product-grid { gap: 10px; }
  .product-tag { top: 6px; left: 6px; font-size: .75rem; }
  .product-content { padding: 9px; }
  .pricing { padding: 33px 0; }
  .pricing-inner { grid-template-columns: 1fr; gap: 13px; }
  .dialog-shell { display: block; }
  .dialog-image { max-height: 210px; overflow: hidden; }
  .dialog-image img { max-height: 210px; }
  .dialog-content { padding: 19px 14px; }
}
@media (max-width: 345px) {
  .product-grid { grid-template-columns: 1fr; }
  .sort select { max-width: 123px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
