:root {
  --ink: #24343a;
  --muted: #627079;
  --paper: #f7f8f5;
  --paper-deep: #eaf1ef;
  --white: #ffffff;
  --brown: #0f5c63;
  --brown-dark: #133b42;
  --olive: #6a8250;
  --line: rgba(36, 52, 58, .14);
  --shadow: 0 18px 50px rgba(19, 59, 66, .12);
  --radius: 24px;
}

:root[data-theme="forest"] {
  --ink: #edf4e9;
  --muted: #b8c7b5;
  --paper: #17231d;
  --paper-deep: #203126;
  --white: #26382b;
  --brown: #9dbb7d;
  --brown-dark: #d9ebc6;
  --olive: #b5d98f;
  --line: rgba(235, 247, 229, .17);
  --shadow: 0 18px 50px rgba(0, 0, 0, .3);
}

:root[data-theme="clay"] {
  --ink: #2b2320;
  --muted: #78645b;
  --paper: #f6e2d3;
  --paper-deep: #edd0bc;
  --white: #fff7f0;
  --brown: #a9573f;
  --brown-dark: #65352c;
  --olive: #7b7652;
  --line: rgba(101, 53, 44, .16);
  --shadow: 0 18px 50px rgba(101, 53, 44, .15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", system-ui, sans-serif; line-height: 1.6; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 100; background: var(--brown-dark); color: white; padding: .75rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; }

.site-shell { min-height: 100vh; overflow: clip; }
.topbar { background: var(--brown-dark); color: #f2fbf8; font-size: .78rem; }
.topbar-inner, .nav-inner, .section-inner, .footer-inner { width: min(1180px, calc(100% - 2rem)); margin: auto; }
.topbar-inner { min-height: 38px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.topbar a { color: #cbe9e2; text-decoration: underline; text-underline-offset: 3px; }
.topbar-right { display: flex; gap: 1rem; align-items: center; }

.site-header { position: sticky; top: 0; z-index: 20; background: var(--paper); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .8rem; min-width: 210px; }
.brand-mark { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--brown); color: #f4eadc; font-family: "Playfair Display", serif; font-size: 1.1rem; border: 2px solid rgba(255,255,255,.5); }
.brand-copy { font-size: .79rem; font-weight: 700; line-height: 1.18; letter-spacing: .015em; max-width: 170px; }
.desktop-nav { display: flex; align-items: center; gap: .18rem; }
.desktop-nav a, .nav-button { border: 0; background: transparent; color: var(--ink); padding: .55rem .68rem; border-radius: 999px; font-size: .83rem; }
.desktop-nav a:hover, .desktop-nav a:focus-visible, .nav-button:hover, .nav-button:focus-visible { background: var(--paper-deep); outline: none; }
.nav-actions { display: flex; align-items: center; gap: .45rem; }
.icon-button, .menu-button { border: 1px solid var(--line); background: transparent; min-width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); }
.menu-button { display: none; }
.pill-button { border: 0; background: var(--brown); color: white; padding: .72rem 1.05rem; border-radius: 999px; font-weight: 700; font-size: .83rem; }
.pill-button:hover, .pill-button:focus-visible { background: var(--brown-dark); outline: 3px solid rgba(101,112,75,.32); outline-offset: 2px; }
.theme-toggle { position: relative; }
.theme-toggle > summary { list-style: none; }
.theme-toggle > summary::-webkit-details-marker { display: none; }
.theme-toggle[open] .theme-panel { display: grid; }
.theme-panel { display: none; position: absolute; top: calc(100% + .75rem); right: 0; width: 230px; padding: .8rem; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); z-index: 30; }
.theme-panel.open { display: grid; gap: .45rem; }
.theme-panel h3 { font-family: "DM Sans", system-ui, sans-serif; font-size: .78rem; color: var(--muted); margin: 0 0 .2rem; }
.theme-option { display: flex; align-items: center; gap: .65rem; width: 100%; border: 1px solid transparent; background: transparent; color: var(--ink); padding: .55rem; border-radius: 10px; text-align: left; font-size: .78rem; }
.theme-option:hover, .theme-option:focus-visible, .theme-option.active { border-color: var(--olive); background: rgba(101,112,75,.12); outline: none; }
.theme-swatch { width: 28px; height: 28px; border-radius: 50%; flex: 0 0 auto; border: 2px solid rgba(255,255,255,.7); box-shadow: 0 0 0 1px rgba(30,39,34,.15); }
.theme-swatch.sand { background: linear-gradient(135deg, #f7f8f5 50%, #0f5c63 50%); }
.theme-swatch.forest { background: linear-gradient(135deg, #17231d 50%, #b5d98f 50%); }
.theme-swatch.clay { background: linear-gradient(135deg, #f6e2d3 50%, #a9573f 50%); }

.hero { padding: 5.5rem 0 4rem; background: radial-gradient(circle at 84% 20%, rgba(106,130,80,.16), transparent 30%), linear-gradient(130deg, var(--paper) 0%, var(--paper) 65%, var(--paper-deep) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 4rem; align-items: center; }
.eyebrow { color: var(--olive); text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; font-weight: 700; }
h1, h2, h3, h4 { font-family: "Playfair Display", Georgia, serif; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(2.7rem, 7vw, 5.7rem); letter-spacing: -.04em; max-width: 11ch; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.035em; }
h3 { font-size: 1.35rem; }
.hero-copy { max-width: 560px; color: var(--muted); font-size: 1.06rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.8rem 0 0; }
.outline-button { display: inline-flex; align-items: center; gap: .5rem; padding: .68rem 1rem; border: 1px solid var(--brown); color: var(--brown-dark); border-radius: 999px; font-weight: 700; font-size: .84rem; }
.outline-button:hover, .outline-button:focus-visible { background: var(--white); outline: 3px solid rgba(101,112,75,.32); outline-offset: 2px; }
.hero-note { display: flex; align-items: center; gap: .75rem; margin-top: 2.7rem; color: var(--muted); font-size: .84rem; }
.hero-note::before { content: ""; display: block; width: 52px; height: 1px; background: var(--olive); }
.hero-media { position: relative; min-height: 540px; }
.hero-photo { position: absolute; inset: 0 0 0 11%; overflow: hidden; border-radius: 46% 46% 26px 26px; box-shadow: var(--shadow); background: #d5c1ab; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(140deg, transparent 55%, rgba(63,44,35,.34)); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-stamp { position: absolute; z-index: 1; left: 0; bottom: 2.5rem; width: 132px; height: 132px; border-radius: 50%; background: var(--olive); color: #fff8eb; display: grid; place-items: center; text-align: center; padding: 1.1rem; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border: 7px solid var(--paper); }

.section { padding: 5.7rem 0; }
.section-alt { background: var(--paper-deep); }
.section-heading { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-bottom: 2.3rem; }
.section-heading p { max-width: 480px; color: var(--muted); margin: 0; }
.kicker { margin: 0 0 .7rem; color: var(--olive); text-transform: uppercase; font-weight: 700; font-size: .75rem; letter-spacing: .14em; }
.intro-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 4rem; align-items: start; }
.intro-copy { font-size: 1.15rem; max-width: 630px; }
.intro-copy p { margin-top: 0; }
.pull-quote { border-left: 3px solid var(--brown); padding: .4rem 0 .4rem 1.2rem; color: var(--brown-dark); font-family: "Playfair Display", serif; font-size: 1.55rem; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.stat { background: rgba(255,255,255,.68); border: 1px solid var(--line); padding: 1.2rem; border-radius: 18px; }
.stat strong { display: block; font-family: "Playfair Display", serif; font-size: 2.3rem; color: var(--brown); }
.stat span { color: var(--muted); font-size: .82rem; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.product-card { background: var(--white); border-radius: 20px; overflow: hidden; border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card img { width: 100%; aspect-ratio: 1 / .92; object-fit: cover; background: #ddd0bf; }
.product-card-body { padding: 1rem; }
.product-card h3 { font-size: 1.05rem; }
.product-card p { margin: .3rem 0 0; color: var(--muted); font-size: .8rem; }
.catalog-link { display: inline-flex; margin-top: 1.7rem; color: var(--brown-dark); font-size: .85rem; font-weight: 700; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.process-card { min-height: 170px; padding: 1.3rem; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.55); display: flex; flex-direction: column; justify-content: space-between; }
.process-number { font-family: "Playfair Display", serif; color: var(--olive); font-size: 2rem; }
.process-card h3 { font-size: 1.15rem; }

.feature-split { display: grid; grid-template-columns: .88fr 1.12fr; gap: 3rem; align-items: center; }
.feature-image { min-height: 390px; border-radius: 26px; overflow: hidden; background: #c8ad91; box-shadow: var(--shadow); }
.feature-image img { width: 100%; height: 100%; object-fit: cover; }
.feature-copy p { color: var(--muted); }
.tag-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.4rem 0; }
.tag { padding: .42rem .7rem; background: rgba(101,112,75,.12); color: var(--olive); border-radius: 999px; font-size: .76rem; font-weight: 700; }
.sustainability-card { display: grid; grid-template-columns: .85fr 1.15fr; gap: 2.2rem; align-items: center; background: linear-gradient(135deg, #314b37, #567156); color: #f5f5e8; border-radius: 28px; padding: 2.2rem; overflow: hidden; position: relative; }
.sustainability-card::after { content: "✳"; position: absolute; right: 2rem; top: -2rem; color: rgba(223,241,195,.18); font-size: 13rem; line-height: 1; transform: rotate(18deg); }
.sustainability-card h2 { position: relative; z-index: 1; }
.sustainability-card p { position: relative; z-index: 1; color: #dce8d8; }
.sustainability-list { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.sustainability-item { padding: 1rem; border: 1px solid rgba(245,245,232,.24); border-radius: 15px; background: rgba(0,0,0,.1); }
.sustainability-item strong { display: block; font-family: "Playfair Display", serif; font-size: 1.1rem; color: #f3d79c; }
.sustainability-item span { display: block; margin-top: .35rem; color: #dce8d8; font-size: .76rem; }
.verification-note { position: relative; z-index: 1; margin: 1rem 0 0; color: #c9dac8; font-size: .72rem; }

.unit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.unit-card { background: var(--white); border-radius: 20px; padding: 1.2rem; border: 1px solid var(--line); min-height: 152px; }
.unit-card .unit-label { color: var(--olive); font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.unit-card h3 { margin-top: .55rem; font-size: 1.2rem; }
.unit-card p { color: var(--muted); font-size: .86rem; margin-bottom: 0; }

.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.video-card { padding: 1.3rem; background: var(--brown-dark); color: #fff9ef; border-radius: 20px; min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; }
.video-card p { color: #d9c8b8; font-size: .82rem; }
.video-play { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #d7a26d; color: var(--brown-dark); font-weight: 700; }
.video-card a { color: #f6d6ad; text-decoration: underline; text-underline-offset: 3px; }
.leadership-card { display: grid; grid-template-columns: .78fr 1.22fr; gap: 3rem; align-items: center; background: var(--paper-deep); border: 1px solid var(--line); border-radius: 28px; padding: 2rem; overflow: hidden; }
.leadership-portrait { position: relative; max-width: 320px; margin: auto; padding: 1rem; background: var(--white); border-radius: 24px; box-shadow: var(--shadow); transform: rotate(-2deg); }
.leadership-portrait::before { content: ""; position: absolute; inset: .45rem; border: 1px solid var(--line); border-radius: 17px; pointer-events: none; }
.leadership-portrait img { width: 100%; aspect-ratio: 250 / 315; object-fit: cover; border-radius: 14px; }
.leadership-caption { display: flex; justify-content: space-between; gap: .8rem; align-items: baseline; padding: .9rem .2rem .1rem; }
.leadership-caption strong { font-family: "Playfair Display", Georgia, serif; font-size: 1.05rem; color: var(--brown-dark); }
.leadership-caption span { color: var(--olive); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.leadership-copy p { color: var(--muted); max-width: 680px; }
.leadership-copy .leadership-intro { font-size: 1.18rem; color: var(--ink); }
.leadership-signoff { display: inline-flex; align-items: center; gap: .7rem; margin-top: .8rem; color: var(--brown-dark); font-family: "Playfair Display", Georgia, serif; font-size: 1.2rem; }
.leadership-signoff::before { content: ""; width: 42px; height: 1px; background: var(--olive); }

.page-hero { padding: 4.2rem 0 3.2rem; background: linear-gradient(135deg, var(--brown-dark), var(--brown)); color: #fff9ef; }
.page-hero h1 { max-width: 12ch; }
.page-hero .eyebrow { color: #e7c28f; }
.page-hero p { max-width: 650px; color: #e4d4c4; margin-bottom: 0; }
.rich-copy { max-width: 780px; font-size: 1.05rem; }
.rich-copy p { color: var(--muted); }
.rich-copy h2 { margin-top: 2.7rem; font-size: 2rem; }
.info-list { display: grid; gap: .7rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.info-list li { padding: .95rem 1rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.46); }
.info-list strong { color: var(--brown-dark); }
.region-block { margin-top: 2.5rem; }
.region-block h2 { font-size: 2rem; }

.catalog-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; align-items: center; margin-bottom: 1.5rem; }
.filter-row { display: flex; flex-wrap: wrap; gap: .45rem; }
.filter-chip { border: 1px solid var(--line); background: transparent; color: var(--ink); padding: .55rem .8rem; border-radius: 999px; font-size: .78rem; }
.filter-chip.active, .filter-chip:hover { background: var(--brown); color: #fff; border-color: var(--brown); }
.empty-state { background: var(--white); border: 1px dashed rgba(63,44,35,.25); padding: 2.5rem; border-radius: 20px; text-align: center; color: var(--muted); }
.empty-state h3 { color: var(--brown-dark); }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem; align-items: start; }
.contact-card, .form-card { background: var(--white); padding: 1.5rem; border-radius: 22px; border: 1px solid rgba(63,44,35,.1); }
.contact-card { background: var(--brown-dark); color: #fff9ef; }
.contact-card p { color: #ddcec0; }
.contact-detail { padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.15); }
.contact-detail:first-of-type { border-top: 0; }
.contact-detail small { display: block; color: #e7c28f; text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; font-weight: 700; }
.contact-detail a { color: #fff2dd; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.form-field { display: grid; gap: .4rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: .8rem; font-weight: 700; }
.form-field input, .form-field textarea { width: 100%; border: 1px solid var(--line); background: #fbf8f1; color: var(--ink); padding: .8rem .85rem; border-radius: 12px; }
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .search-input:focus { outline: 3px solid rgba(101,112,75,.35); outline-offset: 1px; border-color: var(--olive); }
.form-status { min-height: 1.5em; margin: .8rem 0 0; color: var(--olive); font-size: .86rem; }

.site-footer { background: #242c26; color: #f7efe3; padding: 3.5rem 0 1.2rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 2rem; padding-bottom: 2.4rem; }
.footer-brand { max-width: 320px; }
.footer-brand p, .footer-col p, .footer-col a { color: #bdc1b8; font-size: .84rem; }
.footer-col { display: grid; align-content: start; gap: .35rem; }
.footer-col h3 { font-size: 1.1rem; color: #fff4e4; margin-bottom: .4rem; }
.footer-bottom { padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.12); color: #9da79d; font-size: .75rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }

.mobile-nav { display: none; position: fixed; inset: 0; z-index: 50; background: rgba(35, 29, 24, .7); }
.mobile-nav-panel { margin-left: auto; width: min(360px, 92vw); height: 100%; background: var(--paper); padding: 1.25rem; box-shadow: var(--shadow); overflow: auto; }
.mobile-nav.open { display: block; }
.mobile-nav-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.mobile-links { display: grid; gap: .3rem; }
.mobile-links a { padding: .8rem .7rem; border-bottom: 1px solid var(--line); font-weight: 700; }
.search-panel { display: none; position: fixed; z-index: 40; inset: 80px 0 auto; background: var(--white); padding: 1rem; box-shadow: var(--shadow); border-bottom: 1px solid var(--line); }
.search-panel.open { display: block; }
.search-inner { width: min(720px, calc(100% - 2rem)); margin: auto; display: flex; gap: .7rem; }
.search-input { flex: 1; padding: .8rem; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.no-results { color: var(--muted); font-size: .85rem; }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .menu-button { display: grid; }
  .hero-grid, .intro-grid, .feature-split, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero { padding-top: 4rem; }
  .hero-media { min-height: 430px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sustainability-card { grid-template-columns: 1fr; }
  .leadership-card { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 620px) {
  .topbar-inner { min-height: 46px; align-items: flex-start; padding: .5rem 0; }
  .topbar-right { gap: .45rem; flex-wrap: wrap; justify-content: flex-end; }
  .brand { min-width: 0; }
  .brand-copy { font-size: .72rem; max-width: 145px; }
  .nav-actions .pill-button { display: none; }
  .hero { padding: 3.5rem 0; }
  .hero-media { min-height: 330px; }
  .hero-photo { left: 7%; }
  .hero-stamp { width: 106px; height: 106px; bottom: 1rem; font-size: .63rem; }
  .section { padding: 4rem 0; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 1rem; }
  .product-grid, .process-grid, .unit-grid, .video-grid, .footer-grid { grid-template-columns: 1fr; }
  .sustainability-list { grid-template-columns: 1fr; }
  .stat-grid, .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: .35rem; }
}
