:root {
  --cream: #fdfcfb;
  --sand: #f5f2ee;
  --stone: #ebe6df;
  --ink: #3d3934;
  --muted: #7a736b;
  --line: rgba(61, 57, 52, 0.18);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Outfit", "Helvetica Neue", sans-serif;
  --header-h: 5.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.7;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin: 0;
}

p {
  margin: 0;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.6rem 3.5rem;
  color: var(--ink);
}

.header-end {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-wrap {
  display: flex;
  align-items: center;
}

.menu-toggle {
  display: none;
  width: 2rem;
  height: 2.2rem;
  place-items: center;
}

.menu-toggle svg {
  width: 1.15rem;
  height: 1.15rem;
}

.logo,
.bag {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.logo,
.nav a,
.bag,
.text-link,
.eyebrow,
.menu-toggle,
figcaption {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 400;
}

.nav {
  display: flex;
  gap: 1.6rem;
}

.nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.25s ease;
}

.nav a:hover::after {
  width: 100%;
}

.bag {
  display: inline-flex;
  flex-shrink: 0;
}

.bag svg {
  width: 1.35rem;
  height: 1.35rem;
}

.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--sand);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 58%;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: 34rem;
  padding: calc(var(--header-h) + 2.8rem) 3.5rem 3rem;
  background: linear-gradient(
    105deg,
    rgba(253, 252, 251, 0.72) 0%,
    rgba(253, 252, 251, 0.28) 48%,
    rgba(253, 252, 251, 0) 70%
  );
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  font-weight: 500;
  line-height: 1.15;
}

.rule {
  width: 3.4rem;
  border: 0;
  border-top: 1px solid var(--ink);
  margin: 1.1rem 0 1rem;
  opacity: 0.55;
}

.hero p {
  max-width: 24rem;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 1.6rem;
}

.hero .btn {
  align-self: flex-start;
  min-width: 0;
  padding: 0.85rem 1.35rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 11.5rem;
  padding: 0.85rem 1.6rem;
  border: 1px solid var(--ink);
  border-radius: 0.35rem;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: transparent;
  color: var(--ink);
  transition: background 0.25s ease, color 0.25s ease;
}

.btn:hover {
  background: var(--ink);
  color: var(--cream);
}

.btn:disabled,
.btn:disabled:hover {
  opacity: 0.38;
  cursor: not-allowed;
  background: transparent;
  color: var(--ink);
}

.btn[hidden] {
  display: none;
}

.btn-next-batch {
  min-width: 0;
  max-width: 18rem;
  white-space: normal;
  line-height: 1.35;
  text-align: center;
  padding: 0.85rem 1.2rem;
}

.values {
  padding: 6.5rem 3.5rem 6rem;
  text-align: center;
  background: var(--cream);
  caret-color: transparent;
}

.values:focus,
.values:focus-visible {
  outline: none;
}

.values-intro {
  max-width: 34rem;
  margin: 0 auto 4.2rem;
}

.values h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: 0.7rem;
}

.values-intro p {
  color: var(--muted);
  max-width: 30rem;
  margin: 0 auto;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 68rem;
  margin: 0 auto;
}

.value {
  padding: 0 2.4rem;
}

.value + .value {
  border-left: 1px solid var(--line);
}

.value-icon {
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 1.4rem;
  color: var(--ink);
}

.value h3 {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.45;
  text-wrap: balance;
}

.value hr {
  width: 1.5rem;
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0.7rem auto 0.8rem;
}

.value p {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 17rem;
  margin-inline: auto;
}

.clouds {
  display: grid;
  grid-template-columns: minmax(20rem, 1.1fr) 1.4fr;
  gap: 3rem;
  align-items: center;
  padding: 5.5rem 3.5rem;
  background: var(--sand);
  scroll-margin-top: 1.5rem;
}

.clouds-intro h2 {
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  margin-bottom: 1rem;
}

.clouds-intro p {
  color: var(--muted);
  margin-bottom: 1.6rem;
  max-width: 24rem;
}

.clouds.find-cloud {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding-bottom: 6rem;
}

.find-cloud .clouds-intro {
  display: block;
  max-width: 38rem;
  margin-bottom: 0;
}

.find-cloud .clouds-intro h2 {
  margin-bottom: 1rem;
}

.find-cloud .clouds-lead {
  max-width: none;
}

.find-cloud .clouds-intro p {
  max-width: none;
  margin-bottom: 1.05rem;
}

.find-cloud .cloud-grid {
  margin-top: 2.6rem;
}

.text-link {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
}

.text-link:hover span {
  transform: translateX(4px);
}

.text-link span {
  display: inline-block;
  transition: transform 0.2s ease;
}

.cloud-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin: 0;
  padding: 0;
}

.cloud-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--stone);
}

.cloud-grid figcaption {
  margin-top: 0.85rem;
  text-align: center;
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 300;
  line-height: 1.5;
}

.cloud-card-name {
  display: block;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cloud-card-meta {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cloud-card-blurb {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.cloud-card {
  display: block;
}

.cloud-card img {
  transition: opacity 0.25s ease;
}

.cloud-card.is-framed img {
  border: 0.5rem solid var(--cream);
}

.cloud-card:hover img {
  opacity: 0.82;
}

.story {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 72vh;
  background: var(--cream);
}

.story-media {
  margin: 0;
}

.story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 28rem;
}

.story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4.5rem 4.5rem 4.5rem 3.5rem;
}

.story-copy h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  max-width: 14ch;
  margin-bottom: 1.3rem;
}

.story-copy p {
  color: var(--muted);
  max-width: 36ch;
  margin-bottom: 1.1rem;
}

.story-copy p + p {
  margin-bottom: 1.8rem;
}

.origin-story {
  padding: 5.5rem 3.5rem 6rem;
  background: var(--sand);
  scroll-margin-top: 1.5rem;
}

.origin-story-inner {
  display: grid;
  grid-template-columns: minmax(14rem, 0.75fr) minmax(20rem, 1.25fr);
  gap: clamp(3rem, 8vw, 7rem);
  max-width: 68rem;
  margin: 0 auto;
}

.origin-story-header {
  position: sticky;
  top: 3rem;
  align-self: start;
}

.origin-story blockquote {
  margin: 1rem 0 0;
}

.origin-story blockquote p {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1.18;
  letter-spacing: 0.01em;
  margin: 0 0 1.25rem;
}

.origin-story blockquote cite {
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
}

.quote-language {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
}

.quote-language button {
  color: var(--muted);
  font-size: inherit;
  letter-spacing: inherit;
  opacity: 0.55;
}

.quote-language button[aria-pressed="true"] {
  color: var(--ink);
  opacity: 1;
}

.quote-language button:hover {
  opacity: 1;
}

.origin-story-text p {
  color: var(--muted);
  max-width: 42rem;
  margin: 0 0 1.25rem;
}

.origin-story-text p:last-child {
  margin-bottom: 0;
}

.origin-story-text strong {
  color: var(--ink);
  font-weight: 500;
}

.story-maker {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 1.4rem 0 0;
}

.story-maker img {
  width: 6.5rem;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 20%;
}

.origin-story-text .story-signoff {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.05rem;
  margin: 0;
}

.origin-story-text .story-maker-role {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.origin-story-text .story-postscript {
  margin-top: 1.6rem;
}

.gallery-page {
  padding: 3.5rem 3.5rem 6rem;
  background: var(--cream);
}

.gallery-intro {
  max-width: 42rem;
  margin: 0 0 4rem;
}

.gallery-intro h1 {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  margin: 0.4rem 0 1rem;
}

.gallery-intro > p:not(.eyebrow) {
  color: var(--muted);
  max-width: 38rem;
}

.gallery-intro-share {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.68rem;
  opacity: 0.72;
}

.gallery-intro-share:hover {
  color: var(--ink);
  opacity: 1;
}

.gallery-grid {
  columns: 3 18rem;
  column-gap: 0.9rem;
  max-width: 78rem;
  margin: 0 auto;
}

.gallery-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 1.8rem;
  break-inside: avoid;
  vertical-align: top;
}

.gallery-card img {
  width: 100%;
  height: auto;
  background: var(--stone);
}

.gallery-card figcaption {
  margin-top: 0.75rem;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.55;
  text-transform: none;
}

.gallery-card-title {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gallery-card figcaption p {
  margin-top: 0.45rem;
  color: var(--muted);
}

.gallery-postcard {
  padding: 0.65rem;
  background: #fffefa;
  box-shadow: 0 0.25rem 1.2rem rgba(61, 57, 52, 0.08);
}

.gallery-postcard img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-postcard figcaption {
  margin: 0;
  padding: 2rem 1.5rem 1.6rem;
}

.gallery-postcard blockquote {
  margin: 0 0 1.5rem;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.7vw, 2.3rem);
  line-height: 1.2;
}

.gallery-loading,
.gallery-error {
  color: var(--muted);
}

.gallery-share {
  max-width: 38rem;
  margin: 7rem auto 0;
  text-align: center;
}

.gallery-share h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin: 0.4rem 0 1rem;
}

.gallery-share > p:not(.eyebrow) {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.blog-index {
  padding: 3.5rem 3.5rem 5.5rem;
  background: var(--cream);
}

.blog-intro {
  max-width: 34rem;
  margin-bottom: 3rem;
}

.blog-intro h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin: 0.4rem 0 0.9rem;
}

.blog-intro p {
  color: var(--muted);
}

.blog-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 52rem;
}

.blog-card {
  display: grid;
  grid-template-columns: minmax(12rem, 0.9fr) 1.2fr;
  gap: 2rem;
  align-items: center;
}

.blog-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--sand);
}

.blog-card-copy h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0.35rem 0 0.7rem;
}

.blog-card-copy p {
  color: var(--muted);
}

.blog-post {
  max-width: 42rem;
  margin: 0 auto;
  padding: 3.2rem 1.5rem 5.5rem;
}

.blog-post h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  margin: 0.4rem 0 1.1rem;
}

.blog-lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.blog-hero {
  margin: 0 0 2.2rem;
}

.blog-hero img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--sand);
}

.blog-body p {
  color: var(--ink);
  margin-bottom: 1.15rem;
}

.blog-body .text-link {
  margin-top: 1.6rem;
}

.eyebrow {
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.site-footer {
  padding: 3.2rem 3.5rem 2.2rem;
  color: var(--muted);
  background: var(--cream);
  border-top: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  text-transform: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2.2rem 2.5rem;
}

.footer-col h2 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.9rem;
}

.footer-col p {
  margin: 0 0 0.45rem;
  max-width: 28ch;
  line-height: 1.65;
}

.footer-col p:last-child {
  margin-bottom: 0;
}

.footer-col strong {
  color: var(--ink);
  font-weight: 500;
}

.footer-col nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

.footer-col a {
  color: var(--muted);
}

.footer-col a:hover,
.footer-link-btn:hover {
  color: var(--ink);
}

.footer-link-btn {
  color: var(--muted);
  text-align: left;
}

.footer-copy {
  margin: 2.6rem 0 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
}

.info-page {
  max-width: 38rem;
  margin: 0 auto;
  padding: 3.2rem 1.5rem 5rem;
}

.info-page h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.4rem;
}

.info-body p {
  color: var(--muted);
  margin: 0 0 1.15rem;
}

.info-body a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@media (max-width: 960px) {
  .site-header,
  .hero-content,
  .values,
  .clouds,
  .origin-story,
  .gallery-page,
  .blog-index,
  .site-footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .header-end {
    gap: 0.85rem;
  }

  .menu-toggle {
    display: grid;
  }

  .nav-wrap {
    position: relative;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 0;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.95rem;
    min-width: 9.5rem;
    padding: 1.15rem 1.25rem 1.2rem;
    background: var(--cream);
    border: 1px solid var(--line);
  }

  .site-header.is-open .nav {
    display: flex;
  }

  .clouds,
  .story,
  .origin-story-inner {
    grid-template-columns: 1fr;
  }

  .origin-story-header {
    position: static;
  }

  .story-copy {
    padding: 3rem 1.5rem 4rem;
  }

  .value-grid {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .value + .value {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 2.4rem;
  }

  .hero-content {
    padding-top: calc(var(--header-h) + 2.2rem);
    max-width: 28rem;
  }

  .hero {
    height: 100vh;
    height: 100dvh;
    min-height: 100svh;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .cloud-grid {
    grid-template-columns: 1fr;
    max-width: 22rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.page-cloud .site-header,
.page-inner .site-header {
  position: relative;
  background: var(--cream);
}

.product {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(16rem, 0.7fr);
  gap: 3rem;
  align-items: center;
  min-height: calc(100vh - var(--header-h) - 8.5rem);
  min-height: calc(100dvh - var(--header-h) - 8.5rem);
  padding: 1rem 3.5rem 1.25rem;
  background: var(--cream);
}

.product-gallery {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 0;
}

.carousel {
  position: relative;
  width: min(100%, 28rem, calc(100dvh - var(--header-h) - 10rem));
  max-height: calc(100dvh - var(--header-h) - 10rem);
  margin: 0 auto;
}

.carousel-stage {
  position: relative;
  margin: 0;
  background: var(--sand);
}

.carousel-stage img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  max-height: calc(100dvh - var(--header-h) - 10rem);
  object-fit: cover;
}

.product.has-photo-frame .carousel-stage img {
  border: 0.65rem solid var(--cream);
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: rgba(47, 43, 40, 0.86);
  display: grid;
  place-items: center;
  z-index: 1;
  transition: background-color 180ms ease, color 180ms ease;
}

.carousel-nav:hover,
.carousel-nav:focus-visible {
  background: rgba(47, 43, 40, 0.08);
  color: rgba(47, 43, 40, 0.96);
}

.carousel-nav svg {
  width: 1.12rem;
  height: 1.12rem;
  display: block;
  filter:
    drop-shadow(0.75px 0 0 rgba(253, 252, 251, 0.95))
    drop-shadow(-0.75px 0 0 rgba(253, 252, 251, 0.95))
    drop-shadow(0 0.75px 0 rgba(253, 252, 251, 0.95))
    drop-shadow(0 -0.75px 0 rgba(253, 252, 251, 0.95));
}

.carousel-nav.prev {
  left: 0.8rem;
}

.carousel-nav.next {
  right: 0.8rem;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1rem;
}

.dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--line);
}

.dot.is-active {
  background: var(--ink);
}

.product-info {
  max-width: 22rem;
}

.product-info h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  margin: 0.35rem 0 0.7rem;
}

.product-price {
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.product-copy {
  color: var(--muted);
  margin-bottom: 0.85rem;
  max-width: 32ch;
}

.product-piece-copy {
  margin-bottom: 1.8rem;
}

.product-piece-copy.has-followup {
  margin-bottom: 0.85rem;
}

.product-reflection-copy {
  margin-bottom: 1.8rem;
}

.product-piece-copy[hidden],
.product-reflection-copy[hidden] {
  display: none;
}

.product-details {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  column-gap: clamp(1.5rem, 4vw, 2.75rem);
  margin: 0 0 1.8rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-details div {
  min-width: 0;
}

.product-details dt {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-details dd {
  margin: 0.2rem 0 0;
  color: var(--ink);
  font-size: 0.86rem;
}

.type-bar {
  padding: 0 3.5rem 3rem;
  text-align: center;
  background: var(--cream);
}

.type-bar .eyebrow {
  margin-bottom: 1rem;
}

.type-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.6rem;
}

.type-tab {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid transparent;
}

.type-tab.is-active,
.type-tab:hover {
  border-bottom-color: var(--ink);
}

.similar {
  padding: 4.5rem 3.5rem 5.5rem;
  background: var(--sand);
}

.similar-intro {
  max-width: 28rem;
  margin-bottom: 2.2rem;
}

.similar-intro h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 0.7rem;
}

.similar-intro p {
  color: var(--muted);
}

.similar-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  margin: 0;
  padding: 0;
}

.similar-card {
  display: block;
  width: 100%;
  text-align: center;
}

.similar-media {
  position: relative;
  display: block;
  outline: 1px solid transparent;
  outline-offset: 4px;
}

.similar-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--stone);
}

.similar-card.is-framed img {
  border: 0.4rem solid var(--cream);
}

.similar-card.is-active .similar-media {
  outline-color: var(--ink);
}

.similar-card > span:last-child {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sold-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.65rem;
  background: rgba(253, 252, 251, 0.9);
  border: 1px solid rgba(61, 57, 52, 0.16);
  border-radius: 0.2rem;
  box-shadow: 0 0.2rem 0.8rem rgba(61, 57, 52, 0.08);
  backdrop-filter: blur(6px);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  pointer-events: none;
}

.sold-badge[hidden] {
  display: none;
}

.sold-badge-sm {
  top: 0.45rem;
  right: 0.45rem;
  padding: 0.35rem 0.45rem;
  font-size: 0.56rem;
  letter-spacing: 0.12em;
}

.buy-note {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: rgba(61, 57, 52, 0.2);
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.buy-note[hidden] {
  display: none;
}

.buy-note-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 28rem);
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 3.1rem 2.8rem 2.4rem;
  text-align: center;
}

.buy-note-card .eyebrow {
  margin-bottom: 0.85rem;
}

.buy-note-card h2 {
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  font-weight: 500;
  margin: 0 0 1.15rem;
}

#buy-note-body {
  color: var(--muted);
  max-width: 28ch;
  line-height: 1.75;
  margin: 0 0 2.25rem;
}

.buy-note-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.45rem;
}

.buy-note-close {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.buy-note-close:hover {
  color: var(--ink);
}

@media (max-width: 960px) {
  .product,
  .type-bar,
  .similar {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .product {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    height: auto;
    min-height: 0;
    padding-top: 1.25rem;
    padding-bottom: 2.5rem;
  }

  .carousel {
    width: min(100%, 28rem);
    max-height: none;
    margin: 0 auto;
  }

  .carousel-stage img {
    max-height: min(72vw, 52vh);
  }

  .similar-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-card {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
}

.btn-solid {
  background: var(--ink);
  color: var(--cream);
}

.btn-solid:hover {
  background: transparent;
  color: var(--ink);
}

.cookie-banner {
  position: fixed;
  z-index: 30;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.15rem 1.5rem 1.25rem;
  background: var(--cream);
  border-top: 1px solid var(--line);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  max-width: 72rem;
  margin: 0 auto;
}

.cookie-banner-copy p:first-child {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.cookie-banner-copy p + p {
  color: var(--muted);
  font-size: 0.88rem;
  max-width: 38rem;
}

.cookie-banner-copy a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.cookie-banner-copy a:hover {
  color: var(--ink);
}

.cookie-banner-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.cookie-banner .btn {
  min-width: 8.2rem;
}

@media (max-width: 720px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cookie-banner .btn {
    min-width: 0;
  }
}
