:root {
  --ink: #1f261e;
  --olive: #3f5636;
  --olive-dark: #24341f;
  --cream: #f7f3ea;
  --paper: #fffdf7;
  --line: #ded6c6;
  --muted: #6d695f;
  --brass: #9b7a43;
  --shadow: 0 24px 70px rgba(34, 31, 24, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--cream);
}

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

a {
  color: inherit;
}

.page {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px clamp(20px, 5vw, 64px);
  background: rgba(247, 243, 234, 0.92);
  border-bottom: 1px solid rgba(63, 86, 54, 0.16);
  backdrop-filter: blur(16px);
}

.brand {
  display: grid;
  gap: 2px;
  text-decoration: none;
}

.brand strong {
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand span {
  color: var(--muted);
  font-size: 0.8rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--olive-dark);
  font-size: 0.9rem;
}

.nav a {
  text-decoration: none;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
  align-items: stretch;
  min-height: min(660px, calc(100vh - 66px));
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 6vw, 68px) clamp(22px, 5vw, 64px);
  background:
    radial-gradient(circle at 16% 12%, rgba(155, 122, 67, 0.16), transparent 30%),
    linear-gradient(135deg, #fbf8ef 0%, #eee6d5 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--olive);
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 570px;
  margin: 0;
  font-size: clamp(2.55rem, 4.8vw, 4.65rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  max-width: 540px;
  margin: 20px 0 0;
  color: #42483c;
  font-family: Arial, sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.58;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 19px;
  border: 1px solid var(--olive-dark);
  border-radius: 999px;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: var(--olive-dark);
}

.button.secondary {
  color: var(--olive-dark);
  background: rgba(255, 255, 255, 0.42);
}

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

.hero-media {
  min-height: 430px;
  overflow: hidden;
}

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

.section {
  padding: clamp(44px, 6vw, 76px) clamp(20px, 5vw, 64px);
}

.section.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(26px, 5vw, 68px);
  align-items: start;
  background: var(--paper);
}

.section h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.05;
}

.intro p,
.tip p,
.note p,
.card p {
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.72;
}

.intro p {
  margin: 0;
  max-width: 720px;
}

.pathways {
  background: #eef0e7;
}

.pathways-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.pathways-header p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-family: Arial, sans-serif;
  line-height: 1.65;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  min-height: 235px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background: var(--paper);
  border: 1px solid rgba(63, 86, 54, 0.18);
  border-radius: 8px;
  box-shadow: 0 10px 34px rgba(34, 31, 24, 0.06);
}

.card-label {
  color: var(--brass);
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card h3 {
  margin: 18px 0 10px;
  font-size: 1.45rem;
  line-height: 1.08;
}

.card p {
  margin: 0;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 22px;
  color: var(--olive-dark);
  font-family: Arial, sans-serif;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.tip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background: var(--olive-dark);
  color: #fff;
}

.tip p {
  color: rgba(255, 255, 255, 0.78);
}

.tip-box {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow);
}

.tip-box ul {
  margin: 0;
  padding-left: 19px;
  color: rgba(255, 255, 255, 0.82);
  font-family: Arial, sans-serif;
  line-height: 1.8;
}

.note {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.note p {
  margin: 20px auto 0;
  max-width: 720px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px clamp(20px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.76);
  background: #171d16;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
}

.footer a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

@media (max-width: 920px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .hero,
  .section.intro,
  .tip {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-copy {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .hero-media {
    min-height: 360px;
  }

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

  .pathways-header,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .nav {
    font-size: 0.9rem;
  }

  h1 {
    font-size: 2.75rem;
  }

  .button {
    width: 100%;
  }

  .hero-media {
    min-height: 290px;
  }

  .card {
    min-height: 240px;
  }
}

/* Collection galleries extend the existing atelier design. */
.nav { flex-wrap: wrap; justify-content: flex-end; gap: 12px 18px; }
.brand { flex-shrink: 0; }
section[id] { scroll-margin-top: 110px; }
a:focus-visible { outline: 2px solid var(--olive); outline-offset: 6px; }
.collection-notice { padding: 24px clamp(20px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.collection-notice p { max-width: 900px; margin: 0; font: 0.9rem/1.7 Arial, sans-serif; color: var(--muted); }
.collection { border-bottom: 1px solid var(--line); }
.collection:nth-of-type(even) { background: var(--paper); }
.collection-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.botanical-mark { width: 62px; height: 62px; flex-shrink: 0; color: var(--olive); opacity: 0.65; }
.collection-intro { max-width: 780px; margin: 20px 0 30px; font: 1rem/1.72 Arial, sans-serif; color: var(--muted); }
.gallery-card { padding: 0; overflow: hidden; justify-content: flex-start; }
.image-placeholder { min-height: 210px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: var(--cream); border-bottom: 1px solid var(--line); }
.image-placeholder span { font: 0.75rem Arial, sans-serif; letter-spacing: 0.06em; color: var(--muted); }
.card-copy { padding: 24px 24px 0; flex: 1; }
.gallery-card .pending-link { margin: 24px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.8rem; }
.book-placeholder { min-height: 270px; }
.atelier p + p { margin-top: 18px; }
.atelier-signature { display: block; margin-top: 22px; color: var(--olive); font-style: italic; }
@media (max-width: 1100px) { .topbar { align-items: flex-start; flex-direction: column; } .nav { justify-content: flex-start; } section[id] { scroll-margin-top: 150px; } }
@media (max-width: 920px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } .nav { gap: 10px 16px; } section[id] { scroll-margin-top: 190px; } .collection-heading > .botanical-mark { width: 44px; height: 44px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button:hover { transform: none; } }

.language-switch { display: inline-flex; align-items: center; gap: 5px; flex-shrink: 0; padding: 4px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--olive-dark); background: var(--paper); font: 0.85rem Arial, sans-serif; }
.language-switch button { appearance: none; border: 0; background: transparent; color: var(--muted); font: inherit; min-width: 40px; min-height: 40px; cursor: pointer; border-radius: 999px; }
.language-switch button[aria-pressed="true"] { color: var(--olive-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.language-switch button:hover { background: var(--cream); }
.language-switch button:focus-visible { outline: 2px solid var(--olive); outline-offset: 2px; }
@media (max-width: 1100px) { .topbar { position: sticky; padding-right: 130px; } .language-switch { position: absolute; right: clamp(20px, 5vw, 64px); top: 12px; } .nav { width: calc(100% + 100px); } }

.product-image-link { display: block; background: var(--cream); }
.product-image { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.product-card .product-note { margin-top: 16px; font-size: 0.85rem; line-height: 1.65; }
.product-link { margin: 24px; align-self: flex-start; }
@media (max-width: 560px) { .product-link { width: calc(100% - 48px); } }

/* Collection index mirrors the Etsy shop sections. */
.collection-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.collection-links a { display: flex; align-items: center; min-height: 60px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--olive-dark); text-decoration: none; line-height: 1.35; }
.collection-links a:hover { border-color: var(--olive); }
@media (max-width: 920px) { .collection-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .collection-links { grid-template-columns: 1fr; } }

/* Seasonal spotlight, updated when a different product is featured. */
.seasonal-feature { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(28px, 5vw, 70px); background: var(--paper); border-bottom: 1px solid var(--line); }
.seasonal-image { display: block; max-width: 440px; width: 100%; justify-self: center; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.seasonal-image img { width: 100%; height: auto; }
.seasonal-copy { max-width: 660px; }
.seasonal-kicker { color: var(--brass); font-style: italic; margin: 0 0 16px; font-size: 1.1rem; }
.seasonal-note { font: 0.85rem/1.65 Arial, sans-serif; color: var(--muted); margin: 0 0 24px; }
@media (max-width: 920px) { .seasonal-feature { grid-template-columns: 1fr; } .seasonal-copy { max-width: none; } }

/* A quieter, more informative introduction to the atelier. */
.home-welcome { background: var(--paper); border-bottom: 1px solid var(--line); }
.home-welcome > h2 { max-width: 760px; }
.home-intro { max-width: 780px; margin: 22px 0 38px; color: var(--muted); font: 1.05rem/1.85 Arial, sans-serif; }
.home-discoveries { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(20px,3vw,38px); }
.home-discovery { min-width: 0; }
.home-discovery-image { display: block; overflow: hidden; background: var(--cream); border: 1px solid var(--line); }
.home-discovery-image img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.home-discovery-copy { padding-top: 24px; }
.home-discovery h3 { margin: 0 0 14px; font-size: clamp(1.45rem,2.3vw,1.9rem); font-weight: 400; color: var(--olive-dark); }
.home-discovery p, .home-story p { color: var(--muted); font: .95rem/1.85 Arial,sans-serif; margin: 0 0 20px; }
.home-discovery .text-link { display: inline-block; padding: 8px 0; }
.home-story { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px,6vw,80px); border-top: 1px solid var(--line); margin-top: 46px; padding-top: 38px; }
.home-story h3 { margin: 0 0 18px; font-size: 1.65rem; font-weight: 400; color: var(--olive-dark); }
@media(max-width:700px) { .home-discoveries,.home-story { grid-template-columns: 1fr; } .home-discoveries { gap: 36px; } .home-discovery-image { max-width: 440px; } .home-story { margin-top: 36px; } }
