/* Page 01 navigation and in-page panels. Later page styles remain in styles.css. */
:root { --shell-bg: #1c1b18; --shell-line: #ffffff24; --shell-muted: #b8b4aa; --nav-height: 76px; }
html { scrollbar-gutter: stable; }
[hidden] { display: none !important; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .5; }
.ui-arrow { display:block; flex:0 0 auto; width:1em; height:1em; overflow:visible; fill:none; stroke:currentColor; stroke-width:1.4; stroke-linecap:square; stroke-linejoin:miter; }
.site-nav, .product-menu, .shell-dialog, .cookie-banner { font-family: var(--sans); }
.site-nav button, .product-menu button, .shell-dialog button, .cookie-banner button { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; top: 8px; left: 20px; z-index: 1500; padding: 12px; background: var(--paper); color: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-nav { position: fixed; z-index: 110; inset: 0 0 auto; height: var(--nav-height); padding: 0 clamp(20px, 3vw, 56px); display: flex; align-items: center; gap: 30px; border-bottom: 1px solid #ffffff15; background: linear-gradient(#151410b3, #15141005); transition: background .25s, border-color .25s; }
.site-nav.is-solid, .site-nav.menu-visible { background: #191916f5; border-color: var(--shell-line); }
.site-logo { display: flex; width: 105px; min-width: 105px; min-height: 44px; align-items: center; }
.site-logo .site-wordmark { display:block; width:100%; height:auto; overflow:visible; }
.site-nav-links { display: flex; align-items: center; gap: 25px; }
.nav-link { position: relative; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0; border: 0; background: none; font-size: 15px; font-weight: 400; color: #e5e1d8; white-space: nowrap; }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: #ebbe7e; transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav-link:hover::after, .nav-link.is-active::after, .nav-link[aria-expanded=true]::after { transform: scaleX(1); }
.nav-link svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.site-nav-tools { display: flex; align-items: center; gap: 4px; padding-left: 20px; border-left: 1px solid var(--shell-line); }
.nav-icon { display: inline-flex; position: relative; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 10px; gap: 7px; border: 0; background: transparent; color: inherit; }
.nav-icon:hover { background: #ffffff0d; }
.nav-icon svg, .back-to-top svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.region-trigger { font: 400 10px/1 var(--mono); }
.site-search { margin-left: auto; }
.mobile-menu-trigger { display: none; }
.cart-count { position: absolute; top: 1px; right: 0; min-width: 17px; height: 17px; border-radius: 50%; background: #e1b475; color: #1c1b18; font: 500 10px/17px var(--mono); text-align: center; }
.product-menu { position: fixed; z-index: 109; inset: var(--nav-height) 0 auto; max-height: calc(100dvh - var(--nav-height)); overflow: auto; overscroll-behavior: contain; padding: 35px clamp(24px, 5vw, 80px) 26px; background: #1c1b18; color: var(--white); box-shadow: 0 24px 70px #0007; border-bottom: 1px solid var(--shell-line); }
.matrix-intro { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-bottom: 25px; }
.shell-eyebrow { color: #d8b27f; font: 400 10px/1.5 var(--mono); letter-spacing: .17em; text-transform: uppercase; }
.matrix-intro p:last-child { font-size: 13px; color: var(--shell-muted); }
.matrix-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.matrix-group h3 { padding-bottom: 12px; border-bottom: 1px solid var(--shell-line); margin-bottom: 7px; font-size: 13px; font-weight: 500; color: #d6b17e; }
.matrix-group button { display: block; width: 100%; min-height: 39px; padding: 8px 0; text-align: left; border: 0; background: none; font-size: 13px; color: #e4e0d8; }
.matrix-group button:hover { color: #f2c489; transform: translateX(3px); }
.matrix-group:last-child button:last-child { border-bottom: 0; }
.matrix-foot { display: flex; justify-content: space-between; gap: 20px; margin-top: 27px; padding-top: 20px; border-top: 1px solid var(--shell-line); font-size: 12px; color: var(--shell-muted); }
.shell-dialog { inset: 0 0 0 auto; margin: 0; width: min(620px, 100%); height: 100dvh; max-width: 100%; max-height: 100dvh; border: 0; border-left: 1px solid var(--shell-line); padding: 0; color: var(--white); background: var(--shell-bg); box-shadow: -16px 0 70px #0004; overflow: auto; overscroll-behavior: contain; }
.shell-dialog[open] { animation: panel-arrive .23s ease-out; }
.shell-dialog[data-view=search] { width: min(790px, 100%); }
.shell-dialog[data-view=catalog] { width: min(900px, 100%); }
.shell-dialog::backdrop { background: rgb(4 5 5 / 60%); }
body.panel-open { position: fixed; top: var(--locked-top); width: 100%; overflow: hidden; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; position: sticky; top: 0; z-index: 2; padding: 10px 28px; border-bottom: 1px solid var(--shell-line); background: var(--shell-bg); }
.panel-close { margin-left: auto; }
.panel-body { padding: 38px 40px 50px; }
.panel-title { font-size: clamp(28px, 4vw, 38px); font-weight: 300; letter-spacing: -.025em; line-height: 1.2; margin: 12px 0 18px; }
.panel-intro { color: var(--shell-muted); font-size: 15px; line-height: 1.65; margin-bottom: 28px; }
.shell-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 20px; border: 1px solid #e4dfd482; background: transparent; color: #f3efe8; font: 400 13px/1.4 var(--sans); transition: background .15s; text-align: center; }
.shell-button:hover { background: #ffffff0d; }
.shell-button.primary { background: #e5ded1; color: #211e1b; border-color: #e5ded1; }
.shell-button.primary:hover { background: #f3e9da; }
.shell-button.wide { width: 100%; }
.shell-button .ui-arrow { margin-left:.65em; }
.shell-button.wide .ui-arrow { margin-left:auto; }
.shell-text-button { min-height: 44px; padding: 8px 0; border: 0; background: transparent; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; color: #d8d4ca; }
.shell-text-button .ui-arrow { display:inline-block; margin-left:.35em; vertical-align:-.12em; }
.panel-back:not([hidden]) { display:inline-flex; align-items:center; gap:8px; }
.panel-back .ui-arrow { margin-left:0; }
.panel-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 25px 0 0; }
.panel-actions > * { flex: 1; }
.product-visual { margin: 26px 0; padding: 20px; height: 280px; background: #ebe8e0; display: flex; align-items: center; justify-content: center; }
.product-visual img { width: 100%; height: 100%; object-fit: contain; }
.product-visual.is-scene { padding: 0; }
.product-visual.is-scene img { object-fit: cover; }
.product-visual.is-app { background: #292a27; }
.product-no-image { border-block: 1px solid var(--shell-line); padding: 35px 0; margin: 26px 0; font-size: 13px; color: var(--shell-muted); }
.product-facts { margin: 25px 0; font-size: 13px; }
.product-facts > div { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--shell-line); }
.product-facts dt { color: var(--shell-muted); }
.product-facts dd { margin: 0; }
.product-note, .panel-note { padding: 17px 19px; border-left: 2px solid #be9663; background: #ffffff04; color: #c9c5bc; font-size: 13px; line-height: 1.65; }
.product-note { margin-top: 22px; }
.search-field { display: flex; border-bottom: 1px solid #cbb494; padding: 8px 0; margin: 18px 0 30px; }
.search-field input { flex: 1; min-width: 0; background: none; border: 0; color: #faf7f0; font: 300 22px/1.5 var(--sans); padding: 8px 0; }
.search-field input:focus { outline: none; }
.search-field:focus-within { outline: 1px solid var(--amber); outline-offset: 5px; }
.search-field input::placeholder { color: #98958d; }
.search-status { font: 400 11px/1.5 var(--mono); color: var(--shell-muted); margin-bottom: 12px; }
.search-result { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 72px; gap: 20px; padding: 17px 0; border: 0; border-bottom: 1px solid var(--shell-line); background: none; text-align: left; }
.search-result:hover strong { color: #e5bd88; }
.search-result strong { display: block; font-size: 17px; font-weight: 400; }
.search-result small { display: block; margin-top: 5px; color: var(--shell-muted); font-size: 12px; }
.search-empty { padding: 40px 0; color: var(--shell-muted); line-height: 1.6; }
.shell-form label { display: block; color: #d9d5cb; font-size: 13px; margin: 24px 0 9px; }
.shell-form select, .shell-form input { width: 100%; min-height: 49px; padding: 10px 12px; color: #f3efe8; background: #242420; border: 1px solid #ffffff38; border-radius: 0; font: 400 16px/1.4 var(--sans); }
.shell-form .panel-note { margin-top: 25px; }
.region-preview { margin: 24px 0; color: #d6b585; font: 400 11px/1.7 var(--mono); }
.consent-option { display: flex; align-items: flex-start; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--shell-line); }
.consent-option input { width: 20px; height: 20px; flex: 0 0 20px; margin: 4px 0 0; accent-color: #d5ac75; }
.consent-option label { flex: 1; font-size: 15px; line-height: 1.5; }
.consent-option small { display: block; color: var(--shell-muted); margin-top: 7px; font-size: 13px; }
.consent-option > span { margin-left: auto; white-space: nowrap; font: 400 10px/1.5 var(--mono); color: #d6b585; }
.cookie-banner { position: fixed; z-index: 115; bottom: 18px; left: 24px; width: min(480px, calc(100% - 48px)); padding: 23px 25px 18px; border: 1px solid #ffffff2c; background: #22221ffa; box-shadow: 0 12px 48px #0005; }
.cookie-banner h2 { font-size: 18px; font-weight: 400; margin-bottom: 9px; }
.cookie-banner p { color: #c6c2b8; font-size: 12px; line-height: 1.65; }
.cookie-actions { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.cookie-actions .shell-button { flex: 1; padding: 10px; font-size: 11px; }
.cookie-actions .shell-text-button { font-size: 11px; }
.cart-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--shell-line); }
.cart-product { border: 0; padding: 0; text-align: left; background: none; font-size: 17px; font-weight: 400; }
.cart-row p { font-size: 12px; margin-top: 6px; color: var(--shell-muted); }
.quantity-control { display: flex; align-items: center; border: 1px solid var(--shell-line); }
.quantity-control button { width: 40px; min-height: 42px; border: 0; background: transparent; font-size: 18px; }
.quantity-control output { min-width: 28px; text-align: center; font: 400 12px/1 var(--mono); }
.cart-row .remove-item { grid-column: 2; justify-self: end; }
.cart-summary { margin: 25px 0; display: flex; justify-content: space-between; font-size: 14px; }
.account-tabs { display: flex; gap: 20px; margin: 8px 0 25px; border-bottom: 1px solid var(--shell-line); }
.account-tabs button { padding: 12px 0; min-height: 46px; border: 0; background: none; font-size: 14px; color: var(--shell-muted); border-bottom: 2px solid transparent; }
.account-tabs button[aria-pressed=true] { color: var(--white); border-color: #c5a176; }
.account-form-preview { margin: 24px 0; padding: 0; border: 0; }
.account-form-preview input { opacity: .5; }
.account-empty { padding: 20px 0; border-block: 1px solid var(--shell-line); margin: 25px 0; }
.account-empty p { color: var(--shell-muted); font-size: 14px; line-height: 1.65; }
.mobile-navigation { display: flex; flex-direction: column; gap: 12px; }
.mobile-navigation a, .mobile-navigation button { padding: 20px 0; background: none; border: 0; border-bottom: 1px solid var(--shell-line); text-align: left; font-size: 28px; }
.shell-dialog .matrix-grid { grid-template-columns: repeat(2, 1fr); }
.shell-dialog .matrix-intro { display: block; }
.shell-dialog .matrix-intro p { margin-top: 12px; }
.shell-toast { position: fixed; z-index: 120; bottom: 30px; left: 50%; transform: translate(-50%, 20px); max-width: calc(100% - 40px); padding: 13px 22px; background: #e6dfd2; color: #1a1916; font-size: 13px; text-align: center; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.shell-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.panel-toast { margin: 20px 0 0; color: #e8c190; font-size: 13px; min-height: 20px; }
.back-to-top { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 44px; height: 44px; display: grid; place-items: center; background: #1c1b18dd; border: 1px solid #ffffff3b; }
.footer-privacy { margin-top: 12px; border: 0; padding: 0; background: none; font-size: 11px; color: #d6d0c5; text-decoration: underline; text-underline-offset: 4px; min-height: 44px; }
.brand-story { scroll-margin-top: var(--nav-height); display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(50px, 8vw, 140px); padding: clamp(80px, 10vw, 160px) var(--pad); background: #25241f; }
.story-heading h2 { font-size: clamp(35px, 4.2vw, 66px); font-weight: 300; line-height: 1.08; letter-spacing: -.04em; margin: 35px 0; text-wrap: balance; }
.story-heading > p:last-child { color: #bcb5a7; font-size: 14px; }
.story-chapters details { border-top: 1px solid var(--shell-line); padding: 24px 0; }
.story-chapters summary { display: flex; align-items: baseline; gap: 15px; cursor: pointer; font-size: 18px; font-weight: 400; line-height: 1.5; list-style: none; }
.story-chapters summary::-webkit-details-marker { display: none; }
.story-chapters summary::after { content: '+'; margin-left: auto; color: #bea582; }
.story-chapters details[open] summary::after { content: '−'; }
.story-chapters summary span { font: 400 10px/1.5 var(--mono); color: #bea582; }
.story-chapters details p { margin: 23px 0 0 30px; color: #c2bcae; font-size: 15px; line-height: 1.8; }
.no-script { position: fixed; bottom: 0; z-index: 200; padding: 18px; background: #211e1b; }
@keyframes panel-arrive { from { transform: translateX(35px); opacity: .5; } to { transform: none; opacity: 1; } }
@media (max-width: 1040px) {
  .site-nav { gap: 22px; padding-inline: 24px; }
  .site-nav-links { gap: 18px; }
  .site-nav-tools { padding-left: 12px; }
  .site-logo { width: 90px; min-width: 90px; }
}
@media (max-width: 860px) {
  :root { --nav-height: 68px; }
  .site-nav { gap: 8px; padding-inline: 18px; }
  .site-nav-links { display: none; }
  .site-nav-tools { border: 0; padding: 0; gap: 0; }
  .mobile-menu-trigger { display: inline-flex; }
  .product-menu { display: none; }
  .site-search { margin-left: auto; }
  .brand-story { grid-template-columns: 1fr; gap: 50px; }
}
@media (max-width: 480px) {
  .site-nav { gap: 0; padding-inline: 12px; }
  .site-logo { width: 74px; min-width: 74px; }
  .site-logo { margin-right: 8px; }
  .region-trigger { gap: 3px; padding-inline: 6px; }
  .region-trigger svg { display: none; }
  .site-nav-tools .nav-icon { min-width: 40px; width: 40px; }
  .panel-head { padding: 8px 17px; min-height: 68px; }
  .panel-body { padding: 26px 24px 40px; }
  .panel-title { font-size: 31px; }
  .product-visual { height: 230px; }
  .product-facts > div { grid-template-columns: 102px 1fr; gap: 12px; }
  .cookie-banner { left: 12px; bottom: 12px; width: calc(100% - 24px); padding: 19px; }
  .cookie-actions { flex-wrap: wrap; gap: 8px; }
  .cookie-actions .shell-button { white-space: nowrap; }
  .cookie-actions .shell-text-button { padding-inline: 2px; }
  .matrix-grid { gap: 24px 18px; }
  .matrix-foot { flex-direction: column; }
  .panel-actions { flex-direction: column; }
  .cart-row { grid-template-columns: 1fr; }
  .cart-row .remove-item { grid-column: 1; justify-self: start; }
  .quantity-control { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) { .shell-dialog[open] { animation: none; } .site-nav, .shell-toast, .nav-link::after { transition: none; } }
