@font-face {
  font-family: "Work Sans";
  src: url("fonts/work-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f7f7f4;
  --ink: #222321;
  --muted: #565952;
  --rule: #d3d5cd;
  --accent: #ff9767;
  --copper: #b74921;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --gutter: clamp(1rem, 3.2vw, 3.75rem);
  --inset: clamp(1rem, 7.5vw, 8rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-block-start: 1.25rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.5 "Work Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
a { color: inherit; }
svg { flex-shrink: 0; }
h1, h2, p { margin: 0; }
[hidden] { display: none !important; }
::selection { color: #1d201c; background: #ffb99b; }
:focus-visible { outline: 3px solid #a84218; outline-offset: 4px; }
.hero :focus-visible { outline-color: white; }
.frame { max-width: 106rem; margin-inline: auto; padding-inline: var(--gutter); }
.content-width { width: min(81rem, calc(100% - 2 * var(--inset))); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  z-index: 4;
  top: .75rem;
  left: 1rem;
  padding: .65rem 1rem;
  background: var(--paper);
  color: var(--ink);
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: clamp(4.5rem, 6vw, 6rem);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
  min-height: 2.75rem;
  text-decoration: none;
}
.language-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--rule);
  border-radius: .45rem;
}
.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .34rem;
  padding-inline: .5rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border-radius: .4rem;
  color: var(--muted);
  font: 500 .9rem/1 var(--mono);
  text-decoration: none;
}
.language-flag {
  display: block;
  width: 1.2rem;
  height: auto;
  flex: none;
  border-radius: 1px;
  box-shadow: 0 0 0 1px rgb(34 35 33 / 17%);
}
.language-switch a[aria-current] {
  background: #e8e9e2;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--copper);
  text-underline-offset: .3em;
}
.language-switch a:hover { background: #e3e5dc; color: var(--ink); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .62rem;
  width: fit-content;
  min-height: 3rem;
  padding: .78rem 1.2rem;
  border: 1px solid transparent;
  border-radius: .45rem;
  font-size: .97rem;
  font-weight: 570;
  line-height: 1.25;
  letter-spacing: -.03em;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.button-dark { color: #fff; background: var(--ink); }
.button-dark:hover { background: #41443d; }
.button-accent { background: var(--accent); color: #211b17; }
.button-accent:hover { background: #ffb18d; }

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(30rem, 38.7vw, 40.3rem);
  overflow: hidden;
  border-radius: .85rem;
  background: #151513;
  color: #fff;
}
.hero-photo, .hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-photo {
  z-index: -2;
  inset: 50% -4% auto auto;
  width: 73%;
  height: 139%;
  object-fit: cover;
  object-position: 49% 54%;
  transform: translateY(-50%) rotate(-9deg);
  filter: saturate(.66) contrast(1.1) brightness(.81);
}
.hero-shade {
  z-index: -1;
  background: linear-gradient(90deg, #151513 0% 29%, rgb(21 21 19 / 98%) 37%, rgb(21 21 19 / 76%) 47%, rgb(21 21 19 / 14%) 66%, transparent 84%);
}
.photo-caption {
  position: absolute;
  z-index: 1;
  right: clamp(.85rem, 2vw, 2rem);
  bottom: clamp(.85rem, 1.7vw, 1.7rem);
  padding: .3rem .6rem;
  border-left: 2px solid var(--accent);
  background: rgb(14 16 13 / 86%);
  color: #ecece5;
  font: 400 .8rem/1.3 var(--mono);
}
.hero-content {
  width: min(58%, 49rem);
  padding: clamp(2.75rem, 4.65vw, 5rem) 0 clamp(2.75rem, 4.65vw, 5rem) clamp(2.4rem, 5.2vw, 6rem);
}
.audience {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: #efd4c5;
  font-family: var(--mono);
  font-size: .8rem;
  line-height: 1.45;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.audience span { height: 2px; width: 1.65rem; background: var(--accent); }
.hero h1 {
  margin-top: clamp(1.4rem, 2vw, 2.4rem);
  font-size: clamp(3.75rem, 6.4vw, 7.15rem);
  line-height: .96;
  font-weight: 520;
  letter-spacing: -.085em;
}
.hero h1 em {
  display: inline-block;
  margin-top: .015em;
  color: #ffa378;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: 1.19em;
  letter-spacing: -.048em;
}
.intro {
  max-width: 31rem;
  margin-top: clamp(1.2rem, 1.8vw, 1.9rem);
  color: #e5e5dd;
  font-size: clamp(1.02rem, 1.22vw, 1.28rem);
  line-height: 1.47;
  letter-spacing: -.022em;
  text-wrap: pretty;
}
.hero .button { margin-top: clamp(1.45rem, 2.1vw, 2.25rem); }

.catalog {
  display: grid;
  grid-template-columns: minmax(13rem, .75fr) minmax(0, 1.25fr);
  align-items: start;
  gap: clamp(2rem, 5.6vw, 6rem);
  margin-block: clamp(4rem, 6.2vw, 7rem);
}
.catalog h2 {
  max-width: 10em;
  font-size: clamp(2.3rem, 3.8vw, 4.05rem);
  font-weight: 530;
  line-height: 1.03;
  letter-spacing: -.075em;
  text-wrap: balance;
}
.search-wrap { position: relative; max-width: 21rem; margin-top: 1.85rem; }
.catalog-text { max-width: 30rem; margin-top: 1.4rem; color: var(--muted); font-size: 1.05rem; line-height: 1.55; }
.catalog-text + .catalog-text { margin-top: .9rem; }
.catalog-text strong { color: var(--ink); font-weight: 620; }
.search-wrap input {
  width: 100%;
  min-height: 3.05rem;
  padding: .72rem 2.8rem .72rem 2.72rem;
  border: 1px solid #8a8e83;
  border-radius: .42rem;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: -.035em;
}
.search-wrap input::placeholder { color: var(--muted); opacity: 1; }
.search-wrap input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-icon { position: absolute; top: 50%; left: .92rem; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.clear-search {
  position: absolute;
  top: 50%;
  right: .15rem;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  transform: translateY(-50%);
  border: 0;
  border-radius: .32rem;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.clear-search:hover { background: #eeefe9; }
.table-wrap { min-width: 0; }
table { width: 100%; border-collapse: collapse; text-align: left; }
thead th {
  padding: 0 .4rem .8rem 0;
  border-bottom: 1px solid #8a8e83;
  color: var(--muted);
  font: 400 .8rem/1.4 var(--mono);
  letter-spacing: .07em;
  text-transform: uppercase;
}
thead th:first-child { width: 37%; }
tbody th, tbody td { height: 4.05rem; border-bottom: 1px solid var(--rule); padding: .85rem .5rem .85rem 0; }
tbody th { font-size: clamp(1.05rem, 1.34vw, 1.35rem); font-weight: 550; line-height: 1.25; letter-spacing: -.045em; }
.codes { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.partial { color: var(--muted); font-size: .98rem; line-height: 1.4; }
.codes code {
  display: inline-block;
  padding: .27rem .54rem;
  border: 1px solid #d8d9d2;
  border-radius: .25rem;
  background: #eeeee9;
  color: #363a32;
  font: 400 .9rem/1.15 var(--mono);
  letter-spacing: .005em;
  white-space: nowrap;
}
.no-results { padding-block: 1.2rem; color: var(--muted); }

.sheet {
  --sheet-padding: clamp(1.125rem, 2.7vw, 2.5rem);
  --sheet-gap: clamp(1rem, 1.6vw, 1.5rem);
  --toggle-width: 13rem;
  position: relative;
  padding: var(--sheet-padding);
  border: 1px solid #d8d9d0;
  border-radius: .65rem;
  background: #eeefe9;
}
.sheet-heading { margin-inline-end: calc(var(--toggle-width) + var(--sheet-gap)); }
.sheet h2 { font-size: clamp(1.75rem, 2.55vw, 2.65rem); line-height: 1.1; font-weight: 540; letter-spacing: -.065em; text-wrap: balance; }
.sheet-heading p { margin-top: .38rem; color: var(--muted); }
.sheet-toggle {
  position: absolute;
  inset-block-start: calc(var(--sheet-padding) + .25rem);
  inset-inline-end: var(--sheet-padding);
  max-inline-size: var(--toggle-width);
  list-style: none;
  cursor: pointer;
}
.sheet-toggle::-webkit-details-marker { display: none; }
.sheet-editor > .sheet-toggle .when-open,
.sheet-editor[open] > .sheet-toggle .when-closed { display: none; }
.sheet-editor[open] > .sheet-toggle .when-open { display: inline; }
.case-form { margin-top: var(--sheet-gap); padding-top: var(--sheet-gap); border-top: 1px solid var(--rule); }
.case-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sheet-gap); }
.case-field { display: flex; flex-direction: column; justify-content: flex-end; gap: .4rem; min-width: 0; font-size: .93rem; font-weight: 540; }
.case-wide { grid-column: 1 / -1; }
.case-field :is(input, select, textarea) {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 2.9rem;
  padding: .65rem .78rem;
  border: 1px solid #8a8e83;
  border-radius: .36rem;
  background-color: #fff;
  color: var(--ink);
  font: 400 1rem/1.4 "Work Sans", Arial, sans-serif;
}
.case-field select {
  appearance: none;
  padding-right: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23565952' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .8rem center;
}
.case-field textarea { resize: vertical; }
.case-extra { margin-block: var(--sheet-gap); border-block: 1px solid var(--rule); }
.case-extra summary { min-height: 2.75rem; align-content: center; padding: .65rem 0; cursor: pointer; font-size: .95rem; font-weight: 550; }
.case-extra summary::marker { color: var(--copper); }
.case-extra .case-fields { padding: .5rem 0 var(--sheet-gap); }
.case-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1rem; }
.case-copy { cursor: pointer; }
.case-local { font-size: .86rem; color: var(--muted); }
.case-status:not(:empty) { margin-top: .85rem; color: var(--ink); }
.case-manual:not([hidden]) { margin-top: .6rem; }
.provider-credit {
  padding-block-start: 1.65rem;
  font-size: .85rem;
}
.provider {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-height: 2.75rem;
  color: var(--muted);
  text-decoration: none;
}
.wordmark img, .provider img { display: block; width: clamp(8.5rem, 11vw, 10.5rem); height: auto; }
.provider span { border-inline-start: 1px solid var(--rule); padding-inline-start: 1rem; }
.provider strong { color: var(--ink); font-weight: 580; }
.provider:hover strong { text-decoration: underline; text-underline-offset: .18em; }
.footer-notes {
  margin-top: 1rem;
  padding-block: .82rem 1.4rem;
  border-top: 1px solid var(--rule);
  text-align: end;
  font-size: .8rem;
}
.trademark-note { color: #6c7068; font-size: .75rem; }
.legal-notice { max-width: 44rem; margin-block: clamp(2rem, 7vw, 6rem); }
.legal-notice h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; font-weight: 540; letter-spacing: -.055em; }
.legal-notice h2 { margin-top: 2rem; font-size: 1.25rem; font-weight: 550; }
.legal-notice p { margin-top: .5rem; }
.legal-notice a { text-underline-offset: .18em; }
.legal-notice .return-link { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: 1.5rem; }

@media (max-width: 58rem) {
  .hero-content { width: 64%; }
  .catalog { grid-template-columns: minmax(12rem, .68fr) minmax(0, 1.32fr); gap: 2rem; }
  .catalog h2 { max-width: 7em; }
}
@media (max-width: 46rem) {
  :root { --inset: clamp(1.3rem, 5.5vw, 2.75rem); }
  .masthead-inner { min-height: 4.25rem; }
  .catalog { grid-template-columns: 1fr; gap: 1.85rem; margin-block: 3.4rem; }
  .catalog h2 { max-width: none; }
  .search-wrap { max-width: 100%; margin-top: 1.2rem; }
}
@media (max-width: 37.5rem) {
  .sheet-heading { margin-inline-end: 0; }
  .sheet-toggle { position: static; display: flex; width: 100%; max-inline-size: none; margin-top: var(--sheet-gap); }
  .case-fields { grid-template-columns: 1fr; }
  .masthead-inner { gap: .45rem; }
  .language-switch a { gap: .21rem; padding-inline: .32rem; }
  .language-flag { width: 1.05rem; }
  .hero {
    display: block;
    min-height: 0;
    border-radius: .6rem;
    background: #121311;
    padding-bottom: clamp(7.7rem, 36vw, 13rem);
  }
  .hero-photo { inset: auto -7% -6% auto; width: 114%; height: 63%; object-position: 52% 50%; transform: rotate(-7deg); }
  .hero-shade {
    background: linear-gradient(180deg, #121311 39%, rgb(18 19 17 / 96%) 47%, rgb(18 19 17 / 80%) 58%, rgb(18 19 17 / 5%) 83%),
      linear-gradient(90deg, rgb(18 19 17 / 40%), transparent 72%);
  }
  .hero-content { width: 100%; padding: 2.3rem clamp(1.25rem, 5.6vw, 2.1rem) 0; }
  .audience { font-size: .75rem; letter-spacing: .035em; gap: .45rem; }
  .audience span { width: 1.1rem; }
  .hero h1 { margin-top: 1.3rem; font-size: clamp(3.05rem, 11vw, 4.1rem); }
  .intro { max-width: 24rem; font-size: 1rem; line-height: 1.45; }
  .hero .button { margin-top: 1.3rem; }
  thead th:first-child { width: 36%; }
  thead th { font-size: .75rem; letter-spacing: .025em; }
  tbody th, tbody td { min-height: 3.6rem; height: 3.6rem; }
  .codes { gap: .3rem; }
  .codes code { padding: .22rem .32rem; font-size: .875rem; }
  .provider-credit { padding-block-start: 1.35rem; }
  .provider { flex-direction: column; align-items: start; gap: .4rem; }
  .provider span { border: 0; padding: 0; }
  .footer-notes { padding-block-end: 1rem; text-align: start; }
}
@media (max-width: 22rem) {
  .masthead-inner { gap: .3rem; }
  .language-switch a { gap: .16rem; padding-inline: .2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
