:root {
  --navy: #12404c;
  --navy-dark: #0f3a45;
  --green: #2c6a5a;
  --orange: #f6764a;
  --orange-dark: #e9653a;
  --sand: #ead8b8;
  --cream: #f5f1ea;
  --cream-2: #f8f3ea;
  --line: #ece2cf;
  --text: #5f6b70;
  --white: #fff;
  --radius-lg: 32px;
  --radius: 24px;
  --shadow: 0 18px 40px -20px rgba(18, 64, 76, .18);
  --shadow-orange: 0 14px 30px -10px rgba(246, 118, 74, .55);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Nunito", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); font-weight: 900; margin: 0; line-height: 1.05; letter-spacing: -.02em; }
p { margin: 0; }

.container { width: min(1300px, 100% - 48px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--text); }

.eyebrow {
  font-family: var(--sans);
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--orange);
}
.eyebrow.small { font-size: .78rem; letter-spacing: .14em; }
.eyebrow-sand { color: var(--sand); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--sans); font-weight: 800; font-size: 1rem;
  padding: .95rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary { background: var(--orange); color: var(--white); box-shadow: var(--shadow-orange); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn-ghost { background: var(--white); color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--orange); }
.btn-block { width: 100%; }
.arrow { transition: transform .2s; }
.btn:hover .arrow, .link:hover .arrow, .article-card:hover .arrow, .theme-card:hover .arrow { transform: translateX(4px); }

/* Image fallback when photo is missing */
.img-wrap { background: linear-gradient(135deg, #c9b48d, #6f8d6e 60%, #2c4f45); overflow: hidden; }
.img-wrap img { width: 100%; height: 100%; object-fit: cover; color: transparent; font-size: 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 84px; }
.brand { display: flex; align-items: center; gap: .8rem; }
.brand-mark {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy); color: var(--white);
  box-shadow: 0 8px 18px -8px rgba(18, 64, 76, .6);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--serif); font-weight: 900; font-size: 1.3rem; color: var(--navy); letter-spacing: -.01em; }
.brand-text small { font-size: .7rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--text); }
.main-nav {
  display: flex; gap: .4rem; padding: .35rem .6rem;
  border: 1px solid var(--line); border-radius: 999px; background: var(--white);
}
.main-nav a { font-weight: 700; color: var(--navy); padding: .55rem 1rem; border-radius: 999px; transition: background .2s; }
.main-nav a:hover { background: var(--cream); }
.header-cta { padding: .9rem 1.4rem; font-size: 1.05rem; }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero { padding: 52px 0 40px; background: var(--cream); }
.hero-card {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center;
  padding: 3.5rem 3.2rem;
  border-radius: 40px; border: 1px solid var(--line);
  background: linear-gradient(135deg, #fbf8f3, var(--cream-2) 60%, #f3e9d9);
  box-shadow: var(--shadow);
}
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); margin: 1.2rem 0 1.4rem; }
.lead { font-size: 1.15rem; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2.2rem 0 2.6rem; }
.stats { display: flex; gap: 2.6rem; margin: 0; }
.stats dt { font-family: var(--sans); font-weight: 800; font-size: 1.9rem; color: var(--navy); line-height: 1.2; }
.stats dd { margin: .4rem 0 0; font-weight: 700; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; }
.hero-media { position: relative; padding: 16px 0 16px 16px; }
.hero-frame {
  position: absolute; inset: 0 16px 0 0;
  border: 1px solid #ead7c3; border-radius: 34px;
}
.hero-img { position: relative; aspect-ratio: 1.17; border-radius: 26px; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .35); }

/* Featured */
.featured { padding: 40px 0; }
.featured-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.8rem; }
.featured-visual { position: relative; min-height: 500px; border-radius: var(--radius-lg); display: block; }
.featured-visual img { position: absolute; inset: 0; transition: transform .6s; }
.featured-visual:hover img { transform: scale(1.04); }
.featured-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 2.2rem; background: linear-gradient(180deg, transparent 40%, rgba(10, 30, 30, .75));
}
.featured-overlay h2 { color: var(--white); font-size: clamp(2rem, 4vw, 3.1rem); max-width: 18ch; margin-top: .8rem; }
.meta { font-weight: 800; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); }
.meta span { margin: 0 .4rem; }
.meta-light { color: rgba(255, 255, 255, .85); }
.featured-panel {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2.2rem 2.2rem; display: flex; flex-direction: column; gap: 1.1rem;
  box-shadow: var(--shadow);
}
.featured-panel h3 { font-size: 1.6rem; line-height: 1.3; }
.featured-panel .muted { font-size: .95rem; }
.product-card {
  display: flex; align-items: center; gap: 1.1rem;
  padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fbfbfb; margin: .4rem 0;
}
.product-thumb { width: 88px; height: 88px; border-radius: 18px; flex-shrink: 0; }
.product-thumb img { object-position: 52% 40%; }
.product-name { font-weight: 800; color: var(--navy); font-size: 1.2rem; line-height: 1.4; }
.featured-panel .btn { margin-top: .4rem; }

/* Articles */
.articles { padding: 60px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.section-title { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin-top: .6rem; }
.section-title.narrow { max-width: 14ch; margin-bottom: 2.2rem; }
.filters { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip {
  font-family: var(--sans); font-weight: 800; font-size: .95rem; color: var(--navy);
  padding: .7rem 1.15rem; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line); cursor: pointer;
  transition: all .2s;
}
.chip:hover { border-color: var(--orange); }
.chip.is-active { background: var(--orange); color: var(--white); border-color: var(--orange); box-shadow: var(--shadow-orange); }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.article-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
}
.article-card:hover { transform: translateY(-4px); box-shadow: 0 24px 46px -20px rgba(18, 64, 76, .3); }
.article-card .img-wrap { aspect-ratio: 1.7; }
.article-body { padding: 1.6rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.article-body h3 { font-size: 1.55rem; line-height: 1.25; margin-top: .3rem; }
.article-body p.excerpt { font-size: .95rem; flex: 1; }
.link { color: var(--orange); font-weight: 800; margin-top: .6rem; display: inline-flex; gap: .3rem; }
.article-card.is-hidden { display: none; }

/* Themes */
.themes { padding: 60px 0; }
.theme-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.7rem; }
.theme-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.6rem 1.6rem 2.2rem; display: flex; flex-direction: column; gap: .7rem;
  box-shadow: var(--shadow); transition: transform .25s;
}
.theme-card:hover { transform: translateY(-4px); }
.theme-icon {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  background: var(--sand); color: var(--navy); margin-bottom: 1.4rem;
}
.theme-card h3 { font-size: 1.6rem; }
.theme-card p { font-size: .95rem; flex: 1; margin-bottom: 1rem; }

/* Newsletter */
.newsletter-section { padding: 60px 0 90px; }
.newsletter {
  max-width: 1110px; margin-inline: auto;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center;
  padding: 3.2rem 3.2rem;
  border-radius: 40px; color: rgba(255, 255, 255, .85);
  background: linear-gradient(135deg, var(--navy-dark), #2a6a5c);
}
.newsletter h2 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin: .9rem 0 1rem; max-width: 13ch; }
.newsletter-form {
  display: flex; flex-direction: column; gap: .9rem;
  padding: 1.4rem; border-radius: 30px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .2);
}
.newsletter-form input, .newsletter-form select {
  font: inherit; font-size: 1.05rem; color: var(--navy);
  padding: .95rem 1.2rem; border-radius: 22px; border: 1px solid transparent;
  background: rgba(255, 255, 255, .92); outline: none;
}
.newsletter-form input:focus, .newsletter-form select:focus { border-color: var(--orange); }
.form-msg { min-height: 1.4em; font-size: .9rem; text-align: center; color: var(--white); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2rem 0; background: var(--white); }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .95rem; }
.footer-inner strong { font-family: var(--serif); color: var(--navy); }

/* Responsive */
@media (max-width: 1100px) {
  .theme-grid { grid-template-columns: repeat(2, 1fr); }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .main-nav {
    display: none; position: absolute; top: 84px; left: 16px; right: 16px;
    flex-direction: column; border-radius: 24px; padding: .8rem; box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: flex; }
  .nav-toggle { display: block; }
  .header-cta { margin-left: auto; }
  .hero-card, .featured-grid, .newsletter { grid-template-columns: 1fr; }
  .hero-card { padding: 2.4rem 1.6rem; }
  .featured-visual { min-height: 380px; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .brand-text small { display: none; }
  .header-inner { gap: .6rem; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-text strong { font-size: 1.15rem; }
  .header-cta { padding: .6rem .9rem; font-size: .9rem; }
  .nav-toggle { padding: .4rem 0 .4rem .2rem; }
  .article-grid, .theme-grid { grid-template-columns: 1fr; }
  .stats { gap: 1.4rem; flex-wrap: wrap; }
  .newsletter { padding: 2.2rem 1.4rem; border-radius: 30px; }
  .featured-panel { padding: 1.6rem; }
}

/* Article page */
.article-hero { padding: 48px 0 0; }
.article-head { max-width: 780px; margin-inline: auto; text-align: center; display: flex; flex-direction: column; gap: 1rem; align-items: center; }
.breadcrumb { font-size: .9rem; font-weight: 700; }
.breadcrumb a { color: var(--orange); }
.breadcrumb a:hover { text-decoration: underline; }
.article-head h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); text-wrap: balance; }
.article-head .lead { margin-inline: auto; }
.article-cover { max-width: 1100px; margin: 2.6rem auto 0; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.article-cover img { object-position: center 40%; }
.prose { max-width: 720px; margin: 0 auto; padding: 3.2rem 0 1rem; font-size: 1.08rem; color: #44525a; }
.prose > * + * { margin-top: 1.2rem; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 2.8rem; line-height: 1.2; }
.prose h3 { font-size: 1.3rem; margin-top: 2rem; line-height: 1.3; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li + li { margin-top: .5rem; }
.prose strong { color: var(--navy); }
.prose a { color: var(--orange); font-weight: 700; }
.disclosure { font-size: .88rem; color: var(--text); background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: .8rem 1.1rem; }
.callout { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.6rem; box-shadow: var(--shadow); }
.callout .eyebrow { margin-bottom: .4rem; }
.callout p + p, .callout ul { margin-top: .6rem; }
.product-box { display: grid; grid-template-columns: 140px 1fr; gap: 1.4rem; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem; box-shadow: var(--shadow); }
.product-box .img-wrap { aspect-ratio: 1; border-radius: 20px; }
.product-box .img-wrap img { object-position: 52% 40%; }
.product-box h3 { margin: .2rem 0 .4rem; }
.product-box ul { margin-top: .6rem; font-size: .98rem; }
.checklist { list-style: none; padding: 0 !important; }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--sand); color: var(--navy); font-weight: 800; font-size: .8rem; display: grid; place-items: center; margin-top: .25rem; }
.back-link { display: inline-flex; margin-top: 2.4rem; }
@media (max-width: 640px) {
  .product-box { grid-template-columns: 1fr; }
  .product-box .img-wrap { aspect-ratio: 16 / 9; }
  .article-cover { border-radius: var(--radius); }
}
