:root {
  --background: #111210;
  --panel: #1a1c18;
  --line: #3a3c34;
  --white: #f7f6ef;
  --muted: #b9bbb0;
  --paper: #eeeee6;
  --ink: #181a16;
  --paper-muted: #565951;
  --paper-line: #c9cbc0;
  --yellow: #f5eb20;
  --heading: "Space Grotesk", Arial, sans-serif;
  --text: "DM Sans", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --gutter: clamp(20px, 5.2vw, 96px);
  --menu-height: 74px;
  --radius: 4px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--white); font: 400 1rem/1.55 var(--text); }
body:has(dialog[open]) { overflow: hidden; }
img { display: block; height: auto; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px; }
.services :focus-visible, .materials :focus-visible, .quote :focus-visible, dialog :focus-visible { outline-color: #4d4d08; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, .stand-copy h3 {
  font: 700 clamp(2.7rem, 6.3vw, 6.75rem)/.93 var(--heading);
  letter-spacing: -.073em;
}
h3 { font-size: 1.18rem; font-weight: 700; line-height: 1.2; }
.wrap { width: min(100%, 1680px); padding-inline: var(--gutter); margin-inline: auto; }
.section { padding-block: clamp(62px, 8.6vw, 137px); scroll-margin-top: calc(var(--menu-height) - 1px); }
.skip { position: fixed; left: 1rem; top: 1rem; transform: translateY(-200%); z-index: 25; padding: .5rem 1rem; background: var(--yellow); color: var(--ink); }
.skip:focus { transform: none; }

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #10110ef2;
  border-bottom: 1px solid #eeeeee24;
  backdrop-filter: blur(16px);
}
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: center; min-height: var(--menu-height); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  justify-self: start;
  width: fit-content;
  font: 700 1.65rem/.8 var(--heading);
  letter-spacing: -.045em;
}
.brand img { flex: 0 0 34px; width: 34px; height: 34px; object-fit: contain; }
.brand-small { display: block; margin-top: 5px; font: 500 .68rem/1 var(--mono); letter-spacing: .19em; }
.header nav { display: flex; align-items: center; gap: clamp(1.15rem, 3.2vw, 3.15rem); color: #e5e5dc; }
.header nav a, .hero-caption, .kicker, .image-credit, .workshop figcaption {
  font: 500 .77rem/1.45 var(--mono);
  text-transform: uppercase;
  letter-spacing: .055em;
}
.header nav a:hover, .header nav a[aria-current="location"] { color: var(--yellow); }
.header-cta { justify-self: end; }
.menu-button { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 47px;
  padding: .82rem 1.24rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-align: center;
  font: 600 .85rem/1.16 var(--mono);
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.header .button { min-height: 41px; padding: .6rem .9rem; font-size: .8rem; }
.button-dark { color: var(--white); background: var(--ink); }
.button-dark:hover { background: #383a30; }
.button-yellow { color: #181809; background: var(--yellow); }
.button-yellow:hover { background: #fff96d; }
.button-light { color: var(--ink); background: var(--white); }
.button-light:hover { background: #e1e3d7; }
.button-outline { color: var(--white); border-color: #deded46b; background: #11121045; }
.button-outline:hover { color: var(--ink); background: var(--white); border-color: var(--white); }
.actions { display: flex; flex-wrap: wrap; gap: 11px; }
.text-link {
  display: inline-block;
  width: fit-content;
  border: 0;
  padding: 0;
  color: inherit;
  background: none;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: .9rem;
  font-weight: 700;
}
.text-link:hover { text-decoration-thickness: 2px; }
.kicker { color: var(--yellow); }
.kicker::before { display: inline-block; content: ""; width: 14px; height: 1px; margin-right: 10px; vertical-align: .28em; background: currentColor; }

.hero {
  position: relative;
  min-height: max(620px, calc(96svh - var(--menu-height)));
  isolation: isolate;
  background: #1b1712;
  overflow: clip;
}
.hero-media, .hero-media img, .hero::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { z-index: -3; }
.hero-media img { object-fit: cover; object-position: center 58%; animation: hero-image 1.4s cubic-bezier(.2,.72,.24,1) both; }
.hero::before {
  content: "";
  z-index: -2;
  background: linear-gradient(90deg, #111210f5, #111210c4 23%, #11121042 54%, transparent 82%), linear-gradient(0deg, #111210c9, transparent 27%);
}
.hero-inner { display: grid; grid-template-rows: 1fr auto; min-height: inherit; }
.hero-content { align-self: center; padding-block: clamp(50px, 7.5vw, 110px) 55px; }
.hero-content > * { animation: hero-content .65s cubic-bezier(.2,.72,.24,1) both; }
.hero-content h1 { margin: 20px 0 24px -.058em; font-size: clamp(5.4rem, 11vw, 12.5rem); line-height: .81; letter-spacing: -.085em; animation-delay: .08s; }
.hero-content h1 > span { display: block; }
.hero-dot { color: var(--yellow); }
.hero-intro { max-width: 41ch; margin-bottom: 26px; color: #f1eee4; font-size: clamp(1rem, 1.5vw, 1.17rem); animation-delay: .15s; }
.hero-content .actions { animation-delay: .22s; }
.hero-caption { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-block: 16px; border-top: 1px solid #fff4; color: #efeee6; }
.hero-caption span:first-child { color: #e8e8d7; }
@keyframes hero-image { from { transform: scale(1.035); } to { transform: scale(1); } }
@keyframes hero-content { from { transform: translateY(13px); opacity: .38; } to { transform: translateY(0); opacity: 1; } }
@keyframes section-enter { from { transform: translateY(13px); opacity: .6; } to { transform: translateY(0); opacity: 1; } }
.is-entering { animation: section-enter .52s ease-out both; }

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(235px, .72fr);
  align-items: end;
  gap: clamp(22px, 5vw, 74px);
  margin-bottom: clamp(26px, 4.3vw, 64px);
}
.section-heading > p { max-width: 40ch; color: var(--muted); }
.section-heading h2, .shop h2, .faq h2, .quote h2 { margin-top: .18em; }
.image-credit { color: var(--muted); margin-top: 13px; text-align: end; }
.stand-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-bottom: 0; }
.stand-tabs button {
  position: relative;
  min-height: 56px;
  padding: 10px 14px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  font: 500 .85rem/1.2 var(--mono);
  transition: color .18s, background-color .18s;
}
.stand-tabs button + button { border-left: 1px solid var(--line); }
.stand-tabs button:hover { color: var(--white); }
.stand-tabs [aria-selected="true"] { color: var(--yellow); background: #22251c; }
.stand-tabs [aria-selected="true"]::after { content: ""; position: absolute; inset: auto 0 -1px; height: 2px; background: var(--yellow); }
.stand-tabs :focus-visible { z-index: 1; outline-offset: -4px; }
.stand-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(0, .9fr);
  background: #1a1c18;
  border: 1px solid var(--line);
  border-top: 0;
}
.stand-panel img { width: 100%; height: 100%; max-height: 570px; aspect-ratio: 1.58; object-fit: cover; }
.stand-copy { min-width: 0; align-self: center; padding: clamp(20px, 4.4vw, 64px); }
.stand-copy .image-credit { margin: 0 0 12px; color: var(--muted); text-align: start; }
.stand-copy h3 { font-size: clamp(2.1rem, 4.2vw, 4.5rem); }
.stand-copy > p:not(.image-credit) { margin: 16px 0 22px; color: var(--muted); }
.stand-panel.is-entering { animation-duration: .29s; }

.lab {
  background-color: #1b1e18;
  background-image: linear-gradient(90deg, #d3ddaf0c 1px, transparent 1px), linear-gradient(#d3ddaf0c 1px, transparent 1px);
  background-size: 64px 64px;
  border-block: 1px solid #474c39;
}
.lab-grid { display: grid; grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr); align-items: stretch; background: #151711; border: 1px solid #545849; }
.lab-controls, .lab-preview { min-width: 0; }
.lab-controls { padding: clamp(17px, 2.7vw, 39px); border-right: 1px solid #545849; }
.control-heading, .preview-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lab .control-heading .text-link { color: var(--yellow); }
.dropzone {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 88px;
  margin-top: 18px;
  padding: 14px;
  border: 1px dashed #72775f;
  border-radius: var(--radius);
  background: #20231a;
}
.dropzone:hover, .dropzone.is-dragging { background: #2d3022; border-color: var(--yellow); }
.dropzone:focus-within { outline: 2px solid var(--yellow); outline-offset: 3px; }
.dropzone input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.dropzone strong, .dropzone small { display: block; overflow-wrap: anywhere; }
.dropzone small { color: var(--muted); font-size: .81rem; }
.dropzone svg { color: var(--yellow); flex-shrink: 0; }
.subtle { display: block; margin: 5px 0 13px; font-size: .79rem; color: var(--muted); }
.field { display: grid; gap: 5px; min-width: 0; }
.field + .field { margin-top: 12px; }
.field label { font-size: .88rem; font-weight: 700; }
.field label span { font-weight: 400; }
.field :is(input, select, textarea) { width: 100%; min-width: 0; min-height: 44px; padding: 9px 11px; border: 1px solid #9a9c8e; border-radius: var(--radius); background: #f8f8ef; color: var(--ink); font-size: 1rem; }
.field select { appearance: none; padding-right: 2rem; background-image: url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='m4%206%204%204%204-4'%20fill='none'%20stroke='%237c806d'%20stroke-width='1.7'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 16px; }
.field textarea { resize: vertical; }
.lab .field :is(select, textarea) { border-color: #616550; background-color: #191b14; color: var(--white); }
.lab textarea::placeholder { color: #b8b9a9; }
.prompt-actions { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 15px; }
.prompt-actions button { min-height: 35px; padding: 5px 8px; border: 1px solid #62664e; border-radius: var(--radius); background: #24271c; color: #e6e7da; font-size: .79rem; }
.prompt-actions button:hover { border-color: var(--yellow); color: var(--yellow); }
.generate { width: 100%; }
.fineprint, .lab-caption { color: var(--muted); font-size: .8rem; }
.fineprint, .lab-status { margin-top: 8px; }
.lab-caption { margin-top: 12px; }
.lab-status { font-size: .89rem; color: #f8eb79; }
.lab-status:empty { display: none; }
.lab-status[data-error="true"] { color: #ffc2a9; }
.lab-preview { display: flex; flex-direction: column; overflow: hidden; }
.preview-head { min-height: 57px; padding: 12px 17px; }
#preview-badge { color: var(--muted); font: 500 .77rem/1.4 var(--mono); }
.comparison { --split: 44%; isolation: isolate; position: relative; flex: 1; min-height: 345px; background: #151711; }
.comparison img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.comparison.is-upload img { object-fit: contain; }
#before-image { z-index: 1; clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.comparison:not(.is-comparing) #before-image { clip-path: none; }
.comparison:not(.is-comparing) :is(#after-image, .compare-divider, .compare-range, .image-label-after) { display: none; }
.image-label { position: absolute; top: 13px; z-index: 2; padding: 5px 8px; background: #161812ef; color: var(--white); font: 500 .75rem/1.3 var(--mono); }
.image-label-before { left: 13px; }
.image-label-after { right: 13px; }
.compare-divider { position: absolute; z-index: 3; inset-block: 0; left: var(--split); border-left: 2px solid var(--yellow); }
.compare-divider span { position: absolute; top: 50%; left: -1px; display: grid; place-items: center; width: 40px; height: 40px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: 1.35rem; font-weight: 700; white-space: nowrap; }
.compare-range { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.comparison:has(.compare-range:focus-visible) { outline: 2px solid var(--yellow); outline-offset: -4px; }
.preview-foot { min-height: 54px; padding: 12px 17px; color: var(--muted); font-size: .87rem; }
.preview-foot .actions { margin-top: 12px; }

.workshop { position: relative; isolation: isolate; margin-bottom: 31px; }
.workshop img { width: 100%; max-height: 465px; aspect-ratio: 2.4; object-fit: cover; object-position: center 53%; }
.workshop figcaption { position: absolute; inset: auto auto 0 0; padding: 9px 13px; background: #111210; color: var(--white); }
.process-grid, .principles { display: grid; grid-template-columns: repeat(3, 1fr); }
.process-grid { list-style: none; margin: 0; padding: 0; counter-reset: production; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.process-grid li { min-height: 150px; counter-increment: production; padding: clamp(15px, 2.6vw, 31px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-grid li::before { content: "0" counter(production); display: block; margin-bottom: 15px; color: var(--yellow); font: 500 .8rem/1.3 var(--mono); }
.process-grid p, .principles p { margin-top: .35em; color: var(--muted); }
.principles { gap: 16px; margin-top: 29px; }
.principles > div { border-top: 1px solid var(--line); padding: 16px 0 0; }

.services, .materials, .quote, dialog { background: var(--paper); color: var(--ink); color-scheme: light; }
:is(.services, .materials, .quote, dialog) .kicker { color: #4c500d; }
:is(.services, .materials, .quote) .section-heading > p, .services .image-credit { color: var(--paper-muted); }
.services-grid, .client-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.service-card { min-width: 0; display: flex; flex-direction: column; border-bottom: 1px solid var(--paper-line); }
.service-card img { width: 100%; aspect-ratio: 1.45; object-fit: cover; }
.service-copy { display: flex; flex: 1; flex-direction: column; padding-block: 16px 18px; }
.service-copy ul { padding-left: 1.15em; margin: 10px 0 15px; color: var(--paper-muted); }
.service-copy li { margin-block: 3px; }
.service-copy .text-link { margin-top: auto; }
.client-grid article { border-top: 1px solid var(--line); padding-top: 15px; }
.client-grid p, .gulf > p { color: var(--muted); margin-top: 6px; }
.gulf { display: grid; grid-template-columns: 1.2fr .8fr; gap: 21px; align-items: center; margin-top: 43px; padding: clamp(18px, 3vw, 33px); border: 1px solid var(--line); }
.gulf h3 { margin-top: .2em; font: 700 clamp(1.7rem, 4vw, 3.8rem)/.95 var(--heading); letter-spacing: -.06em; }
.material-list, .faq-list { border-top: 1px solid var(--line); }
.material-list, .material-list details { border-color: var(--paper-line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 16px; cursor: pointer; font-weight: 700; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 500 1.25rem/1 var(--mono); }
details[open] summary::after { content: "−"; }
details p { max-width: 70ch; padding-bottom: 16px; color: var(--muted); }
.material-list details p { color: var(--paper-muted); }
.shop-banner { display: grid; grid-template-columns: 1.2fr .8fr; background: #21241a; border: 1px solid var(--line); }
.shop-banner > div { align-self: center; padding: clamp(22px, 5vw, 72px); }
.shop-banner p:not(.kicker) { max-width: 42ch; margin-block: 13px 19px; color: var(--muted); }
.shop-banner .button-dark { color: var(--ink); background: var(--yellow); }
.shop-banner img { width: 100%; height: 100%; max-height: 470px; object-fit: cover; }
.faq { display: grid; grid-template-columns: .86fr 1.14fr; gap: 34px; padding-top: 0; }
.quote-grid { display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr); align-items: start; gap: clamp(22px, 5vw, 76px); }
.quote-grid > div > p:not(.kicker) { max-width: 39ch; margin-top: 17px; color: var(--paper-muted); }
#quote-form { padding: clamp(14px, 2.7vw, 32px); border: 1px solid var(--paper-line); background: #f6f6ee; }
.quote-fields, .stand-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.quote-fields .field + .field, .stand-fields .field + .field, .catalog-filters .field + .field { margin-top: 0; }
.stand-fields { border-top: 1px solid var(--paper-line); padding-top: 12px; }
.stand-fields .field:last-child { grid-column: 1 / -1; }
#quote-form > .button { margin-top: 12px; }
.quote-result { margin-top: 17px; border-top: 1px solid var(--paper-line); padding-top: 15px; }
.quote-result pre { max-height: 270px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; font: 400 .9rem/1.5 var(--text); }
.quote-attachment, #quote-status { margin-top: 8px; font-size: .88rem; }
.footer { padding-block: 46px 20px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto auto; gap: clamp(18px, 7vw, 96px); }
.footer nav { display: grid; gap: 4px; }
.footer nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer p { margin-top: 8px; color: var(--muted); }
.footer-note { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 25px; padding-top: 13px; border-top: 1px solid var(--line); font-size: .81rem; }
.footer-note p { margin: 0; }

dialog { max-width: min(1060px, calc(100% - 24px)); max-height: calc(100svh - 24px); width: 100%; padding: 0; border: 1px solid var(--paper-line); }
dialog::backdrop { background: #11130ed9; }
.dialog-inner { padding: clamp(15px, 4vw, 40px); }
.dialog-inner .kicker { margin-bottom: 7px; }
.dialog-inner > p { margin-top: 13px; }
.catalog-filters { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; margin-block: 17px; }
.catalog-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.catalog-item { display: grid; align-content: start; gap: 8px; padding: 14px; border: 1px solid var(--paper-line); background: #f7f7ef; }
.catalog-item h3 { font-size: 1.08rem; }
.catalog-item small { color: var(--paper-muted); }
.catalog-item .field { margin-top: auto; }
.selection { margin-top: 22px; padding-top: 17px; border-top: 1px solid var(--paper-line); }
#cart-items { padding-left: 1.1rem; }
#cart-items button { margin-left: 8px; }
#cart-status { margin-block: 4px 11px; }

@media (max-width: 1030px) {
  .services-grid, .client-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card img { aspect-ratio: 1.65; }
  .header-inner { gap: 16px; }
  .header nav { gap: 18px; }
}
@media (max-width: 770px) {
  :root { --menu-height: 64px; }
  .header-inner { grid-template-columns: 1fr auto; gap: 12px; }
  .header-cta { display: none; }
  .menu-button { display: block; min-width: 67px; min-height: 42px; border: 1px solid #727569; border-radius: var(--radius); color: var(--white); background: var(--background); font: 500 .84rem/1.2 var(--mono); }
  .header nav { display: none; position: absolute; inset: 100% 0 auto; padding: 7px var(--gutter) 13px; border-bottom: 1px solid var(--line); background: #141611; }
  .header nav.is-open { display: grid; gap: 0; }
  .header nav a { padding: 15px 0; border-top: 1px solid var(--line); }
  .hero { min-height: max(575px, calc(89svh - var(--menu-height))); }
  .hero-media img { object-position: 58% 51%; }
  .hero::before { background: linear-gradient(90deg, #111210dd, #11121061 78%), linear-gradient(0deg, #111210da, transparent 56%); }
  .hero-content h1 { font-size: clamp(3.8rem, 14.3vw, 6.8rem); }
  .hero-caption { font-size: .68rem; justify-content: start; }
  .hero-caption span:last-child { display: none; }
  .section-heading, .lab-grid, .quote-grid, .faq { grid-template-columns: 1fr; gap: 17px; }
  .stand-panel { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .stand-copy h3 { font-size: clamp(1.85rem, 4.4vw, 2.55rem); }
  .lab-grid { gap: 0; }
  .lab-controls { border-right: 0; border-bottom: 1px solid #545849; }
  .comparison { min-height: min(85vw, 465px); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .workshop img { aspect-ratio: 1.62; }
  .gulf, .shop-banner { grid-template-columns: 1fr; }
  .shop-banner img { max-height: 310px; aspect-ratio: 1.65; }
  .catalog-items, .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > div { grid-column: 1 / -1; }
}
@media (max-width: 545px) {
  .hero-content { padding-block: 55px 36px; }
  .hero-content h1 { margin-bottom: 19px; }
  .hero-intro { margin-bottom: 20px; }
  .stand-tabs button { min-height: 50px; padding-inline: 6px; font-size: .75rem; }
  .stand-panel { grid-template-columns: 1fr; }
  .stand-panel img { max-height: 390px; aspect-ratio: 1.42; }
  .stand-copy > p:not(.image-credit) { margin-block: 11px 15px; }
  .services-grid, .principles, .quote-fields, .stand-fields, .catalog-items { grid-template-columns: 1fr; }
}
@media (max-width: 359px) {
  .hero-content h1 { font-size: clamp(3.15rem, 15.2vw, 3.8rem); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
