:root {
  color-scheme: dark;
  --black: #151515;
  --paper: #f0efeb;
  --accent: #e8f859;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--black); color: var(--paper); font: 1rem/1.55 system-ui, sans-serif; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 2px solid #82992d; outline-offset: 5px; }
.skip { position: absolute; top: 0; left: 1rem; transform: translateY(-150%); background: var(--accent); color: var(--black); padding: .5rem; }
.skip:focus { transform: none; }
.frame { width: min(1240px, calc(100% - 72px)); margin-inline: auto; }
header { border-bottom: 1px solid #494949; }
.header, .footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 68px; padding-block: .85rem; }
.brand { font-weight: 850; text-transform: uppercase; letter-spacing: -.025em; }
nav { display: flex; flex-wrap: wrap; gap: .4rem 1.35rem; }
nav a, .brand, .footer a { text-decoration: none; }
nav a:hover, .footer a:hover { text-decoration: underline; }
.hero { padding-top: clamp(2.5rem, 7vw, 6rem); }
.label { font: 700 .875rem/1.4 ui-monospace, monospace; text-transform: uppercase; letter-spacing: .09em; margin: 0 0 1rem; }
h1, h2 { font-weight: 900; line-height: .91; letter-spacing: -.075em; text-transform: uppercase; margin: 0; }
h1 { font-size: clamp(2.4rem, 10.1vw, 9.2rem); }
h1 span { color: var(--accent); }
.hero-footer { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin: 1.6rem 0 1.5rem; }
.hero-footer p { margin: 0; max-width: 31rem; color: #deddd9; font-size: 1.12rem; }
.button { display: inline-block; background: var(--accent); color: var(--black); font-weight: 800; text-decoration: none; padding: .8rem 1.25rem; white-space: nowrap; }
.button:hover { background: white; }
figure { margin: 0; background: #242424; }
figure img { display: block; width: 100%; height: clamp(250px, 48vw, 640px); object-fit: cover; object-position: center 54%; }
.catalog { background: var(--paper); color: var(--black); margin-top: clamp(1.5rem, 5vw, 4.2rem); }
.catalog-inner, .rfq { display: grid; grid-template-columns: .95fr 1.05fr; gap: 2rem; padding-block: clamp(2.8rem, 7vw, 6rem); }
h2 { font-size: clamp(2.35rem, 5.6vw, 5.5rem); }
.directory { border-top: 1px solid #777; }
details { border-bottom: 1px solid #777; }
summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; cursor: pointer; list-style: none; padding-block: .85rem; font-size: clamp(1.12rem, 2.3vw, 1.8rem); font-weight: 750; letter-spacing: -.035em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; width: .85rem; height: .85rem; background: linear-gradient(currentColor,currentColor) center/100% 2px no-repeat, linear-gradient(currentColor,currentColor) center/2px 100% no-repeat; flex: none; }
details[open] summary::after { background-size: 100% 2px, 0 0; }
details p { margin: 0 0 1rem; }
.rfq { align-items: center; }
.rfq p:last-child { margin-bottom: 0; color: #deddd9; }
.rfq ul { padding-left: 1.2rem; margin: 0; }
.rfq li + li { margin-top: .5rem; }
footer { border-top: 1px solid #494949; }
.footer p { margin: .2rem 0 0; color: #deddd9; }
@media (max-width: 740px) {
  .frame { width: calc(100% - 32px); }
  .header, .hero-footer, .footer { align-items: flex-start; flex-direction: column; gap: .65rem; }
  .brand { font-size: 1.05rem; }
  nav { font-size: .9rem; }
  .hero-footer { gap: 1rem; }
  .catalog-inner, .rfq { grid-template-columns: 1fr; gap: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.request {
  grid-column: 1 / -1;
  border-top: 1px solid #494949;
  padding-top: 1.75rem;
}
.request h3 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 0; }
.request p { max-width: 52ch; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1.25rem; margin-block: 1.3rem; }
.fields label { display: grid; gap: .35rem; align-content: start; }
.fields label span { display: contents; color: #deddd9; }
.fields input, .fields textarea { width: 100%; min-width: 0; padding: .65rem; color: var(--paper); background: #252525; border: 1px solid #888; border-radius: 0; font: inherit; }
.fields textarea { resize: vertical; }
.fields .wide { grid-column: 1 / -1; }
.request .button { border: 0; font: inherit; font-weight: 800; cursor: pointer; }
.request .button:disabled { opacity: .6; cursor: default; }
#request-status:empty { margin: 0; }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } }
.request-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.request .secondary { background: transparent; color: var(--paper); border: 1px solid #888; }
.request .secondary:hover { background: #353535; }

#lead .actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
#lead label { display: block; margin-top: .75rem; }
#lead input:not([type="checkbox"]):not([type="radio"]), #lead select, #lead textarea { display: block; width: min(100%, 38rem); padding: .65rem; color: var(--paper); background: #252525; border: 1px solid #888; font: inherit; }
