:root {
  --ink: #121410;
  --muted: #66695f;
  --paper: #f4f1e8;
  --surface: #fffdf7;
  --white: #fff;
  --green: #234b39;
  --green-dark: #173329;
  --gold: #c4a86b;
  --line: rgba(18, 20, 16, 0.16);
  --max: 1480px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
button { color: inherit; }

.site-header {
  position: relative; z-index: 20; min-height: 92px; padding: 0 clamp(24px, 4vw, 72px);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px;
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.brand-logo { grid-column: 2; width: 156px; justify-self: center; }
.brand-logo img { width: 100%; height: 66px; object-fit: contain; }
.header-nav { display: flex; align-items: center; gap: clamp(16px, 1.8vw, 30px); font-size: 11px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.header-nav-left { grid-column: 1; grid-row: 1; justify-self: start; }
.header-nav-right { grid-column: 3; grid-row: 1; justify-self: end; }
.header-nav > a, .shop-menu > a, .header-search > summary { min-height: 44px; display: inline-flex; align-items: center; cursor: pointer; }
.header-nav a:hover, .header-nav a:focus-visible, .header-search summary:hover { color: var(--green); }
.shop-menu { position: relative; }
.shop-menu-panel {
  position: absolute; top: calc(100% - 3px); left: -24px; width: 285px; padding: 16px 0;
  display: grid; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 18px 45px rgba(0, 0, 0, .12);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s ease;
}
.shop-menu-panel a { padding: 10px 24px; letter-spacing: .05em; text-transform: none; font-size: 13px; }
.shop-menu-panel a:hover { background: rgba(35, 75, 57, .08); }
.shop-menu:hover .shop-menu-panel, .shop-menu:focus-within .shop-menu-panel { opacity: 1; visibility: visible; transform: none; }
.header-search { position: relative; }
.header-search summary { list-style: none; }
.header-search summary::-webkit-details-marker { display: none; }
.header-search[open] form {
  position: absolute; right: 0; top: 49px; width: min(360px, 88vw); padding: 14px;
  display: flex; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 18px 45px rgba(0,0,0,.12);
}
.header-search input { min-width: 0; flex: 1; border: 1px solid var(--line); padding: 12px; }
.header-search button { border: 0; padding: 0 17px; color: var(--white); background: var(--ink); cursor: pointer; }
.mobile-menu { display: none; justify-self: end; position: relative; }
.mobile-menu summary { list-style: none; min-height: 44px; display: flex; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav { position: absolute; right: 0; top: 54px; width: min(340px, 88vw); max-height: 72vh; overflow: auto; padding: 18px; display: grid; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 18px 45px rgba(0,0,0,.12); }
.mobile-menu nav a { padding: 10px 6px; border-bottom: 1px solid var(--line); }
.mobile-search { display: grid; grid-template-columns: 1fr auto; margin-bottom: 8px; }
.mobile-search input { min-width: 0; border: 1px solid var(--line); padding: 11px; }
.mobile-search button { border: 0; padding: 0 14px; color: var(--white); background: var(--ink); }

.hero { min-height: min(830px, calc(100vh - 92px)); position: relative; display: grid; align-items: center; overflow: hidden; background: #171612; }
.hero > img, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { background: linear-gradient(90deg, rgba(5, 6, 5, .8) 0%, rgba(5, 6, 5, .35) 42%, rgba(5, 6, 5, .03) 72%); }
.hero-copy { position: relative; z-index: 1; width: min(690px, 88vw); margin-left: max(6vw, calc((100vw - var(--max)) / 2)); color: var(--white); }
.hero h1 { margin: 12px 0 16px; max-width: 660px; font-family: Georgia, serif; font-size: clamp(58px, 7.5vw, 118px); font-weight: 500; line-height: .89; letter-spacing: -.055em; text-wrap: balance; }
.hero-copy > p:not(.eyebrow) { margin: 0; font-family: Georgia, serif; font-size: clamp(20px, 2.1vw, 31px); font-style: italic; }
.eyebrow { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.actions { display: flex; gap: 12px; margin-top: 38px; }
.button { min-height: 50px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid currentColor; border-radius: 0; font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: transform .18s ease, background .18s ease, color .18s ease; }
.button-primary { color: var(--ink); background: var(--white); border-color: var(--white); }
.button-secondary { color: var(--white); background: transparent; }
.button-dark { color: var(--white); background: var(--ink); border-color: var(--ink); }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-secondary:hover { color: var(--ink); background: var(--white); }

.section { max-width: var(--max); margin: 0 auto; padding: clamp(76px, 8vw, 124px) clamp(20px, 4vw, 64px); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 38px; }
h2 { margin: 8px 0 0; font-family: Georgia, serif; font-size: clamp(38px, 5vw, 70px); font-weight: 500; line-height: .98; letter-spacing: -.04em; }
.text-link { padding: 9px 0; border: 0; border-bottom: 1px solid currentColor; background: none; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.rail-controls { display: flex; gap: 8px; }
.rail-controls button { width: 48px; height: 48px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.rail-controls button:hover { color: var(--white); background: var(--ink); }
.category-rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 54px) / 4); gap: 18px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: inline mandatory; scrollbar-width: none; }
.category-rail::-webkit-scrollbar { display: none; }
.category-card { min-width: 0; background: var(--surface); scroll-snap-align: start; }
.category-card a { display: block; }
.category-card img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .45s ease; }
.category-card a { overflow: hidden; }
.category-card a:hover img { transform: scale(1.025); }
.category-card-copy { min-height: 98px; padding: 19px 18px; display: grid; gap: 12px; }
.category-card-copy strong { font-family: Georgia, serif; font-size: 19px; font-weight: 500; }
.category-card-copy span { font-size: 10px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }

.best-sellers { border-top: 1px solid var(--line); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 42px 18px; margin: 34px 0 44px; }
.product-card { min-width: 0; }
.product-card img, .product-image-placeholder { width: 100%; aspect-ratio: 1 / 1.16; object-fit: cover; background: #ded9ce; }
.product-card h2, .product-card h3 { margin: 8px 0 6px; font-family: Georgia, serif; font-size: 19px; font-weight: 500; line-height: 1.25; }
.product-card p { margin: 8px 0; }
.product-category { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; opacity: .66; }
.product-price { font-size: 18px; font-weight: 700; }
.product-card-buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-card-buy button, .product-card > form button { min-height: 39px; padding: 8px 13px; border: 1px solid var(--ink); color: var(--white); background: var(--ink); cursor: pointer; }
.collection-notice { min-height: 220px; padding: 48px; display: grid; place-content: center; text-align: center; background: var(--surface); border: 1px solid var(--line); }
.collection-notice p { margin: 0 0 16px; font-family: Georgia, serif; font-size: clamp(25px, 3vw, 40px); }
.collection-notice a { text-decoration: underline; text-underline-offset: 5px; }

.brand-story { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr); background: var(--green); color: var(--white); }
.factory-carousel { position: relative; min-height: 720px; overflow: hidden; background: var(--green-dark); }
.factory-carousel figure { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .7s ease; }
.factory-carousel figure.is-active { opacity: 1; }
.factory-carousel img { width: 100%; height: 100%; object-fit: cover; }
.carousel-controls { position: absolute; right: 24px; bottom: 22px; z-index: 2; display: flex; align-items: stretch; gap: 2px; }
.carousel-controls button, .carousel-index { min-height: 44px; border: 0; padding: 10px 13px; color: var(--white); background: rgba(0,0,0,.72); font-size: 11px; letter-spacing: .08em; }
.carousel-controls button { cursor: pointer; }
.carousel-controls button:hover, .carousel-controls button:focus-visible { background: var(--white); color: var(--ink); }
.carousel-index { display: inline-flex; align-items: center; letter-spacing: .13em; }
.brand-story-copy { padding: clamp(66px, 7vw, 118px) clamp(34px, 7vw, 110px); align-self: center; }
.brand-story-copy h2 { margin-bottom: 32px; }
.brand-story-copy > p:not(.eyebrow) { max-width: 680px; font-size: 16px; line-height: 1.78; opacity: .9; }
.brand-story-copy .button { margin-top: 22px; color: var(--ink); background: var(--white); border-color: var(--white); }
.capability-rail { margin-top: 58px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 13px 24px; border-top: 1px solid rgba(255,255,255,.25); font-size: 10px; font-weight: 700; letter-spacing: .13em; }

.scene-showcase { position: relative; min-height: min(840px, 80vh); display: grid; place-items: center; overflow: hidden; background: #223c24; color: var(--white); }
.scene-showcase > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scene-showcase::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,8,5,.72), rgba(4,8,5,.08) 70%); }
.scene-showcase-copy { position: relative; z-index: 1; max-width: 920px; padding: 80px 24px; text-align: center; align-self: end; }
.scene-showcase-copy h2 { font-size: clamp(50px, 7vw, 104px); }
.scene-showcase-copy > p:not(.eyebrow) { font-family: Georgia, serif; font-size: clamp(20px, 2.4vw, 31px); font-style: italic; }
.scene-showcase-copy .button { margin-top: 18px; }
.faq-teaser { max-width: 990px; text-align: center; }
.faq-teaser > p:not(.eyebrow) { margin: 28px auto; max-width: 720px; font-size: 18px; line-height: 1.7; color: var(--muted); }

.site-footer { padding: clamp(64px, 7vw, 98px) clamp(24px, 5vw, 80px); display: grid; grid-template-columns: 1.05fr .75fr 1fr; gap: clamp(42px, 6vw, 100px); background: var(--ink); color: var(--white); }
.footer-brand img { width: 190px; height: 88px; object-fit: contain; filter: invert(1); }
.footer-brand p { max-width: 390px; margin-top: 26px; font-family: Georgia, serif; font-size: 18px; line-height: 1.6; }
.site-footer h2 { margin: 0 0 24px; font-family: Arial, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.footer-contact { display: grid; align-content: start; gap: 14px; font-size: 14px; }
.footer-contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-inquiry form, .inquiry-dialog form { display: grid; gap: 8px; }
.inquiry-error-page { max-width: 720px; }
.inquiry-error-page form { display: grid; gap: 9px; margin-top: 30px; }
.inquiry-error-page input, .inquiry-error-page textarea { width: 100%; border: 1px solid var(--line); padding: 13px; background: var(--white); }
.inquiry-error-page .errorlist { margin: 0; padding: 0; list-style: none; color: #9d241d; font-size: 13px; }
.footer-inquiry label, .inquiry-dialog label { margin-top: 7px; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.footer-inquiry input, .footer-inquiry textarea { width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.35); border-radius: 0; color: var(--white); background: transparent; }
.footer-inquiry textarea { resize: vertical; }
.footer-inquiry button { min-height: 48px; margin-top: 12px; border: 1px solid var(--white); color: var(--ink); background: var(--white); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.inquiry-dialog { width: min(620px, calc(100vw - 32px)); padding: clamp(30px, 5vw, 58px); border: 0; color: var(--ink); background: var(--surface); box-shadow: 0 30px 100px rgba(0,0,0,.35); }
.inquiry-dialog::backdrop { background: rgba(8, 10, 8, .72); }
.inquiry-dialog h2 { margin-bottom: 20px; font-size: clamp(34px, 5vw, 58px); }
.inquiry-dialog > p:not(.eyebrow) { line-height: 1.6; color: var(--muted); }
.inquiry-dialog input, .inquiry-dialog textarea { width: 100%; padding: 12px; border: 1px solid var(--line); background: var(--white); }
.inquiry-dialog textarea { resize: vertical; }
.dialog-close { position: absolute; top: 14px; right: 16px; width: 44px; height: 44px; border: 0; background: transparent; font-size: 30px; cursor: pointer; }

.messages { position: relative; z-index: 10; max-width: var(--max); margin: 16px auto; padding: 0 4vw; }
.message { margin: 0; padding: 14px 18px; background: var(--surface); border-left: 4px solid var(--green); }
.shop-page h1, .cart-page h1, .product-summary h1, .section > h1 { margin: 8px 0 28px; font-family: Georgia, serif; font-size: clamp(42px, 6vw, 76px); font-weight: 500; line-height: 1; letter-spacing: -.04em; }
.search-form { display: flex; gap: 8px; }
.search-form input, .product-summary input, .cart-line input { min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); background: var(--white); }
.search-form button, .product-card button, .cart-line button { min-height: 42px; padding: 9px 15px; border: 1px solid var(--ink); background: var(--ink); color: var(--white); cursor: pointer; }
.product-detail { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: clamp(36px, 7vw, 100px); }
.product-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.product-gallery > :first-child { grid-column: 1 / -1; }
.product-summary { position: sticky; top: 32px; align-self: start; }
.product-summary form { display: flex; align-items: end; gap: 10px; margin: 28px 0; }
.product-meta { padding: 15px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.product-meta div { display: flex; justify-content: space-between; gap: 20px; }
.product-description { margin-top: 36px; line-height: 1.7; }
.cart-lines { margin-top: 34px; border-top: 1px solid var(--line); }
.cart-line { padding: 22px 0; display: grid; grid-template-columns: minmax(220px, 1fr) auto auto auto; align-items: center; gap: 28px; border-bottom: 1px solid var(--line); }
.cart-line form { display: flex; align-items: end; gap: 8px; }
.cart-subtotal { font-weight: 700; }
.cart-total { padding: 28px 0 8px; display: flex; justify-content: flex-end; gap: 60px; font-size: 24px; }
.cart-note { margin: 0; color: var(--muted); text-align: right; }
.cart-checkout { display: flex; align-items: center; justify-content: flex-end; gap: 24px; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: clamp(36px, 6vw, 86px); align-items: start; }
.checkout-form { padding: clamp(24px, 4vw, 48px); background: var(--surface); border: 1px solid var(--line); }
.checkout-form fieldset { margin: 0 0 30px; padding: 0 0 30px; border: 0; border-bottom: 1px solid var(--line); }
.checkout-form legend { margin-bottom: 20px; padding: 0; font-family: Georgia, serif; font-size: 27px; }
.checkout-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.checkout-field { display: grid; gap: 8px; }
.checkout-field-wide { grid-column: 1 / -1; }
.checkout-field label { font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.checkout-field input, .checkout-field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); background: var(--white); }
.checkout-field textarea { resize: vertical; }
.checkout-form .errorlist { margin: 0; padding: 8px 12px; list-style: none; color: #8a2f16; background: #ffe0d4; font-size: 13px; }
.shipping-options ul { margin: 0; padding: 0; display: grid; gap: 10px; list-style: none; }
.shipping-options label { min-height: 48px; padding: 13px 15px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: var(--white); cursor: pointer; }
.checkout-unavailable { padding: 16px; color: #8a2f16; background: #ffe0d4; }
.checkout-submit { margin-top: 30px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.checkout-submit p { max-width: 540px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.checkout-summary { position: sticky; top: 24px; padding: clamp(24px, 3vw, 38px); background: var(--green); color: var(--white); }
.checkout-summary h2 { margin: 0 0 28px; font-size: clamp(32px, 3vw, 48px); }
.checkout-summary-lines { border-top: 1px solid rgba(255, 255, 255, .28); }
.checkout-summary-line, .checkout-summary-total { padding: 18px 0; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid rgba(255, 255, 255, .28); }
.checkout-summary-line div { display: grid; gap: 6px; }
.checkout-summary-line span { font-size: 12px; opacity: .75; }
.checkout-summary-total { font-size: 20px; }
.checkout-summary > p { color: rgba(255, 255, 255, .8); font-size: 13px; line-height: 1.65; }
.checkout-summary .text-link { display: inline-block; margin-top: 12px; }
.order-confirmation { max-width: 1040px; }
.order-confirmation-card { padding: clamp(28px, 5vw, 64px); background: var(--surface); border: 1px solid var(--line); }
.order-number-label { margin-bottom: 6px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.order-confirmation-card h2 { overflow-wrap: anywhere; font-size: clamp(28px, 4vw, 48px); }
.order-confirmation-card > div:first-child > p { max-width: 740px; line-height: 1.7; }
.order-totals { margin: 34px 0; border-top: 1px solid var(--line); }
.order-totals div, .order-confirmation-lines > div { padding: 14px 0; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.order-totals dt, .order-totals dd { margin: 0; }
.order-totals .order-total { font-size: 20px; font-weight: 700; }
.order-confirmation-lines { margin-bottom: 30px; }
.order-confirmation-lines h3 { font-family: Georgia, serif; font-size: 27px; font-weight: 500; }
.pagination { display: flex; justify-content: center; gap: 24px; margin-top: 44px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; box-shadow: 0 0 0 6px var(--ink); }

@media (max-width: 1080px) {
  .site-header { min-height: 74px; grid-template-columns: 1fr auto; }
  .brand-logo { grid-column: 1; width: 132px; justify-self: start; }
  .brand-logo img { height: 58px; }
  .header-nav { display: none; }
  .mobile-menu { display: block; grid-column: 2; grid-row: 1; }
  .hero { min-height: min(780px, calc(100vh - 74px)); }
  .category-rail { grid-auto-columns: calc((100% - 36px) / 3); }
  .brand-story { grid-template-columns: 1fr; }
  .factory-carousel { min-height: 600px; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .footer-inquiry { grid-column: 1 / -1; max-width: 720px; }
}

@media (max-width: 720px) {
  .hero { min-height: 680px; align-items: end; }
  .hero-shade { background: linear-gradient(0deg, rgba(5,6,5,.86), rgba(5,6,5,.12) 76%); }
  .hero-copy { width: auto; margin: 0; padding: 0 22px 70px; }
  .hero h1 { font-size: clamp(52px, 17vw, 80px); }
  .actions { align-items: stretch; flex-direction: column; width: min(290px, 100%); }
  .section-heading { align-items: start; flex-direction: column; }
  .rail-controls { align-self: end; margin-top: 0; }
  .category-rail { grid-auto-columns: 72vw; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 10px; }
  .product-card h2, .product-card h3 { font-size: 16px; }
  .product-card-buy { align-items: start; flex-direction: column; }
  .collection-notice { padding: 34px 20px; }
  .factory-carousel { min-height: 460px; }
  .brand-story-copy { padding: 64px 24px; }
  .scene-showcase { min-height: 680px; }
  .scene-showcase-copy { text-align: left; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-inquiry { grid-column: auto; }
  .product-detail { grid-template-columns: 1fr; }
  .product-summary { position: static; }
  .product-gallery { grid-template-columns: 1fr; }
  .product-gallery > :first-child { grid-column: auto; }
  .product-summary form { align-items: stretch; flex-direction: column; }
  .cart-line { grid-template-columns: 1fr; gap: 12px; }
  .cart-total { justify-content: space-between; }
  .cart-checkout, .checkout-submit { align-items: stretch; flex-direction: column; }
  .cart-note { text-align: left; }
  .checkout-fields { grid-template-columns: 1fr; }
  .checkout-field-wide { grid-column: auto; }
  .search-form { width: 100%; }
  .search-form input { min-width: 0; width: 100%; }
}

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