@font-face {
  font-family: Bricolage;
  src: url("assets/bricolage.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("assets/inter-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --paper: #fff9ed;
  --ink: #28202e;
  --muted: #615962;
  --line: #d8cfbf;
  --orange: #f65c34;
  --yellow: #ffdf72;
  --display: Bricolage, Inter, sans-serif;
  --body: Inter, system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #6748d2;
  outline-offset: 5px;
}
.wrap {
  width: min(89.5%, 1440px);
  margin-inline: auto;
}
.sr,
.project-switch input {
  position: absolute;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: fixed;
  top: -100px;
  left: 12px;
  z-index: 20;
  background: var(--paper);
  padding: 10px;
}
.skip:focus {
  top: 10px;
}
header {
  border-bottom: 1px solid var(--line);
  background: #fffcf5;
}
.nav,
.brand,
nav,
.actions,
.footer-row,
.family,
.family a,
.dev,
.section-head,
.project-switch,
figcaption,
.download,
.eyebrow {
  display: flex;
  align-items: center;
}
.nav {
  min-height: 76px;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  gap: 9px;
  text-decoration: none;
  font: 800 2.15rem/0.96 var(--display);
  letter-spacing: -0.035em;
}
.brand img {
  border-radius: 26%;
}
nav {
  gap: clamp(20px, 3vw, 48px);
}
nav a {
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}
nav a:hover,
.family a:hover b {
  text-decoration: underline;
}
.guide-link,
.btn,
.download,
.tour-nav a {
  border-radius: 100px;
}
.guide-link {
  padding: 7px 17px;
  border: 1.5px solid var(--ink);
}
.guide-link:hover {
  background: #f2ecdf;
}
.hero {
  border-bottom: 1.5px solid var(--ink);
  background: var(--paper);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: clamp(28px, 4.5vw, 75px);
  align-items: center;
  padding-block: clamp(45px, 4.5vw, 75px);
}
.eyebrow,
.caption-type,
.mono,
.dev {
  font-family: var(--mono);
}
.eyebrow {
  margin: 0;
  gap: 11px;
  font-size: 0.82rem;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  font-weight: 650;
}
.bit {
  display: inline-grid;
  place-content: center;
  width: 26px;
  height: 26px;
  font: 26px/1 var(--body);
  color: #b43a24;
}
h1,
h2,
h3,
.card-title,
figcaption strong {
  font-family: var(--display);
  font-optical-sizing: auto;
}
.hero h1 {
  font-size: clamp(4.45rem, 7.25vw, 7.55rem);
  font-weight: 800;
  line-height: 0.91;
  letter-spacing: -0.028em;
  word-spacing: 0.055em;
  margin: 27px 0 28px;
}
.hero h1 span {
  display: inline-block;
  font-size: 1.26em;
  color: var(--orange);
  -webkit-text-stroke: 1.6px var(--ink);
  paint-order: stroke fill;
  text-shadow:
    1px 2px var(--ink),
    2px 3px var(--ink),
    3px 4px var(--ink);
  transform: rotate(-3deg);
  transform-origin: 40% 60%;
}
.lead {
  font-size: clamp(1.08rem, 1.39vw, 1.35rem);
  line-height: 1.48;
  max-width: 38ch;
  margin: 0;
  color: #433c46;
}
.actions {
  margin-top: 26px;
  gap: 24px;
  flex-wrap: wrap;
}
.btn,
.download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 650;
}
.btn {
  background: var(--ink);
  color: #fffaf4;
  padding: 12px 22px;
  border: 1.5px solid var(--ink);
}
.btn:hover {
  background: #4b384e;
}
.text-link,
.enlarge {
  font-weight: 620;
  text-decoration-thickness: 1px;
}
.text-link:hover {
  color: #ad3520;
}
.dev {
  display: inline-flex;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 20px;
  text-decoration: none;
}
.dev:hover {
  text-decoration: underline;
}
.project {
  border: 2px solid var(--ink);
  border-radius: 25px;
  overflow: hidden;
  position: relative;
  margin: 0;
  align-self: center;
  background: #fffdf5;
  box-shadow: 5px 6px 0 var(--ink);
  isolation: isolate;
}
.art {
  background: #a5a0ee;
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}
.art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.object {
  display: block;
  height: 100%;
}
.art .plan {
  display: none;
}
.project:has(#drawing-mode:checked) .plan {
  display: block;
}
.project:has(#drawing-mode:checked) .object {
  display: none;
}
.project-switch {
  position: absolute;
  top: 14px;
  right: 14px;
  margin: 0;
  padding: 3px;
  border: 1.5px solid var(--ink);
  border-radius: 30px;
  background: #fffdf6;
  z-index: 2;
  gap: 2px;
}
.project-switch label {
  padding: 6px 13px;
  border-radius: 30px;
  line-height: 1.25;
  font-weight: 650;
  font-size: 0.8rem;
  cursor: pointer;
}
.project-switch input:checked + label {
  background: var(--ink);
  color: white;
}
.project-switch input:focus-visible + label {
  outline: 3px solid #1393ab;
  outline-offset: 2px;
}
figcaption {
  border-top: 1.5px solid var(--ink);
  justify-content: space-between;
  padding: 13px 18px;
  gap: 10px;
}
figcaption strong {
  display: block;
  font-size: clamp(1.25rem, 1.7vw, 1.8rem);
  line-height: 1.15;
  letter-spacing: -0.043em;
}
.caption-type {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  color: var(--muted);
  margin-bottom: 3px;
}
.download {
  gap: 6px;
  font-size: 0.85rem;
  border: 1.3px solid var(--ink);
  padding: 6px 12px;
  white-space: nowrap;
}
.download svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.download:hover {
  background: var(--yellow);
}
.section,
.studio,
.release {
  padding-block: clamp(50px, 5.35vw, 86px);
}
.section-head {
  justify-content: space-between;
  gap: 32px;
  align-items: flex-end;
  margin-bottom: 26px;
}
h2 {
  font-size: clamp(2.8rem, 4.5vw, 4.9rem);
  font-weight: 760;
  letter-spacing: -0.032em;
  word-spacing: 0.025em;
  line-height: 1;
  margin: 0;
}
.section-head > p {
  margin: 0 0 3px;
  max-width: 34ch;
  color: var(--muted);
}
.cut-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.cut {
  --sheet: #fac1ab;
  border: 1.6px solid var(--ink);
  border-radius: 17px;
  background: var(--sheet);
  overflow: clip;
  transition:
    box-shadow 0.15s,
    transform 0.15s;
}
.cut.pocket {
  --sheet: #d9c8ff;
}
.cut.drill {
  --sheet: #b7e6c9;
}
.cut.vcarve {
  --sheet: #ffdc91;
}
.cut:focus-within {
  outline: 3px solid #6945c7;
  outline-offset: 3px;
}
.cut summary {
  list-style: none;
  cursor: pointer;
  padding: 0 18px 17px;
}
.cut summary::-webkit-details-marker {
  display: none;
}
.cut summary:focus-visible {
  outline: 0;
}
.cut img {
  height: clamp(110px, 10.3vw, 165px);
  width: 100%;
  transition: transform 0.22s ease;
}
.cut[open] img {
  transform: rotate(3deg) scale(1.045);
}
.card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: clamp(1.65rem, 2vw, 2.2rem);
  line-height: 1.18;
  font-weight: 750;
  letter-spacing: -0.025em;
}
.expand {
  display: grid;
  place-items: center;
  position: relative;
  width: 24px;
  height: 24px;
  border: 1.4px solid var(--ink);
  border-radius: 50%;
  flex-shrink: 0;
}
.expand::before,
.expand::after {
  content: "";
  width: 10px;
  height: 1.5px;
  background: var(--ink);
  position: absolute;
}
.expand::after {
  transform: rotate(90deg);
}
.cut[open] .expand::after {
  transform: rotate(0);
}
.card-sub {
  color: #3f3444;
  display: block;
  font-size: 0.95rem;
  margin-top: 3px;
}
.cut > p {
  border-top: 1px solid #29202a36;
  padding: 14px 18px 18px;
  margin: 0;
  font-size: 1rem;
  background: #ffffff3d;
}
.studio {
  background: #30273f;
  color: #fff9ed;
  border-block: 1.5px solid var(--ink);
}
.studio .section-head > p,
.slide-copy p {
  color: #e0d5e7;
}
.studio .eyebrow {
  color: #e4d3ff;
  margin-bottom: 13px;
}
.tour-shell {
  border: 1px solid #786a87;
  border-radius: 22px;
  background: #241c32;
  overflow: hidden;
}
.tour-nav {
  display: flex;
  gap: 6px;
  padding: 12px;
  border-bottom: 1px solid #685972;
  flex-wrap: wrap;
}
.tour-nav a {
  color: #ebe3ee;
  padding: 7px 20px;
  text-decoration: none;
  font-weight: 570;
}
.tour-nav a:hover {
  background: #4a3a59;
}
.tour-nav a.chosen {
  background: #d9c8ff;
  color: var(--ink);
}
.slide {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: clamp(18px, 3vw, 54px);
  align-items: center;
  padding: clamp(20px, 3vw, 48px);
}
.slide[hidden] {
  display: none;
}
.slide .mono {
  font-size: 0.76rem;
  color: #e6c8ff;
}
.slide h3 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 14px 0;
}
.slide img {
  width: 100%;
  height: auto;
  border-radius: 7px;
}
.slide-copy p {
  margin: 0 0 18px;
}
.enlarge {
  color: #fff3d1;
  font-size: 0.93rem;
}
.release {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 9%;
}
.release .eyebrow {
  margin-bottom: 13px;
}
.release p:not(.eyebrow) {
  color: var(--muted);
  max-width: 44ch;
}
.release dl {
  margin: 0;
}
.release dl > div {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.release dl > div:last-child {
  border-bottom: 1px solid var(--line);
}
dt {
  font-weight: 630;
}
dd {
  margin: 0;
  color: var(--muted);
}
footer {
  background: #ffdf7f;
  border-top: 1.5px solid var(--ink);
}
.footer-row {
  justify-content: space-between;
  gap: 30px;
  padding-block: 24px;
}
footer .brand {
  font-size: 1.75rem;
}
.family {
  gap: clamp(15px, 3vw, 42px);
}
.family > span {
  font-size: 0.84rem;
}
.family a {
  gap: 7px;
  text-decoration: none;
}
.family b,
.family small {
  display: block;
  line-height: 1.3;
}
.family small {
  font-size: 0.77rem;
}
.guide {
  max-width: 800px;
  padding-block: clamp(40px, 6vw, 80px);
}
.guide h1 {
  font: 800 clamp(3.7rem, 7vw, 6rem)/0.97 var(--display);
  letter-spacing: -0.035em;
  margin: 20px 0;
}
.guide .lede {
  font-size: 1.22rem;
  color: var(--muted);
}
.guide section {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  margin-top: 28px;
}
.guide h2 {
  font-size: 2.1rem;
  letter-spacing: -0.05em;
  margin: 0 0 12px;
}
.guide code {
  background: #ebe1f4;
  border-radius: 5px;
  padding: 2px 4px;
}
@media (hover: hover) {
  .cut:hover {
    transform: translateY(-3px);
    box-shadow: 3px 4px 0 var(--ink);
  }
  .cut:hover img {
    transform: rotate(3deg);
  }
}
@media (max-width: 950px) {
  .wrap {
    width: 91%;
  }
  .hero-grid {
    gap: 25px;
  }
  .hero h1 {
    font-size: clamp(3.8rem, 7vw, 5rem);
  }
  .actions {
    gap: 15px;
  }
  .cut-grid {
    gap: 12px;
  }
  .cut summary {
    padding-inline: 13px;
  }
  .card-sub {
    font-size: 0.88rem;
  }
  .section-head > p {
    max-width: 30ch;
  }
}
@media (max-width: 760px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 35px 38px;
  }
  .hero h1 {
    font-size: clamp(4.6rem, 12.8vw, 6.4rem);
    margin: 22px 0 19px;
  }
  .hero h1 br {
    display: none;
  }
  .hero h1 span {
    margin-left: 0.08em;
  }
  .lead {
    max-width: 42ch;
  }
  .actions {
    margin-top: 20px;
  }
  .dev {
    margin-top: 17px;
  }
  .art {
    aspect-ratio: 1.56;
  }
  .art .plan {
    object-fit: contain;
    background: #c0efd8;
  }
  .section-head {
    display: block;
  }
  .section-head > p {
    max-width: 42ch;
    margin: 13px 0 0;
  }
  .cut-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cut img {
    height: 115px;
  }
  .slide,
  .release {
    grid-template-columns: 1fr;
  }
  .slide {
    gap: 20px;
  }
  .release {
    gap: 26px;
  }
  .section-head h2 {
    font-size: 3.15rem;
  }
  .family > span {
    display: none;
  }
  .tour-nav a {
    flex: 1;
    text-align: center;
    padding-inline: 8px;
  }
  .tour-nav {
    gap: 2px;
  }
  .footer-row {
    gap: 16px;
  }
}
@media (max-width: 560px) {
  .hero h1 br {
    display: block;
  }
  .hero h1 span {
    margin-left: 0;
  }
  .hero h1 {
    font-size: clamp(4.55rem, 14vw, 5.85rem);
  }
  .project {
    border-radius: 18px;
    box-shadow: 3px 4px 0 var(--ink);
  }
  .art {
    aspect-ratio: 4/3;
  }
  .nav {
    min-height: 65px;
    gap: 10px;
  }
  .brand {
    font-size: 1.65rem;
    gap: 6px;
  }
  .brand img {
    width: 29px;
    height: 29px;
  }
  nav {
    gap: 12px;
  }
  nav a {
    font-size: 0.83rem;
  }
  .guide-link {
    padding: 5px 9px;
  }
  .card-sub {
    font-size: 0.88rem;
  }
  figcaption {
    padding: 11px 13px;
  }
  .project-switch {
    top: 8px;
    right: 8px;
  }
  .project-switch label {
    padding: 5px 10px;
  }
  .footer-row {
    flex-wrap: wrap;
  }
  .family {
    gap: 15px;
  }
  .family a {
    gap: 4px;
  }
  .family img {
    width: 28px;
    height: 28px;
  }
  .cut img {
    height: 96px;
  }
  .release dl > div {
    grid-template-columns: 0.9fr 1.1fr;
  }
}
@media (max-width: 375px) {
  .nav {
    flex-wrap: wrap;
    padding-block: 10px;
    gap: 8px;
  }
  .nav nav {
    width: 100%;
    justify-content: space-between;
  }
  .cut summary {
    padding-inline: 9px;
  }
  .actions {
    gap: 12px;
  }
  .btn {
    padding: 10px 15px;
  }
  .project-switch label {
    font-size: 0.77rem;
  }
  .slide {
    padding: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
