@font-face {
  font-family: 'Archivo Black';
  src: url('./assets/archivo-black-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --yellow: #ffd600;
  --ink: #171410;
  --paper: #f6f2e5;
  --white: #fffdf8;
  --red: #ed3928;
  --headline: 'Archivo Black', Impact, 'Arial Black', sans-serif;
  color: var(--ink);
  background: var(--yellow);
  font: 16px/1.5 Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .72; }
img { display: block; max-width: 100%; }
p, figure, dl { margin: 0; }
h1, h2, h3 { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.skip { position: fixed; z-index: 5; top: .5rem; left: .5rem; transform: translateY(-200%); padding: .5rem 1rem; background: var(--white); }
.skip:focus { transform: none; }

.wrap, .mast-inner, .foot-inner { width: min(100% - 2rem, 73rem); margin-inline: auto; }
.masthead { border-bottom: 4px solid var(--red); background: var(--ink); color: var(--yellow); }
.mast-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; }
.brand-emblem { position: relative; display: inline-block; flex: none; width: 1.75rem; height: 1.75rem; border: 2px solid currentColor; }
.brand-emblem::before { content: ''; position: absolute; inset: 1px 4px 0 1px; background: currentColor; clip-path: polygon(0 0, 100% 15%, 100% 90%, 0 100%); }
.brand-emblem::after { content: ''; position: absolute; width: 3px; height: 3px; top: .61rem; left: .52rem; background: var(--ink); border-radius: 50%; }
.wordmark { display: inline-block; font: 1.2rem/.83 var(--headline); letter-spacing: -.035em; white-space: nowrap; }
.wordmark-dot { color: inherit; }
.mastnav { display: flex; align-items: center; gap: clamp(.7rem, 4vw, 2rem); }
.mastnav a, .mastnav button { min-height: 44px; display: inline-flex; align-items: center; font-weight: 800; font-size: .83rem; text-decoration-thickness: 2px; white-space: nowrap; }
.mastnav a[aria-current='page'] { text-decoration: none; box-shadow: inset 0 -2px; }

.flyer { background: var(--yellow); }
.hero-grid { display: grid; grid-template-columns: minmax(18rem, 1.05fr) minmax(18rem, .95fr); grid-template-areas: 'copy art' 'action art'; column-gap: clamp(1.75rem, 6vw, 7rem); padding-block: clamp(2.5rem, 7vw, 6.5rem); align-content: center; }
.hero-copy { grid-area: copy; align-self: end; min-width: 0; container-type: inline-size; }
.kicker { display: inline-flex; align-items: center; gap: .45rem; font: 700 .72rem/1.2 'Courier New', monospace; letter-spacing: .1em; text-transform: uppercase; }
.kicker::before { content: ''; display: inline-block; height: .6rem; width: .6rem; background: currentColor; }
.flyer h1 { margin-block: .75rem .8rem; font: clamp(3.8rem, 7.5vw, 7rem)/.87 var(--headline); letter-spacing: -.04em; text-transform: uppercase; overflow-wrap: anywhere; }
.flyer h1 span { display: block; }
.flyer .availability-title { font-size: clamp(1.75rem, 10.6cqi, 6.6rem); }
.flyer .availability-title span { white-space: nowrap; }
.flyer .product-title { font-size: clamp(2.65rem, 5.75vw, 6rem); }
.flyer-caption { max-width: 34rem; font-size: clamp(.97rem, 2vw, 1.2rem); font-weight: 600; line-height: 1.4; }
.hero-spec { font-weight: 800; font-size: clamp(.92rem, 2vw, 1.12rem); }
.hero-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .45rem; margin-block: 1rem .2rem; }
.hero-price strong { font: clamp(4rem, 10vw, 8rem)/.82 var(--headline); letter-spacing: -.05em; }
.hero-price span { font: 800 .93rem/1 Arial, sans-serif; }
.hero-price del { opacity: .8; margin-left: .25rem; font-weight: 700; }
.hero-status { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .65rem; margin-top: .85rem; font: 800 .8rem/1.25 Arial, sans-serif; }
.hero-status .confirmed { padding: .3rem .48rem; border: 1.5px solid currentColor; }
.hero-action { grid-area: action; display: grid; justify-items: start; align-content: start; gap: .52rem; margin-top: 1.3rem; }
.hero-action .button { min-width: min(100%, 19rem); }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: .65rem .9rem; background: var(--ink); border: 2px solid var(--ink); color: var(--white); font-weight: 900; line-height: 1.22; text-decoration: none; }
.button:hover { background: var(--white); color: var(--ink); }
.button:focus-visible { outline-color: var(--ink); }
.button.secondary { background: transparent; color: var(--ink); }
.button.secondary:hover { background: var(--ink); color: var(--white); }
.text-arrow { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; gap: .45rem; }
.art { grid-area: art; min-height: 25rem; position: relative; display: grid; place-items: center; isolation: isolate; border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); overflow: hidden; }
.art-photo { padding: 1rem 2.8rem; background: var(--white); }
.art-photo .door-photo { width: 100%; height: auto; max-height: clamp(25rem, 48vw, 36rem); object-fit: contain; }
.type-board { display: block; min-height: 0; height: auto; align-self: center; padding: clamp(.65rem, 2.1vw, 1.5rem); background: var(--paper); }
.type-board h2 { margin: .1rem 0 .8rem; font: clamp(1rem, 2.3vw, 1.65rem)/1.1 var(--headline); }
.type-board-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border: 1.5px solid var(--ink); }
.type-board-grid a { display: grid; justify-items: center; align-content: center; gap: .5rem; min-height: clamp(5.4rem, 12vw, 9.8rem); padding: .5rem .2rem; text-align: center; background: var(--white); text-decoration: none; font-size: .87rem; line-height: 1.17; }
.type-board-grid a + a { border-left: 1.5px solid var(--ink); }
.type-board-grid a:hover { background: var(--yellow); text-decoration: underline; }
.type-board-grid a:focus-visible { position: relative; outline-offset: -4px; }
.door-icon { display: block; position: relative; width: 1.75rem; height: 2.35rem; border: 2px solid var(--ink); }
.door-icon::before { content: ''; position: absolute; inset: 3px 4px 9px; border: 1px solid var(--ink); }
.door-icon::after { content: ''; position: absolute; top: 58%; right: 3px; width: 3px; height: 3px; border-radius: 50%; background: var(--ink); }
.door-icon--interior::before { inset: 0 4px 0 0; border-width: 0 1px 0 0; }
.door-icon--patio { width: 2.75rem; }
.door-icon--patio::before { inset: 0 50% 0 auto; border-width: 0 1px 0 0; }
.stock-sticker { display: grid; place-items: center; text-align: center; z-index: 1; align-content: center; position: absolute; right: 5%; top: 9%; width: clamp(5rem, 11vw, 8.2rem); aspect-ratio: 1; padding: .45rem; background: var(--red); color: var(--ink); font: clamp(.8rem, 1.6vw, 1.22rem)/.92 var(--headline); letter-spacing: -.025em; text-transform: uppercase; transform: rotate(11deg); clip-path: polygon(50% 0%, 60% 11%, 75% 5%, 80% 20%, 95% 25%, 91% 40%, 100% 50%, 89% 60%, 95% 75%, 80% 80%, 75% 95%, 60% 89%, 50% 100%, 40% 89%, 25% 95%, 20% 80%, 5% 75%, 11% 60%, 0% 50%, 11% 40%, 5% 25%, 20% 20%, 25% 5%, 40% 11%); pointer-events: none; }
.stock-sticker strong { font: inherit; display: block; }
.stock-sticker span { display: block; }

.paper { background: var(--paper); border-top: 2px solid var(--ink); }
.home-browse, .page-body { padding-block: clamp(2rem, 6vw, 4.5rem); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; padding-bottom: .8rem; margin-bottom: 1rem; border-bottom: 2px solid; }
.section-head h2, .page-title { font: clamp(2.3rem, 6vw, 4.5rem)/.94 var(--headline); letter-spacing: -.025em; text-transform: uppercase; overflow-wrap: anywhere; }
.section-head .text-arrow { flex: none; }
.home-browse p, .page-intro { max-width: 44rem; }
.storefront-fallback-links { margin-top: .65rem; }
.page-intro { margin-top: .75rem; }
.back { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; margin-bottom: .7rem; font-weight: 800; }
.footer { background: var(--ink); color: var(--white); }
.foot-inner { min-height: 5rem; padding-block: 1.1rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1.5rem; }
.footer .wordmark { color: var(--yellow); }
.footer .text-arrow { min-height: 44px; font-size: .91rem; }

.filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); gap: .75rem; margin-block: 1.5rem 1rem; padding: 1rem; border: 2px solid var(--ink); background: var(--yellow); }
.field, .check { display: grid; gap: .28rem; min-width: 0; font-weight: 800; }
.field small, .check small { font-weight: 400; }
.field input, .field textarea, .field select { min-height: 48px; width: 100%; padding: .5rem .6rem; border: 2px solid var(--ink); border-radius: 0; background: var(--white); font-weight: 400; }
.field textarea { min-height: 6rem; resize: vertical; }
.field input[type='file'] { padding: .55rem; }
.check { display: flex; align-items: center; gap: .6rem; min-height: 44px; }
.check input { width: 1.3rem; height: 1.3rem; accent-color: var(--ink); }
.filters .check { align-self: end; }
.unit-switch { align-self: end; }
.results-count { margin: 1.2rem 0 .65rem; font-weight: 800; }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: .8rem; }
.product-card { min-width: 0; border: 2px solid var(--ink); background: var(--white); }
.product-card figure { display: grid; place-items: center; height: 13rem; padding: .6rem; background: #ebe6d6; border-bottom: 2px solid var(--ink); }
.product-card figure img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.product-card-content { display: grid; gap: .22rem; padding: .8rem; }
.product-card h2, .product-card h3 { font: 1.35rem/1.08 var(--headline); letter-spacing: -.012em; }
.card-price { font-weight: 900; font-size: 1.15rem; }
.availability { font-size: .9rem; font-weight: 800; }
.empty, .notice, .recheck { margin-block: 1rem; padding: .9rem; border: 2px solid var(--ink); background: var(--white); }
.empty, .recheck { display: grid; gap: .7rem; justify-items: start; }
.empty h2 { font: 1.5rem/1.1 var(--headline); }

.detail-grid, .request-grid { display: grid; gap: clamp(1.4rem, 5vw, 4rem); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.detail-figure { background: var(--white); border: 2px solid; display: grid; place-items: center; min-height: 14rem; padding: .85rem; }
.detail-figure img { max-height: min(46rem, 70vh); object-fit: contain; width: 100%; }
.detail-price { font: clamp(2.2rem, 7vw, 4.2rem)/1 var(--headline); margin: .7rem 0 .4rem; }
.detail-price span { font: 800 .9rem/1 Arial, sans-serif; }
.spec-heading { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: space-between; align-items: center; margin-top: 1rem; }
.spec-heading h2 { font: 1.5rem/1 var(--headline); }
.spec-list, .order-list { margin-block: .65rem 1rem; border-top: 2px solid; }
.spec-list div, .order-list div { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: .5rem; padding: .42rem 0; border-bottom: 1px solid var(--ink); overflow-wrap: anywhere; }
dt { font-weight: 800; }
dd { margin: 0; }

.request-grid { margin-top: 1.25rem; align-items: start; }
.order-summary { min-width: 0; padding: .9rem; background: var(--yellow); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.order-summary h2 { margin-top: .35rem; font: 1.6rem/1.06 var(--headline); overflow-wrap: anywhere; }
.order-summary .order-list { margin-bottom: .6rem; }
.order-summary img { max-height: 9rem; max-width: 35%; width: auto; float: right; object-fit: contain; margin-left: .5rem; }
.order-summary ul { padding-inline-start: 1.25rem; margin-block: .7rem .3rem; }
.request-form, .details-fields { display: grid; gap: .8rem; min-width: 0; }
.request-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.request-form legend { padding: 0; margin-bottom: .5rem; font-weight: 900; }
.service-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 7rem), 1fr)); gap: .45rem; }
.service-choice { display: flex; align-items: center; gap: .4rem; min-height: 48px; padding: .42rem; border: 2px solid; background: var(--white); font-size: .9rem; font-weight: 800; }
.service-choice:has(:checked) { background: var(--yellow); }
.service-choice input { width: 1.1rem; height: 1.1rem; accent-color: var(--ink); }
.message-box, .request-notice { display: block; font-size: .94rem; }
.review-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .75rem; }
.review-actions .button { min-width: min(100%, 11rem); }
.request-form [data-form-status], .review-status { margin: 0; overflow-wrap: anywhere; }
.request-form [data-form-status]:empty, .review-status:empty { display: none; }
.confirmation { max-width: 40rem; padding: clamp(.85rem, 4vw, 2rem); background: var(--yellow); border: 2px solid; box-shadow: 5px 5px; }
.confirmation h2 { margin-bottom: .6rem; font: 2rem/.98 var(--headline); }
.confirmation p + p { margin-top: .55rem; }
.confirmation .button { margin-top: .8rem; }
.loading { padding-block: 2rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 730px) {
  .mast-inner { min-height: 59px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'copy' 'art' 'action'; padding-block: 1rem 1.1rem; }
  .hero-grid--request { grid-template-areas: 'copy' 'action' 'art'; }
  .flyer h1 { font-size: clamp(2.55rem, 12.5vw, 5rem); margin-block: .38rem .55rem; }
  .flyer .product-title { font-size: clamp(2rem, 9vw, 4rem); }
  .hero-price { margin-top: .55rem; }
  .hero-price strong { font-size: clamp(3.5rem, 17vw, 5.75rem); }
  .hero-status { margin-top: .55rem; }
  .art { min-height: 0; height: clamp(11.35rem, 55vw, 19rem); margin-top: .68rem; box-shadow: 4px 4px 0 var(--ink); }
  .art-photo { padding: .45rem 1.75rem; }
  .art-photo .door-photo { height: 100%; min-height: 0; max-height: 100%; }
  .type-board { height: auto; margin-top: .22rem; }
  .stock-sticker { width: clamp(4.65rem, 22vw, 6.4rem); top: 6%; right: 5%; }
  .hero-action { margin-top: .65rem; gap: 0; }
  .hero-action .button { width: 100%; }
  .detail-grid, .request-grid { grid-template-columns: minmax(0, 1fr); }
  .detail-figure img { max-height: 21rem; }
  .request-grid { gap: 1.3rem; }
}

@media (max-width: 365px) {
  .wrap, .mast-inner, .foot-inner { width: calc(100% - 1.25rem); }
  .mast-inner { gap: .45rem; }
  .mast-inner .wordmark { font-size: 1.04rem; }
  .mastnav { gap: .65rem; }
  .mastnav a { font-size: .76rem; }
  .art { height: 10.4rem; }
  .type-board { height: auto; }
}
