:root {
  --forest: #1a3a32;
  --forest-deep: #102822;
  --moss: #2f6b5a;
  --timber: #b07a45;
  --timber-soft: #d4a574;
  --steam: #e8f0ed;
  --mist: #f3f7f5;
  --ink: #15201c;
  --muted: #5a6b64;
  --line: rgba(26, 58, 50, 0.12);
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(16, 40, 34, 0.14);
  --radius: 4px;
  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --header-h: 78px;
  --widget-h: 48px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--mist);
  line-height: 1.6;
  padding-top: calc(var(--widget-h) + var(--header-h));
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--moss); text-decoration: none; }
a:hover { color: var(--forest); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--forest-deep);
  margin: 0 0 0.6em;
}
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

/* —— Global widget —— */
.site-widget {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--widget-h);
  background: linear-gradient(90deg, var(--forest-deep), var(--moss));
  color: var(--steam);
  font-size: 0.875rem;
}
.site-widget__inner {
  max-width: 1180px;
  margin: 0 auto;
  height: 100%;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-widget__copy {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}
.site-widget__brand { letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.75rem; }
.site-widget__sep { opacity: 0.5; }
.site-widget__text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.site-widget__actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.site-widget__link { color: var(--steam); opacity: 0.9; }
.site-widget__cta {
  background: var(--timber);
  color: var(--white);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.8rem;
}
.site-widget__cta:hover { background: var(--timber-soft); color: var(--forest-deep); }

.widget-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 999;
}
.widget-float__toggle {
  border: 0;
  background: var(--forest);
  color: var(--white);
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease);
}
.widget-float__toggle:hover { transform: translateY(-2px); }
.widget-float__panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.75rem);
  width: min(280px, calc(100vw - 2rem));
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.1rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.45rem;
}
.widget-float__panel[hidden] { display: none; }
.widget-float__title { font-family: var(--font-display); font-size: 1.35rem; margin: 0; color: var(--forest-deep); }
.widget-float__meta { margin: 0; color: var(--muted); font-size: 0.85rem; }
.widget-float__panel a { color: var(--forest); font-weight: 500; }
.widget-float__btn {
  margin-top: 0.35rem;
  display: inline-flex;
  justify-content: center;
  background: var(--moss);
  color: var(--white) !important;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius);
}

/* —— Header —— */
.site-header {
  position: fixed;
  top: var(--widget-h);
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(243, 247, 245, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(16, 40, 34, 0.06);
}
.site-header__bar {
  max-width: 1180px;
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
}
.site-logo img { width: auto; height: 42px; }
.site-logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.site-logo__brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--forest-deep);
}
.site-logo__domain { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.02em; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--forest);
  margin: 6px 0;
  transition: transform 0.25s var(--ease);
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.site-nav__item { position: relative; }
.site-nav__item > a {
  display: block;
  padding: 0.65rem 0.8rem;
  color: var(--forest);
  font-weight: 500;
  font-size: 0.92rem;
}
.site-nav__item.is-active > a,
.site-nav__item > a:hover { color: var(--timber); }
.site-nav__sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.45rem;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s var(--ease);
}
.site-nav__item:hover > .site-nav__sub,
.site-nav__item:focus-within > .site-nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.site-nav__sub a {
  display: block;
  padding: 0.55rem 0.75rem;
  color: var(--ink);
  border-radius: 6px;
  font-size: 0.9rem;
}
.site-nav__sub a:hover { background: var(--steam); color: var(--forest); }

/* —— Hero —— */
.hero {
  position: relative;
  min-height: calc(100vh - var(--widget-h) - var(--header-h));
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 18s var(--ease) infinite alternate;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 40, 34, 0.25) 0%, rgba(16, 40, 34, 0.72) 70%, rgba(16, 40, 34, 0.88) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 4rem 1.25rem 5rem;
}
.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  color: var(--white);
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
  animation: riseIn 0.9s var(--ease) both;
}
.hero__headline {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 500;
  max-width: 32rem;
  margin: 0 0 0.85rem;
  color: var(--steam);
  animation: riseIn 0.9s 0.12s var(--ease) both;
}
.hero__lead {
  max-width: 34rem;
  margin: 0 0 1.6rem;
  color: rgba(232, 240, 237, 0.88);
  animation: riseIn 0.9s 0.22s var(--ease) both;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: riseIn 0.9s 0.32s var(--ease) both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--timber); color: var(--white); }
.btn--primary:hover { background: var(--timber-soft); color: var(--forest-deep); }
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }
.btn--dark { background: var(--forest); color: var(--white); }
.btn--dark:hover { background: var(--moss); color: var(--white); }

/* —— Sections —— */
.section {
  padding: 4.5rem 1.25rem;
}
.section--tight { padding: 3.25rem 1.25rem; }
.section__inner { max-width: 1180px; margin: 0 auto; }
.section__head {
  max-width: 40rem;
  margin-bottom: 2.25rem;
}
.section__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--timber);
  font-weight: 600;
  margin-bottom: 0.55rem;
}
.section__head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.section__head p { color: var(--muted); margin: 0; }

.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.collection-link {
  display: block;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  color: var(--white);
  isolation: isolate;
}
.collection-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.7s var(--ease);
}
.collection-link:hover img { transform: scale(1.06); }
.collection-link__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(16, 40, 34, 0.85));
  z-index: 1;
}
.collection-link h3 {
  color: var(--white);
  font-size: 1.85rem;
  margin: 0 0 0.35rem;
}
.collection-link p { margin: 0; color: rgba(232, 240, 237, 0.9); font-size: 0.95rem; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.35rem;
}
.product {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.product__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--steam);
}
.product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product__body { padding: 1.1rem 1.15rem 1.25rem; }
.product__body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}
.product__price {
  font-weight: 700;
  color: var(--moss);
  margin-bottom: 0.4rem;
}
.product__meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
}
.product__body p { font-size: 0.92rem; color: var(--muted); margin-bottom: 0.9rem; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }
.split__media {
  min-height: 380px;
  overflow: hidden;
}
.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 380px;
}
.feature-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0 1.5rem;
}
.feature-list li {
  padding-left: 1.35rem;
  position: relative;
  color: var(--muted);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--timber);
  border-radius: 50%;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.gallery-strip figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1;
}
.gallery-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery-strip figure:hover img { transform: scale(1.05); }

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.review {
  background: var(--white);
  border-top: 3px solid var(--timber);
  padding: 1.4rem 1.3rem;
  border: 1px solid var(--line);
  border-top-width: 3px;
}
.review blockquote {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--forest-deep);
  line-height: 1.35;
}
.review cite {
  font-style: normal;
  font-size: 0.88rem;
  color: var(--muted);
}

.page-hero {
  padding: 3.5rem 1.25rem 2.5rem;
  background:
    radial-gradient(ellipse at top right, rgba(176, 122, 69, 0.18), transparent 50%),
    linear-gradient(160deg, #dfeae5, var(--mist) 55%);
}
.page-hero__inner { max-width: 1180px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 0.5rem; }
.page-hero p { max-width: 40rem; color: var(--muted); margin: 0; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--moss); }
.breadcrumb span[aria-hidden="true"] { opacity: 0.5; }

.prose { max-width: 72ch; }
.prose h2 { font-size: 2rem; margin-top: 1.75rem; }
.prose ul {
  list-style: disc;
  padding-left: 1.2rem;
  margin: 0 0 1.25rem;
  color: var(--muted);
}
.prose li { margin-bottom: 0.4rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
}
.contact-card {
  background: var(--forest-deep);
  color: var(--steam);
  padding: 2rem;
}
.contact-card h2 { color: var(--white); }
.contact-card a { color: var(--timber-soft); }
.contact-card dl { margin: 1.25rem 0 0; display: grid; gap: 1rem; }
.contact-card dt { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; }
.contact-card dd { margin: 0.2rem 0 0; font-size: 1.05rem; }
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.75rem;
  display: grid;
  gap: 1rem;
}
.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  font: inherit;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
  color: var(--ink);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.site-footer {
  background: var(--forest-deep);
  color: rgba(232, 240, 237, 0.85);
  padding: 3.5rem 1.25rem 1.5rem;
  margin-top: 2rem;
}
.site-footer a { color: var(--timber-soft); }
.site-footer__grid {
  max-width: 1180px;
  margin: 0 auto 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}
.site-footer h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
}
.site-footer li { margin-bottom: 0.45rem; }
.site-footer__brand p { margin-top: 1rem; max-width: 30rem; }
.site-footer__bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
}
.back-top { color: var(--steam) !important; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: calc(var(--widget-h) + var(--header-h)) 0 auto 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
  }
  .site-nav.is-open { max-height: 80vh; overflow: auto; }
  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1.25rem;
  }
  .site-nav__sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    display: none;
    padding-left: 0.75rem;
  }
  .site-nav__item.sub-open > .site-nav__sub { display: block; }
  .collection-grid,
  .reviews,
  .gallery-strip,
  .split,
  .split--reverse,
  .contact-grid,
  .site-footer__grid {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
  .site-widget__text { display: none; }
  .site-logo__text { display: none; }
}

@media (max-width: 640px) {
  body { padding-top: calc(var(--widget-h) + 70px); }
  :root { --header-h: 70px; }
  .hero { min-height: 85vh; }
  .site-footer__bottom { flex-direction: column; }
}
