:root {
  --ink: #111;
  --muted: #70706c;
  --paper: #f7f6f1;
  --line: #191917;
  --soft: #dedbd2;
  --moss: #7f8a73;
  --clay: #b76e54;
  --steel: #74818c;
  --butter: #d8c26c;
  --baseline: 8px;
  --leading: 24px;
  --grid-columns: 12;
  --grid-gutter: clamp(16px, 1.8vw, 24px);
  --grid-margin: clamp(16px, 2.6vw, 40px);
  --rail-width: 240px;
  --gap: var(--grid-gutter);
  --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --type-micro: 10px;
  --type-label: 11px;
  --type-caption: 12px;
  --type-body: 13px;
  --type-body-large: clamp(15px, 1.1vw, 19px);
  --type-prose: clamp(19px, 2.1vw, 31px);
  --type-statement: clamp(20px, 2.4vw, 38px);
  --type-card-title: clamp(22px, 2.2vw, 34px);
  --type-hero-label: clamp(14px, 1.15vw, 18px);
  --type-page-title: clamp(24px, 4.2vw, 58px);
  --type-section-title: clamp(24px, 3vw, 44px);
  --type-product-title: clamp(24px, 2.7vw, 43px);
  --type-feature-title: clamp(36px, 6vw, 86px);
  --type-menu-title: clamp(34px, 4.5vw, 64px);
  --line-label: 13px;
  --line-body: 16px;
  --line-meta: 18px;
  --line-body-large: clamp(23px, 1.6vw, 28px);
  --line-prose: 32px;
  --line-statement: clamp(24px, 2.8vw, 42px);
  --line-card-title: clamp(28px, 2.8vw, 40px);
  --line-page-title: clamp(32px, 4.8vw, 64px);
  --line-section-title: clamp(32px, 3.6vw, 48px);
  --line-product-title: clamp(32px, 3.2vw, 48px);
  --line-feature-title: clamp(40px, 6.4vw, 92px);
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: var(--type-body);
  font-weight: 500;
  line-height: var(--line-body);
  letter-spacing: 0;
  overflow-x: hidden;
}

button,
a {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

a {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.mobile-bar {
  display: none;
}

.menu-toggle {
  display: none;
  border-bottom: 1px solid currentColor;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-menu-rail,
.inquiry-menu-rail {
  position: fixed;
  z-index: 50;
  top: 0;
  bottom: 0;
  width: 38px;
  background: rgba(17, 17, 15, 0.92);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--type-micro);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}

.hero-menu-rail {
  left: 0;
  border-right: 1px solid rgba(247, 246, 241, 0.28);
}

.inquiry-menu-rail {
  right: 0;
  border-left: 1px solid rgba(247, 246, 241, 0.28);
}

.hero-menu-rail:hover,
.hero-menu-rail:focus-visible,
.inquiry-menu-rail:hover,
.inquiry-menu-rail:focus-visible {
  background: var(--paper);
  color: var(--ink);
  outline: none;
}

.hero-menu-rail span,
.inquiry-menu-rail span {
  writing-mode: vertical-rl;
}

.panel-close,
.panel-label {
  display: none;
}

.rail {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  width: var(--rail-width);
  border-right: 1px solid var(--line);
  background: rgba(247, 246, 241, 0.94);
  padding: 24px 16px 32px;
  display: flex;
  flex-direction: column;
  gap: var(--leading);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 132px;
  height: auto;
}

.brand-large {
  width: 100%;
  padding: 0 0 16px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.22);
}

.brand-large img {
  width: min(190px, 100%);
}

.nav-links,
.stack {
  display: grid;
  gap: 8px;
}

.nav-links {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.22);
}

.nav-links a,
.plain-control {
  width: fit-content;
  border-bottom: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.plain-control {
  text-transform: uppercase;
}

.nav-links a:hover,
.plain-control:hover,
.plain-control.is-active {
  border-bottom-color: currentColor;
}

.control-group {
  display: grid;
  gap: 8px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.22);
}

.control-group:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.control-group h2 {
  margin: 0;
}

.group-toggle {
  color: var(--muted);
  font-size: var(--type-label);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  width: fit-content;
}

.group-toggle:hover {
  color: var(--ink);
}

.control-group.is-collapsed .stack,
.control-group.is-collapsed #capsuleOptions {
  display: none;
}

.control-group p,
.release-link {
  max-width: 13ch;
  margin: 0;
}

.release-link {
  width: fit-content;
  border-bottom: 1px solid transparent;
}

.release-link:hover {
  border-bottom-color: currentColor;
}

.shop-rail-label,
.shop-status {
  margin: 0;
  color: var(--muted);
  font-size: var(--type-label);
  font-weight: 700;
  line-height: var(--line-label);
  text-transform: uppercase;
}

.shop-rail-label {
  padding-top: 2px;
}

.shop-panel-close {
  display: none;
}

.catalog {
  min-height: 100vh;
  padding: var(--leading) var(--grid-margin) 48px calc(var(--rail-width) + var(--grid-margin));
}

.home-main {
  min-height: 100vh;
}

.home-page .catalog,
.shop-page .catalog {
  padding: var(--leading) var(--grid-margin) 48px;
}

.landing {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.landing-nav {
  position: absolute;
  inset: var(--leading) var(--grid-margin) auto;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 38px);
  opacity: 0;
  transform: translateY(-6px);
  animation: nav-reveal 800ms ease 3500ms forwards;
}

.landing-nav a {
  border-bottom: 1px solid transparent;
}

.landing-nav a:hover {
  border-bottom-color: currentColor;
}

.landing-inner {
  width: min(100%, 980px);
  min-height: 54vh;
  display: grid;
  grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr));
  column-gap: var(--grid-gutter);
  align-content: center;
  justify-items: center;
  gap: clamp(28px, 5vw, 58px);
}

.landing-logo-mark {
  grid-column: 2 / 12;
  justify-self: center;
  position: relative;
  width: min(84vw, 760px);
  aspect-ratio: 968 / 359;
  margin: 0;
}

.landing-inner .enter-capsule {
  grid-column: 1 / -1;
  justify-self: center;
}

.shop-shell {
  display: grid;
  grid-template-columns: var(--rail-width) minmax(0, 1fr);
  align-items: start;
  min-height: 100vh;
  border-top: 1px solid var(--line);
}

.shop-page .shop-shell {
  border-top: 0;
}

.home-page .shop-shell .rail,
.shop-page .shop-shell .rail {
  position: sticky;
  inset: auto;
  top: 0;
  height: 100vh;
}

.shop-mobile-bar {
  display: none;
}

.logo-piece {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: translateY(14px);
  filter: blur(5px);
  animation: logo-piece-reveal 1600ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.logo-piece-tt {
  opacity: 1;
  transform: none;
  filter: none;
  animation: tt-breathe 1800ms ease-out both;
}

.logo-piece-a {
  animation-delay: 460ms;
}

.logo-piece-e1 {
  animation-delay: 760ms;
}

.logo-piece-l {
  animation-delay: 980ms;
}

.logo-piece-i {
  animation-delay: 1180ms;
}

.logo-piece-e2 {
  animation-delay: 1380ms;
}

.logo-piece-r {
  animation-delay: 1600ms;
}

.enter-capsule {
  opacity: 0;
  transform: translateY(8px);
  border-bottom: 1px solid currentColor;
  animation: logo-piece-reveal 1200ms cubic-bezier(0.2, 0.8, 0.2, 1) 3600ms forwards;
}

.support-loader {
  overflow: visible;
}

.support-source,
.support-flow,
.loader-logo-solid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.support-source,
.loader-logo-solid {
  object-fit: contain;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.support-source {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  animation:
    support-source-reveal 1800ms cubic-bezier(0.2, 0.78, 0.2, 1) 180ms forwards,
    support-system-recede 900ms cubic-bezier(0.24, 0.7, 0.18, 1) 2850ms forwards;
}

.support-flow {
  z-index: 2;
  overflow: visible;
  transform-origin: center;
  animation: support-flow-recede 900ms cubic-bezier(0.24, 0.7, 0.18, 1) 2850ms forwards;
}

.flow-shape {
  fill: none;
  stroke: rgba(17, 17, 17, 0.48);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw-support 1400ms cubic-bezier(0.18, 0.78, 0.2, 1) forwards;
}

.flow-frame {
  animation-delay: 120ms;
}

.flow-h-1 {
  animation-delay: 180ms;
}

.flow-h-2 {
  animation-delay: 260ms;
}

.flow-h-3 {
  animation-delay: 340ms;
}

.flow-h-4 {
  animation-delay: 420ms;
}

.flow-h-5 {
  animation-delay: 500ms;
}

.flow-v {
  animation-delay: 760ms;
}

.flow-v-2,
.flow-v-5,
.flow-v-8,
.flow-v-11 {
  animation-delay: 860ms;
}

.flow-v-3,
.flow-v-6,
.flow-v-9,
.flow-v-12 {
  animation-delay: 960ms;
}

.flow-diag {
  animation-delay: 1160ms;
}

.flow-circle {
  animation-delay: 1320ms;
}

.loader-logo-solid {
  z-index: 3;
  opacity: 0;
  transform: scale(0.985);
  filter: blur(3px);
  animation: logo-solid-settle 1000ms cubic-bezier(0.2, 0.8, 0.2, 1) 1900ms forwards;
}

@keyframes support-source-reveal {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
  }

  45% {
    opacity: 0.32;
  }

  100% {
    opacity: 0.28;
    clip-path: inset(0 0 0 0);
  }
}

@keyframes draw-support {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes support-flow-recede {
  0% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }

  100% {
    opacity: 0;
    transform: scaleX(0.72) scaleY(0.54);
    filter: blur(1px);
  }
}

@keyframes support-system-recede {
  0% {
    opacity: 0.28;
    clip-path: inset(0 0 0 0);
    transform: scale(1);
    filter: blur(0);
  }

  100% {
    opacity: 0;
    clip-path: inset(26% 12% 26% 12%);
    transform: scaleX(0.78) scaleY(0.58);
    filter: blur(1px);
  }
}

@keyframes logo-solid-settle {
  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

@keyframes nav-reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logo-piece-reveal {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes tt-breathe {
  0% {
    transform: translateY(8px);
    filter: blur(2px);
  }

  100% {
    transform: translateY(0);
    filter: blur(0);
  }
}

.catalog-top {
  position: sticky;
  top: 0;
  z-index: 10;
  margin: calc(0px - var(--leading)) calc(0px - var(--grid-margin)) 0;
  padding: var(--leading) var(--grid-margin) 16px;
  display: grid;
  grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr));
  align-items: start;
  column-gap: var(--grid-gutter);
  row-gap: 8px;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 246, 241, 0.92);
  backdrop-filter: blur(8px);
}

.catalog-top > div {
  grid-column: 1 / 10;
}

.eyebrow {
  margin: 0 0 5px;
  color: var(--muted);
}

h1 {
  margin: 0;
  font-size: var(--type-page-title);
  font-weight: 700;
  line-height: var(--line-page-title);
  letter-spacing: 0;
}

.shop-status {
  margin-top: 8px;
}

.desktop-cart {
  grid-column: 11 / 13;
  justify-self: end;
  white-space: nowrap;
  border-bottom: 1px solid currentColor;
}

.mobile-home {
  border-bottom: 1px solid currentColor;
  font-weight: 700;
  text-transform: uppercase;
}

.about-rail {
  justify-content: start;
}

.about-page {
  display: grid;
  align-content: start;
  gap: 48px;
}

.about-body {
  width: 100%;
  max-width: none;
  padding: 48px 0 0;
  display: grid;
  grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr));
  column-gap: var(--grid-gutter);
  row-gap: 0;
}

.about-body p {
  grid-column: 1 / 7;
  margin: 0;
  font-size: var(--type-prose);
  line-height: var(--line-prose);
  letter-spacing: 0;
}

.about-body p + p:nth-of-type(5),
.about-body p + p:nth-of-type(9),
.about-body p + p:nth-of-type(13),
.about-body p + p:nth-of-type(16),
.about-body p + p:nth-of-type(19),
.about-body p + p:nth-of-type(24) {
  margin-top: 20px;
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr));
  column-gap: var(--grid-gutter);
  row-gap: 18px;
  margin-top: 48px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
}

.site-footer div {
  grid-column: span 4;
  display: grid;
  gap: 8px;
}

.site-footer span {
  color: var(--muted);
  font-size: var(--type-label);
  font-weight: 700;
  line-height: var(--line-label);
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
  max-width: 24ch;
}

.site-footer a {
  border-bottom: 1px solid currentColor;
}

.shop-footer {
  margin-top: 0;
}

.site-home {
  display: grid;
  align-content: start;
  gap: 0;
  padding: 0 38px;
}

:is(.home-shell, .site-shell) .home-panel {
  z-index: 60;
  width: min(640px, calc(100vw - 38px));
  border-right: 1px solid rgba(247, 246, 241, 0.28);
  background: #11110f;
  color: var(--paper);
  padding: 24px 28px 36px 66px;
  gap: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translate3d(calc(-100% - 48px), 0, 0);
  transition:
    transform 220ms cubic-bezier(0.22, 0.72, 0.2, 1),
    visibility 0s linear 220ms;
  will-change: transform;
}

:is(.home-shell, .site-shell) .home-panel.is-open {
  pointer-events: auto;
  visibility: visible;
  transform: translate3d(0, 0, 0);
  transition: transform 220ms cubic-bezier(0.22, 0.72, 0.2, 1);
}

:is(.home-shell, .site-shell) .home-panel .panel-close {
  position: absolute;
  top: 24px;
  right: 28px;
  display: block;
  color: inherit;
  font-size: var(--type-micro);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

:is(.home-shell, .site-shell) .home-panel .brand-large {
  width: fit-content;
  margin: 0 0 clamp(88px, 16vh, 150px);
  padding: 0;
  border-bottom: 0;
}

:is(.home-shell, .site-shell) .home-panel .brand-large img {
  width: min(220px, 42vw);
  filter: invert(1) sepia(0.08) saturate(0.7) contrast(0.96);
}

:is(.home-shell, .site-shell) .home-panel .panel-label {
  display: block;
  margin: 0 0 18px;
  color: rgba(247, 246, 241, 0.62);
  font-size: var(--type-micro);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

:is(.home-shell, .site-shell) .home-panel .nav-links {
  gap: 0;
  padding: 0;
  border-top: 1px solid rgba(247, 246, 241, 0.28);
  border-bottom: 0;
}

:is(.home-shell, .site-shell) .home-panel .nav-links a {
  width: 100%;
  min-width: 0;
  min-height: 72px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(247, 246, 241, 0.28);
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-size: var(--type-menu-title);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

:is(.home-shell, .site-shell) .home-panel .nav-links a span {
  flex: 0 0 auto;
  color: rgba(247, 246, 241, 0.62);
  font-size: var(--type-micro);
  font-weight: 700;
  line-height: 1;
}

:is(.home-shell, .site-shell) .home-panel .nav-links a:hover,
:is(.home-shell, .site-shell) .home-panel .nav-links a:focus-visible,
:is(.home-shell, .site-shell) .home-panel .nav-links a[aria-current="page"] {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.08em;
}

.site-shell .catalog {
  padding-left: calc(38px + var(--grid-margin));
  padding-right: calc(38px + var(--grid-margin));
}

.inquiry-panel {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 60;
  width: min(540px, calc(100vw - 38px));
  border-left: 1px solid rgba(247, 246, 241, 0.28);
  background: #11110f;
  color: var(--paper);
  padding: 24px 66px 36px 28px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translate3d(calc(100% + 48px), 0, 0);
  transition:
    transform 220ms cubic-bezier(0.22, 0.72, 0.2, 1),
    visibility 0s linear 220ms;
  will-change: transform;
}

.inquiry-panel.is-open {
  pointer-events: auto;
  visibility: visible;
  transform: translate3d(0, 0, 0);
  transition: transform 220ms cubic-bezier(0.22, 0.72, 0.2, 1);
}

.inquiry-panel .panel-close {
  position: absolute;
  top: 24px;
  left: 28px;
  display: block;
  color: inherit;
  font-size: var(--type-micro);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.inquiry-panel .brand-large {
  width: fit-content;
  justify-self: end;
  margin: 0 0 clamp(88px, 16vh, 150px);
  padding: 0;
  border-bottom: 0;
}

.inquiry-panel .brand-large img {
  width: min(220px, 42vw);
  filter: invert(1) sepia(0.08) saturate(0.7) contrast(0.96);
}

.inquiry-panel .panel-label {
  display: block;
  margin: 0 0 18px;
  color: rgba(247, 246, 241, 0.62);
  font-size: var(--type-micro);
  font-weight: 700;
  letter-spacing: 0;
  line-height: var(--line-label);
  text-transform: uppercase;
}

.inquiry-panel-body {
  align-self: end;
  display: grid;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(247, 246, 241, 0.28);
}

.inquiry-panel-body p {
  margin: 0;
  color: rgba(247, 246, 241, 0.62);
  font-size: var(--type-label);
  font-weight: 700;
  line-height: var(--line-label);
  text-transform: uppercase;
}

.inquiry-panel-body a {
  width: fit-content;
  color: var(--paper);
  border-bottom: 1px solid currentColor;
  font-size: var(--type-card-title);
  font-weight: 700;
  line-height: var(--line-card-title);
  text-transform: uppercase;
}

.home-hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr));
  grid-template-rows: minmax(72px, 8vh) 1fr minmax(72px, 8vh);
  align-items: stretch;
  column-gap: var(--grid-gutter);
  row-gap: 0;
  border-bottom: 1px solid var(--line);
  padding: 0 var(--grid-margin);
  color: var(--ink);
  background:
    linear-gradient(rgba(247, 246, 241, 0.42), rgba(247, 246, 241, 0.42)),
    url("assets/board-form-concrete-seamless.jpg");
  background-repeat: no-repeat, repeat;
  background-position: center, center;
  background-size: auto, 640px 480px;
  background-color: #f2f0e9;
}

.home-hero::before,
.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.home-hero::before {
  z-index: 1;
  border: 1px solid rgba(17, 17, 15, 0.08);
  border-width: 0 1px;
  opacity: 0.64;
}

.home-hero::after {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(247, 246, 241, 0.14), rgba(247, 246, 241, 0.02) 34%, rgba(17, 17, 15, 0.04));
  mix-blend-mode: multiply;
  opacity: 0.64;
}

.home-hero-topline,
.home-hero-bottom {
  position: relative;
  z-index: 2;
  grid-column: 2 / 12;
  display: grid;
  grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr));
  align-items: center;
  gap: var(--grid-gutter);
  color: var(--ink);
  font-size: var(--type-hero-label);
  font-weight: 700;
  line-height: var(--line-label);
  text-transform: uppercase;
}

.home-hero-topline {
  grid-row: 1;
  border-bottom: 1px solid rgba(17, 17, 15, 0.16);
}

.home-hero-topline span:nth-child(1) {
  grid-column: 1 / 3;
}

.home-hero-topline span:nth-child(2) {
  grid-column: 4 / 6;
}

.home-hero-topline span:nth-child(3) {
  grid-column: 7 / 9;
}

.home-hero-topline span:last-child {
  grid-column: 10 / 13;
  text-align: right;
}

.home-hero-mark {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(62vw, 760px);
}

.home-hero-mark img {
  width: 100%;
  filter: none;
  opacity: 1;
}

.home-hero-bottom {
  grid-row: 3;
  border-top: 1px solid rgba(17, 17, 15, 0.16);
}

.home-hero-bottom p {
  margin: 0;
}

.home-hero-bottom p,
.home-hero-link {
  color: rgba(17, 17, 15, 0.92);
  font-size: var(--type-hero-label);
  font-weight: 700;
  line-height: var(--line-label);
  text-transform: uppercase;
}

.home-hero-bottom > *:nth-child(1) {
  grid-column: 1 / 4;
}

.home-hero-bottom > *:nth-child(2) {
  grid-column: 4 / 7;
}

.home-hero-bottom > *:nth-child(3) {
  grid-column: 7 / 9;
}

.home-hero-bottom > *:nth-child(4) {
  grid-column: 10 / 13;
  justify-self: end;
}

.home-hero-link {
  border-bottom: 1px solid currentColor;
}

.project-page {
  display: grid;
  align-content: start;
  gap: 48px;
}

.project-intro {
  padding-top: 48px;
  display: grid;
  grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr));
  column-gap: var(--grid-gutter);
  row-gap: 16px;
}

.project-intro p {
  margin: 0;
}

.project-intro p:first-child {
  grid-column: 1 / 7;
  font-size: var(--type-page-title);
  line-height: var(--line-page-title);
}

.project-intro p:last-child {
  grid-column: 8 / 12;
  color: var(--muted);
  align-self: end;
}

.project-feature {
  display: grid;
  grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr));
  column-gap: var(--grid-gutter);
  row-gap: 24px;
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.project-feature-media {
  position: relative;
  grid-column: 1 / 8;
  display: grid;
  place-items: center;
  max-height: min(62vh, 620px);
  padding: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e1ded5;
  isolation: isolate;
}

.project-feature-media::before,
.project-feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.project-feature-media::before {
  z-index: 0;
  background-image: url("assets/attelier-monogram-mark.png");
  background-repeat: repeat;
  background-position: 22px 18px;
  background-size: clamp(92px, 7.5vw, 142px) auto;
  mix-blend-mode: multiply;
  opacity: 0.075;
}

.project-feature-media::after {
  z-index: 1;
  background:
    linear-gradient(rgba(247, 246, 241, 0.48), rgba(247, 246, 241, 0.48)),
    linear-gradient(135deg, rgba(17, 17, 15, 0.045), transparent 42%, rgba(17, 17, 15, 0.03));
}

.project-feature-media img {
  position: relative;
  z-index: 2;
  width: auto;
  max-width: 100%;
  max-height: min(58vh, 596px);
  height: auto;
}

.project-feature-copy {
  grid-column: 8 / 13;
  display: grid;
  gap: 16px;
  align-content: end;
}

.project-feature-copy h2,
.project-feature-copy p {
  margin: 0;
}

.project-feature-copy h2 {
  font-size: var(--type-feature-title);
  font-weight: 700;
  line-height: var(--line-feature-title);
}

.project-feature-copy p:not(.eyebrow) {
  max-width: 36ch;
  color: var(--muted);
}

.project-feature-copy a {
  width: fit-content;
  border-bottom: 1px solid currentColor;
  font-weight: 700;
  text-transform: uppercase;
}

.project-index {
  display: grid;
  grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr));
  column-gap: var(--grid-gutter);
  row-gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.project-card {
  grid-column: span 4;
  min-height: 456px;
  display: grid;
  grid-template-rows: auto minmax(220px, 1fr) auto;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.project-card-large {
  grid-column: span 6;
  min-height: 560px;
}

.project-card-wide {
  grid-column: span 6;
}

.project-card span {
  color: var(--muted);
}

.project-card h2,
.project-card p {
  margin: 0;
}

.project-card h2 {
  font-size: var(--type-section-title);
  font-weight: 700;
  line-height: var(--line-section-title);
  text-transform: uppercase;
}

.project-card p {
  max-width: 42ch;
  color: var(--muted);
}

.project-media {
  min-height: 260px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}

.project-card-large .project-media {
  min-height: 360px;
}

.project-media img {
  width: min(82%, 520px);
  mix-blend-mode: multiply;
}

.project-media-photo {
  background: #d8d4c9;
}

.project-media-object {
  background: #9a9892;
}

.project-media-drawing {
  background: #efeee9;
}

.project-media-room {
  background: #c9c2b7;
}

.project-media-object img {
  width: min(100%, 520px);
  height: auto;
  filter: none;
  mix-blend-mode: normal;
}

.project-detail-page {
  display: grid;
  align-content: start;
  gap: 32px;
}

.project-detail-hero {
  padding-top: 40px;
  display: grid;
  grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr));
  column-gap: var(--grid-gutter);
  row-gap: 24px;
  align-items: start;
}

.axis-hero-media {
  grid-column: 1 / 5;
  justify-self: start;
  margin: 0;
  display: block;
  max-height: none;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}

.axis-hero-media img {
  width: auto;
  max-width: 100%;
  max-height: min(68vh, 700px);
  height: auto;
  border: 1px solid var(--line);
  background: var(--soft);
}

.project-detail-copy {
  grid-column: 5 / 13;
  align-self: start;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  column-gap: var(--grid-gutter);
  row-gap: 18px;
}

.project-detail-copy p {
  grid-column: 1 / 6;
  margin: 0;
  max-width: none;
  color: var(--ink);
  font-size: var(--type-body-large);
  font-weight: 600;
  line-height: var(--line-body-large);
}

.project-meta-list {
  grid-column: 1 / -1;
  margin: 0 0 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.project-meta-list div {
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.project-meta-list dt,
.project-meta-list dd {
  margin: 0;
}

.project-meta-list dt {
  color: var(--muted);
  font-size: var(--type-label);
  font-weight: 700;
  line-height: var(--line-label);
  text-transform: uppercase;
}

.project-meta-list dd {
  margin-top: 8px;
  line-height: var(--line-meta);
}

.axis-gallery {
  display: flex;
  gap: var(--grid-gutter);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  border-top: 1px solid var(--line);
  padding: 18px 0 14px;
}

.axis-gallery figure {
  flex: 0 0 clamp(240px, 27vw, 380px);
  margin: 0;
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 8px;
  scroll-snap-align: start;
}

.axis-gallery-large {
  flex-basis: clamp(260px, 29vw, 410px);
}

.axis-gallery-wide {
  flex-basis: clamp(300px, 36vw, 520px);
}

.axis-gallery img {
  width: auto;
  max-width: 100%;
  max-height: min(54vh, 500px);
  height: auto;
  border: 1px solid var(--line);
  background: var(--soft);
}

.axis-gallery figcaption {
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
}

.product-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.product {
  display: grid;
  grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr));
  grid-template-rows: auto auto auto;
  column-gap: var(--grid-gutter);
  row-gap: 16px;
  align-items: start;
  min-height: 384px;
  padding: 24px 0 32px;
  border-bottom: 1px solid var(--line);
}

.product-index {
  grid-column: 1 / 2;
  grid-row: 1;
  color: var(--muted);
  font-size: var(--type-card-title);
  line-height: var(--line-card-title);
}

.product-copy {
  grid-column: 2 / 6;
  grid-row: 1;
  display: grid;
  align-content: start;
  gap: 8px;
}

.product-title {
  margin: 0;
  font-size: var(--type-product-title);
  font-weight: 700;
  line-height: var(--line-product-title);
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.product-title-button {
  max-width: 100%;
  display: inline;
  font: inherit;
  text-transform: inherit;
}

.product-title-button:hover,
.product-title-button:focus-visible {
  text-decoration: underline;
  text-underline-offset: 5px;
  outline: none;
}

.product-meta,
.product-description {
  margin: 0;
  color: var(--muted);
}

.product-description {
  max-width: 34ch;
  white-space: pre-line;
  line-height: var(--line-body);
}

.product-art {
  grid-column: 7 / 13;
  grid-row: 1 / span 4;
  position: relative;
  min-height: 384px;
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--product-bg, var(--soft));
  touch-action: pan-y;
}

.product-art::before,
.product-art::after {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 2;
  border: 1px solid var(--gallery-guide, rgba(17, 17, 17, 0.28));
  pointer-events: none;
}

.product-art::after {
  inset: auto 0 50%;
  border-width: 1px 0 0;
}

.gallery-track {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform 240ms ease;
}

.gallery-slide {
  min-width: 100%;
  min-height: 384px;
  display: grid;
  place-items: center;
  background: var(--slide-bg, var(--product-bg));
}

.gallery-slide img {
  width: min(82%, 360px);
  filter: var(--photo-filter, contrast(1.18) saturate(0.65));
  mix-blend-mode: var(--photo-blend, multiply);
}

.cart-thumb img {
  width: 80%;
  mix-blend-mode: multiply;
}

.gallery-control {
  position: absolute;
  z-index: 3;
  bottom: 10px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: var(--gallery-ui, var(--ink));
  background: transparent;
  border: 0;
  text-align: center;
  opacity: 0.72;
}

.gallery-control:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gallery-prev {
  left: 12px;
}

.gallery-next {
  left: 40px;
}

.gallery-count {
  position: absolute;
  z-index: 3;
  right: 12px;
  bottom: 10px;
  color: var(--gallery-ui, var(--muted));
  font-size: var(--type-caption);
  opacity: 0.72;
}

.product-actions {
  grid-column: 2 / 6;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-content: start;
  gap: 16px;
  max-width: none;
  padding-top: 8px;
}

.option-set {
  display: grid;
  gap: 8px;
}

.option-set:nth-of-type(1) {
  grid-column: 1 / 3;
}

.option-set:nth-of-type(2) {
  grid-column: 3 / 5;
}

.option-label {
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
}

.swatches,
.sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.swatch {
  width: 18px;
  height: 18px;
  border: 1px solid var(--line);
  background: var(--color);
}

.swatch.is-selected,
.size.is-selected {
  outline: 1px solid var(--line);
  outline-offset: 2px;
}

.size {
  min-width: 28px;
  min-height: 24px;
  padding: 4px 7px;
  border: 1px solid var(--line);
  text-align: center;
}

.add {
  grid-column: 1 / 3;
  width: fit-content;
  margin-top: 0;
  border-bottom: 1px solid currentColor;
  font-weight: 700;
  text-transform: uppercase;
}

.product-buy-meta {
  grid-column: 3 / 5;
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-top: 0;
  font-size: var(--type-body-large);
}

.detail-toggle {
  color: var(--muted);
  border-bottom: 1px solid transparent;
  font-weight: 700;
  text-transform: uppercase;
}

.detail-toggle:hover {
  border-bottom-color: currentColor;
}

.product-details {
  grid-column: 2 / 6;
  grid-row: 3;
  display: none;
  grid-template-columns: 1fr;
  padding: 0 0 4px;
  color: var(--muted);
}

.product.is-open .product-details {
  display: grid;
}

.product-details p {
  margin: 0;
}

.product-sheet {
  position: fixed;
  inset: auto 0 0 auto;
  z-index: 55;
  width: min(720px, calc(100vw - 38px));
  max-height: min(760px, 92vh);
  border: 1px solid var(--line);
  border-width: 1px 0 0 1px;
  background: var(--paper);
  transform: translateY(100%);
  transition: transform 220ms cubic-bezier(0.22, 0.72, 0.2, 1);
  display: grid;
  grid-template-rows: auto 1fr;
}

.product-sheet.is-open {
  transform: translateY(0);
}

.product-sheet-head {
  min-height: 58px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.product-sheet-head h2 {
  margin: 0;
  font-size: var(--type-section-title);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.product-sheet-close {
  flex: 0 0 auto;
  font-size: var(--type-label);
  font-weight: 700;
  text-transform: uppercase;
}

.product-sheet-body {
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--grid-gutter);
  padding: 18px;
}

.product-sheet-media {
  grid-column: 1 / 4;
  min-height: 300px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  background: var(--sheet-bg, var(--soft));
}

.product-sheet-media img {
  width: min(82%, 360px);
  filter: var(--sheet-filter, contrast(1.18) saturate(0.65));
  mix-blend-mode: var(--sheet-blend, multiply);
}

.product-sheet-copy {
  grid-column: 4 / 7;
  display: grid;
  align-content: start;
  gap: 16px;
}

.product-sheet-copy p {
  margin: 0;
}

.product-sheet-copy .product-description {
  color: var(--ink);
}

.product-sheet-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--grid-gutter);
  color: var(--muted);
}

.product-sheet-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 16px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.sheet-add {
  border-bottom: 1px solid currentColor;
  font-weight: 700;
  text-transform: uppercase;
}

.cart-panel {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 50;
  width: min(390px, 100vw);
  background: var(--paper);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform 180ms ease;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.cart-panel.is-open {
  transform: translateX(0);
}

.cart-head,
.cart-footer {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cart-footer {
  border-top: 1px solid var(--line);
  border-bottom: 0;
  display: grid;
}

.cart-head h2 {
  margin: 0;
  font-size: var(--type-card-title);
  font-weight: 700;
}

.close-cart {
  font-size: var(--type-body-large);
}

.cart-items {
  overflow: auto;
}

.cart-empty,
.cart-line {
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.cart-line {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: start;
}

.cart-thumb {
  min-height: 56px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  background: var(--product-bg);
}

.cart-thumb img {
  width: 80%;
  mix-blend-mode: multiply;
}

.cart-line h3 {
  margin: 0 0 5px;
  font-size: var(--type-body);
  font-weight: 700;
  text-transform: uppercase;
}

.cart-line p {
  margin: 0;
  color: var(--muted);
}

.remove-line {
  color: var(--muted);
  border-bottom: 1px solid currentColor;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.checkout {
  min-height: 42px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
}

.scrim {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(17, 17, 17, 0.16);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.scrim.is-open {
  opacity: 1;
  pointer-events: auto;
}

.menu-scrim {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: rgba(17, 17, 17, 0.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.menu-scrim.is-open {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 1040px) {
  .product {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    grid-template-rows: auto auto auto auto;
    min-height: 336px;
  }

  .product-index {
    grid-column: 1 / 2;
  }

  .product-copy {
    grid-column: 2 / 5;
    grid-row: 1;
  }

  .product-art {
    grid-column: 5 / 9;
    grid-row: 1 / span 4;
    min-height: 336px;
  }

  .gallery-slide {
    min-height: 336px;
  }

  .product-actions,
  .product-details {
    grid-column: 2 / 5;
  }

  .product-actions {
    grid-row: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .option-set:nth-of-type(1),
  .add {
    grid-column: 1 / 2;
  }

  .option-set:nth-of-type(2),
  .product-buy-meta {
    grid-column: 2 / 3;
  }

  .product-details {
    grid-row: 3;
  }
}

@media (max-width: 760px) {
  :root {
    --grid-gutter: 16px;
    --grid-margin: 12px;
    --type-body-large: 16px;
    --line-body-large: 24px;
    --type-prose: 19px;
    --line-prose: 28px;
    --type-page-title: 30px;
    --line-page-title: 36px;
    --type-feature-title: 36px;
    --line-feature-title: 42px;
    --type-product-title: 24px;
    --line-product-title: 32px;
  }

  body {
    background: var(--paper);
  }

  .mobile-bar {
    position: sticky;
    top: 0;
    z-index: 30;
    min-height: 58px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
    background: rgba(247, 246, 241, 0.95);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
  }

  .menu-toggle {
    display: inline-block;
    justify-self: start;
  }

  .mobile-bar .brand img {
    width: 116px;
  }

  .mobile-bar .brand {
    justify-self: center;
  }

  .mobile-bar .cart-toggle {
    justify-self: end;
  }

  .mobile-bar .mobile-home {
    justify-self: end;
  }

  .rail {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 45;
    width: min(320px, 88vw);
    height: 100dvh;
    overflow: auto;
    padding: 76px 18px 24px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transform: translateX(-100%);
    transition: transform 180ms ease;
  }

  .home-page .shop-shell,
  .shop-page .shop-shell {
    display: block;
    border-top: 1px solid var(--line);
  }

  .home-page .shop-shell .rail,
  .shop-page .shop-shell .rail {
    position: fixed;
    inset: 0 auto 0 0;
    top: auto;
    height: 100dvh;
  }

  .rail.is-open {
    transform: translateX(0);
  }

  .brand-large {
    display: none;
  }

  .shop-page .rail .shop-panel-close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: block;
    font-size: var(--type-label);
    font-weight: 700;
    text-transform: uppercase;
  }

  .nav-links {
    display: grid;
    gap: 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
  }

  .hero-menu-rail,
  .inquiry-menu-rail,
  .inquiry-panel {
    display: none;
  }

  :is(.home-shell, .site-shell) .home-panel {
    z-index: 45;
    width: min(320px, 88vw);
    padding: 76px 18px 24px;
    border-right: 1px solid var(--line);
    background: rgba(247, 246, 241, 0.94);
    color: var(--ink);
    gap: 18px;
    transform: translate3d(calc(-100% - 24px), 0, 0);
    transition:
      transform 180ms ease,
      visibility 0s linear 180ms;
  }

  :is(.home-shell, .site-shell) .home-panel.is-open {
    transform: translate3d(0, 0, 0);
    transition: transform 180ms ease;
  }

  :is(.home-shell, .site-shell) .home-panel .panel-close,
  :is(.home-shell, .site-shell) .home-panel .panel-label,
  :is(.home-shell, .site-shell) .home-panel .brand-large {
    display: none;
  }

  :is(.home-shell, .site-shell) .home-panel .nav-links {
    display: grid;
    gap: 8px;
    padding-bottom: 10px;
    border-top: 0;
    border-bottom: 1px solid var(--line);
  }

  :is(.home-shell, .site-shell) .home-panel .nav-links a {
    width: fit-content;
    min-height: 0;
    padding: 0;
    border-bottom: 1px solid transparent;
    display: inline-flex;
    gap: 0;
    font-size: var(--type-body);
    line-height: var(--line-body);
  }

  :is(.home-shell, .site-shell) .home-panel .nav-links a span {
    display: none;
  }

  :is(.home-shell, .site-shell) .home-panel .nav-links a:hover,
  :is(.home-shell, .site-shell) .home-panel .nav-links a:focus-visible,
  :is(.home-shell, .site-shell) .home-panel .nav-links a[aria-current="page"] {
    color: var(--ink);
    border-bottom-color: currentColor;
  }

  .catalog {
    padding: 0 12px 36px;
  }

  .site-footer {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 32px;
  }

  .site-footer div {
    grid-column: 1 / -1;
  }

  .landing {
    min-height: 100vh;
    padding: 26px 0;
  }

  .landing-nav {
    inset: 18px 12px auto;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .landing-inner {
    min-height: 44vh;
    padding: 40px 12px 0;
  }

  .landing-logo-mark {
    grid-column: 1 / -1;
    width: min(92vw, 520px);
  }

  .catalog-top {
    position: static;
    margin: 0 -12px;
    padding: 16px 12px;
  }

  .catalog-top > div {
    grid-column: 1 / -1;
  }

  .desktop-cart {
    display: none;
  }

  .about-body {
    padding-top: 32px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .about-body p {
    grid-column: 1 / -1;
  }

  .site-home {
    gap: 0;
    padding: 0;
  }

  .home-hero {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: minmax(92px, auto) 1fr minmax(112px, auto);
    min-height: calc(100vh - 58px);
    padding: 0 12px;
    align-content: stretch;
    row-gap: 0;
  }

  .home-hero-topline,
  .home-hero-bottom {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
    font-size: var(--type-hero-label);
  }

  .home-hero-topline span,
  .home-hero-topline span:nth-child(2),
  .home-hero-topline span:nth-child(3),
  .home-hero-topline span:last-child,
  .home-hero-bottom > *,
  .home-hero-bottom > *:nth-child(2),
  .home-hero-bottom > *:nth-child(3),
  .home-hero-bottom > *:nth-child(4) {
    grid-column: auto;
    justify-self: stretch;
    text-align: left;
  }

  .home-hero-topline span:nth-child(even),
  .home-hero-bottom > *:nth-child(even) {
    justify-self: end;
    text-align: right;
  }

  .home-hero-mark {
    width: min(82vw, 420px);
  }

  .project-page {
    gap: 32px;
  }

  .project-intro,
  .project-feature,
  .project-index,
  .project-detail-hero,
  .axis-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .project-intro {
    padding-top: 32px;
  }

  .project-intro p:first-child,
  .project-intro p:last-child,
  .project-feature-media,
  .project-feature-copy,
  .project-card,
  .project-card-large,
  .project-card-wide,
  .axis-hero-media,
  .project-detail-copy,
  .axis-gallery figure,
  .axis-gallery-large,
  .axis-gallery-wide {
    grid-column: 1 / -1;
  }

  .project-intro p:first-child {
    font-size: var(--type-page-title);
    line-height: var(--line-page-title);
  }

  .project-feature {
    padding: 20px 0;
  }

  .project-feature-copy h2 {
    font-size: var(--type-feature-title);
    line-height: var(--line-feature-title);
  }

  .project-card,
  .project-card-large,
  .project-card-wide {
    min-height: 0;
  }

  .project-media,
  .project-card-large .project-media {
    min-height: 240px;
  }

  .project-detail-page {
    gap: 32px;
  }

  .project-detail-hero {
    padding-top: 32px;
  }

  .axis-hero-media {
    justify-self: center;
  }

  .axis-hero-media img {
    max-height: 62vh;
  }

  .project-detail-copy {
    grid-template-columns: 1fr;
  }

  .project-meta-list,
  .project-detail-copy p {
    grid-column: 1 / -1;
  }

  .axis-gallery {
    display: flex;
    overflow-x: auto;
  }

  .axis-gallery figure,
  .axis-gallery-large,
  .axis-gallery-wide {
    flex: 0 0 min(82vw, 360px);
  }

  .axis-gallery img {
    max-height: 58vh;
  }

  .project-meta-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .project-detail-copy p {
    font-size: var(--type-body-large);
    line-height: var(--line-body-large);
  }

  .product {
    grid-template-columns: 34px minmax(0, 1fr);
    min-height: 0;
    row-gap: 16px;
    padding: 24px 0;
  }

  .product-index {
    grid-column: 1 / 2;
  }

  .product-copy {
    grid-column: 2;
    grid-row: auto;
  }

  .product-art,
  .product-actions,
  .product-details {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .product-title {
    font-size: var(--type-product-title);
    line-height: var(--line-product-title);
  }

  .product-art {
    min-height: 240px;
  }

  .gallery-slide {
    min-height: 240px;
  }

  .product-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .option-set:nth-of-type(1),
  .add {
    grid-column: 1 / 2;
  }

  .option-set:nth-of-type(2),
  .product-buy-meta {
    grid-column: 2 / 3;
  }

  .product-buy-meta {
    display: grid;
    gap: 14px;
  }

  .product-details {
    grid-template-columns: 1fr;
  }

  .product-sheet {
    left: 0;
    width: 100vw;
    max-height: 92vh;
    border-left: 0;
  }

  .product-sheet-body {
    grid-template-columns: 1fr;
  }

  .product-sheet-media,
  .product-sheet-copy {
    grid-column: 1 / -1;
  }

  .product-sheet-media {
    min-height: 240px;
  }

  .product-sheet-meta {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cart-panel {
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
