@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');

:root {
  --paper:#f6f6f2;
  --ink:#242624;
  --muted:#686b65;
  --line:#daddd4;
  --lime:#def284;
  --radius:16px;
  font-family:'DM Sans',Arial,sans-serif;
  color:var(--ink);
  background:var(--paper);
  font-synthesis:none;
  scroll-behavior:smooth;
  scroll-padding-top:28px;
}
* {
  box-sizing:border-box;
}
body {
  margin:0;
}
button,a {
  -webkit-tap-highlight-color:transparent;
}
a {
  color:inherit;
  text-decoration:none;
}
button {
  font:inherit;
  color:inherit;
}
button,a {
  touch-action:manipulation;
}
button {
  cursor:pointer;
}
button:disabled {
  cursor:default;
}
a:focus-visible,button:focus-visible,[tabindex]:focus-visible {
  outline:3px solid #4262dc;
  outline-offset:5px;
}
button:disabled {
  opacity:.58;
}
::selection {
  background:var(--lime);
}
.wrap {
  width:calc(100% - 96px);
  max-width:1440px;
  margin-inline:auto;
}
.skip-link {
  position:fixed;
  top:-100px;
  left:20px;
  padding:16px;
  background:var(--lime);
  z-index:10;
}
.skip-link:focus {
  top:10px;
}
.site-header {
  height:104px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  border-bottom:1px solid var(--line);
}
.brand {
  display:inline-flex;
  align-items:center;
  gap:12px;
  font-family:'Manrope',sans-serif;
  font-size:20px;
  font-weight:800;
  letter-spacing:-1px;
  white-space:nowrap;
}
.brand-mark {
  width:31px;
  height:31px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linejoin:round;
}
.site-header nav {
  display:flex;
  gap:36px;
  align-items:center;
  font-size:14px;
  font-weight:550;
}
.collection-link:hover,.text-link:hover {
  color:#596333;
}
.printables-link {
  display:flex;
  align-items:center;
  gap:12px;
  background:var(--lime);
  padding:13px 18px;
  border-radius:50px;
  transition:background .2s;
}
.printables-link:hover {
  background:#cde567;
}
.free-dot {
  height:7px;
  width:7px;
  background:currentColor;
  border-radius:50%;
}
.intro {
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  padding-block:55px 43px;
  gap:30px;
}
.eyebrow {
  font-size:12px;
  letter-spacing:1.5px;
  font-weight:650;
  margin:0 0 19px;
  line-height:1.6;
}
.tiny-star {
  font-size:18px;
  vertical-align:-2px;
  margin-right:6px;
}
h1,h2,h3,p {
  margin-top:0;
}
h1 {
  font-family:'Manrope',Arial,sans-serif;
  font-size:clamp(56px,6.8vw,104px);
  line-height:1.02;
  letter-spacing:-6px;
  font-weight:500;
  margin-bottom:0;
}
.serif-word {
  font-family:Georgia,'Times New Roman',serif;
  font-style:italic;
  font-weight:400;
  letter-spacing:-5px;
}
.headline-period {
  display:inline-block;
  font-family:Arial,sans-serif;
  font-size:.8em;
  margin-left:30px;
  color:#7c8850;
  vertical-align:3px;
}
.intro-aside {
  padding-bottom:8px;
  margin-right:4%;
  font-size:16px;
  line-height:1.65;
}
.intro-aside p {
  color:var(--muted);
  margin-bottom:27px;
}
.text-link {
  font-size:14px;
  font-weight:600;
  display:flex;
  justify-content:space-between;
  gap:35px;
  align-items:center;
}
.text-link span {
  font-size:24px;
}
.feature-frame {
  border-radius:var(--radius);
  overflow:hidden;
  height:520px;
  position:relative;
  background:#c2d9f3;
}
.feature-track {
  display:flex;
  height:100%;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  overscroll-behavior-x:contain;
  scroll-behavior:smooth;
}
.feature-track::-webkit-scrollbar,.gallery-track::-webkit-scrollbar {
  display:none;
}
.feature-slide {
  position:relative;
  flex:0 0 100%;
  min-width:0;
  height:100%;
  scroll-snap-align:start;
  scroll-snap-stop:always;
  overflow:hidden;
}
.feature-slide>img {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 52%;
  display:block;
}
.feature-label {
  position:absolute;
  top:26px;
  left:28px;
  font-size:12px;
  font-weight:650;
  letter-spacing:1.5px;
  background:#ffffffb3;
  backdrop-filter:blur(12px);
  padding:10px 14px;
  border-radius:30px;
  pointer-events:none;
}
.feature-caption {
  position:absolute;
  left:28px;
  bottom:27px;
  background:#fbfcf4e8;
  backdrop-filter:blur(16px);
  padding:21px 23px;
  min-width:325px;
  max-width:calc(100% - 56px);
  border-radius:10px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:26px;
}
.feature-caption p {
  font-size:12px;
  letter-spacing:.7px;
  color:var(--muted);
  margin-bottom:7px;
}
.feature-caption h2 {
  font-size:28px;
  font-weight:500;
  letter-spacing:-1px;
  margin:0;
}
.feature-caption>a {
  background:var(--ink);
  color:white;
  min-width:46px;
  height:46px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:23px;
  transition:transform .2s;
}
.feature-caption>a:hover {
  transform:rotate(45deg);
}
.feature-controls {
  position:absolute;
  bottom:28px;
  right:28px;
  display:flex;
  gap:9px;
  align-items:center;
}
.feature-controls>span {
  font-size:13px;
  font-variant-numeric:tabular-nums;
  margin-right:10px;
  background:#fbfcf4e8;
  padding:12px;
  border-radius:24px;
}
.round-button {
  border:0;
  background:#fbfcf4e8;
  width:44px;
  height:44px;
  border-radius:50%;
  font-size:22px;
  display:grid;
  place-items:center;
  transition:background .2s,transform .2s;
}
.round-button:hover {
  background:white;
  transform:translateY(-2px);
}
.feature-footnote {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-block:16px;
  font-size:13px;
  color:var(--muted);
}
.feature-footnote>.desktop-text {
  font-size:12px;
  letter-spacing:1.4px;
}
.swipe-hint {
  display:none;
}
.collection {
  padding-top:28px;
}
.section-heading {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:31px;
}
.section-heading .eyebrow {
  margin-bottom:12px;
}
h2 {
  font-family:'Manrope',Arial,sans-serif;
  font-weight:500;
  font-size:40px;
  letter-spacing:-1.8px;
  line-height:1.18;
  margin-bottom:0;
}
.mobile-break {
  display:none;
}
.collection-count {
  font-size:13px;
  color:var(--muted);
  padding-bottom:5px;
  white-space:nowrap;
}
.catalog {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:25px;
}
.model-card {
  min-width:0;
  scroll-margin-top:28px;
}
.gallery {
  position:relative;
  aspect-ratio:4/5;
  border-radius:12px;
  overflow:hidden;
  background:#e8e9e2;
}
.gallery-track {
  display:flex;
  height:100%;
  overflow-x:auto;
  scrollbar-width:none;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  overscroll-behavior-x:contain;
}
.gallery-image {
  flex:0 0 100%;
  height:100%;
  scroll-snap-align:start;
  scroll-snap-stop:always;
  overflow:hidden;
}
.gallery-image img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transform:scale(var(--zoom,1));
  object-position:var(--position,center);
}
.model-badge {
  position:absolute;
  top:16px;
  left:16px;
  background:#fbfcf3e8;
  padding:7px 11px;
  border-radius:20px;
  font-size:12px;
  font-weight:550;
  pointer-events:none;
}
.gallery-nav {
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:36px;
  height:36px;
  padding:0;
  display:grid;
  place-items:center;
  border:0;
  border-radius:30px;
  background:#fff9;
  font-size:20px;
  opacity:0;
  transition:opacity .2s,background .2s;
}
.gallery-nav.prev {
  left:10px;
}
.gallery-nav.next {
  right:10px;
}
.gallery:hover .gallery-nav,.gallery:focus-within .gallery-nav {
  opacity:1;
}
.gallery-nav:hover {
  background:white;
}
.gallery-bottom {
  position:absolute;
  bottom:16px;
  left:16px;
  right:16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  pointer-events:none;
}
.gallery-dots {
  display:flex;
  align-items:center;
  pointer-events:auto;
  background:#f8f9f0d9;
  border-radius:30px;
  padding:0 5px;
  backdrop-filter:blur(5px);
}
.gallery-dot {
  width:28px;
  height:30px;
  border:0;
  background:none;
  padding:10px;
}
.gallery-dot:after {
  content:'';
  display:block;
  width:6px;
  height:6px;
  border-radius:50%;
  background:#24262440;
  transition:background .2s;
}
.gallery-dot[aria-current=true]:after {
  background:var(--ink);
}
.image-count {
  font-size:12px;
  border-radius:20px;
  background:#f8f9f0d9;
  padding:6px 9px;
}
.card-title-row {
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:baseline;
  margin-top:21px;
}
.card-title-row h3 {
  font-family:'Manrope',sans-serif;
  font-size:23px;
  font-weight:600;
  letter-spacing:-.8px;
  margin-bottom:9px;
}
.price {
  font-size:18px;
  white-space:nowrap;
}
.price small {
  font-size:12px;
  color:var(--muted);
  margin-right:4px;
}
.model-description {
  white-space: pre-line;
  font-size:14px;
  line-height:1.6;
  color:var(--muted);
  margin-bottom:17px;
  min-height:44px;
}
.model-meta {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  font-size:12px;
  color:var(--muted);
  margin-bottom:20px;
}
.model-meta span {
  border:1px solid var(--line);
  padding:5px 8px;
  border-radius:4px;
}
.buy-button {
  width:100%;
  min-height:48px;
  border:1px solid var(--ink);
  border-radius:6px;
  background:transparent;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 15px;
  font-size:14px;
  font-weight:550;
  transition:background .2s,color .2s;
}
.buy-button[href]:hover {
  background:var(--ink);
  color:var(--paper);
}
.buy-button span {
  font-size:20px;
}
.demo-status {
  font-size:12px;
  line-height:1.5;
  color:var(--muted);
  margin:9px 0 0;
}
.free-section {
  padding-block:86px;
}
.free-inner {
  display:flex;
  gap:32px;
  align-items:center;
  background:var(--lime);
  border-radius:12px;
  padding:43px 44px;
}
.free-symbol {
  font-size:116px;
  width:1em;
  height:1em;
  background-color:currentColor;
  -webkit-mask:url('assets/headline-star.svg') center / contain no-repeat;
  mask:url('assets/headline-star.svg') center / contain no-repeat;
  line-height:1;
  flex:none;
  margin-right:14px;
}
.free-inner .eyebrow {
  font-size:12px;
  margin-bottom:10px;
}
.free-inner h2 {
  font-size:32px;
  letter-spacing:-1.2px;
}
.free-inner p:not(.eyebrow) {
  font-size:14px;
  margin:14px 0 0;
}
.dark-button {
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:26px;
  margin-left:auto;
  background:var(--ink);
  color:white;
  white-space:nowrap;
  padding:16px 21px;
  border-radius:6px;
  font-size:14px;
  transition:background .2s;
}
.dark-button:hover {
  background:#454c36;
}
.dark-button span {
  font-size:20px;
}
footer {
  border-top:1px solid var(--line);
  padding-top:28px;
  padding-bottom:24px;
}
.footer-top,.footer-bottom {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
}
.footer-top>span {
  font-size:14px;
  color:var(--muted);
}
.back-top {
  font-size:13px;
}
.footer-bottom {
  margin-top:34px;
  font-size:12px;
  color:var(--muted);
}
.state-message {
  grid-column:1/-1;
  background:#e8e9e2;
  padding:30px;
  border-radius:12px;
  font-size:16px;
  line-height:1.6;
}
.retry-button {
  margin-left:12px;
  border:1px solid var(--ink);
  border-radius:5px;
  padding:8px 12px;
  background:var(--paper);
}
@media(min-width:1600px) {
  .feature-frame {
    height:620px;
  }
}
@media(max-width:1000px) {
  .wrap {
    width:calc(100% - 48px);
  }
  .intro-aside {
    margin-right:0;
  }
  .intro {
    gap:20px;
  }
  h1 {
    letter-spacing:-4px;
  }
  .headline-period {
    margin-left:15px;
  }
  .catalog {
    gap:18px;
  }
  .card-title-row h3 {
    font-size:20px;
  }
  .free-inner {
    padding:32px;
    gap:22px;
  }
  .free-symbol {
    font-size:85px;
    margin-right:0;
  }
  .free-inner h2 {
    font-size:28px;
  }
  .free-inner {
    flex-wrap:wrap;
  }
  .dark-button {
    margin-left:auto;
  }
  .feature-frame {
    height:480px;
  }
  .gallery-nav {
    opacity:1;
  }
}
@media(max-width:700px) {
  .wrap {
    width:calc(100% - 36px);
  }
  .site-header {
    height:80px;
    gap:10px;
  }
  .brand {
    font-size:16px;
    letter-spacing:-.65px;
    gap:8px;
  }
  .brand-mark {
    width:25px;
    height:25px;
  }
  .site-header nav {
    gap:0;
  }
  .collection-link,.desktop-text {
    display:none;
  }
  .printables-link {
    font-size:12px;
    padding:11px 13px;
    gap:8px;
  }
  .free-dot {
    width:5px;
    height:5px;
  }
  .intro {
    display:block;
    padding-block:33px 28px;
  }
  .eyebrow {
    font-size:12px;
    letter-spacing:1.05px;
    margin-bottom:18px;
  }
  .tiny-star {
    font-size:15px;
    margin-right:3px;
  }
  h1 {
    font-size:clamp(48px,12.2vw,82px);
    letter-spacing:-3.6px;
    line-height:1.03;
  }
  .serif-word {
    letter-spacing:-2.5px;
  }
  .headline-period {
    margin-left:22px;
    vertical-align:2px;
  }
  .intro-aside {
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;
    margin-top:23px;
    padding:0;
  }
  .intro-aside p {
    font-size:14px;
    line-height:1.55;
    margin:0;
  }
  .intro-aside p br:first-child {
    display:none;
  }
  .intro-aside .text-link {
    font-size:12px;
    gap:8px;
    max-width:110px;
    line-height:1.5;
  }
  .feature-frame {
    height:440px;
    border-radius:12px;
  }
  .feature-slide>img {
    object-position:center;
  }
  .feature-label {
    top:16px;
    left:16px;
    font-size:12px;
    letter-spacing:1px;
    padding:8px 11px;
  }
  .feature-caption {
    left:16px;
    bottom:16px;
    min-width:0;
    max-width:calc(100% - 32px);
    width:calc(100% - 32px);
    padding:16px 18px;
    border-radius:8px;
  }
  .feature-caption h2 {
    font-size:26px;
  }
  .feature-caption p {
    font-size:12px;
  }
  .feature-caption>a {
    height:42px;
    min-width:42px;
  }
  .feature-controls {
    right:16px;
    top:15px;
    bottom:auto;
    gap:5px;
  }
  .feature-controls>span {
    font-size:12px;
    padding:8px 10px;
    margin:0;
  }
  .feature-controls .round-button {
    display:none;
  }
  .feature-footnote {
    font-size:12px;
    padding-block:13px;
  }
  .swipe-hint {
    display:flex;
    gap:8px;
  }
  .collection {
    padding-top:20px;
  }
  .section-heading {
    margin-bottom:24px;
    align-items:flex-end;
  }
  .section-heading .eyebrow {
    font-size:12px;
    margin-bottom:9px;
  }
  h2 {
    font-size:32px;
    letter-spacing:-1.3px;
  }
  .mobile-break {
    display:block;
  }
  .collection-count {
    font-size:12px;
  }
  .catalog {
    grid-template-columns:1fr;
    gap:36px;
  }
  .gallery {
    aspect-ratio:1/1.06;
    border-radius:12px;
  }
  .gallery-nav {
    opacity:1;
    width:36px;
    background:#ffffff90;
  }
  .gallery-dot {
    width:32px;
    height:36px;
    padding:12px;
  }
  .card-title-row {
    margin-top:17px;
  }
  .card-title-row h3 {
    font-size:25px;
  }
  .price {
    font-size:20px;
  }
  .model-description {
    font-size:15px;
    min-height:0;
    margin-bottom:13px;
  }
  .model-meta {
    margin-bottom:17px;
  }
  .buy-button {
    font-size:15px;
    min-height:50px;
  }
  .free-section {
    padding-block:49px;
  }
  .free-inner {
    padding:27px 25px;
    gap:18px;
    align-items:flex-start;
    position:relative;
    overflow:hidden;
  }
  .free-symbol {
    position:absolute;
    right:-20px;
    top:0;
    font-size:110px;
    opacity:.13;
  }
  .free-inner h2 {
    font-size:29px;
    position:relative;
  }
  .free-inner .eyebrow {
    font-size:12px;
  }
  .free-inner p:not(.eyebrow) {
    font-size:14px;
  }
  .dark-button {
    width:100%;
    margin-top:5px;
    min-height:50px;
  }
  .footer-top {
    flex-wrap:wrap;
    gap:19px;
  }
  .footer-top>span {
    order:3;
    width:100%;
    font-size:13px;
  }
  .footer-bottom {
    align-items:flex-start;
    flex-direction:column;
    gap:10px;
    margin-top:26px;
    font-size:12px;
  }
  footer {
    padding-top:24px;
  }
  .back-top {
    font-size:12px;
  }
  .feature-track {
    scroll-behavior:smooth;
  }
}
.brand {
  letter-spacing:-1.2px;
  font-size:27px;
}
.brand-mark {
  width:29px;
  height:29px;
}
@media(min-width:701px) {
  .catalog {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:42px 26px;
  }
  .gallery {
    aspect-ratio:1.12;
  }
  .model-description {
    min-height:0;
  }
}
.category-bar {
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:center;
  margin-bottom:28px;
  flex-wrap:wrap;
}
.category-filters {
  display:flex;
  flex-wrap:wrap;
  gap:9px;
}
.category-button {
  display:flex;
  align-items:center;
  gap:12px;
  border:1px solid var(--line);
  background:transparent;
  border-radius:30px;
  padding:12px 18px;
  min-height:46px;
  font-size:14px;
  transition:background .2s,border-color .2s;
}
.category-button span {
  font-size:12px;
  opacity:.65;
}
.category-button[aria-current=page] {
  background:var(--ink);
  border-color:var(--ink);
  color:var(--paper);
}
.category-button:hover:not([aria-current=page]) {
  background:#e9ece0;
  border-color:#a3ac8e;
}
.bundle-link {
  font-size:14px;
  text-decoration:underline;
  text-underline-offset:4px;
  padding-block:10px;
}
@media(max-width:700px) {
  .brand {
    font-size:24px;
  }
  .category-bar {
    margin-bottom:23px;
  }
  .category-filters {
    gap:7px;
  }
  .category-button {
    padding:10px 13px;
    font-size:13px;
    gap:8px;
  }
  .category-button span {
    font-size:12px;
  }
}
.feature-slide>img {
  position:relative;
  object-fit:contain;
  mask-image:linear-gradient(to right,transparent,black 24%,black 76%,transparent);
}
.feature-slide>img:not(.feature-backdrop) {
  width:auto;
  max-width:100%;
  margin-inline:auto;
}
.feature-slide>img.feature-backdrop {
  position:absolute;
  inset:0;
  object-fit:cover;
  filter:blur(35px);
  transform:scale(1.15);
  mask-image:none;
  pointer-events:none;
}
@media(max-width:700px) {
  .feature-slide>img {
    object-fit:cover;
    mask-image:none;
  }
  .feature-slide>img:not(.feature-backdrop) {
    width:100%;
  }
  .feature-slide>img.feature-backdrop {
    display:none;
  }
}
[hidden] {
  display:none!important;
}
@media(prefers-reduced-motion:reduce) {
  :root,.feature-track,.gallery-track {
    scroll-behavior:auto;
  }
  *,*:before,*:after {
    transition:none!important;
    animation:none!important;
  }
}

.gallery-track {
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.gallery-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}
.gallery-image img {
  -webkit-user-drag: none;
}

/* Compact catalog: two columns on phones, four on desktop. */
.catalog {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 16px;
}
.model-card {
  display: flex;
  flex-direction: column;
}
.model-card .gallery {
  flex: none;
  aspect-ratio: 4 / 5;
}
.card-title-row {
  flex-wrap: wrap;
  gap: 0 12px;
}
.card-title-row h3 {
  font-size: 22px;
  line-height: 1.25;
}
.card-title-row h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.card-title-row .price {
  margin-bottom: 10px;
  font-size: 17px;
}
.details-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  margin-top: auto;
  margin-bottom: 10px;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.details-link span {
  font-size: 18px;
}
@media (min-width: 1024px) {
  .catalog {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 36px 22px;
  }
  .model-card .card-title-row h3 {
    font-size: 21px;
  }
  .model-card .model-badge {
    left: 10px;
    right: 10px;
    top: 10px;
    width: fit-content;
    max-width: calc(100% - 20px);
    font-size: 12px;
  }
  .model-card .gallery-bottom {
    left: 10px;
    right: 10px;
  }
}
@media (max-width: 700px) {
  .catalog {
    gap: 26px 12px;
  }
  .model-card .gallery {
    border-radius: 9px;
  }
  .model-card .model-badge,
  .model-card .model-description,
  .model-card .gallery-nav {
    display: none;
  }
  .model-card .gallery-bottom {
    left: 7px;
    right: 7px;
    bottom: 8px;
  }
  .model-card .gallery-dots {
    padding: 0 2px;
  }
  .model-card .gallery-dot {
    width: 26px;
    height: 32px;
    padding: 10px;
  }
  .model-card .image-count {
    padding: 5px 7px;
    font-size: 12px;
  }
  .model-card .card-title-row {
    margin-top: 13px;
    display: block;
  }
  .model-card .card-title-row h3 {
    font-size: 17px;
    letter-spacing: -.5px;
    margin-bottom: 7px;
  }
  .model-card .price {
    font-size: 16px;
    display: block;
    margin-bottom: 0;
  }
  .model-card .price small {
    font-size: 12px;
  }
  .model-card .details-link {
    font-size: 13px;
    min-height: 44px;
    margin-bottom: 4px;
  }
  .model-card .buy-button {
    font-size: 12px;
    min-height: 48px;
    gap: 4px;
    padding: 9px 8px;
    line-height: 1.4;
  }
  .model-card .buy-button span {
    font-size: 16px;
    flex: none;
  }
}

/* Individual model pages. */
.detail-main {
  padding-bottom: 80px;
  min-height: 65vh;
}
.breadcrumb {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 28px;
  font-size: 14px;
}
.breadcrumb > span {
  color: var(--muted);
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: start;
  gap: 64px;
}
.detail-media {
  min-width: 0;
  position: sticky;
  top: 24px;
}
.detail-media .gallery {
  aspect-ratio: 4 / 5;
}
.detail-media .gallery-nav {
  opacity: 1;
  width: 36px;
}
.gallery-help {
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
}
.detail-info {
  padding-top: 12px;
  min-width: 0;
}
.detail-info h1 {
  font-size: clamp(36px, 4vw, 58px);
  letter-spacing: -2px;
  line-height: 1.08;
  margin-bottom: 20px;
}
.detail-summary {
  white-space: pre-line;
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 20px;
}
.detail-purchase {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  margin: 28px 0;
}
.detail-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
}
.detail-price {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 34px;
  letter-spacing: -1px;
}
.detail-price-row > span:last-child {
  font-size: 14px;
  color: var(--muted);
}
.detail-buy {
  background: var(--ink);
  color: var(--paper);
  min-height: 54px;
  font-size: 16px;
}
.detail-buy[href]:hover {
  background: #444d31;
}
.purchase-note, .detail-demo {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  margin: 12px 0 0;
}
.detail-demo {
  background: #e9edde;
  padding: 10px 12px;
  border-radius: 5px;
}
.detail-info section h2 {
  font-size: 23px;
  letter-spacing: -.7px;
  margin-bottom: 18px;
}
.detail-about p, .detail-files li {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}
.detail-info section + section {
  margin-top: 30px;
}
.detail-specifications dl {
  margin: 0;
}
.detail-specifications dl > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.6;
}
.detail-specifications dt {
  color: var(--muted);
}
.detail-specifications dd {
  margin: 0;
  text-align: right;
}
.detail-state {
  padding-block: 60px;
}
.detail-state h1 {
  font-size: 44px;
  letter-spacing: -2px;
  margin-bottom: 24px;
}
.detail-state p {
  line-height: 1.7;
}
.detail-state .dark-button {
  margin-top: 14px;
}
@media (max-width: 900px) {
  .detail-layout {
    gap: 30px;
  }
}
@media (max-width: 700px) {
  .detail-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  .detail-media {
    position: static;
  }
  .detail-media .gallery {
    aspect-ratio: 1 / 1.12;
  }
  .breadcrumb {
    font-size: 12px;
    padding-block: 22px;
  }
  .detail-info h1 {
    font-size: 38px;
    letter-spacing: -1.6px;
  }
  .detail-info .eyebrow {
    margin-bottom: 12px;
  }
  .detail-summary {
    font-size: 16px;
  }
  .detail-state h1 {
    font-size: 34px;
  }
  .detail-main {
    padding-bottom: 45px;
  }
}

/* Keep the landing headline on one line at every viewport size. */
#main-title {
  font-size: clamp(20px, 6.5vw, 96px);
  letter-spacing: -.055em;
  line-height: 1.12;
  white-space: nowrap;
}
#main-title .serif-word {
  letter-spacing: -.045em;
}
#main-title .headline-period {
  font-size: .68em;
  width: 1em;
  height: 1em;
  margin-left: .25em;
  vertical-align: .03em;
}

.collections-page .collection {
  padding-top: 50px;
}
.collections-page #collection-title {
  font-size: clamp(36px, 5.5vw, 76px);
  letter-spacing: -.045em;
  line-height: 1.1;
}
.collection-description {
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}
.breadcrumb #breadcrumb-category {
  color: var(--muted);
  text-align: right;
}
@media (max-width: 700px) {
  .collections-page .collection {
    padding-top: 30px;
  }
  .collections-page .section-heading {
    align-items: flex-start;
  }
  .collections-page .collection-count {
    padding-top: 5px;
  }
}

.model-card .gallery-image {
  cursor: pointer;
}
.model-card .is-dragging .gallery-image {
  cursor: grabbing;
}
@media (max-width: 700px) {
  .model-card .gallery-nav {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    font-size: 17px;
  }
  .model-card .gallery-nav.prev { left: 5px; }
  .model-card .gallery-nav.next { right: 5px; }
}

/* Purchase is the primary action, including on touch screens. */
.buy-button {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
  font-weight: 700;
}
.buy-button[href]:hover,
.buy-button[href]:active {
  background: #cde567;
  border-color: #cde567;
  color: var(--ink);
}
.buy-button:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.model-card .buy-button {
  margin-top: auto;
}
@media (max-width: 700px) {
  .model-card .card-title-row {
    margin-bottom: 14px;
  }
}

.card-title-row .price {
  font-size: 20px;
  font-weight: 600;
}
.detail-price {
  font-size: 40px;
  font-weight: 600;
}
@media (max-width: 700px) {
  .model-card .price {
    font-size: 19px;
  }
}

button.gallery-image {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: zoom-in;
}
.model-card button.gallery-image { cursor: zoom-in; }
.gallery-image:focus-visible { outline-offset: -4px; }
body.lightbox-open { overflow: hidden; }
.lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 70px 0;
  border: 0;
  background: #151714f5;
  color: #fff;
  overflow: hidden;
}
.lightbox::backdrop { background: transparent; }
.lightbox-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  touch-action: pan-y pinch-zoom;
  user-select: none;
  -webkit-user-drag: none;
}
.lightbox button {
  position: absolute;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid #ffffff50;
  border-radius: 50%;
  background: #242624;
  color: white;
  font-size: 26px;
  display: grid;
  place-items: center;
}
.lightbox button:hover { background: #4b5143; }
.lightbox button:focus-visible { outline: 3px solid var(--lime); }
.lightbox:not(.keyboard-navigation) button:focus { outline: none; }
.lightbox-close { top: max(16px, env(safe-area-inset-top)); right: 16px; }
.lightbox-prev { left: 16px; top: calc(50% - 24px); }
.lightbox-next { right: 16px; top: calc(50% - 24px); }
.lightbox-status {
  position: absolute;
  bottom: max(18px, env(safe-area-inset-bottom));
  left: 70px;
  right: 70px;
  margin: 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
}
@media(max-width:700px) {
  .lightbox { padding: 76px 0 98px; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: max(20px, env(safe-area-inset-bottom)); }
  .lightbox-status { bottom: max(32px, env(safe-area-inset-bottom)); }
}

.model-card .model-badge { display: none; }
.model-card .model-meta { display: flex; }
@media (max-width: 700px) {
  .model-card .model-meta { gap: 5px; margin-bottom: 14px; }
  .model-card .model-meta span { padding: 4px 6px; font-size: 12px; }
}

.gallery-track.is-dragging,
.gallery-track.is-dragging .gallery-image,
.gallery-track.is-dragging img { cursor: grabbing; }
.lightbox-image { cursor: grab; transition: transform 160ms ease-out; }
.lightbox-image.is-dragging { cursor: grabbing; transition: none; }

/* Three fixed positions: first, middle, last. */
.gallery .gallery-dots {
  position: relative;
  flex: none;
  gap: 0;
  padding: 0 4px;
}
.gallery .gallery-dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  flex: 0 0 24px;
  width: 24px;
  height: 32px;
  padding: 0;
}
.gallery .gallery-dot::after {
  width: 5px;
  height: 5px;
  background: #24262440;
  transition: opacity 180ms ease, transform 240ms ease;
}
.gallery .gallery-dot[aria-current=true]::after {
  opacity: 0;
  transform: scale(1.4);
}
.gallery .gallery-dots::before {
  content: '';
  position: absolute;
  left: 11px;
  top: calc(50% - 3px);
  width: 10px;
  height: 6px;
  border-radius: 10px;
  background: var(--ink);
  transform: translateX(calc(var(--active-dot, 0) * 24px));
  transition: transform 340ms cubic-bezier(.22, 1, .36, 1);
  pointer-events: none;
}

/* Pulse the active point without changing the indicator's footprint. */
.gallery .dots-pulse::before {
  animation: dot-width-pulse 440ms cubic-bezier(.22, 1, .36, 1) both;
}
@keyframes dot-width-pulse {
  0%, 100% { width: 10px; margin-left: 0; }
  40% { width: 20px; margin-left: var(--pulse-offset, 0px); }
}

/* Full-size gallery: adjacent photos move together during a swipe. */
.lightbox-stage {
  width: 100%;
  height: 100%;
  overflow: hidden;
  touch-action: pinch-zoom;
  cursor: grab;
}
.lightbox-rail {
  display: flex;
  width: 100%;
  height: 100%;
  transform: translate3d(-100%, 0, 0);
  will-change: transform;
}
.lightbox-frame {
  flex: 0 0 100%;
  min-width: 0;
  height: 100%;
}
.lightbox-frame .lightbox-image {
  transition: none;
  pointer-events: none;
}
.lightbox-stage.is-dragging { cursor: grabbing; }

.buy-button, .model-card .buy-button { font-size: 18px; }
.detail-buy { font-size: 22px; }
.buy-button .purchase-arrow, .free-models-arrow {
  display: block;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  background-color: currentColor;
  -webkit-mask: url('assets/arrow-up-right.svg') center / contain no-repeat;
  mask: url('assets/arrow-up-right.svg') center / contain no-repeat;
}
.free-models-arrow { width: 18px; height: 18px; flex-basis: 18px; }
.collection-back { display: inline-flex; align-items: center; gap: 8px; }
.collection-back-arrow { transform: rotate(-135deg); }
@media (max-width: 700px) {
  .model-card .buy-button { font-size: 17px; }
}
