:root {
  --background: #f7f0e7;
  --background-soft: #fcf9f3;
  --background-deep: #efe1d0;
  --foreground: #1f1713;
  --muted: #635549;
  --line: rgba(99, 85, 73, 0.28);
  --line-strong: rgba(49, 35, 28, 0.44);
  --accent: #8bc7c7;
  --accent-deep: #5f9d9c;
  --accent-line: rgba(95, 157, 156, 0.24);
  --accent-glow: rgba(139, 199, 199, 0.14);
  --shadow: rgba(33, 21, 16, 0.08);
  --max-width: 76rem;
  --gutter: clamp(1.25rem, 3vw, 2.75rem);
  --section-space: clamp(4.5rem, 8vw, 8rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  line-height: 1.6;
  color: var(--foreground);
  font-family: "Work Sans", sans-serif;
  background: linear-gradient(
    180deg,
    var(--background-soft) 0%,
    var(--background) 42%,
    var(--background-deep) 100%
  );
  background-image:
    radial-gradient(circle at top left, rgba(139, 199, 199, 0.18), transparent 30%),
    radial-gradient(circle at right 20% top 8%, rgba(143, 99, 79, 0.16), transparent 26%),
    linear-gradient(180deg, var(--background-soft) 0%, var(--background) 42%, var(--background-deep) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  opacity: 0.18;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(99, 85, 73, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 85, 73, 0.06) 1px, transparent 1px);
  background-size: 100% 2.25rem, 2.25rem 100%;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 88%);
}

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

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

summary {
  font: inherit;
}

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 0.3rem;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: 1rem;
  z-index: 50;
  padding: 0.75rem 1rem;
  background: var(--foreground);
  color: var(--background-soft);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  position: relative;
  overflow: clip;
}

.site-header {
  position: sticky;
  left: 0;
  top: 0;
  z-index: 30;
  padding: 0.5rem var(--gutter) 0;
  background: linear-gradient(
    180deg,
    rgba(252, 249, 243, 0.96),
    rgba(252, 249, 243, 0.82)
  );
  backdrop-filter: blur(12px);
  transition:
    transform 0.28s ease,
    opacity 0.28s ease;
}

.site-header.is-hidden {
  transform: translateY(calc(-100% - 0.5rem));
  opacity: 0;
  pointer-events: none;
}

.site-header:focus-within {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--accent-line);
}

.site-brand {
  display: grid;
  gap: 0;
  min-width: 0;
}

.site-brand-mark {
  display: block;
  max-width: clamp(10.5rem, 20vw, 15rem);
}

.site-brand-mark-logo {
  max-width: clamp(8.5rem, 15vw, 11rem);
}

.site-brand-mark img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0.5rem 1rem rgba(33, 21, 16, 0.08));
}

.site-brand-tag,
.section-kicker,
.tile-label,
.site-footer-title {
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-kicker,
.tile-label {
  color: var(--accent-deep);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.section-kicker::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
  box-shadow: 0 0 0 0.2rem var(--accent-glow);
}

.site-nav ul,
.site-mobile-panel ul,
.follow-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
}

.site-nav a,
.site-mobile-panel a,
.site-footer-meta a {
  position: relative;
  color: var(--foreground);
}

.site-nav a::after,
.site-mobile-panel a::after,
.site-footer-meta a::after,
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.site-nav a:hover::after,
.site-mobile-panel a:hover::after,
.site-footer-meta a:hover::after,
.text-link:hover::after {
  transform: scaleX(1);
}

.site-nav a:hover,
.site-mobile-panel a:hover,
.site-footer-meta a:hover,
.text-link:hover {
  color: var(--accent-deep);
}

.site-mobile-nav {
  display: none;
}

.hero,
.section,
.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.hero {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1.02fr) minmax(18rem, 0.98fr);
  gap: clamp(1.75rem, 4vw, 3.75rem);
  padding-top: clamp(1rem, 2vw, 1.75rem);
  padding-bottom: clamp(2.75rem, 5vw, 4.75rem);
}

.hero-copy {
  max-width: none;
}

.hero-title,
.section-title {
  margin: 0;
  line-height: 0.94;
  font-weight: 600;
  font-family: "Cormorant Garamond", serif;
}

.hero-title {
  max-width: none;
  font-size: clamp(3rem, 6.6vw, 5.8rem);
  margin-bottom: 1.1rem;
  text-wrap: pretty;
}

.hero-body,
.hero-note,
.section-lead,
.intro-copy p,
.follow-panel-note,
.site-footer-brand p,
.site-footer-meta p,
.intro-detail figcaption,
.product-card figcaption p,
.detail-card figcaption p,
.spotlight-note {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.hero-body {
  max-width: 30rem;
  font-size: 1.08rem;
}

.hero-note {
  max-width: 30rem;
  margin-top: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.35rem;
  border: 1px solid rgba(95, 157, 156, 0.42);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(139, 199, 199, 0.32), rgba(139, 199, 199, 0.18));
  color: var(--foreground);
  font-weight: 600;
  box-shadow: 0 0.75rem 1.75rem rgba(95, 157, 156, 0.12);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    background 0.24s ease;
}

.button-link:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(139, 199, 199, 0.42), rgba(139, 199, 199, 0.24));
  box-shadow: 0 1rem 2rem rgba(95, 157, 156, 0.18);
}

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding-bottom: 0.2rem;
  font-weight: 600;
}

.text-link::after {
  bottom: 0;
  background: linear-gradient(90deg, var(--accent-deep), rgba(95, 157, 156, 0.14));
}

.hero-media,
.intro-detail,
.spotlight-figure {
  display: grid;
  gap: 1rem;
}

.hero-media {
  position: relative;
  padding: 0.35rem 0 0 0.75rem;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0.25rem 1.5rem 4.5rem 0;
  z-index: -1;
  border-radius: 2rem;
  background:
    linear-gradient(145deg, rgba(139, 199, 199, 0.2), rgba(252, 249, 243, 0.1)),
    linear-gradient(180deg, rgba(143, 99, 79, 0.12), rgba(143, 99, 79, 0.02));
  transform: rotate(-4deg);
}

.hero-frame,
.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #261914;
  box-shadow: 0 1.25rem 2.5rem var(--shadow);
  transform: rotate(var(--frame-tilt, 0deg));
  transform-origin: center;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.hero-frame {
  width: min(100%, 31rem);
  justify-self: end;
}

.hero-frame::before,
.media-frame::before {
  content: "";
  position: absolute;
  inset: 1rem;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.hero-frame-portrait {
  aspect-ratio: 0.83;
  --frame-tilt: -2.25deg;
}

.media-frame-portrait,
.media-frame-tall {
  aspect-ratio: 0.82;
}

.media-frame-landscape {
  aspect-ratio: 1.24;
}

.media-frame-square {
  aspect-ratio: 1;
}

.hero-frame img,
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section {
  padding-bottom: var(--section-space);
}

.style-notes {
  padding-top: 0;
  margin-top: -0.8rem;
}

.style-notes-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.style-note-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(99, 85, 73, 0.16);
  border-radius: 999px;
  background: rgba(252, 249, 243, 0.82);
  box-shadow: 0 0.7rem 1.6rem rgba(33, 21, 16, 0.06);
  color: var(--foreground);
  font-size: 0.96rem;
  letter-spacing: 0.02em;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.style-note-pill::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
  box-shadow: 0 0 0 0.18rem rgba(139, 199, 199, 0.18);
}

.section-heading {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.6rem;
}

.section-heading-wide {
  max-width: 72rem;
}

.section-heading-split {
  align-items: end;
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
  gap: 1.75rem 2rem;
}

.section-title {
  max-width: 12ch;
  font-size: clamp(2.5rem, 5.2vw, 4.6rem);
}

.section-title-wide {
  max-width: none;
  width: 100%;
  font-size: clamp(2.45rem, 4.1vw, 4.45rem);
  text-wrap: balance;
}

.section-lead {
  max-width: 52rem;
  font-size: 1.04rem;
}

.intro-layout {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(18rem, 0.95fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  padding: clamp(1.75rem, 3.6vw, 2.75rem);
  border: 1px solid rgba(99, 85, 73, 0.14);
  border-radius: 2.5rem;
  background:
    linear-gradient(180deg, rgba(252, 249, 243, 0.88), rgba(247, 240, 231, 0.78)),
    linear-gradient(135deg, rgba(139, 199, 199, 0.08), rgba(143, 99, 79, 0.03));
  box-shadow: 0 1rem 2rem rgba(33, 21, 16, 0.05);
}

.site-footer-inner,
.spotlight-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(16rem, 0.8fr);
  gap: clamp(2rem, 5vw, 4.5rem);
}

.intro-content,
.spotlight-copy {
  display: grid;
  gap: 1.1rem;
  max-width: 34rem;
  align-content: start;
}

.intro-title {
  max-width: 6.8ch;
  font-size: clamp(3rem, 5.35vw, 5.55rem);
  line-height: 0.92;
}

.intro-lead {
  max-width: 31rem;
  padding-top: 0.25rem;
  font-size: 1.02rem;
}

.intro-copy {
  display: grid;
  gap: 1.25rem;
  max-width: 31rem;
  padding-top: 1.1rem;
}

.intro-copy p + p {
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.intro-detail {
  align-content: center;
  justify-self: stretch;
  width: 100%;
  margin: 0;
}

.intro-detail .media-frame {
  aspect-ratio: 0.84;
  --frame-tilt: -0.8deg;
}

.product-mosaic {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}

.product-card,
.detail-card {
  display: grid;
  gap: 0.9rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(95, 157, 156, 0.16);
  transition: transform 0.3s ease;
}

.product-card:nth-child(odd) .media-frame,
.detail-card:nth-child(odd) .media-frame {
  --frame-tilt: -1.1deg;
}

.product-card:nth-child(even) .media-frame,
.detail-card:nth-child(even) .media-frame {
  --frame-tilt: 1.1deg;
}

.product-card:hover,
.detail-card:hover,
.style-note-pill:hover {
  transform: translateY(-0.2rem);
}

.product-card:hover .media-frame,
.detail-card:hover .media-frame,
.hero-media:hover .hero-frame,
.intro-detail:hover .media-frame,
.spotlight-figure:hover .media-frame {
  transform: rotate(0deg) translateY(-0.35rem);
  box-shadow: 0 1.65rem 3rem rgba(33, 21, 16, 0.14);
}

.style-note-pill:hover {
  box-shadow: 0 1rem 2rem rgba(33, 21, 16, 0.1);
}

.product-card:nth-child(1),
.product-card:nth-child(8) {
  grid-column: span 4;
}

.product-card:nth-child(2),
.product-card:nth-child(3),
.product-card:nth-child(4),
.product-card:nth-child(5),
.product-card:nth-child(6),
.product-card:nth-child(7) {
  grid-column: span 4;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}

.spotlight {
  position: relative;
}

.spotlight::before {
  content: "";
  position: absolute;
  inset: 2rem var(--gutter) 0;
  background: linear-gradient(135deg, rgba(139, 199, 199, 0.12), rgba(143, 99, 79, 0.05));
  border: 1px solid rgba(99, 85, 73, 0.12);
  border-radius: 2rem;
  pointer-events: none;
}

.spotlight-layout {
  position: relative;
  align-items: center;
  padding: clamp(1.4rem, 3vw, 2rem);
}

.spotlight-figure .media-frame {
  --frame-tilt: 2deg;
}

.spotlight-copy {
  align-content: center;
}

.spotlight-copy .section-title {
  max-width: 16ch;
  text-wrap: balance;
}

.spotlight-note {
  max-width: 28rem;
  padding-left: 0.95rem;
  border-left: 2px solid var(--accent-line);
}

.follow {
  padding-top: 0.5rem;
}

.follow-callout {
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem 2rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid rgba(95, 157, 156, 0.18);
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(252, 249, 243, 0.92), rgba(247, 240, 231, 0.84)),
    linear-gradient(135deg, rgba(139, 199, 199, 0.1), rgba(143, 99, 79, 0.04));
  box-shadow: 0 1rem 2rem rgba(33, 21, 16, 0.05);
}

.follow-callout::before {
  content: "";
  position: absolute;
  inset: 1rem auto 1rem 0;
  width: 0.32rem;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
}

.follow-callout-copy {
  display: grid;
  gap: 0.9rem;
  max-width: 48rem;
}

.follow-callout .section-title {
  max-width: 17ch;
}

.follow-callout .section-lead {
  max-width: 38rem;
}

.follow-callout .button-link {
  justify-self: start;
}

.site-footer {
  padding-bottom: 2rem;
}

.site-footer-inner {
  align-items: end;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--accent-line);
}

.site-footer-brand {
  display: grid;
  gap: 0.7rem;
  max-width: 24rem;
}

.site-footer-title {
  color: var(--foreground);
}

.site-footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-self: end;
  gap: 0.85rem 1.25rem;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(1.1rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .hero-media,
  .style-notes-grid,
  .section-heading,
  .intro-content,
  .intro-detail,
  .product-card,
  .detail-card,
  .spotlight-figure,
  .spotlight-copy,
  .follow-copy,
  .follow-panel,
  .site-footer-inner {
    animation: rise-in 0.75s ease both;
  }

  .hero-media,
  .style-notes-grid,
  .intro-detail,
  .spotlight-copy,
  .follow-panel {
    animation-delay: 0.1s;
  }

  .product-card:nth-child(2),
  .product-card:nth-child(4),
  .product-card:nth-child(6),
  .detail-card:nth-child(2),
  .detail-card:nth-child(4) {
    animation-delay: 0.12s;
  }

  .product-card:nth-child(3),
  .product-card:nth-child(5),
  .product-card:nth-child(7),
  .detail-card:nth-child(3) {
    animation-delay: 0.18s;
  }
}

@media (max-width: 860px) {
  .site-nav {
    display: none;
  }

  .site-mobile-nav {
    display: block;
    min-width: 7rem;
  }

  .site-mobile-nav summary {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.8rem;
    list-style: none;
    cursor: pointer;
  }

  .site-mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .site-mobile-icon {
    display: inline-grid;
    gap: 0.3rem;
  }

  .site-mobile-icon span {
    display: block;
    width: 1.2rem;
    height: 1px;
    background: currentColor;
  }

  .site-mobile-panel {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
  }

  .site-mobile-panel ul {
    display: grid;
    gap: 0.75rem;
  }

  .hero,
  .intro-layout,
  .follow,
  .site-footer-inner,
  .spotlight-layout,
  .section-heading-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    align-items: start;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-media {
    padding: 0.8rem 0 0;
  }

  .hero-media::before {
    inset: 0 0.75rem 3.5rem 0.75rem;
    transform: rotate(-2deg);
  }

  .hero-frame {
    width: min(100%, 28rem);
    justify-self: center;
  }

  .hero-frame-portrait {
    --frame-tilt: 0deg;
  }

  .style-notes {
    margin-top: 0;
  }

  .intro-layout {
    padding: 1.35rem;
    border-radius: 1.7rem;
  }

  .intro-detail {
    width: 100%;
  }

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

  .product-card,
  .detail-card,
  .product-card:nth-child(n) {
    grid-column: auto;
  }

  .spotlight::before {
    inset: 1rem var(--gutter) 0;
  }

  .follow-callout {
    grid-template-columns: minmax(0, 1fr);
  }

  .spotlight-copy {
    order: 1;
  }

  .spotlight-figure {
    order: 2;
  }
}

@media (max-width: 620px) {
  .site-header-inner {
    align-items: flex-start;
    gap: 1.25rem;
  }

  .site-brand-mark {
    max-width: 10.75rem;
  }

  .hero-title {
    font-size: clamp(2.8rem, 15vw, 4rem);
  }

  .hero-media::before {
    inset: 0.25rem 0.5rem 2.75rem;
    transform: rotate(-1deg);
  }

  .section-title {
    max-width: none;
    font-size: clamp(2.2rem, 11vw, 3rem);
  }

  .button-link {
    width: 100%;
  }

  .hero-actions {
    align-items: stretch;
  }

  .product-mosaic,
  .detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }

}
