:root {
  --cream: #f6f1ea;
  --cream-deep: #efe7dc;
  --paper: #fbf7f2;
  --ink: #3f342d;
  --ink-soft: #6a5d53;
  --muted: #8a7c72;
  --line: #e4d9cd;
  --mauve: #a07875;
  --mauve-deep: #8d6663;
  --footer: #c4a39c;
  --footer-ink: #f7f1eb;
  --max: 1180px;
  --shop: "https://www.spoonflower.com/profiles/tessab_studio?sort=bestselling&substrate=wallpaper";
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Libre Franklin", "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

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

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

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.28em;
  line-height: 1;
}

.nav {
  display: flex;
  gap: 28px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav a {
  color: var(--ink-soft);
}

.nav a:hover {
  color: var(--ink);
}

.header-cta {
  justify-self: end;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--mauve);
  color: #f8f3ef;
  border: 0;
  padding: 11px 18px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn:hover {
  background: var(--mauve-deep);
}

.hero-copy .btn {
  align-self: flex-start;
  width: auto;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--ink);
  margin: 5px 0;
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: stretch;
  background: var(--cream);
}

.hero-copy {
  padding: 10vh 8vw 8vh 7vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(90deg, rgba(246, 241, 234, 0.94) 0%, rgba(246, 241, 234, 0.78) 42%, rgba(246, 241, 234, 0) 72%);
  position: relative;
  z-index: 1;
  max-width: 760px;
}

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

.hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.12;
  margin: 0 0 22px;
  max-width: 16ch;
}

.hero p {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 20px;
  color: var(--ink-soft);
  max-width: 34ch;
  margin: 0 0 32px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.placeholder-photo {
  background:
    linear-gradient(180deg, rgba(63, 52, 45, 0.08), rgba(63, 52, 45, 0.18)),
    var(--photo, #ddd3c6);
  background-size: cover;
  background-position: center;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 28px;
}

.section-title {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 36px;
  font-weight: 500;
}

.featured-heading {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 500;
  text-align: center;
  margin: 0 0 10px;
  color: var(--ink);
}

.featured-subhead {
  text-align: center;
  margin: 0 0 48px;
  color: var(--ink-soft);
  font-size: 15px;
}

.featured-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.featured-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 28px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 2px 12px;
  flex: 1;
  min-width: 0;
  width: 100%;
}

.featured-track::-webkit-scrollbar {
  display: none;
}

.featured-item {
  flex: 0 0 220px;
  scroll-snap-align: start;
  text-align: center;
}

.carousel-btn {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.carousel-btn:hover {
  background: var(--cream-deep);
  color: var(--ink);
  border-color: var(--muted);
}

.carousel-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.featured-visual {
  display: block;
  margin: 0 auto 18px;
  width: min(100%, 220px);
  aspect-ratio: 1;
  transition: transform 0.35s ease;
}

.featured-visual:hover {
  transform: translateY(-3px);
}

.featured-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.featured-visual.is-placeholder {
  display: grid;
  place-items: center;
}

.swatch-stack {
  position: relative;
  width: 72%;
  aspect-ratio: 1;
}

.swatch-stack .swatch {
  position: absolute;
  inset: 0;
  background: var(--swatch, #ddd3c6);
  box-shadow: 0 8px 18px rgba(63, 52, 45, 0.12);
}

.swatch-stack .swatch:nth-child(1) {
  transform: translate(14%, 14%);
}

.swatch-stack .swatch:nth-child(2) {
  transform: translate(7%, 7%);
}

.swatch-stack .swatch:nth-child(3) {
  transform: none;
}

.featured-item h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--ink);
}

.featured-link {
  font-size: 13px;
  color: var(--muted);
}

.featured-link:hover {
  color: var(--ink);
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.collection-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.collection-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-card h3 {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 18px 0 8px;
}

.collection-card p {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 14px;
  max-width: 28ch;
}

.text-link {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mauve-deep);
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.about {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.about-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.about-copy {
  position: relative;
}

.about-copy h2 {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0 0 18px;
}

.about-copy p {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink-soft);
  margin: 0 0 16px;
}

.about-signature {
  display: block;
  width: min(200px, 52%);
  margin: 28px 0 32px;
}

.about-copy .text-link {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
}

.site-footer {
  background: var(--footer);
  color: var(--footer-ink);
  padding: 18px 28px;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}

.monogram {
  width: 42px;
  height: 42px;
}

.footer-center {
  text-align: center;
}

.footer-note {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.footer-copy {
  margin: 8px 0 0;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: rgba(247, 241, 235, 0.78);
}

.social {
  display: flex;
  gap: 14px;
  align-items: center;
}

.social a {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(247, 241, 235, 0.45);
  border-radius: 50%;
}

.social svg {
  width: 13px;
  height: 13px;
  fill: var(--footer-ink);
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 18px 28px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--line);
  }

  .nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .header-cta {
    display: none;
  }

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

  .featured-item {
    flex: 0 0 200px;
  }

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

  .hero {
    min-height: 0;
  }

  .hero-copy {
    padding: 56px 28px 40px;
    background: var(--cream);
    max-width: none;
  }

  .hero-media {
    position: relative;
    min-height: 420px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .featured-item {
    flex: 0 0 72%;
  }

  .featured-carousel {
    gap: 0;
  }

  .carousel-btn {
    display: none;
  }

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

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