.site-header{box-sizing:border-box;position:sticky;top:0;z-index:80;height:72px;display:grid;grid-template-columns:200px 1fr auto;align-items:center;gap:24px;padding:0 clamp(24px,4.45vw,80px);background:var(--paper-warm,#f4f0e7);border-bottom:1px solid transparent;transition:height .25s ease,border-color .25s ease;color:var(--brand-green,#0b4b3d);font:13px/1.5 Inter,system-ui,sans-serif;letter-spacing:.02em}
.site-header.compact{height:56px;border-bottom-color:#d7d1c5}.site-header a{color:inherit;text-decoration:none}.site-header a:hover{color:var(--accent-orange,#b34b24)}.site-brand{width:190px;display:block}.site-brand img{display:block;width:100%;height:auto;max-width:none;margin:0}.site-nav{display:flex;justify-content:center;gap:clamp(18px,2.1vw,32px);white-space:nowrap}.site-nav [aria-current=page]{text-decoration:underline;text-underline-offset:6px}.site-tools{display:flex;align-items:center;gap:18px}.site-language{display:flex;align-items:center;gap:5px;white-space:nowrap;font-size:12px}.site-language span{color:#918879}.site-language button{font:inherit;cursor:pointer;letter-spacing:inherit;background:none;border:0;border-bottom:2px solid transparent;border-radius:0;padding:6px 1px;color:#625e55;box-shadow:none;min-width:0;min-height:0;line-height:1.5}.site-language button[aria-pressed=true]{color:var(--brand-green,#0b4b3d);border-bottom-color:currentColor}.site-icon{display:inline-flex;align-items:center;gap:4px;font-size:11px;white-space:nowrap}.site-icon svg{display:block;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round}.site-header :is(a,button):focus-visible{outline:2px solid currentColor;outline-offset:5px}
@media(max-width:1150px){.site-header{grid-template-columns:165px 1fr auto;gap:16px;padding-inline:24px}.site-brand{width:165px}.site-nav{gap:16px;font-size:11px}.site-tools{gap:12px}}
@media(max-width:900px){.site-header{height:92px;grid-template-columns:1fr auto;grid-template-rows:52px 39px;gap:0 10px;padding-inline:20px}.site-header.compact{height:80px;grid-template-rows:44px 35px}.site-brand{width:150px}.site-nav{grid-row:2;grid-column:1/-1;justify-content:space-between;align-self:center;gap:12px;font-size:11px}.site-tools{gap:12px}.site-icon svg{width:18px;height:18px}.site-language{font-size:11px;gap:4px}}
@media(max-width:360px){.site-header{padding-inline:14px}.site-brand{width:130px}.site-tools{gap:8px}.site-nav{font-size:10px;gap:8px}}
@media(prefers-reduced-motion:reduce){.site-header{transition:none}}

/* L1: actual non-overlapping targets, keeping the type and icon drawings small. */
.site-language{gap:0}.site-language span{width:0;overflow:visible;transform:translateX(-2px);pointer-events:none}
.site-language button,.language-switch button{position:relative;display:inline-grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:0;touch-action:manipulation}
.site-language button[aria-pressed=true]::after{content:'';position:absolute;bottom:8px;left:50%;transform:translateX(-50%);width:18px;height:2px;background:var(--brand-green)}
.site-language button[data-lang=zh]::after{width:12px}.site-icon{min-width:44px;min-height:44px;justify-content:center;touch-action:manipulation}.site-tools{gap:6px}
@media(max-width:900px){.site-header{grid-template-columns:minmax(0,1fr) auto;gap:0 6px;padding-inline:16px}.site-brand{width:min(150px,100%)}.site-tools{gap:0}.site-language{gap:0}}
@media(max-width:360px){.site-header,.site-header.compact{height:140px;grid-template-columns:1fr;grid-template-rows:44px 48px 44px;padding-inline:14px}.site-brand{width:130px;justify-self:center}.site-tools{grid-row:2;justify-self:center}.site-nav{grid-row:3;grid-column:1;gap:10px}}
/* UI inputs only: printed text retains the designer's pt/mm values. */
@media(max-width:767px),(pointer:coarse){input,textarea,select{font-size:16px!important;line-height:1.4}select{min-height:40px}}

.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap;border:0}

html{scroll-padding-top:80px}@media(max-width:360px){html{scroll-padding-top:152px}}

/* N1: reuse the visible navigation; the upcoming note is secondary, not a CTA. */
.site-nav a{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;touch-action:manipulation}.site-nav .site-notebook{flex-direction:column;gap:1px;line-height:1.25}.site-notebook small{font-size:9px;font-weight:400;color:#625e55;letter-spacing:0}
@media(max-width:900px){.site-header{height:100px;grid-template-rows:52px 48px}.site-header.compact{height:92px;grid-template-rows:44px 48px}.site-nav{overflow-x:auto;max-width:100%;scrollbar-width:thin;min-height:44px;justify-content:space-between}.site-notebook small{font-size:8px}}
@media(max-width:360px){.site-header,.site-header.compact{height:140px;grid-template-rows:44px 48px 48px}.site-nav{justify-content:flex-start}}
.site-nav .site-notebook{text-decoration:none}.site-nav .site-notebook[aria-current=page]{border-bottom:1px solid currentColor}

/* H1.2: six visible entries remain separate; compact widths use the existing scrollable nav. */
@media(min-width:901px) and (max-width:1400px){.site-header{grid-template-columns:165px minmax(0,1fr) auto;padding-inline:24px;gap:16px}.site-brand{width:165px}.site-nav{font-size:11px;gap:14px}}
@media(max-width:900px){.site-nav{justify-content:flex-start;gap:16px;scroll-padding-inline:8px}}

/* H2 approved frame typography; the D badge remains in product artwork and favicon. */
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/home-h2/cormorant-wordmark-500.woff2') format('woff2')}
.site-header{background:#F3EEE6;color:#16261F}.estienne-wordmark{display:inline-block;font:500 23px/1 'Cormorant Garamond',Georgia,serif;letter-spacing:.30em;margin-right:-.30em;color:#0F3D2E;white-space:nowrap;text-transform:none}
.site-header .site-brand{display:inline-flex;align-items:center;min-height:44px;width:max-content;max-width:100%}.site-header .site-brand:hover .estienne-wordmark{color:#0F3D2E}
.site-nav .site-herbier small{color:#B34B24}.site-header a:hover{color:#D75F33}
:is(.footer,.library-footer,.home-footer) a:has(>.estienne-wordmark){display:inline-flex;align-items:center;min-height:44px;letter-spacing:normal;text-decoration:none;width:max-content;max-width:100%}
@media(max-width:900px){.estienne-wordmark{font-size:19px}}

/* H2.1: readable gap, no scrollbar, reveal remaining navigation without hiding links. */
@media(max-width:900px){.site-header .estienne-wordmark{font-size:17px}.site-header{column-gap:16px}.site-nav{scrollbar-width:none}.site-nav::-webkit-scrollbar{display:none}.site-nav.can-scroll-right{mask-image:linear-gradient(90deg,#000 0, #000 calc(100% - 22px),transparent);-webkit-mask-image:linear-gradient(90deg,#000 0, #000 calc(100% - 22px),transparent)}}
@media(min-width:361px) and (max-width:430px){.site-header{padding-inline:12px}}
