:root {
  --ink: #20392b;
  --green: #193b29;
  --cream: #fafaf7;
  --paper: #f1eee7;
  --leaf: #7ac370;
  --muted: #505e50;
  --line: #dcded1;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Segoe UI', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.55 var(--sans); }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
h1, h2, p, figure { margin: 0; }
section[id] { scroll-margin-top: 28px; }
.shell { width: min(100% - 100px, 1320px); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -5rem; z-index: 5; background: var(--leaf); padding: .6rem 1rem; }
.skip:focus { top: .5rem; }

.utility { background: var(--green); color: #e3eddf; font-size: .66rem; letter-spacing: .18em; font-weight: 650; }
.utility-inner { min-height: 34px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.header { background: linear-gradient(#fefefe, #f0f1ee); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.wordmark { display: block; width: clamp(155px, 22vw, 250px); }
.wordmark img { width: 100%; height: auto; }
nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); font-size: .92rem; font-weight: 650; }
nav > a:hover { text-decoration: underline; text-underline-offset: 5px; }
.header-contact { border: 1px solid #93a197; padding: 8px 13px; white-space: nowrap; }
.header-contact span { margin-left: 5px; }

.hero { display: grid; grid-template-columns: .96fr 1.04fr; background: var(--green); min-height: 520px; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 66px 34px 72px max(50px, calc((100vw - 1320px)/2)); color: var(--cream); }
.eyebrow { font-size: .68rem; font-weight: 750; letter-spacing: .17em; text-transform: uppercase; display: flex; align-items: center; gap: 9px; }
.dash { display: inline-block; width: 20px; height: 1px; background: currentColor; flex: none; }
.hero .eyebrow { color: var(--leaf); }
h1 { font: 400 clamp(4.15rem, 7.2vw, 8rem)/.93 var(--serif); letter-spacing: -.072em; margin: 24px 0; }
h1 em { color: var(--leaf); font-weight: 400; }
.hero-description { max-width: 32ch; color: #e9ede1; font-size: clamp(1rem, 1.4vw, 1.17rem); }
.button { min-height: 47px; display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; border: 1px solid transparent; padding: 11px 16px; font-weight: 750; font-size: .9rem; transition: background .18s, color .18s; }
.button-light { background: var(--leaf); color: #23352a; margin-top: 30px; }
.button-light:hover { background: #a9de94; }
.button-light:focus-visible { outline-color: var(--leaf); }
.button-green { background: var(--green); color: #fff; }
.button-green:hover { background: #315d45; }
.button-green:focus-visible { outline-color: var(--green); }
.hero-image { position: relative; min-width: 0; min-height: 100%; background: #eee7d9; }
.hero-image img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-image figcaption { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; gap: 8px; padding: 11px 18px; background: #f5efe1; color: #263b2c; font-size: .64rem; font-weight: 750; letter-spacing: .15em; }

.catalog { padding-block: 76px 90px; }
.catalog-heading { display: grid; grid-template-columns: 1.4fr 1fr; align-items: end; gap: 32px; }
h2 { font: 400 clamp(2.5rem, 4.4vw, 4.7rem)/1.04 var(--serif); letter-spacing: -.057em; }
.catalog h2, .about h2, .contact h2 { margin-top: 9px; }
.catalog-heading > p { max-width: 37ch; color: var(--muted); padding-bottom: 4px; }
.catalog-controls { margin: 26px 0 24px; padding: 13px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.filters { display: flex; flex-wrap: wrap; gap: 7px; }
.filters button { background: transparent; border: 1px solid #bfc6b9; padding: 6px 12px; min-height: 35px; font-size: .8rem; font-weight: 650; }
.filters button:hover { border-color: var(--green); }
.filters button[aria-pressed=true] { background: var(--green); color: #fff; border-color: var(--green); }
.filters button[aria-pressed=true]:focus-visible { outline-color: var(--green); }
.result-count { font-size: .8rem; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 18px; }
.product-card { min-width: 0; border: 1px solid var(--line); background: #fff; }
.product-link { display: block; width: 100%; padding: 0; border: 0; background: transparent; text-align: left; }
.product-image { display: block; aspect-ratio: 1.28; overflow: hidden; background: var(--paper); }
.product-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s; }
.product-link:hover img { transform: scale(1.035); }
.product-info { position: relative; display: block; min-height: 89px; padding: 13px 45px 15px 15px; }
.product-category { display: block; color: var(--muted); font-size: .64rem; text-transform: uppercase; font-weight: 750; letter-spacing: .14em; }
.product-name { display: block; font: 400 clamp(1.23rem, 2.15vw, 1.9rem)/1.11 var(--serif); margin-top: 5px; letter-spacing: -.03em; }
.product-arrow { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); }

.about { background: #e8ebdf; }
.about-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 50px; align-items: center; padding-block: 65px 72px; }
.about h2 { max-width: 15ch; }
.about-inner > p { color: #394b3d; max-width: 47ch; font-size: 1.08rem; }
.about-details { display: grid; grid-template-columns: 1.15fr 1fr; gap: 50px; padding-block: 27px 58px; border-top: 1px solid #bdc7b7; }
.about-details h3, .terms h2 { margin: 0 0 12px; font: 400 1.9rem/1.15 var(--serif); letter-spacing: -.035em; }
.about-details p, .values-list dd { color: #394b3d; }
.about-details p { max-width: 38ch; }
.values-list { margin: 0; }
.values-list > div { padding-block: 11px; border-bottom: 1px solid #bdc7b7; }
.values-list dt { font-weight: 700; }
.values-list dd { margin: 2px 0 0; }
.contact { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: 65px 70px; }
.contact p:not(.eyebrow) { margin-top: 14px; color: var(--muted); }
.contact-actions { display: grid; justify-items: start; gap: 7px; flex-shrink: 0; }
.contact-number, .contact address { font: normal .84rem/1.45 var(--sans); color: var(--muted); }
.contact-number, .text-link { text-decoration: underline; text-underline-offset: 3px; }
.footer { background: var(--green); color: var(--cream); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 88px; padding-block: 18px; font-size: .82rem; }
.footer-name { font: bold 1.55rem/1 var(--serif); letter-spacing: -.04em; white-space: nowrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 7px 20px; }
.footer-links a { color: var(--leaf); white-space: nowrap; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 3px; }

.terms { max-width: 800px; padding-block: 55px 72px; }
.terms h1 { font-size: clamp(2.7rem, 6vw, 5rem); line-height: 1.05; margin-block: 12px 28px; }
.terms section { padding-block: 22px 25px; border-top: 1px solid var(--line); }
.terms section p, .terms li { color: var(--muted); }
.terms section p + p { margin-top: 12px; }
.terms ul { padding-left: 1.4em; }

.product-dialog { padding: 0; border: 1px solid var(--line); width: min(850px, 100% - 32px); max-height: calc(100% - 30px); background: var(--cream); color: var(--ink); }
.product-dialog::backdrop { background: rgb(13 27 20 / .65); }
.dialog-panel { display: grid; grid-template-columns: 1.15fr 1fr; position: relative; }
.close { position: absolute; top: 11px; right: 11px; z-index: 1; display: grid; place-items: center; width: 42px; height: 42px; background: var(--cream); border: 1px solid #aeb8aa; font-size: 1.7rem; line-height: 1; }
.detail-media { background: var(--paper); align-content: center; }
.detail-media > img { width: 100%; aspect-ratio: 1.12; object-fit: contain; }
.gallery { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 6px 10px 12px; }
.color-options { border-top: 1px solid #d7dace; margin: 20px 0; padding-top: 16px; }
.color-options h3 { margin: 0 0 8px; font-size: 18px; }
.color-options p { font-size: 14px; }
.color-options button { color: var(--green); background: transparent; border: 0; border-bottom: 1px solid currentColor; padding: 4px 0; font: inherit; cursor: pointer; }
.gallery[hidden] { display: none; }
.gallery button { width: 63px; height: 50px; border: 1px solid #bfc6b9; background: var(--paper); padding: 2px; }
.gallery button[aria-pressed=true] { border: 2px solid var(--green); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.detail-copy { align-self: center; padding: 59px 28px 38px; }
.detail-copy h2 { font-size: clamp(2rem, 3.8vw, 3.55rem); margin: 9px 0 15px; }
.detail-copy p:not(.eyebrow) { color: var(--muted); }
.detail-copy .button { margin-top: 20px; }

@media (max-width: 900px) {
  .shell { width: calc(100% - 56px); }
  .hero { min-height: 455px; }
  .hero-copy { padding-left: 28px; }
  .catalog { padding-block: 56px 64px; }
}

@media (max-width: 680px) {
  .shell { width: calc(100% - 36px); }
  .utility { font-size: .55rem; letter-spacing: .12em; }
  .utility-inner { min-height: 28px; }
  .header-inner { min-height: 67px; gap: 10px; }
  nav { font-size: .77rem; gap: 12px; }
  .header-contact { border: 0; padding: 0; }
  .header-contact span { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 44px 18px 46px; }
  h1 { font-size: clamp(4rem, 13vw, 5.75rem); margin-block: 18px; }
  .hero-image { min-height: 0; aspect-ratio: 1.2; }
  .hero-image figcaption { padding-inline: 12px; }
  .catalog-heading, .about-inner, .dialog-panel { grid-template-columns: 1fr; gap: 14px; }
  .catalog-controls { margin-top: 18px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-info { min-height: 83px; padding: 10px 26px 12px 9px; }
  .product-category { font-size: .55rem; letter-spacing: .1em; }
  .product-arrow { right: 8px; }
  .about-inner, .contact { padding-block: 47px 50px; }
  .about-details { grid-template-columns: 1fr; gap: 26px; padding-bottom: 42px; }
  .contact { flex-wrap: wrap; gap: 20px; }
  .footer-inner { flex-wrap: wrap; column-gap: 22px; row-gap: 9px; }
  .footer-inner span { order: 1; width: 100%; }
  .detail-media > img { max-height: 43vh; }
  .detail-copy { padding: 6px 17px 23px; }
}

@media (max-width: 350px) {
  nav { gap: 8px; }
  .wordmark { width: 130px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
