@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/BarlowCondensed-ExtraBoldItalic.ttf") format("truetype");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #171718;
  --secondary: #575652;
  --red: #bd0c20;
  --line: #c6c4bf;
  --paper: #faf9f7;
  --margin: clamp(1rem, 5vw, 6rem);
  font-family: "Source Sans 3", "Microsoft YaHei", "PingFang SC", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body, h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 3px solid #2670ad; outline-offset: 3px; }
.frame { width: min(calc(100% - var(--margin) - var(--margin)), 86rem); margin-inline: auto; }
.skip { position: fixed; z-index: 2; top: .5rem; left: 1rem; transform: translateY(-180%); padding: .7rem 1rem; color: var(--ink); background: white; }
.skip:focus { transform: none; }
.masthead, footer { background: #101011; color: white; }
.header-inner, .foot-inner, .section-head, .viewer-bar { display: flex; align-items: center; justify-content: space-between; }
.header-inner { min-height: 4.5rem; gap: .75rem; }
.brand img { display: block; width: clamp(6.5rem, 13vw, 10.75rem); height: auto; }
nav { display: flex; align-self: stretch; gap: clamp(.8rem, 2.8vw, 3rem); }
nav a { display: flex; align-items: center; font-size: .9375rem; }
nav a:hover, .foot-inner a:hover { text-decoration: underline; text-underline-offset: .4em; }

.cover {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.68fr);
  align-items: center;
  gap: clamp(1rem, 2.9vw, 3.5rem);
  padding-block: clamp(2.25rem, 4.4vw, 4.5rem) clamp(1.9rem, 3vw, 3rem);
}
.cover-copy { padding-block-end: 1.25rem; }
.shop-name { font-weight: 700; font-size: clamp(1rem, 1.4vw, 1.35rem); letter-spacing: .045em; }
.cover h1 {
  margin: .85rem 0 1.35rem -.025em;
  font: italic 800 clamp(4.1rem, 6.95vw, 7.1rem)/.88 "Barlow Condensed", "Arial Narrow", sans-serif;
  letter-spacing: -.035em;
}
.cover h1 small { display: block; color: var(--red); font-size: .82em; }
.cover-line { font-size: clamp(.97rem, 1.18vw, 1.18rem); line-height: 1.7; }
.action {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.85rem; padding: .65rem 1.35rem; margin-top: 1.45rem;
  background: var(--red); color: white; font-size: .97rem; font-weight: 700;
}
.action:hover { background: #940c1a; }
.cover-art img { display: block; width: 100%; height: auto; background: #333330; }
.cover-art figcaption { margin-top: .5rem; color: var(--secondary); text-align: right; font-size: .78rem; line-height: 1.5; }

.directions, .gallery, .visit, .case-section {
  padding-block: clamp(2.6rem, 4.8vw, 5.2rem);
  border-top: 1px solid var(--ink);
  scroll-margin-top: 1rem;
}
h2 { font-size: clamp(1.95rem, 3.25vw, 3.5rem); font-weight: 800; line-height: 1.16; letter-spacing: -.055em; }
.directions, .visit { display: grid; grid-template-columns: minmax(0, .89fr) minmax(0, 1.47fr); gap: clamp(2rem, 6vw, 6.5rem); }
.directory-intro p, .visit p { color: var(--secondary); font-size: 1rem; line-height: 1.85; }
.directory-intro p { margin-top: 1rem; max-width: 25em; }
.reading-links { display: flex; flex-wrap: wrap; column-gap: 1.3rem; margin-top: 1rem; }
.reading-links a, .store-contact-list a { color: var(--red); text-decoration: underline; text-underline-offset: .28em; }
.reading-links a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .92rem; font-weight: 650; }
.directory-list { border-top: 1px solid var(--line); }
.directory-list a {
  display: grid; grid-template-columns: .75fr 1fr auto; align-items: center; gap: 1rem;
  min-height: 4.4rem; padding: .85rem .5rem .85rem 0; border-bottom: 1px solid var(--line);
}
.directory-list a::after {
  content: ""; width: .55rem; height: .55rem; border-top: 2px solid currentColor; border-right: 2px solid currentColor;
  transform: rotate(45deg); justify-self: end;
}
.directory-list strong { font-size: clamp(1.17rem, 1.8vw, 1.7rem); font-weight: 750; letter-spacing: -.035em; }
.directory-list span { color: var(--secondary); font-size: .91rem; line-height: 1.6; }
.directory-list a:hover { color: var(--red); background: #f2f0ec; }

.section-head { align-items: baseline; gap: 1rem; margin-bottom: 1.55rem; }
.section-head > span, .feature figcaption span { color: var(--secondary); }
.section-head > span { font-size: .92rem; }
.gallery-layout { display: grid; grid-template-columns: minmax(0, 2.45fr) minmax(12rem, 1fr); gap: clamp(1.25rem, 3vw, 3.4rem); align-items: start; }
.image-view { display: block; position: relative; background: #e3e0dc; cursor: zoom-in; }
.image-view img, .scene img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.enlarge { position: absolute; right: .8rem; bottom: .8rem; color: white; background: #161618e8; padding: .45rem .8rem; font-size: .85rem; }
.feature figcaption { margin-top: .85rem; }
.feature figcaption strong { font-size: 1.2rem; }
.feature figcaption span { display: block; margin-top: .25rem; font-size: .95rem; line-height: 1.7; }
.scene-list { border-top: 1px solid var(--line); }
.scene { display: flex; align-items: center; position: relative; gap: clamp(.75rem, 1.4vw, 1.5rem); border-bottom: 1px solid var(--line); padding: .75rem .6rem; font-weight: 650; }
.scene img { width: 32%; }
.scene:is(:hover,[aria-current="true"]) { background: #efeeeb; }
.scene[aria-current="true"]::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--red); }
.visit h3, .case-entry h3 { font-size: clamp(1.35rem, 2vw, 2rem); line-height: 1.35; }
.visit p { margin-top: .7rem; max-width: 36em; }
.visit .action { margin-top: 1rem; }
.store-contact-list, .case-facts { margin-top: 1rem; line-height: 1.65; overflow-wrap: anywhere; }
.store-contact-row, .case-facts > div { display: grid; grid-template-columns: 5.25em 1fr; gap: .5rem; padding: .4rem 0; }
.store-contact-row dt, .case-facts dt { color: var(--secondary); }
#case-list { margin-top: 1.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 2rem; }
.case-entry { padding-top: 1rem; border-top: 1px solid var(--line); }
.case-model { margin: .4rem 0; color: var(--secondary); }
.case-image { display: block; width: 100%; height: auto; margin-top: 1rem; }
.foot-inner { gap: 1rem; padding-block: 1.5rem; font-size: .88rem; }
.foot-inner span:first-child { font: italic 800 1.45rem/1 "Barlow Condensed", "Arial Narrow", sans-serif; }
.foot-inner span:nth-child(2) { margin-right: auto; color: #c6c4c4; }
dialog { width: min(75rem, 94vw); padding: 0; border: 0; background: #171719; color: white; }
dialog::backdrop { background: #0a0a0ce6; }
.viewer-bar { min-height: 3rem; padding: .4rem .6rem .4rem 1rem; }
.viewer-bar button { min-height: 2.75rem; padding-inline: 1rem; border: 1px solid #a4a4a6; color: white; background: transparent; }
#large-image { display: block; width: 100%; height: auto; max-height: 77vh; object-fit: contain; }

@media (min-width: 761px) and (max-width: 960px) {
  .cover h1 { font-size: 6.6vw; }
}
@media (max-width: 760px) {
  .header-inner { min-height: 3.65rem; }
  nav { gap: clamp(.7rem, 2.7vw, 1.4rem); }
  nav a { font-size: .875rem; }
  .cover { grid-template-columns: 1fr; gap: 1.15rem; padding-top: 1.7rem; }
  .cover-copy { padding: 0; }
  .cover h1 { font-size: clamp(3.7rem, 12.2vw, 5.6rem); margin: .6rem 0 .65rem; }
  .cover h1 small { display: inline; }
  .cover-line { font-size: 1rem; }
  .cover .action { margin-top: .85rem; }
  .directions, .visit { grid-template-columns: 1fr; gap: 1.1rem; }
  .directory-intro p { margin-top: .75rem; max-width: 34em; }
  .reading-links { margin-top: .3rem; }
  .directory-list a { min-height: 3.5rem; gap: .55rem; grid-template-columns: minmax(6.4em,.75fr) 1fr auto; }
  .directory-list span { font-size: .84rem; }
  .gallery-layout { display: flex; flex-direction: column; gap: .85rem; }
  .section-head { margin-bottom: .9rem; }
  .scene-list { order: -1; display: flex; width: 100%; border-top: 0; border-bottom: 1px solid var(--line); }
  .scene { flex: 1 1 0; justify-content: center; min-height: 2.85rem; padding: .3rem .1rem; border: 0; font-size: .87rem; text-align: center; }
  .scene img { display: none; }
  .scene[aria-current="true"]::before { inset: auto 0 -1px; width: auto; height: 3px; }
  .visit-brief { margin-top: .35rem; }
}
@media (max-width: 420px) {
  .cover h1 { font-size: clamp(3.2rem, 13.6vw, 3.6rem); }
  .cover h1 small { display: block; }
  .header-inner { gap: .4rem; }
  .brand img { width: 5.8rem; }
  nav a { font-size: .8rem; }
  .foot-inner { flex-wrap: wrap; gap: .55rem 1rem; }
  .foot-inner span:first-child { flex-basis: 100%; }
}
