@font-face {
  font-family: 'Studio Display';
  src: url('assets/display.woff') format('woff');
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Studio Display';
  src: url('assets/display-italic.woff') format('woff');
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --page: #121110;
  --panel: #191816;
  --inset: #151412;
  --cream: #f5eee3;
  --muted: #bcb1a2;
  --brass: #e5c18a;
  --brass-hover: #f3d4a4;
  --line: #3a3329;
  --display: 'Studio Display', Georgia, serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-family: var(--sans);
  line-height: 1.6;
  background: var(--page);
  color: var(--cream);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body, h1, h2, h3, p, figure, dl, dd { margin: 0; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--brass-hover);
  outline-offset: 4px;
}

.wrap { width: min(1220px, calc(100% - 6rem)); margin-inline: auto; }
section[id] { scroll-margin-block-start: 1.5rem; }
.skip {
  position: fixed;
  z-index: 5;
  inset: 1rem auto auto 1rem;
  transform: translateY(-250%);
  padding: .65rem 1rem;
  background: var(--brass);
  color: #20170f;
}
.skip:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid #302a22; background: #131211; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; }
.header-inner { min-height: 78px; }
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--display);
  font-size: 1.36rem;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
}
.mark {
  position: relative;
  flex: none;
  width: 19px;
  height: 26px;
  border: 1px solid var(--brass);
  border-radius: 4px;
}
.mark::after { content: ''; position: absolute; inset: 4px; border: 1px solid #816b4b; border-radius: 1px; }
nav { display: flex; gap: clamp(1rem, 2.8vw, 2.4rem); font-size: .91rem; }
nav a { text-decoration: none; color: var(--muted); }
nav a:hover, .text-link:hover { color: var(--cream); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .58rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 650;
  font-size: .95rem;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}
.button-primary { background: var(--brass); color: #1b150f; }
.button-primary:hover { background: var(--brass-hover); }
.button-outline { border-color: #705b3e; color: var(--brass); background: transparent; }
.button-outline:hover { border-color: var(--brass); background: #282017; }
.header-action { white-space: nowrap; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; font-weight: 600; color: var(--brass); text-underline-offset: .24em; }

.hero {
  background: linear-gradient(90deg, rgb(19 17 15 / 92%) 0%, rgb(19 17 15 / 48%) 65%), url('assets/charcoal.webp') center 56% / cover #171410;
  border-bottom: 1px solid var(--line);
}
.hero-layout {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  column-gap: clamp(2rem, 5vw, 5.6rem);
  min-height: 670px;
  padding-block: clamp(4rem, 8vw, 7rem);
}
h1, h2, h3 { font-family: var(--display); font-weight: 400; }
h1 { color: #fbf5e9; font-size: clamp(3.45rem, 6.1vw, 6rem); line-height: .99; letter-spacing: -.055em; }
h1 em { color: var(--brass); display: block; line-height: 1.02; }
.hero-copy p { margin-top: 1.5rem; max-width: 29rem; color: #d1c5b6; font-size: clamp(1.02rem, 1.6vw, 1.18rem); }
.actions { display: flex; flex-wrap: wrap; align-items: center; column-gap: 1.25rem; row-gap: .55rem; margin-top: 1.9rem; }
.product-shot { min-width: 0; }
.product-frame {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid #8a704b;
  background: #131312;
  box-shadow: 0 32px 70px rgb(0 0 0 / 55%), 0 5px 12px rgb(0 0 0 / 50%);
}
.product-frame img { width: 100%; height: auto; }
figcaption { margin-top: .8rem; font-size: .84rem; color: var(--muted); }

h2 { font-size: clamp(2.7rem, 5vw, 4.3rem); line-height: 1.02; letter-spacing: -.045em; }
.sample-section, .walkthrough-section, .questions-section, .request-section { padding-block: clamp(4rem, 8.5vw, 7.5rem); }
.sample-layout, .questions-layout {
  display: grid;
  grid-template-columns: minmax(0, .42fr) minmax(0, 1fr);
  gap: clamp(2.2rem, 6vw, 6.2rem);
  align-items: start;
}
.section-intro { padding-top: 1.4rem; }
.section-intro p, .walkthrough-copy > p, .request-copy > p { margin-top: 1.1rem; max-width: 33rem; color: var(--muted); font-size: 1.04rem; }

.lookup {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  background: var(--panel);
}
.lookup-picker { padding: clamp(1rem, 2.7vw, 1.75rem); border-right: 1px solid var(--line); }
label { display: block; margin-bottom: .45rem; color: var(--cream); font-size: .92rem; font-weight: 620; }
input {
  width: 100%;
  min-height: 48px;
  border-radius: 6px;
  border: 1px solid #574b3c;
  background: #11100e;
  color: var(--cream);
  padding: .5rem .75rem;
}
input::placeholder { color: #a7998b; }
.matches { list-style: none; margin: .8rem 0 0; padding: 0; }
.matches li + li { margin-top: .35rem; }
.match {
  display: grid;
  justify-items: start;
  gap: 0;
  width: 100%;
  min-height: 48px;
  padding: .46rem .62rem;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--cream);
  text-align: left;
  background: transparent;
}
.match strong { font-size: .92rem; line-height: 1.32; }
.match span { margin-top: .15rem; font-size: .8rem; line-height: 1.3; color: var(--muted); }
.match[aria-pressed='true'], .match:hover { border-color: #6f593b; background: #2b2219; }
.lookup-status { color: var(--muted); padding-block: .65rem; }

.card-detail { padding: clamp(1.1rem, 3.2vw, 2rem); min-width: 0; background: #1d1a17; }
.card-category { color: var(--brass); font-size: .85rem; font-weight: 650; }
.card-detail h3 { margin: .4rem 0 1.4rem; font-size: clamp(1.9rem, 3.5vw, 2.95rem); line-height: 1.05; }
.card-detail dl { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem .55rem; }
.card-detail dl div { min-width: 0; overflow-wrap: anywhere; }
.card-detail dt, .location span { font-size: .8rem; color: var(--muted); }
.card-detail dd { font-size: .96rem; line-height: 1.35; }
.location { margin-top: 1.5rem; padding: .72rem .85rem; border: 1px solid #665133; border-radius: 6px; background: #2c231a; }
.location span, .location strong { display: block; }
.location strong { color: var(--brass); font-weight: 630; line-height: 1.42; }

.walkthrough-section { background: #171513; border-block: 1px solid var(--line); }
.walkthrough-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, .64fr);
  gap: clamp(2.4rem, 10vw, 8.3rem);
  align-items: center;
  max-width: 1040px;
}
.workflow { display: grid; gap: 1rem; margin-top: 1.75rem; }
.workflow > div { padding-top: .9rem; border-top: 1px solid var(--line); }
.workflow dt { color: var(--brass); font-weight: 650; }
.workflow dd { margin-top: .2rem; color: var(--muted); }
.video-figure { margin: 0 auto; width: min(100%, 330px); }
.video-figure video {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  border: 1px solid #816946;
  border-radius: 14px;
  background: #10100f;
  box-shadow: 0 30px 58px rgb(0 0 0 / 35%);
}

.questions { border-top: 1px solid var(--line); }
.questions details { padding: .88rem 0; border-bottom: 1px solid var(--line); }
.questions summary {
  position: relative;
  padding-right: 2.1rem;
  min-height: 32px;
  font-weight: 650;
  display: block;
  list-style: none;
  cursor: pointer;
}
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: '+'; position: absolute; inset-inline-end: .2rem; top: -.18rem; color: var(--brass); font-size: 1.25rem; font-weight: 400; }
.questions details[open] summary::after { content: '−'; }
.questions p { color: var(--muted); padding: .3rem 1.6rem .24rem 0; }

.request-section { background: #1d1813; border-block: 1px solid #4c3c2b; }
.request-layout {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2rem, 8vw, 7.8rem);
  max-width: 1040px;
}
.request-form {
  display: grid;
  gap: .5rem;
  padding: clamp(1.1rem, 3.4vw, 2.05rem);
  border: 1px solid #5b4934;
  border-radius: 12px;
  background: #191614;
}
.request-form label { margin: .35rem 0 0; }
.request-form label:first-child { margin-top: 0; }
.request-form label span { color: var(--muted); font-weight: 400; }
.request-form .button { justify-self: start; margin-top: .7rem; }
.request-form .button:disabled { opacity: .65; cursor: wait; }
.request-result { border: 1px solid #5b4934; border-radius: 6px; padding: .55rem .7rem; font-size: .92rem; }
.request-result[data-tone='success'] { color: #d6e6cf; border-color: #59684f; }
.request-result[data-tone='error'] { color: #ffd0ba; }
.form-note { font-size: .86rem; color: var(--muted); }
.form-note a { color: var(--brass); text-underline-offset: .17em; }
.site-footer { background: #121110; }
.footer-inner { padding-block: 1.65rem; }
.footer-inner > span { color: var(--muted); font-size: .85rem; }

.requests-page { max-width: 900px; padding-block: 3rem; }
.requests-page h1 { margin-block: 1rem 1.65rem; font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
.requests-page a { color: var(--brass); text-underline-offset: .2em; }
.request-records { display: grid; gap: .75rem; padding: 0; margin: 0 0 1rem; list-style: none; }
.request-record { display: grid; gap: .6rem; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); padding: .85rem 1rem; overflow-wrap: anywhere; }
.request-record dl { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.request-record dt, .request-record time { font-size: .86rem; color: var(--muted); }

@media (max-width: 1020px) {
  .wrap { width: calc(100% - 3.5rem); }
  .hero-layout { min-height: 0; }
  .sample-layout { grid-template-columns: 1fr; gap: 1.75rem; }
  .section-intro { padding-top: 0; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 2.5rem); }
  nav { display: none; }
  .header-inner { min-height: 68px; gap: .65rem; }
  .hero-layout, .walkthrough-layout, .questions-layout, .request-layout { grid-template-columns: 1fr; gap: 2.25rem; }
  .hero-layout { padding-block: 3.2rem 2.8rem; }
  h1 { font-size: clamp(3.3rem, 12.5vw, 5.7rem); }
  .hero-copy p { margin-top: 1rem; }
  .actions { margin-top: 1.4rem; }
  .video-figure { margin-left: 0; }
}

@media (max-width: 520px) {
  .wordmark { font-size: 1.16rem; gap: .48rem; }
  .mark { width: 16px; height: 22px; }
  .mark::after { inset: 3px; }
  .header-action { min-height: 42px; padding-inline: .65rem; font-size: .84rem; }
  .lookup { grid-template-columns: 1fr; }
  .lookup-picker { border-right: 0; border-bottom: 1px solid var(--line); }
  .card-detail h3 { margin-bottom: .92rem; }
  .location { margin-top: 1.1rem; }
}
