:root {
  --ink: #121317;
  --body: #42464f;
  --muted: #f3f4f6;
  --red: #b8362c;
  --gold: #d0ae6c;
  --line: #dfe1e5;
  --page: 1060px;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, ul, dl, dd, address { margin: 0; }
body { background: white; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid #b68738; outline-offset: 3px; }
.container { width: min(var(--page), 88%); margin-inline: auto; }
h1, h2 { font-size: clamp(32px, 3.25vw, 46px); letter-spacing: -.045em; line-height: 1.16; font-weight: 720; }
h3 { font-size: 17px; line-height: 1.4; }
p, address, dl { color: var(--body); }
p { line-height: 1.72; }
.skip { position: absolute; top: -100px; padding: 10px; background: white; z-index: 10; }
.skip:focus { top: 0; }
header { background: #101114; color: #fafafa; position: relative; z-index: 3; }
.mast { width: min(1480px,94%); min-height: 67px; margin: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 24px; }
.wordmark { display: flex; width: fit-content; align-items: center; gap: 10px; text-decoration: none; font-size: 17px; font-weight: 650; letter-spacing: -.025em; }
.wordmark img { width: 17px; height: 36px; object-fit: contain; }
.mast nav { align-self: stretch; display: flex; align-items: stretch; gap: 32px; }
.mast nav > a, .store-menu summary { display: flex; align-items: center; position: relative; text-decoration: none; font-size: 15px; font-weight: 500; }
.mast nav > a:is(:hover, [aria-current]), .store-menu summary:is(:hover, [aria-current]), .store-menu[open] summary { color: #f3d591; }
.mast nav > a[aria-current]::after, .store-menu summary[aria-current]::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 11px; height: 2px; background: var(--gold);
}
footer a:hover { text-decoration: underline; }
.store-menu { position: relative; }
.store-menu summary { height: 100%; gap: 9px; list-style: none; cursor: pointer; }
.store-menu summary::-webkit-details-marker { display: none; }
.arrow-icon { width: 1em; height: 1em; flex: none; vertical-align: -0.14em; }
.store-menu summary::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1px 1px 0; transform: translateY(-2px) rotate(45deg); }
.store-menu[open] summary::after { transform: translateY(2px) rotate(225deg); }
.visit-info .flow-button { --flow-angle: -45deg; }
.viewer-controls .arrow-icon { width: 1.25em; height: 1.25em; }
.viewer-controls [data-step="-1"] .arrow-icon { transform: rotate(180deg); }
.store-links { list-style: none; position: absolute; left: -18px; top: 100%; width: 198px; max-height: 65vh; overflow: auto; padding: 6px 0 10px; background: #101114; box-shadow: 0 8px 15px #17191c26; }
.store-links a { display: block; font-size: 16px; padding: 10px 20px; text-decoration: none; }
.store-links a:is(:hover, :focus-visible) { background: #27292d; color: #f3d591; outline-offset: -3px; }
.split-section, .brand-section, .merchandise { padding-block: clamp(42px,4.5vw,90px); }
.muted { background: var(--muted); }
.split { display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: clamp(34px,4.5vw,88px); }
.shop-photo { width: 100%; object-fit: cover; aspect-ratio: 4 / 4.85; }
.split-copy h1, .split-copy h2 { margin-bottom: 24px; }
.split-copy p + p { margin-top: 18px; }
.flow-button { margin-top: 23px; }
.brand-grid { display: grid; grid-template-columns: repeat(4,1fr); align-items: center; gap: clamp(10px,2vw,36px); margin-top: 20px; }
.brand-grid img { width: 100%; height: clamp(130px,13vw,205px); object-fit: contain; }
.brand-banner { min-height: clamp(200px,19vw,380px); display: grid; place-content: center; text-align: center; padding: 30px; background: linear-gradient(#ffffffe0,#ffffffa6),url('assets/gear-wall.jpg') center 52% / cover; }
.brand-families, .department-info { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; padding-block: 50px; }
.brand-families h3, .support-grid h3 { margin-bottom: 10px; }
.brand-families h3::before, .support-grid h3::before { content: ""; display: block; width: 28px; height: 3px; margin: 0 0 13px; background: var(--red); }
.brand-families p, .support-grid p { font-size: 15px; }
.photo-feature { padding-block: clamp(30px, 3vw, 60px); }
.feature-layout, .container.brand-families { width: 94%; margin-inline: auto; }
.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 560px) minmax(0, .85fr);
  grid-template-areas: "primary copy details";
  gap: clamp(22px, 2.5vw, 64px);
  min-height: clamp(460px, 29vw, 640px);
}
.workshop-feature .feature-layout {
  grid-template-columns: minmax(0, .85fr) minmax(330px, 560px) minmax(0, 1.15fr);
  grid-template-areas: "details copy primary";
}
.feature-copy { grid-area: copy; align-self: center; padding-block: 14px; }
.feature-primary { grid-area: primary; display: grid; }
.feature-details { grid-area: details; display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 12px; }
.feature-layout .shop-photo { width: 100%; height: 100%; min-height: 0; aspect-ratio: auto; contain: size; }
.family-photo { width: 100%; aspect-ratio: 2.65; object-fit: cover; margin-bottom: 16px; }
.brand-families p { max-width: 54ch; }
@media (max-width: 980px) {
  .feature-layout, .workshop-feature .feature-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "copy primary" "details details";
    gap: 18px;
  }
  .feature-details { grid-template: 1fr / 1fr 1fr; }
  .feature-details .shop-photo { height: auto; aspect-ratio: 2.3; }
}
@media (max-width: 660px) {
  .feature-layout, .workshop-feature .feature-layout {
    width: 89%; grid-template-columns: 1fr; grid-template-areas: "copy" "primary" "details"; gap: 10px;
  }
  .feature-copy { padding: 0 0 12px; }
  .feature-primary .shop-photo { height: auto; aspect-ratio: 1.9; }
  .feature-details { gap: 10px; }
  .feature-details .shop-photo { aspect-ratio: 1.5; }
  .container.brand-families { width: 89%; }
  .family-photo { aspect-ratio: 2.15; }
}
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 20px; }
.location { position: relative; isolation: isolate; padding-block: clamp(36px,4vw,76px); background: #eeefe9; }
.location-card {
  width: min(51%,850px); margin-left: max(5%,calc(50% - 730px));
  display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr);
  gap: clamp(20px,2.2vw,36px); padding: clamp(24px,2.5vw,44px);
  background: white; border: 1px solid #d9dcd7; border-radius: 10px;
  box-shadow: 0 12px 40px #20272226, 0 2px 6px #2027220d;
}
/* The showroom pin sits 61% across the map artwork. */
.map-surface { position: absolute; inset: 0; z-index: -1; background: #eeefe9 url('assets/tempe-map.svg') 61% center / cover no-repeat; }
.contact-form { border-left: 1px solid var(--line); padding-left: clamp(16px,2vw,36px); }
.contact-form h2 { margin-bottom: 10px; }
.contact-form label { display: block; margin-top: 16px; font-weight: 600; }
.contact-form input, .contact-form textarea { display: block; width: 100%; margin-top: 5px; border: 1px solid #93969c; border-radius: 4px; padding: 10px 12px; color: var(--ink); font: inherit; font-weight: 400; }
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-form :is(input, textarea, button):focus-visible { outline: 3px solid #b68738; outline-offset: 2px; }
.contact-form .form-note { margin-top: 14px; font-size: 14px; }
.contact-form .flow-button { margin-top: 10px; }
.contact-form .flow-button:disabled { opacity: .65; cursor: wait; }
.form-note:empty { display: none; }
.location-card h3 { margin: 20px 0 5px; }
.location-card address { font-style: normal; line-height: 1.55; }
.location-card h1, .location-card h2 { font-size: clamp(30px,2.7vw,40px); }
.hours { line-height: 1.6; }
.contact-links a { display: block; width: fit-content; color: var(--body); text-decoration: none; }
.contact-links a:hover { text-decoration: underline; }
footer { background: #2e3238; color: #f6f6f6; padding: 26px 0; }
.footer-inner { width: min(var(--page),88%); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-size: 14px; }
footer a { color: #d6d8dc; text-decoration: none; }
.page-intro { padding-block: 48px 28px; }
.page-intro p { margin-top: 10px; }
.category-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.category-nav .flow-button { margin-top: 0; }
.store-notice { display: grid; place-items: center; min-height: 75vh; padding-block: 64px; text-align: center; }
.page-intro + .brand-section { padding-top: 24px; }
.product-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,250px),1fr)); gap: 28px; margin-top: 27px; }
.product-list article { border-top: 1px solid var(--line); padding-top: 14px; }
.product-list article:target { border-color: var(--red); }
.product-list h3 { font-size: 22px; margin-bottom: 6px; }
.department-info { grid-template-columns: 1fr 1fr; }
[id] { scroll-margin-top: 20px; }
@media(max-width:800px) {
  .mast { column-gap: 14px; }
  .mast nav { gap: 18px; }
  .wordmark { font-size: 15px; }
  .split { gap: 28px; }
  .support-grid { grid-template-columns: 1fr; gap: 16px; }
}
@media(max-width:660px) {
  .container, .footer-inner { width: 89%; }
  .mast { width: 90%; display: flex; flex-wrap: wrap; justify-content: space-between; padding-top: 10px; }
  .mast { padding-top: 0; }
  .mast nav { gap: 18px; }
  .mast nav > a, .store-menu summary { padding: 11px 1px; font-size: 14px; }
  .mast { position: relative; }
  .store-menu { position: static; }
  .store-links { left: 0; width: 100%; }
  .split { grid-template-columns: 1fr; gap: 25px; }
  .shop-photo { aspect-ratio: 4 / 3; }
  .split-copy h1, .split-copy h2 { margin-bottom: 14px; }
  .brand-families, .department-info { grid-template-columns: 1fr; gap: 24px; padding-block: 32px; }
  .brand-grid { grid-template-columns: repeat(2,1fr); gap: 6px 20px; }
  .brand-grid img { height: 122px; }
  .support-grid { grid-template-columns: repeat(2,1fr); }
  .footer-inner { flex-wrap: wrap; }
}
@media(max-width:380px) {
  .wordmark { font-size: 14px; }
  .support-grid { grid-template-columns: 1fr; }
}
.tour-link { display: inline-block; margin: 14px 0 0 12px; color: var(--red); font-size: 14px; text-underline-offset: 4px; }
.location-photo { width: 100%; aspect-ratio: 2.65; object-fit: cover; object-position: 50% 58%; margin-top: 15px; }
@media(max-width:1080px) {
  .location { padding: clamp(224px,23vw,275px) 0 32px; }
  .map-surface { background-size: max(100%,1000px) auto; background-position: 67% top; }
  .location-card { width: min(90%,760px); margin-inline: auto; }
}
@media(max-width:590px) {
  .location-card { grid-template-columns: 1fr; padding: 28px 5.5%; }
  .contact-form { border-left: 0; border-top: 1px solid var(--line); padding: 22px 0 0; }
}
.category-photo { width: 100%; aspect-ratio: 1.65; object-fit: cover; margin-bottom: 16px; }
.tour-section { padding-block: 28px 54px; }
.tour-section h2 { margin-bottom: 24px; font-size: clamp(26px,3vw,34px); }
.media-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px 18px; }
.media-grid figure { margin: 0; }
.media-grid figcaption { margin-top: 7px; font-size: 14px; font-weight: 600; }
.media-grid video { display: block; background: #101114; aspect-ratio: 16 / 9; width: 100%; }
.photo-link { display: block; cursor: zoom-in; }
.photo-link img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-viewer { border: 0; background: #17191d; color: white; padding: 14px; width: min(940px,94vw); max-height: 94dvh; }
.photo-viewer::backdrop { background: #090a0cee; }
.photo-viewer img { max-height: 68dvh; width: 100%; object-fit: contain; }
.viewer-controls button { background: #26292e; color: white; border: 1px solid #777; padding: 9px 15px; min-height: 42px; border-radius: 3px; font: inherit; cursor: pointer; }
.photo-viewer button:focus-visible { outline: 2px solid var(--gold); }
.photo-viewer .close-viewer { display: flex; margin: 0 0 10px auto; --flow-ink: white; --flow-on-fill: #111; --flow-edge: #999; }
.viewer-controls { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; text-align: center; font-size: 14px; }
@media(max-width:760px) { .media-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:500px) { #videos .media-grid { grid-template-columns: 1fr; } .tour-link { margin-left: 0; display: block; } }
.film-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; flex: none; cursor: pointer; }
.film-toggle[hidden] { display: none; }
.film-toggle::before { content: ""; box-sizing: content-box; width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent currentColor; transform: translateX(1px); }
.film-toggle[data-playing="true"]::before { width: 4px; height: 14px; border: solid currentColor; border-width: 0 3px; transform: none; }
.film-toggle:focus-visible { outline: 2px solid var(--gold); }
.mast nav > a::after, .store-menu summary::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 11px; height: 2px; background: var(--gold);
  transform-origin: left; transform: scaleX(0);
}
.mast nav > a:is(:hover,:focus-visible,[aria-current])::after,
.store-menu summary:is(:hover,:focus-visible,[aria-current])::before, .store-menu[open] summary::before { transform: scaleX(1); }
@media (prefers-reduced-motion: no-preference) {
  .mast nav > a::after, .store-menu summary::before, .store-menu summary::after { transition: transform 220ms cubic-bezier(.22,.68,.2,1); }
  .mast nav > a, .store-menu summary, .store-links a { transition: color 180ms ease, background-color 180ms ease, padding-left 180ms ease; }
  .store-menu[open] .store-links { animation: unfold-menu 520ms cubic-bezier(.22,.68,.2,1); }
  .store-menu[open] .store-links li {
    animation: reveal-section 250ms ease-out backwards;
    animation-delay: calc(var(--section-order, 0) * 75ms);
  }
  .store-menu[open] .store-links:focus-within,
  .store-menu[open] .store-links:focus-within li { animation: none; }
  .store-links a:is(:hover,:focus-visible) { padding-left: 26px; }
  @keyframes unfold-menu { from { clip-path: inset(0 0 100%); } to { clip-path: inset(0); } }
  @keyframes reveal-section { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
}
@media (max-width:660px) { .mast nav > a::after, .store-menu summary::before { bottom: 4px; } }
.film-banner {
  position: relative; isolation: isolate; display: grid; place-items: center;
  min-height: clamp(330px, 32vw, 560px); overflow: hidden; color: white; background: #141519;
}
.film-banner video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 47%; }
.film-banner::after {
  content: ""; position: absolute; pointer-events: none; inset: 0;
  background: linear-gradient(0deg, #090a0dd4, transparent 36%, #11121622),
              radial-gradient(ellipse at center, #101116b8, #10111678 65%, #10111666);
}
.banner-brand, .banner-bar { position: relative; z-index: 1; }
.banner-brand { margin: 0; pointer-events: none; }
.strip { position: relative; border-block: 1px solid var(--line); background: white; }
.strip-services { color: #352c20; background: #faf8f3; }
.strip-window { overflow: hidden; }
.strip-track ul { display: flex; flex-wrap: wrap; justify-content: space-evenly; align-items: center; list-style: none; padding: 8px 12px; gap: 8px 28px; }
.strip-track ul[aria-hidden] { display: none; }
.strip-services li { font-size: 14px; font-weight: 650; white-space: nowrap; }
.strip-brands li { display: grid; place-content: center; height: 64px; width: 124px; overflow: hidden; }
.strip-brands img { width: 120px; max-width: none; height: auto; }
.strip-brands img[alt="Bates"] { width: 68px; }
.strip-control { display: none; }
@media screen and (prefers-reduced-motion: no-preference) {
  .strip.is-ready .strip-track { display: flex; width: max-content; animation: strip-scroll 38s linear infinite; }
  .strip-brands.is-ready .strip-track { animation-duration: 32s; animation-direction: reverse; }
  .strip.is-ready .strip-track ul { flex: none; display: flex; flex-wrap: nowrap; min-width: 50vw; gap: 0; padding: 0; justify-content: space-around; }
  .strip-services.is-ready li { display: flex; align-items: center; gap: 26px; height: 48px; padding-right: 26px; }
  .strip-services.is-ready li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
  .strip-brands.is-ready li { width: clamp(150px, 12vw, 220px); height: 78px; }
  .strip.is-paused .strip-track { animation-play-state: paused; }
  .strip.is-ready .strip-window { margin-right: 46px; }
  .strip.is-ready .strip-control {
    display: grid; place-content: center; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border: 0; background: transparent; color: #545454; cursor: pointer;
  }
  .strip-control::before { content: ""; box-sizing: content-box; width: 3px; height: 12px; border: solid currentColor; border-width: 0 2px; }
  .strip.is-paused .strip-control::before { width: 0; height: 0; border-width: 6px 0 6px 9px; border-color: transparent transparent transparent currentColor; }
  .strip-control:focus-visible { outline: 2px solid var(--gold); outline-offset: -5px; }
  @keyframes strip-scroll { to { transform: translateX(calc(-100% / 3)); } }
}
@media screen and (prefers-reduced-motion: no-preference) {
  .animate-entrance .film-banner video { animation: film-entrance 600ms ease-out both; }
  .animate-entrance .banner-brand { animation: logo-entrance 580ms cubic-bezier(.2,.7,.25,1) 110ms backwards; }
  .animate-entrance [data-reveal] { opacity: 0; transform: translateY(16px); }
  .animate-entrance [data-reveal].in-view {
    opacity: 1;
    transform: none;
    transition: opacity 480ms ease-out, transform 580ms cubic-bezier(.2,.7,.25,1);
    transition-delay: var(--reveal-delay, 0ms);
  }
  .animate-entrance [data-reveal]:is(:focus-within, :target) { opacity: 1; transform: none; transition: none; }
  @keyframes film-entrance { from { opacity: .25; } to { opacity: 1; } }
  @keyframes logo-entrance { from { opacity: 0; transform: translateY(6px) scale(.97); } to { opacity: 1; transform: none; } }
}
.banner-brand img { width: auto; height: clamp(270px, 28vw, 500px); filter: drop-shadow(0 2px 3px #0009); }
.banner-bar { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px clamp(15px,3vw,56px); pointer-events: none; }
.film-scene { font-size: clamp(12px,1vw,16px); font-weight: 600; text-shadow: 0 1px 5px #08090c; }
.banner-bar .film-toggle, .department-film .film-toggle { pointer-events: auto; background: #131417ba; color: white; border: 1px solid #ffffff70; border-radius: 50%; }
.department-film { position: relative; overflow: hidden; background: #191a1e; }
.department-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.department-film .film-toggle { position: absolute; right: 14px; bottom: 14px; }
@media (max-width: 660px) {
  .department-film { aspect-ratio: 16 / 9; }
}
@media(max-width:660px) {
  .film-banner { min-height: clamp(285px,75vw,350px); }
  .banner-brand { margin-bottom: 22px; }
  .banner-brand img { height: clamp(210px, 60vw, 270px); }
  .banner-bar { padding-bottom: 12px; }
}
