:root {
  --bg: #f7f2e8;
  --paper: #fbf7ed;
  --paper-strong: #fffdf7;
  --ink: #17130f;
  --muted: #5f564b;
  --line: #d8cfc0;
  --soft-line: rgba(38, 31, 24, 0.14);
  --button: #f4efe4;
  --button-border: #ded4c2;
  --container-max: 1080px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.45;
  overflow-x: hidden;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3,
.brand {
  font-family: "Libre Caslon Display", "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.02;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container,
.section,
.blog-main,
.article-main,
.shop-main,
.contact-main {
  width: min(var(--container-max), calc(100% - 64px));
  margin-inline: auto;
}

.section {
  margin-top: 44px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 110;
  background: rgba(247, 242, 232, 0.96);
  border-bottom: 1px solid rgba(38, 31, 24, 0.06);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0;
}

.brand {
  flex: 0 0 auto;
  text-decoration: none;
  font-size: clamp(1.55rem, 3.4vw, 2.2rem);
  color: var(--ink);
}

.menu-toggle,
body.nav-enhanced .menu-toggle,
.mobile-bottom-nav {
  display: none !important;
}

.menu,
body.nav-enhanced .menu {
  position: static;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 4vw, 42px);
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  list-style: none;
}

.menu a {
  display: inline-flex;
  padding: 4px 0;
  color: var(--ink);
  font-size: 0.96rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.menu a[aria-current="page"],
.menu a.active,
.menu a:hover {
  border-bottom-color: currentColor;
}

.ambient-shape,
.header-search {
  display: none !important;
}

.lunar-hero {
  position: relative;
  width: 100%;
  height: clamp(300px, 40vw, 465px);
  overflow: hidden;
  background: #ded4c7;
}

.lunar-hero img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: none;
}

.lunar-hero__copy {
  position: absolute;
  left: max(32px, calc((100vw - var(--container-max)) / 2));
  top: 50%;
  transform: translateY(-50%);
  width: min(560px, calc(100% - 64px));
  color: #fffaf2;
  text-shadow: 0 2px 18px rgba(18, 13, 9, 0.42);
}

.lunar-hero__copy h1 {
  max-width: 12ch;
  font-size: clamp(2.15rem, 5vw, 4.55rem);
}

.lunar-hero__copy p {
  max-width: 520px;
  margin-top: 14px;
  font-size: clamp(0.96rem, 1.5vw, 1.18rem);
  line-height: 1.45;
}

.lunar-hero__button {
  margin-top: 18px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: rgba(251, 247, 237, 0.92);
  border: 1px solid var(--button-border);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(29, 24, 18, 0.08);
  text-shadow: none;
}

.lunar-journal h1,
.lunar-categories h2 {
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.85rem);
}

.lunar-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px 22px;
  margin-top: 24px;
}

.lunar-story-card a,
.lunar-category-tile {
  display: block;
  color: inherit;
  text-decoration: none;
}

.lunar-story-card img {
  aspect-ratio: 1.65 / 1;
  object-fit: cover;
  filter: saturate(0.75) contrast(0.92) brightness(1.04);
}

.lunar-story-card h2 {
  max-width: 92%;
  margin: 13px auto 0;
  text-align: center;
  font-size: clamp(1.05rem, 1.7vw, 1.42rem);
}

.lunar-categories {
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.lunar-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
  max-width: 100%;
  margin-inline: auto;
}

.lunar-category-tile {
  position: relative;
  aspect-ratio: 1.24 / 1;
  min-height: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #d8cdc0;
}

.lunar-category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(34, 26, 20, 0.22);
}

.lunar-category-tile img {
  height: 100%;
  min-height: 0;
  object-fit: cover;
  filter: saturate(0.55) contrast(0.88) brightness(0.96);
}

.lunar-category-tile span {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 16px;
  color: #fff8ee;
  font-family: "Libre Caslon Display", "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 0.95;
  text-align: center;
}

.lunar-footer-band,
.site-footer {
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.lunar-footer-band {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) auto auto;
  gap: 40px;
  margin-bottom: 48px;
}

.newsletter h2 {
  font-size: 1.65rem;
}

.newsletter p {
  max-width: 300px;
  margin-top: 8px;
  font-family: Arial, sans-serif;
  font-size: 0.86rem;
  line-height: 1.25;
}

.newsletter form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  max-width: 315px;
  margin-top: 12px;
}

.newsletter input {
  min-width: 0;
  height: 43px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: 0.95rem Arial, sans-serif;
}

.newsletter button {
  height: 43px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font: 0.92rem Arial, sans-serif;
  cursor: pointer;
}

.footer-mini-links {
  display: grid;
  gap: 8px;
  align-content: start;
  font-family: Arial, sans-serif;
  font-size: 0.88rem;
}

.footer-mini-links a {
  text-decoration: none;
}

.section-shell,
.article-post,
.about-card,
.blog-intro,
.contact-card,
.shop-hero,
.shop-note,
.shop-browser,
.shop-section {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.blog-main,
.article-main,
.shop-main,
.contact-main {
  margin-top: 42px;
}

.about {
  margin-bottom: 68px;
}

.about-card,
.blog-intro,
.contact-card,
.article-post,
.shop-hero,
.shop-note,
.shop-browser,
.shop-section {
  border-top: 1px solid var(--line);
  padding-top: 30px;
}

.about-card h2,
.blog-intro h1,
.article-header h1,
.contact-copy h1,
.shop-hero h1 {
  max-width: 780px;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.about-card p,
.blog-intro-copy,
.contact-copy p,
.article-content p,
.article-content li,
.shop-hero__copy,
.shop-note__copy,
.shop-browser__copy,
.shop-section__copy,
.shop-section__count {
  max-width: 760px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
}

.about-card p + p,
.contact-copy p,
.blog-intro-copy,
.shop-hero__copy,
.shop-note__copy,
.shop-browser__copy,
.shop-section__copy,
.article-content p + p {
  margin-top: 14px;
}

.eyebrow,
.hero-kicker,
.article-meta {
  margin-bottom: 8px;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blog-feed {
  margin: 34px 0 70px;
}

.blog-grid,
.cardGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 22px;
}

.blog-card,
.productCard {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.blog-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.blog-card-media {
  aspect-ratio: 1.65 / 1;
  overflow: hidden;
}

.blog-card img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) contrast(0.92) brightness(1.04);
}

.blog-card-body {
  display: grid;
  gap: 10px;
  padding: 13px 0 0;
  text-align: center;
}

.blog-card h2 {
  font-size: clamp(1.08rem, 1.7vw, 1.42rem);
}

.blog-excerpt {
  color: var(--muted);
  font-size: 0.98rem;
}

.blog-read-more,
.back-blog,
.product-back,
.product-cta,
.contact-submit {
  width: fit-content;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid var(--button-border);
  background: var(--button);
  color: var(--ink);
  font: 0.9rem Georgia, "Times New Roman", serif;
  text-decoration: none;
  cursor: pointer;
}

.blog-read-more {
  margin-inline: auto;
}

.article-post {
  margin-bottom: 70px;
}

.article-hero {
  overflow: hidden;
  aspect-ratio: 16 / 8;
  margin: 22px 0;
}

.article-hero img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) contrast(0.92) brightness(1.04);
}

.soft-divider {
  border: 0;
  height: 1px;
  margin: 28px 0;
  background: var(--line);
}

.article-content {
  max-width: 760px;
}

.article-content h2 {
  margin: 24px 0 8px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.article-content h3 {
  margin: 22px 0 8px;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.article-content ul {
  margin: 10px 0 0;
  padding-left: 22px;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
}

.contact-form span {
  font-family: Arial, sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
}

.contact-form input {
  min-height: 43px;
  padding: 0 12px;
}

.contact-form textarea {
  min-height: 150px;
  padding: 10px 12px;
  resize: vertical;
}

.shop-hero,
.shop-note,
.shop-browser,
.shop-section {
  scroll-margin-top: 96px;
}

.shop-hero h1 em {
  font-style: normal;
}

.shopCategoryNav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.shopCategoryNav__link {
  min-height: 76px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  background: transparent;
  text-decoration: none;
}

.shopCategoryNav__count {
  min-width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 0.82rem;
}

.shopCategoryNav__link[aria-current="true"],
.shopCategoryNav__link.active {
  background: var(--button);
}

.shop-section__head {
  display: grid;
  gap: 10px;
}

.shop-section__head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.cardGrid {
  margin-top: 22px;
}

.cardGrid:empty::after {
  content: "New picks will appear here.";
  display: block;
  grid-column: 1 / -1;
  padding: 24px;
  border: 1px dashed var(--line);
  color: var(--muted);
  text-align: center;
}

.shop-section__footer {
  margin-top: 14px;
}

.shopPagination {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.shopPagination[hidden] {
  display: none;
}

.shopPagination__button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.shopPagination__button.is-active {
  background: var(--button);
}

.site-footer {
  width: min(var(--container-max), calc(100% - 64px));
  margin: 54px auto 42px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(120px, 0.45fr) minmax(150px, 0.55fr) auto;
  gap: 42px;
  align-items: start;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}

.site-footer strong {
  display: block;
  margin: 0 0 10px;
  font-size: 1.38rem;
  line-height: 1.08;
  font-weight: 500;
}

.site-footer span,
.footer-disclosure {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.footer-brand {
  max-width: 390px;
}

.footer-brand > span:not(.footer-disclosure) {
  display: block;
  margin-bottom: 8px;
}

.footer-links {
  display: grid;
  gap: 9px;
  align-content: start;
  font-size: 0.82rem;
}

.footer-links a {
  color: var(--ink);
  text-decoration: none;
}

.footer-copy {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
  white-space: nowrap;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: hover) {
  .lunar-story-card a:hover h2,
  .blog-card-link:hover h2,
  .footer-mini-links a:hover,
  .footer-links a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
  }

  .lunar-category-tile:hover img {
    transform: scale(1.04);
  }

  .lunar-category-tile img {
    transition: transform 280ms ease;
  }
}

@media (max-width: 900px) {
  .container,
  .section,
  .blog-main,
  .article-main,
  .shop-main,
  .contact-main,
  .site-footer {
    width: min(100% - 32px, var(--container-max));
  }

  .nav {
    min-height: 92px;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }

  .menu {
    gap: 16px;
  }

  .menu a {
    font-size: 0.88rem;
  }

  .lunar-card-grid,
  .blog-grid,
  .cardGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lunar-category-grid,
  .shopCategoryNav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lunar-footer-band,
  .site-footer,
  .contact-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container,
  .section,
  .blog-main,
  .article-main,
  .shop-main,
  .contact-main,
  .site-footer {
    width: min(100% - 24px, var(--container-max));
  }

  .brand {
    font-size: 1.65rem;
  }

  .menu {
    gap: 10px;
  }

  .menu a {
    font-size: 0.82rem;
  }

  .lunar-hero {
    height: 290px;
  }

.lunar-hero__copy {
    left: 18px;
    width: calc(100% - 36px);
  }

  .lunar-hero__copy h1 {
    max-width: 11ch;
  }

  .lunar-hero__copy p {
    max-width: 31ch;
  }

  .lunar-card-grid,
  .blog-grid,
  .cardGrid,
  .lunar-category-grid,
  .shopCategoryNav {
    grid-template-columns: 1fr;
  }

  .lunar-footer-band {
    gap: 28px;
  }

  .newsletter form {
    grid-template-columns: 1fr;
  }

  .newsletter button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
