@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400..700&display=swap');

@font-face {
  font-family: Oxanium;
  src: url('/brand/Oxanium.ttf') format('truetype');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #100b16;
  --night: #16101e;
  --panel: #21162d;
  --purple: #543685;
  --lavender: #c8aafa;
  --lime: #cdff30;
  --paper: #f6f0fc;
  --secondary: #d0c0dd;
  --line: #6d548c;
  --display: Oxanium, Bahnschrift, system-ui, sans-serif;
  --body: 'Space Grotesk', Bahnschrift, 'Trebuchet MS', sans-serif;
  --small-cut: 10px;
  --panel-cut: 24px;
  font-family: var(--body);
  background: var(--night);
  color: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { min-height: 100vh; margin: 0; display: flex; flex-direction: column; }
main { flex: 1; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; }
em { font-style: normal; }
section[id], article[id], div[id] { scroll-margin-top: 1.5rem; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }

.shell { width: min(100% - 5rem, 80rem); margin-inline: auto; }
.skip-link { position: fixed; z-index: 5; top: .75rem; left: .75rem; padding: .75rem 1rem; transform: translateY(-200%); background: var(--lime); color: var(--ink); }
.skip-link:focus { transform: translateY(0); }
.site-head { background: var(--ink); border-bottom: 1px solid var(--line); }
.head-inner, .foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.head-inner { min-height: 5rem; }
.brand { display: block; width: 13rem; flex: 0 0 auto; }
.head-inner nav, .foot-inner nav { display: flex; flex-wrap: wrap; gap: clamp(1rem, 3vw, 2.4rem); }
.head-inner nav a, .foot-inner nav a { font-size: .9375rem; font-weight: 600; color: var(--secondary); text-decoration: none; }
.head-inner nav a:hover, .foot-inner nav a:hover, .foot-inner nav a[aria-current] { color: var(--lime); text-decoration: underline; text-underline-offset: .3em; }

.button {
  --button-edge: var(--lavender);
  --button-fill: var(--ink);
  --button-text: var(--paper);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .65rem 1.25rem;
  color: var(--button-text);
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}
.button::before, .button::after {
  content: '';
  position: absolute;
  z-index: -1;
  clip-path: polygon(0 0, calc(100% - var(--small-cut)) 0, 100% var(--small-cut), 100% 100%, var(--small-cut) 100%, 0 calc(100% - var(--small-cut)));
}
.button::before { inset: 0; background: var(--button-edge); }
.button::after { inset: 1px; background: var(--button-fill); }
.button-lime { --button-edge: var(--lime); --button-fill: var(--lime); --button-text: var(--ink); }
.button:hover { --button-edge: var(--paper); --button-fill: var(--paper); --button-text: var(--ink); }
.shop-link { --button-edge: var(--lime); --button-text: var(--lime); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #1c102a;
  border-bottom: 1px solid var(--line);
}
.hero::before, .hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero::before {
  background: url('/brand/switchback.webp') center 52% / cover no-repeat,
    radial-gradient(ellipse at 82% 28%, #512c82, transparent 62%);
}
.hero::after {
  background: linear-gradient(90deg, #160d21f5 0%, #1d102ce8 34%, #1b102a78 59%, transparent 88%);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.03fr);
  gap: clamp(1.65rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(3.5rem, 6vw, 5.75rem) clamp(3.75rem, 6vw, 6rem);
}
.kicker {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--lavender);
  font: 700 .875rem/1.4 var(--body);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.kicker::before { content: ''; width: 1.35rem; height: 3px; background: var(--lime); transform: skewX(-35deg); }
.hero h1 {
  margin-block: .9rem 1.2rem;
  font-size: clamp(3.4rem, 7.27vw, 7.1rem);
  line-height: .85;
  letter-spacing: -.06em;
  text-transform: uppercase;
}
.hero h1 em { color: var(--lime); }
.hero-lead { max-width: 34ch; margin-bottom: 1.55rem; color: var(--secondary); font-size: clamp(1.0625rem, 1.64vw, 1.35rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; }

.bench, .product, .contact, .legal-panel {
  position: relative;
  isolation: isolate;
}
.bench::before, .bench::after, .product::before, .product::after, .contact::before, .contact::after, .legal-panel::before, .legal-panel::after {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
  clip-path: polygon(0 0, calc(100% - var(--panel-cut)) 0, 100% var(--panel-cut), 100% 100%, var(--panel-cut) 100%, 0 calc(100% - var(--panel-cut)));
}
.bench::before, .product::before, .contact::before, .legal-panel::before { inset: 0; background: var(--line); }
.bench::after, .product::after, .contact::after, .legal-panel::after { inset: 1px; background: var(--panel); }
.bench { padding: .55rem .55rem .1rem; }
.bench::before { background: linear-gradient(135deg, var(--lime) 0 10%, var(--lavender) 10% 83%, var(--lime) 83%); }
.bench::after { background: var(--ink); }
.bench-window {
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
  padding: .8rem 3%;
  background: radial-gradient(ellipse at 55% 46%, #d7bff1, #a586c1 100%);
}
.bench-window img { width: 100%; }
.bench figcaption { display: flex; align-items: center; justify-content: space-between; min-height: 2.6rem; padding: .45rem .5rem .45rem 1rem; color: var(--lavender); font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.bench-vents { width: 3.5rem; height: .45rem; background: repeating-linear-gradient(125deg, var(--lime) 0 2px, transparent 2px 7px); }

.systems { padding-block: clamp(3.2rem, 6vw, 5.4rem); }
.section-head { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; margin-bottom: 1.8rem; }
.section-head h2, .workshop h2 { font-size: clamp(2.25rem, 4.3vw, 4.15rem); line-height: .98; letter-spacing: -.053em; }
.section-head h2 { max-width: 16ch; }
.section-head > p { max-width: 34ch; color: var(--secondary); font-size: 1.0625rem; line-height: 1.55; }
.section-head h2 span, .legal h1 span { color: var(--lime); }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.05rem; }
.product { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); padding: .4rem; }
.product:focus-within::before { background: var(--lime); }
.product > img {
  align-self: stretch;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 4/3;
  object-fit: contain;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  background: #1b1227;
}
.product-body { display: flex; flex-direction: column; align-items: start; padding: 1.1rem 1rem 1rem; }
.product h3 { font-size: clamp(1.28rem, 2.02vw, 1.8rem); letter-spacing: -.037em; line-height: 1.04; }
.product p { margin-block: .58rem .95rem; flex: 1; color: var(--secondary); line-height: 1.45; }
.product .button { align-self: stretch; justify-content: flex-start; min-height: 2.75rem; padding-inline: .85rem; text-align: left; }
.product .button:hover { --button-edge: var(--lime); --button-fill: var(--lime); }

.workshop { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; padding-block: 2.3rem 4.3rem; border-top: 1px solid var(--line); }
.workshop h2 { font-size: clamp(2.15rem, 4vw, 3.55rem); }
.workshop h2 em { color: var(--lavender); }
.workshop p { color: var(--secondary); line-height: 1.6; margin-top: .85rem; }
.workshop-copy p { max-width: 57ch; }
.contact { padding: clamp(1.25rem, 3vw, 2rem); }
.contact::before { background: linear-gradient(115deg, var(--lime) 0 18%, var(--line) 18%); }
.contact h3 { font-size: 1.5rem; letter-spacing: -.03em; }
.contact .button { margin-top: 1.05rem; }
.site-foot { border-top: 1px solid var(--line); background: var(--ink); color: var(--secondary); }
.foot-inner { min-height: 5rem; padding-block: 1rem; font-size: .9375rem; }

.legal { padding-block: 4rem 5.5rem; }
.legal h1 { margin-bottom: 1.9rem; font-size: clamp(2.8rem, 7.6vw, 6rem); letter-spacing: -.075em; line-height: .9; }
.legal-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.65rem 2.5rem; max-width: 58rem; padding: clamp(1.35rem, 5vw, 2.75rem); }
.legal-panel h2 { margin-bottom: .45rem; color: var(--lavender); font-size: 1.125rem; overflow-wrap: anywhere; }
.legal-panel p, .legal-panel address { font-style: normal; line-height: 1.65; }
.legal-panel a { color: var(--lime); overflow-wrap: anywhere; text-underline-offset: .15em; }
.legal-panel .dispute, .legal-panel .legal-credit { grid-column: 1 / -1; }
.legal-panel .legal-credit { color: var(--secondary); font-size: .875rem; }

@media (max-width: 64rem) {
  .product { grid-template-columns: 1fr; }
  .product > img { height: auto; clip-path: polygon(0 0, calc(100% - 19px) 0, 100% 19px, 100% 100%, 0 100%); }
}
@media (max-width: 52rem) {
  .shell { width: min(100% - 3rem, 42rem); }
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero::before { background-position: right bottom; }
  .hero::after { background: linear-gradient(180deg, #160d21f3 0%, #1b102abd 45%, #1b102a20 100%); }
  .hero h1 { font-size: clamp(3.25rem, 10vw, 6rem); }
  .workshop { grid-template-columns: 1fr; }
}
@media (max-width: 40rem) {
  .head-inner { flex-wrap: wrap; gap: .75rem; padding-block: .7rem; }
  .head-inner nav { order: 1; width: 100%; justify-content: space-between; gap: .6rem; border-top: 1px solid var(--line); padding-top: .7rem; }
  .brand { width: 10.5rem; }
  .shop-link { min-height: 2.75rem; padding-inline: .85rem; }
}
@media (max-width: 35rem) {
  .shell { width: calc(100% - 2rem); }
  .hero-inner { padding-top: 3rem; }
  .hero h1 { font-size: clamp(2.85rem, 12.2vw, 4.65rem); }
  .product-grid { grid-template-columns: 1fr; }
  .section-head { align-items: start; }
  .foot-inner { flex-direction: column; align-items: start; gap: .7rem; }
  .legal-panel { grid-template-columns: 1fr; }
}
