:root {
  --beige: #efe6d8;
  --beige-2: #e2d9cc;
  --greige: #c8c1b6;
  --stone: #9a948b;
  --ink: #1f1e1b;
  --ink-soft: rgba(31, 30, 27, 0.6);
  --paper: #f7f2ea;
  --shadow: 0 22px 40px rgba(31, 30, 27, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Didot", "Bodoni 72", "Garamond", serif;
  color: var(--ink);
  background: radial-gradient(circle at 20% 20%, #ffffff 0%, var(--paper) 45%, #e9e2d7 100%);
  min-height: 100vh;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding: 32px clamp(20px, 5vw, 60px) 48px;
  position: relative;
  overflow-x: hidden;
}

.page::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(31, 30, 27, 0.05), transparent 55%);
  pointer-events: none;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.brand {
  display: flex;
  gap: 16px;
  align-items: center;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border: 1px solid var(--ink);
  display: grid;
  place-items: center;
  font-weight: 600;
  letter-spacing: 0.08em;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-title {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 14px;
  font-weight: 700;
}

.brand-sub {
  color: var(--ink-soft);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.burger {
  width: 52px;
  height: 52px;
  border: 1px solid var(--ink);
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.burger span {
  width: 26px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
  position: absolute;
  right: clamp(20px, 5vw, 60px);
  top: 92px;
  display: grid;
  gap: 12px;
  padding: 18px 22px;
  background: rgba(239, 230, 216, 0.96);
  border: 1px solid rgba(31, 30, 27, 0.2);
  box-shadow: var(--shadow);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 3;
}

.mobile-menu.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.menu-item {
  text-decoration: none;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(20px, 5vw, 60px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero .lede {
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 16px;
}

.popheart-quote {
  font-size: 16px;
  color: var(--ink-soft);
  border-left: 2px solid rgba(31, 30, 27, 0.25);
  padding-left: 14px;
}

.hero-copy h1 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-copy p {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 24px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  border: 1px solid var(--ink);
  padding: 12px 20px;
  background: transparent;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
}

.btn.primary {
  background: var(--ink);
  color: var(--paper);
}

.btn.ghost {
  border-color: var(--ink-soft);
  color: var(--ink);
}

.hero-card {
  background: linear-gradient(145deg, var(--beige) 0%, var(--greige) 100%);
  padding: 28px;
  border: 1px solid rgba(31, 30, 27, 0.15);
  box-shadow: var(--shadow);
}

.card-title {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 8px;
}

.card-meta {
  font-size: 14px;
  color: var(--ink-soft);
}

.carousel {
  display: grid;
  gap: 20px;
}

.carousel-track {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(31, 30, 27, 0.2);
  box-shadow: var(--shadow);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.slide.is-active {
  opacity: 1;
  position: relative;
}

.slide img {
  width: 100%;
  display: block;
  height: clamp(240px, 45vw, 520px);
  object-fit: cover;
}

.carousel-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}

.control {
  border: 1px solid rgba(31, 30, 27, 0.4);
  background: rgba(247, 242, 234, 0.9);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  transition: transform 0.2s ease, background 0.2s ease;
  color: var(--ink);
  appearance: none;
  -webkit-appearance: none;
}

.control:hover {
  transform: translateY(-1px);
  background: #f1eadf;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
}

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

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.popheart-story {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 5vw, 40px);
  align-items: start;
}

.popheart-story h2 {
  font-size: 26px;
  margin-bottom: 12px;
}

.story-text {
  background: #efe6d8;
  border: 1px solid rgba(31, 30, 27, 0.12);
  padding: clamp(20px, 5vw, 40px);
  text-align: center;
}

.popheart-story p {
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.story-base {
  margin: 0;
  display: grid;
  gap: 8px;
  justify-items: center;
}

.story-base img {
  width: min(100%, 980px);
  border: 1px solid rgba(31, 30, 27, 0.12);
  box-shadow: var(--shadow);
}

.story-base figcaption {
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
}

.popheart-highlight {
  display: grid;
  gap: 18px;
}

.popheart-highlight p {
  font-size: clamp(16px, 2vw, 22px);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-align: center;
  padding: 22px clamp(20px, 6vw, 80px);
  background: #1f1e1b;
  color: #f7f2ea;
  border: 1px solid rgba(31, 30, 27, 0.2);
}

.popheart-carousel .carousel-track {
  border-color: rgba(31, 30, 27, 0.15);
}

.slogan-panels {
  display: grid;
  gap: 14px;
}

.slogan-panel {
  padding: 28px clamp(20px, 6vw, 80px);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: clamp(16px, 2.2vw, 24px);
  border: 1px solid rgba(31, 30, 27, 0.15);
}

.slogan-panel p {
  margin: 0;
}

.slogan-panel.is-ink {
  background: #1f1e1b;
  color: #f7f2ea;
}

.slogan-panel.is-beige {
  background: #efe6d8;
  color: #1f1e1b;
}

.slogan-panel.is-stone {
  background: #c8c1b6;
  color: #1f1e1b;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.gallery figure {
  margin: 0;
  display: grid;
  gap: 8px;
}

.gallery img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border: 1px solid rgba(31, 30, 27, 0.12);
  box-shadow: 0 12px 24px rgba(31, 30, 27, 0.08);
  cursor: pointer;
}

.gallery figcaption {
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 10;
}

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

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 16, 14, 0.75);
}

.lightbox-content {
  position: relative;
  max-width: min(92vw, 920px);
  max-height: 86vh;
  margin: 0;
  z-index: 1;
}

.lightbox-content img {
  width: 100%;
  height: auto;
  max-height: 86vh;
  object-fit: contain;
  border: 1px solid rgba(247, 242, 234, 0.6);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  background: #f7f2ea;
}

.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(247, 242, 234, 0.6);
  background: #1f1e1b;
  color: #f7f2ea;
  cursor: pointer;
}

.tile {
  padding: 18px;
  border: 1px solid rgba(31, 30, 27, 0.15);
  background: rgba(255, 255, 255, 0.4);
}

.tile h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.tile img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 12px;
  border: 1px solid rgba(31, 30, 27, 0.12);
}

.tile p {
  color: var(--ink-soft);
}

.shopify-button-wrap {
  margin-top: 14px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  border-top: 1px solid rgba(31, 30, 27, 0.15);
  padding-top: 18px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .popheart-story {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 640px) {
  .burger {
    width: 46px;
    height: 46px;
  }

  .mobile-menu {
    right: 20px;
    left: 20px;
  }

  .carousel-controls {
    grid-template-columns: auto 1fr auto;
    justify-content: center;
  }

  .dots {
    width: 100%;
    justify-content: center;
    margin-top: 6px;
  }

  .control {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }
}
