:root {
  --color-mist: #96B5B8;
  --color-gold: #C7A961;
  --color-sage: #8F9E8B;
  --color-ivory: #E3D8C6;
  --color-mauve: #6B656E;
  --color-forest: #42473F;
  --color-white: #f8f5ef;
  --shadow-soft: 0 18px 45px #42473f1f;
  --shadow-card: 0 12px 30px #42473f14;
  --radius-large: 28px;
  --radius-medium: 20px;
  --radius-small: 14px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", sans-serif;
  color: var(--color-forest);
  background:
    radial-gradient(circle at top left, #96b5b859, transparent 30%),
    linear-gradient(180deg, #f5efe5 0%, #eee7d9 100%);
  line-height: 1.6;
}

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

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

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: var(--color-sage);
  border-bottom: 1px solid #42473f1f;
}

.site-header.scrolled {
  box-shadow: 0 10px 24px #42473f14;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}

.brand,
h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
}

.brand {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  font-size: 1rem;
  font-weight: 600;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 100%;
  height: 1px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  border: 1px solid #42473f2e;
  background: #f8f5efcc;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font: inherit;
  font-weight: 600;
  color: var(--color-forest);
}

.hero-section,
.feature-section,
.about-section,
.contact-section,
.product-grid-section,
.page-hero {
  padding: 4.5rem 0;
}

.blog-layout {
  padding: 1.5rem 0 4.5rem;
}

.page-hero + .product-grid-section {
  padding-top: 1.5rem;
}

.page-hero:has(+ .product-grid-section) {
  padding-bottom: 1rem;
}

.page-hero+.blog-layout {
  padding-top: 40px;
}

.page-hero:has(+ .blog-layout) {
  padding-bottom: 1rem;
}

.hero-card {
  position: relative;
  overflow: hidden;
  min-height: 72vh;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-soft);
}

.hero-image {
  width: 100%;
  height: 72vh;
  object-fit: cover;
  object-position: center 6%;
  filter: blur(1px) saturate(0.92);
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  color: var(--color-white);
  background: linear-gradient(180deg, #42473f26, #42473f85);
}

.hero-overlay h1 {
  margin: 0.15rem 0 0.75rem;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.95;
}

.hero-copy,
.page-hero-shell p,
.copy-card p,
.about-box p,
.contact-copy,
.product-card p,
.featured-post p,
.blog-card p,
.sidebar-card p {
  font-size: 1.05rem;
}

.hero-copy {
  max-width: 38rem;
  margin: 0 auto 1.5rem;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-gold);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--color-gold);
  color: var(--color-forest);
  box-shadow: var(--shadow-card);
}

.button-secondary {
  background: var(--color-mist);
  color: var(--color-forest);
}

.split-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.copy-card,
.about-box,
.featured-post,
.sidebar-card,
.blog-card,
.product-card {
  background: #f8f5efe0;
  border: 1px solid #42473f14;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-card);
}

.copy-card,
.featured-post,
.sidebar-card,
.blog-card,
.product-card {
  padding: 2rem;
}

.copy-card h2,
.about-box h2,
.page-hero-shell h1,
.featured-post h2 {
  margin: 0.25rem 0 1rem;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1;
}

.copy-card,
.media-card {
  height: 460px
}


.placeholder-square {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-medium);
}

.placeholder-square img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-image-placeholder {
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-medium);
  background:
    linear-gradient(135deg, #96b5b8e6, #6b656ecc),
    linear-gradient(45deg, #e3d8c666, transparent);
  color: var(--color-white);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0;
  box-shadow: var(--shadow-card);
  border: 1px solid #f8f5ef33;
}

.product-image-placeholder img {
  position: absolute;
  inset: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  object-fit: cover;
  display: block;
  border-radius: inherit;
  transform: translate(var(--product-image-x, 0), var(--product-image-y, 0));
}

.alt-tone {
  background: linear-gradient(180deg, #8f9e8b29, transparent);
}

.about-section {
  background: var(--color-forest);
}

.about-box {
  max-width: 760px;
  padding: 2.5rem;
  margin: 0 auto;
  background: var(--color-ivory);
}

.contact-shell {
  text-align: center;
  max-width: 760px;
}

.contact-shell h2 {
  margin: 0.25rem 0 1rem;
  font-size: clamp(2.3rem, 4vw, 3.8rem);
  line-height: 1;
}

.contact-details {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  font-weight: 700;
}

.page-hero-shell {
  max-width: 720px;
}

.inner-page {
  min-height: calc(100vh - 160px);
}

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

.product-card h2,
.blog-card h3,
.sidebar-card h3 {
  margin: 0.25rem 0 0.5rem;
  font-size: 2rem;
  line-height: 1;
}

.product-card .button {
  margin-top: 0.75rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 0.9fr);
  gap: 1.5rem;
  align-items: start;
}

.blog-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  width: calc((100% - 1.5rem) * 2 / 2.9);
  justify-self: start;
}

.featured-post,
.blog-card,
.sidebar-card {
  display: grid;
  align-content: start;
  gap: 0.75rem;
}

.blog-sidebar {
  display: grid;
  gap: 1.5rem;
}

.sidebar-search input {
  width: 100%;
  min-height: 52px;
  padding: 0 1rem;
  border-radius: var(--radius-medium);
  border: 1px solid #42473f1f;
  background: #f8f5efe0;
  box-shadow: var(--shadow-card);
  font: inherit;
  color: var(--color-forest);
}

.sidebar-search input::placeholder {
  color: var(--color-mauve);
}

.sidebar-search input:focus {
  outline: 2px solid #c7a96166;
  outline-offset: 2px;
}

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

.blog-layout-shell {
  display: grid;
  gap: 1.5rem;
}

.featured-post p,
.featured-post h2,
.blog-card p,
.blog-card h3,
.sidebar-card p,
.sidebar-card h3 {
  margin: 0;
}

.post-meta,
.text-link {
  color: var(--color-mauve);
}

.text-link {
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid #42473f1a;
  background: #e3d8c6b3;
}

.footer-shell {
  padding: 2rem 0 1.5rem;
  display: grid;
  gap: 1.5rem;
}

.footer-bottom {
  display: grid;
  gap: 1rem;
  align-items: center;
}

.footer-bottom {
  grid-template-columns: auto auto;
  justify-content: space-between;
}

.footer-tagline,
.footer-copyright {
  margin: 0;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
}

.footer-legal-links {
  color: var(--color-mauve);
}

@media (max-width: 900px) {

  .split-layout,
  .product-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-cards-grid {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .reverse-mobile .media-card {
    order: -1;
  }

  .hero-card,
  .hero-image {
    min-height: 60vh;
    height: 60vh;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    justify-content: start;
  }
}

@media (max-width: 760px) {
  .nav-shell {
    flex-wrap: wrap;
    padding: 1rem 0;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0 0.25rem;
  }

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

  .hero-overlay h1,
  .copy-card h2,
  .about-box h2,
  .page-hero-shell h1,
  .contact-shell h2,
  .featured-post h2 {
    line-height: 1.02;
  }

  .copy-card,
  .featured-post,
  .sidebar-card,
  .blog-card,
  .product-card,
  .about-box {
    padding: 1.5rem;
  }

  .footer-shell {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 1rem 0;
  }
}

.header-logo {
  width: 150px;
  height: auto;
}

.brand img {
  width: 150px;
  height: auto;
}
