@font-face {
  font-family:Inter;
  src:url('/assets/inter.woff2') format('woff2');
  font-style:normal;
  font-weight:100 900;
  font-display:swap;
}

:root {
  --bg:#fdfdfd;
  --ink:#111;
  --sub:#595959;
  --line:#dadada;
  --soft:#f0f0f0;
  --gutter:clamp(22px,3.55vw,64px);
  --gap:24px;
  --max:1600px;
  --ease:cubic-bezier(.22,.75,.25,1);
  color:var(--ink);
  background:var(--bg);
  font-family:Inter,Arial,sans-serif;
  font-synthesis:none;
}

* {
  box-sizing:border-box;
}

body {
  margin:0;
}

html {
  scrollbar-gutter:stable;
}

a {
  color:inherit;
  text-decoration:none;
}

button,input,textarea {
  font:inherit;
}

button {
  cursor:pointer;
}

button:disabled {
  cursor:default;
}

img {
  display:block;
  width:100%;
  height:auto;
}

h1,h2,h3,p,figure {
  margin:0;
}

button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible {
  outline:2px solid #606060;
  outline-offset:4px;
}

[hidden] {
  display:none!important;
}

.skip {
  position:fixed;
  z-index:20;
  top:10px;
  left:12px;
  transform:translateY(-160%);
  background:var(--ink);
  color:white;
  padding:12px;
}

.skip:focus {
  transform:none;
}

.wrap {
  max-width:var(--max);
  margin-inline:auto;
  padding-inline:var(--gutter);
}

.site-header {
  position:sticky;
  top:0;
  z-index:5;
  background:rgb(253 253 253 / 85%);
  backdrop-filter:blur(12px);
  transition:transform .3s var(--ease);
  isolation:isolate;
}

.site-header .wrap {
  min-height:70px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
}

.wordmark {
  font-size:24px;
  font-weight:750;
  letter-spacing:-.088em;
  line-height:1;
  white-space:nowrap;
}

.site-nav {
  display:flex;
  gap:24px;
  align-items:center;
}

.site-nav a {
  font-size:14px;
  font-weight:500;
  line-height:1;
  text-transform:uppercase;
  position:relative;
}

.site-nav a::after {
  content:"";
  position:absolute;
  inset:auto 0 -5px;
  height:1px;
  background:currentColor;
  transform:scaleX(0);
  transform-origin:right;
  transition:transform .3s var(--ease);
}

.site-nav a:hover::after,.site-nav a:focus-visible::after {
  transform:scaleX(1);
  transform-origin:left;
}

.menu-toggle {
  display:none;
}

.heading {
  font-weight:710;
  font-optical-sizing:auto;
  letter-spacing:-.075em;
  word-spacing:.075em;
  line-height:1.01;
  text-wrap:balance;
}

.hero-title {
  font-size:clamp(63px,9.05vw,136px);
  text-wrap:unset;
}

.title-line {
  display:block;
}

.heading .word {
  display:inline-block;
  white-space:nowrap;
}

.heading .letter {
  display:inline-block;
  transform-origin:center;
}

.js .heading[data-reveal]:not(.is-visible) .letter {
  opacity:0;
  transform:translateY(.27em);
  filter:blur(7px);
}

.js .heading.is-visible .letter {
  animation:letter-in .61s var(--ease) both;
  animation-delay:calc(var(--i) * 13ms);
}

@keyframes letter-in {
  from {
    opacity:0;
    transform:translateY(.27em);
    filter:blur(7px);
  }
  to {
    opacity:1;
    transform:none;
    filter:blur(0);
  }
}

.intro {
  color:var(--sub);
  font-size:18px;
  font-weight:470;
  line-height:1.49;
  max-width:460px;
  letter-spacing:-.017em;
}

.pill {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  border:1px solid transparent;
  border-radius:99px;
  min-height:40px;
  padding:0 29px;
  background:#202020;
  color:white;
  font-size:16px;
  font-weight:500;
  white-space:nowrap;
  transition:background .23s,color .23s,border-color .23s;
}

.pill:hover {
  background:#000;
}

.pill svg {
  width:13px;
  height:13px;
  transition:transform .3s var(--ease);
}

.pill:hover svg {
  transform:translateX(4px);
}

.pill.light {
  background:transparent;
  color:var(--ink);
  border-color:#ccc;
}

.pill.light:hover {
  background:var(--ink);
  border-color:var(--ink);
  color:white;
}

.pill:disabled {
  opacity:.55;
}

.section {
  padding-block:clamp(75px,8.4vw,130px);
  border-bottom:1px solid var(--line);
}

.section:last-child {
  border-bottom:0;
}

.section-title {
  font-size:clamp(44px,5.45vw,87px);
}

.section-head {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:28px;
  margin-bottom:46px;
}

.eyebrow {
  display:block;
  font-size:16px;
  margin-bottom:22px;
  color:#191919;
}

.eyebrow span {
  color:#767676;
}

.section-head .intro {
  margin-top:18px;
}

.center {
  text-align:center;
}

.center .heading,.center .intro {
  margin-inline:auto;
}

.center .intro {
  margin-top:18px;
}

.card-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:40px var(--gap);
}

.card {
  min-width:0;
  display:block;
}

.card-media {
  position:relative;
  display:block;
  aspect-ratio:4/3;
  overflow:hidden;
  background:#191919;
}

.card-media img {
  height:100%;
  object-fit:cover;
  transition:opacity .48s var(--ease),transform .8s var(--ease);
}

.card-media .alternate {
  position:absolute;
  inset:0;
  opacity:0;
  transform:scale(1.04);
}

.card:hover .primary,.card:focus-visible .primary {
  transform:scale(1.025);
}

.card:hover .alternate,.card:focus-visible .alternate {
  opacity:1;
  transform:none;
}

.card-meta {
  display:flex;
  justify-content:space-between;
  gap:10px;
  margin-top:13px;
  font-size:19px;
  letter-spacing:-.02em;
  font-weight:550;
}

.card-category {
  font-size:14px;
  color:var(--sub);
  margin-top:4px;
  display:block;
}


.js [data-rise]:not(.is-visible) {
  opacity:0;
  transform:translateY(22px);
}

.js [data-rise].is-visible {
  animation:rise-in .76s var(--ease) both;
  animation-delay:var(--delay,0ms);
}

@keyframes rise-in {
  from {
    opacity:0;
    transform:translateY(22px);
  }
  to {
    opacity:1;
    transform:none;
  }
}

.process-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:var(--gap);
}

.step {
  min-width:0;
}

.step-art {
  background:#f3f3f3;
  aspect-ratio:4/3;
  display:grid;
  place-items:center;
  overflow:hidden;
  margin-bottom:20px;
}

.step-art svg {
  width:48%;
  max-height:75%;
  transition:transform .75s var(--ease);
}

.step:hover svg {
  transform:scale(1.13) rotate(-6deg);
}

.step h3,.tile h3 {
  font-size:20px;
  letter-spacing:-.03em;
  margin-bottom:8px;
}

.step p,.tile p {
  font-size:15px;
  color:var(--sub);
  line-height:1.55;
}

.ticker {
  mask-image:linear-gradient(90deg,transparent,#000 9% 91%,transparent);
  overflow:hidden;
  margin-top:22px;
  position:relative;
}

.ticker-inner {
  display:flex;
  gap:var(--gap);
  width:max-content;
  animation:marquee 30s linear infinite;
}

.ticker:hover .ticker-inner {
  animation-play-state:paused;
}

.ticker.reverse .ticker-inner {
  animation-direction:reverse;
  animation-duration:36s;
}

.ticker span {
  width:clamp(155px,19vw,270px);
  height:clamp(90px,12vw,170px);
  display:grid;
  place-items:center;
  background:#f4f4f4;
  font-size:clamp(19px,2.6vw,35px);
  font-weight:720;
  letter-spacing:-.07em;
}

.ticker span:nth-child(2n) {
  font-family:Georgia,serif;
  font-style:italic;
}

.ticker span:nth-child(3n) {
  font-family:monospace;
  letter-spacing:-.06em;
}

@keyframes marquee {
  to {
    transform:translateX(calc(-50% - var(--gap)/2));
  }
}

.about-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:var(--gap);
}

.about-copy {
  display:flex;
  flex-direction:column;
  align-items:start;
  gap:22px;
  padding-bottom:18px;
}

.about-copy h3 {
  margin-top:auto;
  font-size:clamp(24px,2.6vw,43px);
  letter-spacing:-.06em;
}

.about-copy .intro {
  max-width: 540px;
}

.team-panel {
  align-self: stretch;
  display: grid;
  align-content: center;
  gap: 28px;
  padding: clamp(24px, 6vw, 72px);
  background: #181818;
  color: #f7f7f7;
}

.team-panel-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -.055em;
}

.team-panel-brand img { width: 34px; height: 34px; filter: invert(1); }
.team-panel ul { list-style: none; margin: 0; padding: 0; }
.team-panel li {
  padding-block: 13px;
  border-top: 1px solid #ffffff30;
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 500;
}
.team-panel li:last-child { border-bottom: 1px solid #ffffff30; }



.tile-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:var(--gap);
}

.tile {
  background:#f5f5f5;
  min-height:155px;
  padding:26px;
}

.tile p {
  max-width:31ch;
}

.page-heading {
  padding-top:28px;
  padding-bottom:48px;
  border-bottom:1px solid var(--line);
}

.page-heading .intro {
  margin-top:24px;
  max-width:480px;
}

.listing {
  padding-top:24px;
  padding-bottom:clamp(75px,8vw,130px);
}

.filters {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:24px;
}

.filter-label {
  display:block;
  font-size:13px;
  font-weight:500;
  margin-bottom:12px;
}

.filter-options {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.filter {
  border:0;
  background:var(--soft);
  color:#4c4c4c;
  padding:4px 8px;
  min-height:25px;
  font-size:14px;
  transition:background .2s,color .2s;
}

.filter:hover {
  background:#ddd;
}

.filter[aria-pressed=true] {
  background:var(--ink);
  color:#fff;
}

.search {
  width:min(248px,100%);
  height:48px;
  display:flex;
  align-items:center;
  gap:10px;
  background:var(--soft);
  padding:0 13px;
}

.search svg {
  width:14px;
  height:14px;
  color:#696969;
  flex:none;
}

.search input {
  width:100%;
  background:none;
  border:0;
  color:var(--ink);
  outline-offset:2px;
}

.empty {
  padding:65px 0;
  color:var(--sub);
}

.detail {
  padding-top:28px;
  padding-bottom:100px;
}

.detail-grid {
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:clamp(28px,4.2vw,70px);
  align-items:start;
}

.detail-media {
  display:grid;
  gap:var(--gap);
}

.detail-media img {
  aspect-ratio:4/3;
  object-fit:cover;
  background:#222;
}

.detail-info {
  position:sticky;
  top:110px;
}

.detail-heading {
  font-size:clamp(54px,7.5vw,105px);
  margin-bottom:24px;
}

.detail-info .intro {
  margin-bottom:30px;
}

.price {
  font-size:29px;
  letter-spacing:-.045em;
  font-weight:620;
  margin-bottom:6px;
}

.detail-spec {
  color:var(--sub);
  font-size:14px;
}

.action-row {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:24px 0;
}

.detail-list {
  list-style:none;
  margin:24px 0 0;
  padding:0;
  border-top:1px solid var(--line);
}

.detail-list li {
  display:flex;
  justify-content:space-between;
  gap:10px;
  border-bottom:1px solid var(--line);
  padding-block:14px;
  font-size:14px;
}

.detail-list li span:last-child {
  color:var(--sub);
}

.content {
  padding-top:48px;
  padding-bottom:90px;
}

.prose {
  max-width:720px;
  font-size:18px;
  line-height:1.62;
  color:var(--sub);
}

.prose h2 {
  color:var(--ink);
  font-size:30px;
  letter-spacing:-.055em;
  margin-top:35px;
  margin-bottom:12px;
}

.prose p+p {
  margin-top:20px;
}


.support-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:var(--gap);
}

.support-grid>div:first-child {
  padding-right:25px;
}

.support-grid h2 {
  font-size:clamp(28px,4vw,58px);
  letter-spacing:-.07em;
  margin-bottom:24px;
}

.faq {
  border-top:1px solid var(--line);
}

.faq details {
  border-bottom:1px solid var(--line);
  padding:18px 0;
}

.faq summary {
  cursor:pointer;
  font-weight:550;
  display:flex;
  justify-content:space-between;
  gap:12px;
  list-style:none;
}

.faq summary::-webkit-details-marker {
  display:none;
}

.faq summary::after {
  content:'+';
  font-size:22px;
  line-height:1;
  transition:transform .22s var(--ease);
}

.faq details[open] summary::after {
  transform:rotate(45deg);
}

.faq p {
  color:var(--sub);
  padding-top:12px;
  font-size:16px;
  line-height:1.5;
}

.newsletter {
  background:#141414;
  color:#fff;
  padding-block:70px;
}

.newsletter .wrap {
  display:grid;
  grid-template-columns:1fr .62fr;
  gap:45px;
  align-items:end;
}

.newsletter .section-title {
  font-size:clamp(37px,5vw,72px);
  text-wrap:balance;
}

.newsletter label {
  display:block;
  font-size:14px;
  margin-bottom:8px;
}

.newsletter-fields {
  display:flex;
  gap:8px;
  align-items:stretch;
}

.newsletter input {
  min-width:0;
  flex:1;
  background:#252525;
  border:1px solid #4b4b4b;
  color:#fff;
  padding:10px 12px;
}

.newsletter .pill {
  background:#f8f8f8;
  color:#181818;
  padding-inline:17px;
}

.newsletter-status {
  font-size:13px;
  margin-top:10px;
  color:#ddd;
  min-height:20px;
}

.footer {
  padding-block:64px 30px;
}

.footer-top {
  display:grid;
  grid-template-columns:2fr repeat(3,1fr);
  gap:var(--gap);
  padding-bottom:54px;
}

.footer-brand p {
  margin-top:18px;
  color:var(--sub);
  font-size:15px;
  line-height:1.5;
  max-width:260px;
}

.footer-column {
  display:grid;
  align-content:start;
  gap:10px;
  font-size:14px;
}

.footer-column strong {
  font-size:12px;
  font-weight:500;
  color:var(--sub);
  margin-bottom:6px;
}

.footer a:hover {
  text-decoration:underline;
  text-underline-offset:3px;
}

.footer-end {
  display:flex;
  justify-content:space-between;
  gap:20px;
  border-top:1px solid var(--line);
  padding-top:22px;
  color:var(--sub);
  font-size:13px;
}




.cookie-banner {
  position: fixed;
  z-index: 11;
  left: max(12px, env(safe-area-inset-left));
  bottom: max(12px, env(safe-area-inset-bottom));
  width: min(510px, calc(100% - 24px));
  padding: clamp(18px, 4vw, 30px);
  border: 1px solid #e4e4e4;
  border-radius: clamp(20px, 4vw, 28px);
  background: #fdfdfd;
  color: #252525;
  box-shadow: 0 8px 30px #0002;
  font-size: clamp(15px, 2.6vw, 20px);
  line-height: 1.55;
}

.cookie-banner a {
  color: #006fbb;
}

.cookie-banner a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 15px);
  margin-top: clamp(16px, 4vw, 24px);
}

.cookie-actions button {
  min-height: 50px;
  padding: 6px 12px;
  border: 0;
  border-radius: 15px;
  background: #dedede;
  color: #080808;
  font-weight: 600;
}

.cookie-actions button[value="accepted"] {
  background: #080808;
  color: #fff;
}

.page-wipe {
  position:fixed;
  inset:0;
  z-index:12;
  pointer-events:none;
  visibility:hidden;
  opacity:0;
  background:var(--bg);
  transition:opacity .21s ease,visibility 0s linear .21s;
}

.leaving .page-wipe {
  visibility:visible;
  opacity:1;
  transition:opacity .21s ease;
}

.page-main {
  min-height:52vh;
}

.js .page-main {
  animation:page-in .49s var(--ease) both;
}

@keyframes page-in {
  from {
    opacity:0;
    transform:translateY(7px);
  }
  to {
    opacity:1;
    transform:none;
  }
}

.demo {
  padding-top:36px;
  padding-bottom:90px;
}

.demo .pill {
  margin-bottom:24px;
}

.demo-frame {
  background:#161616;
  color:#f7f7f7;
  padding:clamp(24px,5vw,72px);
  min-height:570px;
}

.demo-frame.light {
  background:#eee;
  color:#151515;
}

.demo-frame .heading {
  font-size:clamp(59px,10vw,150px);
  margin-top:72px;
}

.demo-frame p {
  margin-top:25px;
  font-size:20px;
  max-width:40ch;
}

.demo-frame img {
  max-width:730px;
  margin-top:40px;
}

@media(max-width:950px) {
  .hero-title {
    font-size:clamp(58px,9.1vw,99px);
  }
  .process-grid {
    grid-template-columns:repeat(2,1fr);
  }
  .tile-grid {
    grid-template-columns:repeat(2,1fr);
  }
  .detail-grid {
    grid-template-columns:1fr 1fr;
  }
  .detail-info {
    top:95px;
  }
}

@media(max-width:650px) {
  :root {
    --gap:14px;
  }
  .site-header .wrap {
    min-height:61px;
  }
  .wordmark {
    font-size:22px;
  }
  .menu-toggle {
    display:inline-flex;
    align-items:center;
    gap:6px;
    background:none;
    border:0;
    padding:8px 0 8px 8px;
    color:var(--ink);
    font-size:13px;
    text-transform:uppercase;
  }
  .menu-toggle svg {
    width:17px;
    height:17px;
  }
  .site-nav {
    display:none;
    position:absolute;
    inset:61px 0 auto;
    flex-direction:column;
    align-items:start;
    padding:16px var(--gutter) 28px;
    gap:19px;
    background:var(--bg);
    border-bottom:1px solid var(--line);
  }
  .site-nav.open {
    display:flex;
  }
  .page-heading,.detail {
    padding-top:24px;
  }
  .hero-title {
    font-size:clamp(38px,9.75vw,65px);
    letter-spacing:-.073em;
  }
  .intro {
    font-size:16px;
  }
  .section {
    padding-block:62px;
  }
  .section-head {
    align-items:start;
    flex-direction:column;
    gap:17px;
    margin-bottom:27px;
  }
  .section-title {
    font-size:clamp(38px,9.8vw,55px);
  }
  .eyebrow {
    font-size:14px;
    margin-bottom:15px;
  }
  .card-grid,.about-grid,.support-grid,.detail-grid,.newsletter .wrap {
    grid-template-columns:1fr;
  }
  .card-grid {
    row-gap:26px;
  }
  .card-meta {
    font-size:17px;
  }
  .process-grid {
    row-gap:27px;
  }
  .step h3,.tile h3 {
    font-size:17px;
  }
  .step p,.tile p {
    font-size:14px;
  }
  .step-art {
    margin-bottom:14px;
  }
  .about-copy h3 {
    margin-top:8px;
  }
  .about-copy {
    gap:16px;
  }
  .tile-grid {
    grid-template-columns:1fr;
  }
  .tile {
    min-height:auto;
    padding:22px;
  }
  .page-heading {
    padding-bottom:32px;
  }
  .page-heading .intro {
    margin-top:18px;
  }
  .filters {
    align-items:stretch;
    flex-direction:column;
    gap:16px;
  }
  .search {
    width:100%;
  }
  .detail-info {
    position:static;
    grid-row:2;
  }
  .detail-media img:not(:first-child) {
    display:none;
  }
  .detail {
    padding-bottom:64px;
  }
  .content {
    padding-block:32px 65px;
  }
  .support-grid>div:first-child {
    padding-right:0;
  }
  .support-grid {
    row-gap:35px;
  }
  .newsletter {
    padding-block:48px;
  }
  .newsletter .wrap {
    gap:27px;
  }
  .newsletter-fields {
    flex-wrap:wrap;
  }
  .footer {
    padding-block:48px 26px;
  }
  .footer-top {
    grid-template-columns:repeat(2,1fr);
    row-gap:26px;
    padding-bottom:32px;
  }
  .footer-brand {
    grid-column:1/-1;
  }
  .footer-end {
    flex-direction:column;
    gap:7px;
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important;
  }
  .js .heading[data-reveal] .letter,.js [data-rise] {
    opacity:1!important;
    transform:none!important;
    filter:none!important;
  }
  .ticker-inner {
    animation:none;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
}

.brand img {
  width: 24px;
  height: 24px;
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px clamp(12px, 2vw, 28px);
}

.product-grid .card-media { aspect-ratio: 1348 / 936; }
.preview-caption {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 5px 8px;
  border-radius: 4px;
  background: #111;
  color: #fff;
  font-size: 12px;
}
.detail-media { position: relative; display: block; align-self: start; }
.card-buy.pill {
  margin-top: 12px;
  padding: 7px 12px;
  min-height: 36px;
  font-size: 12px;
  white-space: nowrap;
}
.card-buy span { margin-left: 4px; }
.product-grid .card-meta { font-size: clamp(14px, 1.5vw, 18px); }
.product-grid .card-meta span:last-child { white-space: nowrap; }

.verification-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 13px 16px;
  margin-top: 8px;
  border: 1px solid #000;
  border-radius: 8px;
  background: #fff;
  color: #000;
  font-size: 14px;
}

.verification-notice address {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-style: normal;
}

.verification-notice a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 8fr);
  align-items: center;
  gap: clamp(24px, 3.2vw, 54px);
  padding-block: clamp(35px, 5.4vw, 82px);
  border-bottom: 1px solid var(--line);
}

.home-title {
  font-size: clamp(44px, 5.15vw, 80px);
  text-wrap: unset;
}

.home-intro-actions {
  display: grid;
  justify-items: start;
  gap: 23px;
  margin-top: 24px;
}

.home-intro-actions .intro {
  max-width: 37ch;
}

.home-gallery {
  container-type: inline-size;
  scroll-margin-top: 88px;
  min-width: 0;
  padding: clamp(15px, 2vw, 29px);
  border-radius: 14px;
  background: #000;
  color: #fff;
}

.home-gallery-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 17px;
}

.home-gallery-header h2 {
  font-size: clamp(17px, 1.6vw, 23px);
  letter-spacing: -.04em;
}

.home-gallery-header a {
  font-size: 13px;
  white-space: nowrap;
}

.home-gallery-header a:hover,
.home-gallery .card-meta a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-gallery .product-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 165px), 1fr));
  gap: 15px;
}

@container (min-width: 350px) and (max-width: 715px) {
  .home-gallery .product-grid:has(> .card:nth-child(4):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.home-gallery .card {
  display: flex;
  flex-direction: column;
  padding: 0 12px 12px;
  border-radius: 8px;
  background: #fff;
  color: #000;
}

.home-gallery .card-media {
  margin: 0 -12px;
  border-bottom: 1px solid #000;
  border-radius: 8px 8px 0 0;
}

.home-gallery .card-meta {
  font-size: clamp(14px, 1.25vw, 17px);
  flex-wrap: wrap;
  row-gap: 4px;
}

.home-gallery .card-category {
  color: inherit;
  margin-bottom: 12px;
}

.home-gallery .card-buy {
  align-self: start;
  margin-top: auto;
  border-color: #000;
  background: #000;
  color: #fff;
}

.home-gallery .card-buy:hover {
  background: #fff;
  color: #000;
}

.home-gallery .preview-caption {
  background: #000;
}

.home-gallery-header a:focus-visible {
  outline-color: #fff;
}

.home-gallery .card a:focus-visible {
  outline-color: #000;
}

.home-process {
  padding-top: clamp(52px, 6vw, 95px);
}

@media (max-width: 1000px) {
  .home-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 27px;
    padding-block: clamp(24px, 5vw, 46px);
  }

  .home-title {
    font-size: clamp(38px, 8.2vw, 72px);
  }

  .home-intro-actions {
    gap: 16px;
    margin-top: 17px;
  }
}

@media (max-width: 440px) {
  .home-gallery .product-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.checkout {
  width: min(525px, calc(100% - 24px));
  max-height: calc(100% - 24px);
  padding: 0;
  border: 1px solid #e5e5e5;
  border-radius: 20px;
  background: #fcfcfc;
  color: #161616;
  box-shadow: 0 24px 72px #0006;
}

.checkout::backdrop { background: #1515159c; backdrop-filter: blur(5px); }
html:has(.checkout[open]) { overflow: hidden; }
.checkout-body { position: relative; padding: clamp(19px, 5vw, 32px); }

.checkout-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid #e5e5e5;
  border-radius: 50%;
  background: #fff;
  color: #333;
  font-size: 24px;
  line-height: 1;
}

.checkout-label {
  margin: 0 40px 16px 0;
  color: #515151;
  font-size: 12px;
  font-weight: 670;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.checkout-summary {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #e7e7e7;
  border-radius: 12px;
  background: #f3f3f3;
}

.checkout-summary img {
  width: 68px;
  aspect-ratio: 4 / 3;
  flex: none;
  object-fit: cover;
  border-radius: 6px;
}

.checkout h2 { margin: 0 0 4px; font-size: clamp(18px, 4vw, 24px); line-height: 1.1; }
.checkout-muted { color: #555; font-size: 13px; line-height: 1.45; }
.checkout label, .checkout-method-heading { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 620; }

.checkout input {
  display: block;
  width: 100%;
  margin-bottom: 6px;
  padding: 11px 12px;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  background: #fff;
  color: inherit;
  font-size: 16px;
}

.checkout [data-payment-preview] { margin-top: 17px; }

.checkout-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checkout-options li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 43px;
  padding: 4px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  font-size: 12px;
  white-space: nowrap;
}

.checkout-options img { width: 25px; height: auto; }
.checkout-options .wallet-mark { width: auto; height: 27px; max-width: 100%; object-fit: contain; }

.checkout-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 0;
  border-top: 1px solid #e0e0e0;
}

.checkout-total strong { font-size: 27px; line-height: 1; letter-spacing: -.035em; }
.checkout-total small { color: #555; }

.checkout-pay, .checkout-unavailable {
  display: block;
  width: 100%;
  padding: 12px;
  border: 0;
  border-radius: 8px;
  background: #161616;
  color: #fff;
  font: inherit;
  font-weight: 650;
  text-align: center;
}

.checkout-unavailable { background: #e7e7e7; color: #555; }
.checkout-note { margin-top: 8px; font-size: 12px; text-align: center; }
.checkout-note a { text-decoration: underline; }

@media (max-width: 960px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 650px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.legal-toc {
  display: grid;
  gap: 9px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.45;
}

.legal-document a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.legal-section {
  scroll-margin-top: 96px;
}

.legal-contact {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

@media print {
  .site-header, .footer, .legal-toc, .page-wipe, .skip, .cookie-banner { display: none; }
  .js [data-reveal] .letter, .js [data-rise] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .heading .letter, .page-main { animation: none !important; }
  .legal-document { max-width: none; }
  .legal-section { break-inside: auto; }
  .legal-section h2 { break-after: avoid; }
}
