:root {
  --forest: #102018;
  --forest-deep: #0a1410;
  --moss: #2f5d45;
  --cedar: #a67c4a;
  --cedar-light: #d2b48a;
  --mist: #e7efe9;
  --ink: #152019;
  --muted: #5d6b62;
  --white: #f7faf7;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(166, 124, 74, 0.12), transparent 55%),
    linear-gradient(180deg, #eef4ef 0%, var(--mist) 40%, #e3ebe4 100%);
  line-height: 1.55;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--moss); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--forest); }
.wrap { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: #fff; padding: 0.5rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }
.muted { color: var(--muted); font-size: 0.95rem; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(16, 32, 24, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(210, 180, 138, 0.25);
}
.header-inner {
  display: flex; align-items: center; gap: 1rem; min-height: 4.2rem;
}
.brand {
  display: flex; align-items: center; text-decoration: none; margin-right: auto;
}
.brand-logo {
  display: block;
  height: 52px;
  width: auto;
  max-width: min(240px, 42vw);
  background: #fff;
  padding: 0.2rem 0.45rem;
  border-radius: 2px;
}
.footer-logo-link { display: inline-block; text-decoration: none; }
.footer-logo {
  display: block;
  height: 58px;
  width: auto;
  background: #fff;
  padding: 0.25rem 0.5rem;
  border-radius: 2px;
  margin-bottom: 0.65rem;
}
.site-nav {
  display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center;
}
.site-nav a {
  color: rgba(247, 250, 247, 0.88);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
.site-nav a:hover,
.site-nav a.is-active { color: var(--cedar-light); }
.header-phone {
  color: var(--cedar-light);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(210, 180, 138, 0.5);
  color: var(--white);
  padding: 0.4rem 0.7rem;
  font: inherit;
}

.hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  background: var(--forest-deep);
}
.hero-media {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 20, 16, 0.2) 0%, rgba(10, 20, 16, 0.55) 45%, rgba(10, 20, 16, 0.9) 100%),
    #fff url("/chairs/images/arrangement.jpg") center 45%/cover no-repeat;
  transform: scale(1.02);
  animation: hero-ease 1.4s ease-out both;
}
@keyframes hero-ease {
  from { transform: scale(1.08); opacity: 0.7; }
  to { transform: scale(1.02); opacity: 1; }
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 5rem 0 3.5rem;
  max-width: 38rem;
  animation: rise 0.9s ease-out 0.15s both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 4.8rem);
  line-height: 0.95;
  margin: 0 0 0.85rem;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--cedar-light);
}
.hero p {
  margin: 0 0 1.4rem;
  font-size: 1.08rem;
  max-width: 32rem;
  color: rgba(247, 250, 247, 0.9);
}
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.25rem;
  border-radius: 2px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--cedar);
  color: #1a1208;
}
.btn-primary:hover { background: var(--cedar-light); color: #1a1208; }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(247, 250, 247, 0.45);
}
.btn-ghost:hover { border-color: var(--cedar-light); color: var(--cedar-light); }
.btn-ghost-dark {
  color: var(--forest);
  border-color: rgba(16, 32, 24, 0.25);
}
.btn-ghost-dark:hover {
  color: var(--moss);
  border-color: var(--moss);
}
.text-link {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(47, 93, 69, 0.35);
}

.section { padding: 4.25rem 0; }
.section-tight { padding: 3rem 0; }
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  margin: 0 0 0.6rem;
  color: var(--forest);
}
.section .lede {
  margin: 0 0 2rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.05rem;
}
.section-dark {
  background:
    linear-gradient(135deg, rgba(166, 124, 74, 0.12), transparent 40%),
    var(--forest);
  color: var(--white);
}
.section-dark h2 { color: var(--cedar-light); }
.section-dark .lede { color: rgba(247, 250, 247, 0.78); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.product-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(16, 32, 24, 0.08);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(16, 32, 24, 0.12);
}
.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #d7e0d9;
}
.product-card .body { padding: 1rem 1.1rem 1.25rem; }
.product-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--forest);
}
.product-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}
.split img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.pillar {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(210, 180, 138, 0.22);
  padding: 1.25rem;
}
.pillar h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  color: var(--cedar-light);
  font-size: 1.2rem;
}
.pillar p { margin: 0; color: rgba(247, 250, 247, 0.82); }

.page-hero {
  background:
    linear-gradient(120deg, rgba(166, 124, 74, 0.18), transparent 50%),
    var(--forest);
  color: var(--white);
  padding: 3.5rem 0 2.5rem;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 0.5rem;
  color: var(--cedar-light);
}
.page-hero p { margin: 0; max-width: 36rem; color: rgba(247,250,247,0.85); }

.reason-list {
  display: grid;
  gap: 1.5rem;
  max-width: 46rem;
}
.reason h2 {
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}
.reason p {
  margin: 0;
  color: var(--muted);
}

.prose {
  max-width: 42rem;
}
.prose h2 {
  margin-top: 2rem;
  font-size: 1.45rem;
}
.prose p { color: var(--muted); }

.link-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.link-row a {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 0.25rem 0;
  border-top: 2px solid rgba(166, 124, 74, 0.55);
}
.link-row strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--forest);
  margin-bottom: 0.35rem;
}
.link-row span {
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.contact-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(16, 32, 24, 0.08);
  padding: 1.5rem;
}
.contact-panel h2 {
  font-family: var(--font-display);
  margin: 0 0 0.75rem;
  font-size: 1.4rem;
}
.contact-panel p { margin: 0 0 0.75rem; }
.contact-panel p:last-child { margin-bottom: 0; }

.contact-form label {
  display: block;
  font-weight: 600;
  margin: 0.85rem 0 0.35rem;
  color: var(--forest);
}
.contact-form label:first-child { margin-top: 0; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  font: inherit;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(16, 32, 24, 0.18);
  background: #fff;
  color: var(--ink);
  border-radius: 2px;
}
.contact-form textarea { resize: vertical; min-height: 8rem; }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(166, 124, 74, 0.45);
  outline-offset: 1px;
}
.captcha-row { margin: 1rem 0 1.25rem; }
.captcha-image {
  display: block;
  margin: 0.35rem 0;
  border: 1px solid rgba(16, 32, 24, 0.12);
  background: #eef2f0;
  max-width: 100%;
  height: auto;
}
.captcha-help { margin: 0.25rem 0 0.5rem; font-size: 0.9rem; }
.form-error {
  background: #f8e8e6;
  color: #6b2218;
  border: 1px solid rgba(107, 34, 24, 0.2);
  padding: 0.75rem 0.9rem;
  margin: 0 0 1rem;
}

.site-footer {
  background: var(--forest-deep);
  color: rgba(247, 250, 247, 0.82);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr 1fr;
  gap: 1.5rem;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--cedar-light);
  margin: 0 0 0.4rem;
}
.site-footer h2 {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cedar-light);
  margin: 0 0 0.7rem;
}
.site-footer a { color: rgba(247, 250, 247, 0.88); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 0.35rem; }
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(210, 180, 138, 0.18);
  font-size: 0.85rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.crumb {
  margin: 0 0 0.55rem;
  font-size: 0.9rem;
  color: rgba(247, 250, 247, 0.7);
}
.crumb a { color: var(--cedar-light); text-decoration: none; }
.product-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}
.product-cover {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  background: #d7e0d9;
}
.product-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}
.product-thumbs a {
  display: block;
  border: 1px solid rgba(16, 32, 24, 0.12);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.product-thumbs a:hover {
  border-color: var(--cedar);
  transform: translateY(-1px);
}
.product-thumbs img {
  width: 64px;
  height: 64px;
  object-fit: cover;
}
.product-dims {
  font-weight: 600;
  color: var(--forest);
  margin: 0 0 1rem;
}
.product-notes {
  margin: 0 0 1.25rem;
  padding-left: 1.1rem;
  color: var(--muted);
}
.product-notes li { margin-bottom: 0.35rem; }
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}
.product-buy {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(16, 32, 24, 0.08);
  padding: 1.25rem;
}
.product-buy h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.85rem;
  color: var(--forest);
}
.product-buy table { width: 100%; border-collapse: collapse; }
.product-buy td { padding: 0.35rem; vertical-align: top; }
.product-buy font,
.product-buy strong { font-family: var(--font-body); color: var(--ink); }
.product-buy form { margin: 0.5rem 0; }
.product-buy blockquote { margin: 0; }

.slideshow-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2rem;
}
.slideshow-media {
  margin: 0;
  background: #fff;
  border: 1px solid rgba(16, 32, 24, 0.08);
  padding: 0.75rem;
}
.slideshow-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #fff;
}
.slideshow-text {
  color: var(--muted);
  font-size: 1.05rem;
}
.slideshow-text p { margin: 0 0 1rem; }
.slideshow-text a { font-weight: 600; }
.slideshow-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}
.slideshow-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(16, 32, 24, 0.1);
}
.slideshow-thumb {
  display: block;
  border: 2px solid transparent;
  opacity: 0.85;
  transition: border-color 0.15s ease, opacity 0.15s ease, transform 0.15s ease;
}
.slideshow-thumb:hover {
  opacity: 1;
  transform: translateY(-1px);
  border-color: rgba(166, 124, 74, 0.55);
}
.slideshow-thumb.is-current {
  opacity: 1;
  border-color: var(--cedar);
}
.slideshow-thumb img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  display: block;
}

.assembly-content img {
  width: 100%;
  max-width: 520px;
  height: auto;
  margin: 0.75rem 0 1.25rem;
  border: 1px solid rgba(16, 32, 24, 0.08);
  background: #fff;
}
.assembly-content ol,
.assembly-content ul {
  color: var(--muted);
  padding-left: 1.2rem;
}
.assembly-content li { margin-bottom: 0.4rem; }

@media (max-width: 900px) {
  .product-grid,
  .pillars,
  .footer-grid,
  .split,
  .contact-grid,
  .link-row,
  .product-layout,
  .slideshow-layout { grid-template-columns: 1fr; }
  .brand-logo { height: 44px; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .header-phone { display: none; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--forest);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem 1.25rem;
    border-bottom: 1px solid rgba(210, 180, 138, 0.25);
  }
  .site-nav.is-open { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media,
  .hero-content,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
