/* header-look.css: type and colour proposal for the header row (2026-11-13, round 2). PRIVATE PREVIEW, not on the shared preview.
   Every rule is scoped to html[data-hdr="1"] or html[data-hdr="2"], set by /assets/js/header-look.js from ?hdr=1 / ?hdr=2.
   Without that attribute (?hdr=0 or nothing) no selector in this file matches and the header is today's header.
   Not touched: items, order, row height, paddings, gaps, the 44px targets, the 96px search field, icon sizes,
   the burger, the scroll hide and show, the veils that Contact, Shop and Production put behind the row.
   Changed: font family, size, case, tracking, weight, text colour, hairline colour, and a veil behind the row on the
   tabs that have none today (see "the veil"). Nothing else. */

/* ================= shared by both variants ================= */
html:is([data-hdr="1"],[data-hdr="2"]) #hdr.site--edition{
  --hl-gold:#D7B358;            /* the hairline gold of the hero blocks (215,179,88) */
  --hl-gold-soft:#E7CB78;       /* the eyebrow gold of the hero blocks: hover */
  --hl-cream:#F4EFE2;           /* warm cream instead of the near white */
  --mo-nav-text:var(--hl-cream)}
/* tab names, Search, language code: the two icon buttons (basket, burger) keep their font size, their glyphs are sized in em */
html:is([data-hdr="1"],[data-hdr="2"]) #hdr.site--edition nav.primary a,
html:is([data-hdr="1"],[data-hdr="2"]) #hdr.site--edition .header-row>.head-right :is(#searchBtn,#lsbtn){
  font-family:var(--hl-font);font-size:var(--hl-size);font-weight:var(--hl-weight);letter-spacing:var(--hl-track);text-transform:uppercase;white-space:nowrap}

/* ---- the veil ----
   Small capitals carry less ink than today's 15.4px words. Round 1 tried a dark halo on the letters: it read as dirt on sky
   and did nothing on cream paper. Round 2 has no halo (text-shadow stays none, as today). Instead the row gets the same kind
   of veil that Contact, Shop and Production already put behind it (.header-row::before, 44px longer than the row, fading out),
   but lighter: .72 at the top against their .9. Behind the words it is about .65, which gives cream on white paper 5:1.
   Contact, Shop and the product page are left out entirely, and :where() keeps the rule weaker than Production's own,
   so those tabs keep their veil and its behaviour exactly as today.
   Not on Pairing while it shows its solid bar, not while the burger menu is open, and it fades with the row when the row hides. */
html:is([data-hdr="1"],[data-hdr="2"]):not(.pvito-nav) :where(body:not([data-view="kontakt"],[data-view="shop"],[data-view="produkt"]) #hdr.site--edition)>.header-row::before{
  content:"";position:absolute;z-index:-1;inset:0 0 -44px;pointer-events:none;transition:opacity .2s ease;
  background:linear-gradient(180deg,rgba(15,20,14,.72) 0%,rgba(15,20,14,.6) 46%,rgba(15,20,14,.26) 78%,rgba(15,20,14,0) 100%)}
html:is([data-hdr="1"],[data-hdr="2"]) :where(body:not([data-view="kontakt"],[data-view="shop"],[data-view="produkt"]) #hdr.site--edition)>.header-row--away::before,
html:is([data-hdr="1"],[data-hdr="2"]) :where(body.menu-open:not([data-view="kontakt"],[data-view="shop"],[data-view="produkt"]) #hdr.site--edition)>.header-row::before{opacity:0}

/* tracking adds a blank after the last letter: the hairline ends on the ink, and centred labels stay centred */
html:is([data-hdr="1"],[data-hdr="2"]) #hdr.site--edition nav.primary a::after{right:var(--hl-track);background:var(--hl-gold)}
html[dir="rtl"]:is([data-hdr="1"],[data-hdr="2"]) #hdr.site--edition nav.primary a::after{right:0;left:var(--hl-track)}
html:is([data-hdr="1"],[data-hdr="2"]) #hdr.site--edition .head-right .lscode{margin-inline-end:calc(-1 * var(--hl-track))}
/* hover: soft gold word over the gold hairline. Active: cream word, gold hairline */
html:is([data-hdr="1"],[data-hdr="2"]) #hdr.site--edition nav.primary a:hover{color:var(--hl-gold-soft)}
html:is([data-hdr="1"],[data-hdr="2"]) #hdr.site--edition nav.primary a[aria-current="page"],
html:is([data-hdr="1"],[data-hdr="2"]) #hdr.site--edition nav.primary a[aria-current="page"]:hover{color:var(--hl-cream)}
html:is([data-hdr="1"],[data-hdr="2"]) #hdr.site--edition nav.primary a:hover:not([aria-current="page"])::after{opacity:.6}
/* Search, language, basket: cream, thin gold lines, soft gold on hover and while their panel is open */
html:is([data-hdr="1"],[data-hdr="2"]) #hdr.site--edition #searchBtn::after{background:var(--hl-gold);opacity:.75}
html:is([data-hdr="1"],[data-hdr="2"]) #hdr.site--edition #searchBtn:hover::after,
html:is([data-hdr="1"],[data-hdr="2"]) body.search-open #hdr.site--edition #searchBtn::after{opacity:1}
html:is([data-hdr="1"],[data-hdr="2"]) #hdr.site--edition :is(#lsbtn,#cartBtn)::after{background:var(--hl-gold)}
html:is([data-hdr="1"],[data-hdr="2"]) #hdr.site--edition .head-right button:hover,
html:is([data-hdr="1"],[data-hdr="2"]) #hdr.site--edition .langsel.open .lsbtn,
html:is([data-hdr="1"],[data-hdr="2"]) body.search-open #hdr.site--edition #searchBtn,
html:is([data-hdr="1"],[data-hdr="2"]) body.cart-open #hdr.site--edition #cartBtn{color:var(--hl-gold-soft)}
/* focus ring: same 2px ring and offset as today, in the soft gold; it reads because the veil is behind it */
html:is([data-hdr="1"],[data-hdr="2"]) #hdr.site--edition nav.primary a:focus-visible,
html:is([data-hdr="1"],[data-hdr="2"]) #hdr.site--edition .head-right button:focus-visible{outline:2px solid var(--hl-gold-soft);outline-offset:2px}

/* ================= variant 1: the house mono ================= */
/* exactly the info line voice of the hero blocks (hero-intro.css: 400 11.5px IBM Plex Mono, .2em, uppercase).
   Round 1 used weight 500 against bright grounds; with the veil the hero weight 400 holds and no longer reads like a terminal menu. */
html[data-hdr="1"] #hdr.site--edition{--hl-font:"IBM Plex Mono",ui-monospace,monospace;--hl-size:11.5px;--hl-weight:400;--hl-track:.2em}
/* phone: the search field is 80px wide there */
@media (max-width:767px){
  html[data-hdr="1"] #hdr.site--edition{--hl-size:11px;--hl-track:.12em}
}

/* ================= variant 2: the sans kept ================= */
html[data-hdr="2"] #hdr.site--edition{--hl-font:inherit;--hl-size:12px;--hl-weight:500;--hl-track:.14em}
@media (max-width:767px){
  html[data-hdr="2"] #hdr.site--edition{--hl-size:11px;--hl-track:.08em}
}

/* French: RECHERCHER is the longest search word. Tighter tracking on that one label keeps spare room in the 96px (phone 80px) field. */
html[data-hdr="1"][lang="fr"] #hdr.site--edition .header-row>.head-right #searchBtn{letter-spacing:.13em}
html[data-hdr="2"][lang="fr"] #hdr.site--edition .header-row>.head-right #searchBtn{letter-spacing:.09em}
@media (max-width:767px){
  html[data-hdr="1"][lang="fr"] #hdr.site--edition .header-row>.head-right #searchBtn{letter-spacing:.05em}
  html[data-hdr="2"][lang="fr"] #hdr.site--edition .header-row>.head-right #searchBtn{letter-spacing:.03em}
}

/* ================= scripts without capitals and without a mono cut ================= */
/* Japanese, Chinese, Hindi, Arabic have no capitals and IBM Plex Mono has no glyphs for them: they keep their own face.
   Round 2: no longer shrunk to 13px. One step under today's 15.4px so the row still sits with the small Latin code beside it.
   Variant 1 tracks Japanese and Chinese wider than variant 2. Arabic and Devanagari are joined scripts: no tracking. */
html[data-hdr="1"]:is([lang="ja"],[lang="zh"]) #hdr.site--edition{--hl-font:inherit;--hl-size:14px;--hl-weight:400;--hl-track:.14em}
html[data-hdr="2"]:is([lang="ja"],[lang="zh"]) #hdr.site--edition{--hl-font:inherit;--hl-size:14px;--hl-weight:400;--hl-track:.06em}
html:is([data-hdr="1"],[data-hdr="2"]):is([lang="hi"],[lang="ar"]) #hdr.site--edition{--hl-font:inherit;--hl-size:14.5px;--hl-weight:400;--hl-track:0em}
/* the two letter language code is Latin in every language: it keeps the variant's Latin voice */
html[data-hdr="1"]:is([lang="ja"],[lang="zh"],[lang="hi"],[lang="ar"]) #hdr.site--edition .header-row>.head-right #lsbtn{font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:11.5px;font-weight:400;letter-spacing:.2em}
html[data-hdr="1"]:is([lang="ja"],[lang="zh"],[lang="hi"],[lang="ar"]) #hdr.site--edition #lsbtn .lscode{margin-inline-end:-.2em}
html[data-hdr="2"]:is([lang="ja"],[lang="zh"],[lang="hi"],[lang="ar"]) #hdr.site--edition .header-row>.head-right #lsbtn{font-size:12px;font-weight:500;letter-spacing:.14em}
html[data-hdr="2"]:is([lang="ja"],[lang="zh"],[lang="hi"],[lang="ar"]) #hdr.site--edition #lsbtn .lscode{margin-inline-end:-.14em}

/* (the old dark menu labels of round 2 were removed in owner round r2: the menu is the light cream panel further down) */


/* ================= fix13 (2026-11-16): the header line on phone and iPad =================
   Below 1400px (the width where the row of tab names gives way to the menu) the wordmark moves into the row and shares
   its centre line with the tools; it hides and returns with the row. From 1400px up nothing here applies.
   Home: the big hero wordmark there (.hero__masthead, the page h1) is made transparent below 1400px, because the same
   wordmark now stands in the row; it stays in the document and in the accessibility tree.
   Owner round r2 (2026-11-17): the word MENU is gone. A refined icon of two fine lines takes its place everywhere below
   1400px, and below 1024px the row is the house version of the reference he sent: basket left, wordmark centred, menu right. */
@media (max-width:1399px){
  html #hdr.site--edition{--hl-row:56px;--hl-ctl:44px;--hl-wm-size:clamp(2rem,3.4vw,2.7rem);--hl-wm-nudge:0px;--hl-pad:calc(var(--edition-gutter) + var(--edition-frame))}
  /* the wordmark: fixed in the row line, its line box centred on the tools' centre (row top + half the row) */
  html #hdr.site--edition>.brand--masthead,
  html #hdr.site--edition>.brand--in-hero{
    display:flex;align-items:center;position:fixed;z-index:2;
    top:calc((var(--hl-row) - var(--hl-ctl)) / 2 + var(--hl-wm-nudge));left:calc(var(--hl-pad) - .02em);right:auto;
    height:var(--hl-ctl);min-height:0;padding:0;margin:0;width:max-content;max-width:none;
    font-size:var(--hl-wm-size);line-height:1;letter-spacing:-.03em;
    transform:translateY(0);
    transition:color .32s var(--ease),transform .3s cubic-bezier(.16,1,.3,1),opacity .2s ease}
  html #hdr.site--edition>.brand--masthead>span{display:block;line-height:1;white-space:nowrap}
  /* it leaves and returns with the row (same distance and timing as .header-row--away in app.css) */
  html #hdr.site--edition:has(>.header-row--away)>.brand--masthead{transform:translateY(calc(-1 * var(--hl-row) - 8px));transition-duration:.14s;pointer-events:none}
  html body.menu-open #hdr.site--edition>.brand--masthead{transform:none}
  /* away from the top: no band any more, see "owner round r24" at the end of this file */
  /* home: the row now carries the wordmark, the hero copy of it steps back (kept as the page h1) */
  html .hero--edition .hero__masthead{opacity:0;pointer-events:none}

  /* the tools: one set on the right edge of the gutter */
  html #hdr.site--edition .header-row>.head-right{margin-right:0;--mo-tools-gap:14px}
  /* the menu control: two fine cream lines, the lower one shorter; they turn into a light cross while the menu is open */
  html #hdr.site--edition .header-row #menuBtn{display:inline-flex;position:relative;flex:none;width:var(--hl-ctl);min-width:var(--hl-ctl);height:var(--hl-ctl);min-height:var(--hl-ctl);
    padding:0;margin:0;border:0;background:none;color:var(--hl-cream,#F4EFE2);font-size:0;line-height:0;letter-spacing:0;transition:color .25s ease}
  html #hdr.site--edition .header-row #menuBtn::before,
  html #hdr.site--edition .header-row #menuBtn::after{content:none}
  html #hdr.site--edition .header-row #menuBtn>span{display:block;position:absolute;left:11px;right:11px;top:auto;bottom:auto;width:auto;min-width:0;max-width:none;height:1.25px;margin:0;opacity:1;border-radius:1px;background:currentColor;
    transform-origin:50% 50%;transition:transform .32s cubic-bezier(.2,.7,.2,1),top .32s cubic-bezier(.2,.7,.2,1),left .32s cubic-bezier(.2,.7,.2,1),right .32s cubic-bezier(.2,.7,.2,1)}
  html #hdr.site--edition .header-row #menuBtn>span:nth-child(1){top:18px}
  html #hdr.site--edition .header-row #menuBtn>span:nth-child(2){top:25px;left:19px}
  html[dir="rtl"] #hdr.site--edition .header-row #menuBtn>span:nth-child(2){left:11px;right:19px}
  html body.menu-open #hdr.site--edition .header-row #menuBtn>span:nth-child(1){top:21.5px;left:12px;right:12px;transform:rotate(45deg)}
  html body.menu-open #hdr.site--edition .header-row #menuBtn>span:nth-child(2){top:21.5px;left:12px;right:12px;transform:rotate(-45deg)}
  html #hdr.site--edition .header-row #menuBtn:hover{color:var(--hl-gold-soft,#E7CB78)}
  html #hdr.site--edition .header-row #menuBtn:focus-visible{outline:2px solid var(--hl-gold-soft,#E7CB78);outline-offset:-2px;border-radius:6px}
  /* basket count: a small gold figure at the basket's shoulder, no pill */
  html #hdr.site--edition .header-row .cart-count{top:5px;right:3px;left:auto;min-width:0;height:auto;padding:0;border-radius:0;background:none;color:var(--hl-gold-soft,#E7CB78);
    font-family:"Hanken Grotesk",system-ui,sans-serif;font-size:11px;font-weight:600;line-height:1;font-variant-numeric:tabular-nums}
  html #hdr.site--edition .header-row #cartBtn::after{bottom:7px;background:var(--hl-gold,#D7B358)}
}
/* phone: the row is 52px */
@media (max-width:767px){
  html #hdr.site--edition{--hl-row:52px;--hl-wm-size:clamp(1.4rem,6.2vw,1.8rem);--hl-pad:max(12px,var(--edition-gutter))}
  html #hdr.site--edition>.header-row{padding-inline:var(--hl-pad)}
}
/* phone and small tablet: basket left, wordmark centred, menu right, on one optical line. Search and language live in the menu. */
@media (max-width:1023px){
  html #hdr.site--edition .header-row>.head-right #searchBtn,
  html #hdr.site--edition .header-row>.head-right #langsel{display:none}
  html #hdr.site--edition .header-row>.head-right{flex:1 1 auto;justify-content:space-between;--mo-tools-gap:0px;gap:0}
  html #hdr.site--edition .header-row>.head-right>.cartwrap{order:0;margin-inline-start:-11px}
  html #hdr.site--edition .header-row>.head-right>#menuBtn{order:2;margin-inline-end:-11px}
  html #hdr.site--edition>.brand--masthead,
  html #hdr.site--edition>.brand--in-hero{left:0;right:0;margin-inline:auto;justify-content:center;width:max-content;max-width:calc(100vw - 2 * (var(--hl-pad) + 44px + 6px))}
  /* the basket keeps its gold count on the left now */
  html #hdr.site--edition .header-row #cartBtn::after{content:none}
}

/* ---- the open menu, phone and iPad: a light cream panel in the spirit of the reference he sent ----
   search field at the top, one calm row per tab with a hairline (the current tab gold), language as one compact row.
   The row above stays: wordmark, basket and the cross turn dark olive on the cream. Open and close fade with a 6px settle;
   the page does not move (the app keeps its scroll lock). Escape closes (app), Tab stays inside (header-look.js). */
@media (max-width:1399px){
  html body #drawer.drawer{
    --hm-bg:#F4EFE2;--hm-ink:#1F2E17;--hm-ink2:rgba(31,46,23,.69);--hm-line:rgba(31,46,23,.13);--hm-accent:#7A5F22;
    background:var(--hm-bg);background-image:none;color:var(--hm-ink);
    display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;gap:0;
    padding:calc(env(safe-area-inset-top,0px) + var(--hl-row,56px) + 14px) calc(var(--edition-gutter) + var(--edition-frame)) calc(env(safe-area-inset-bottom,0px) + 32px);
    overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;
    opacity:0;visibility:hidden;transition:opacity .26s cubic-bezier(.2,.7,.2,1),visibility 0s linear .26s}
  html body.menu-open #drawer.drawer{opacity:1;visibility:visible;transition:opacity .26s cubic-bezier(.2,.7,.2,1),visibility 0s}
  html body #drawer.drawer::before{content:none}
  html body #drawer.drawer>*{width:100%;max-width:640px;flex:none}
  html body #drawer.drawer>:is(a,.hl-msearch,.hl-mres,.drawer-tools){transform:translate3d(0,-6px,0);transition:transform .34s cubic-bezier(.2,.7,.2,1)}
  html body.menu-open #drawer.drawer>:is(a,.hl-msearch,.hl-mres,.drawer-tools){transform:none}
  /* the tools box opens up so search and language can sit where they belong */
  html body #drawer.drawer .drawer-tools{display:contents}
  /* the search field */
  html body #drawer.drawer>.hl-msearch{order:0;position:relative;display:block;margin:0 0 10px}
  html body #drawer .hl-msearch__in{display:block;width:100%;height:48px;margin:0;padding:0 48px 0 16px;border:1px solid var(--hm-line);border-radius:10px;background:rgba(255,255,255,.55);box-shadow:none;
    -webkit-appearance:none;appearance:none;font:400 16px/1.2 "Hanken Grotesk",system-ui,sans-serif;letter-spacing:0;color:var(--hm-ink);outline:none;transition:border-color .2s ease,background-color .2s ease}
  html body #drawer .hl-msearch__in::placeholder{color:rgba(31,46,23,.5)}
  html body #drawer .hl-msearch__in::-webkit-search-cancel-button,html body #drawer .hl-msearch__in::-webkit-search-decoration{-webkit-appearance:none;appearance:none;display:none}
  html body #drawer .hl-msearch__in:focus{border-color:rgba(122,95,34,.55);background:#fff}
  html body #drawer .hl-msearch__ic{position:absolute;top:0;right:0;width:48px;height:48px;display:flex;align-items:center;justify-content:center;color:var(--hm-accent);pointer-events:none}
  html[dir="rtl"] body #drawer .hl-msearch__in{padding:0 16px 0 48px}
  html[dir="rtl"] body #drawer .hl-msearch__ic{right:auto;left:0}
  html body #drawer .hl-msearch__ic svg{width:21px;height:21px}
  html body #drawer .hl-msearch ~ .drawer-tools #searchBtnDrawer{display:none}
  /* without the house search (not loaded) the app button keeps the place of the field */
  html body #drawer #searchBtnDrawer{order:0;display:flex;align-items:center;gap:.7rem;width:100%;min-height:48px;margin:0 0 10px;padding:0 16px;border:1px solid var(--hm-line);border-radius:10px;background:rgba(255,255,255,.55);color:var(--hm-ink2);
    font:400 16px/1.2 "Hanken Grotesk",system-ui,sans-serif;letter-spacing:0;text-transform:none}
  html body #drawer #searchBtnDrawer .ic{width:20px;height:20px;stroke:var(--hm-accent)}
  /* results replace the rows while there is a query */
  html body #drawer.drawer>.hl-mres{order:1;display:none;margin:0 -12px;width:auto;max-width:664px}
  html body #drawer.drawer.hl-q>.hl-mres{display:block}
  html body #drawer.drawer.hl-q>a,html body #drawer.drawer.hl-q .drawer-language{display:none}
  /* one row per tab */
  html body #drawer.drawer>a{order:1;display:flex;align-items:center;min-height:54px;margin:0;padding:0 2px;border-bottom:1px solid var(--hm-line);
    font-family:"Hanken Grotesk",system-ui,sans-serif;font-size:13.5px;font-weight:500;line-height:1.2;letter-spacing:.14em;text-transform:uppercase;text-decoration:none;color:var(--hm-ink);
    transition:color .2s ease,background-color .2s ease}
  html body #drawer.drawer>a:first-of-type{border-top:1px solid var(--hm-line)}
  html body #drawer.drawer>a:hover{color:var(--hm-accent)}
  html body #drawer.drawer>a[aria-current="page"]{font-weight:600;text-decoration:none;color:var(--hm-ink)}
  /* Owner round r22 (2026-11-17): Shop is a row like every other, dark olive, and stands where the desktop bar has it
     (the app writes the rows in that order: Family, Terroir, Cultivars, Production, Longevity, Shop, Gallery, Pairing,
     Recognition, Contact). The old accent rule (gold, moved to the end by order:2) is gone. */
  html body #drawer.drawer>a:focus-visible{outline:2px solid var(--hm-accent);outline-offset:-2px;border-radius:4px}
  /* language: one compact row */
  html body #drawer .drawer-language{order:3;width:100%;max-width:640px;margin:0;padding:0;border:0;border-bottom:1px solid var(--hm-line)}
  html body #drawer .drawer-language summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;padding:0 2px;list-style:none;cursor:pointer;
    font-family:"Hanken Grotesk",system-ui,sans-serif;font-size:13.5px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;color:var(--hm-ink2)}
  html body #drawer .drawer-language summary::-webkit-details-marker{display:none}
  html body #drawer .drawer-language summary::marker{content:""}
  html body #drawer .drawer-language summary>span:first-child{font:inherit;letter-spacing:inherit;text-transform:inherit;color:inherit}
  html body #drawer .drawer-language-current{margin:0 0 0 auto;font-size:14px;font-weight:500;letter-spacing:0;text-transform:none;color:var(--hm-ink)}
  html body #drawer .drawer-language summary::after{content:"";flex:none;width:7px;height:7px;margin:0 4px 3px 2px;border-right:1.25px solid var(--hm-ink2);border-bottom:1.25px solid var(--hm-ink2);transform:rotate(45deg);transition:transform .25s ease}
  html body #drawer .drawer-language[open] summary::after{transform:rotate(225deg);margin-bottom:-3px}
  html body #drawer .drawer-language summary:focus-visible{outline:2px solid var(--hm-accent);outline-offset:-2px;border-radius:4px}
  html body #drawer .drawer-language[open] .drawer-langs{display:flex;flex-wrap:wrap;gap:0 4px;margin:0 0 10px;padding:0}
  html body #drawer .dlang{min-height:44px;min-width:44px;margin:0;padding:0 12px 0 2px;border:0;border-radius:0;background:none;text-align:start;
    font:400 15px/1.2 "Hanken Grotesk",system-ui,sans-serif;letter-spacing:0;text-transform:none;color:var(--hm-ink2)}
  html body #drawer .dlang.on{color:var(--hm-ink);font-weight:600;text-decoration:none}
  html body #drawer .dlang:hover{color:var(--hm-accent)}
  /* scripts without capitals: no tracking, no case */
  html:is([lang="ar"],[lang="hi"],[lang="ja"],[lang="zh"]) body #drawer.drawer>a,
  html:is([lang="ar"],[lang="hi"],[lang="ja"],[lang="zh"]) body #drawer .drawer-language summary{letter-spacing:.02em;text-transform:none;font-size:15px}
  html:is([lang="ar"],[lang="hi"]) body #drawer.drawer>a,html:is([lang="ar"],[lang="hi"]) body #drawer .drawer-language summary{letter-spacing:0}

  /* the row above the open panel: dark olive on the cream, no band, no veil */
  html body.menu-open #hdr.site--edition>.header-row{background:var(--hm-bg,#F4EFE2);box-shadow:none}
  html body.menu-open #hdr.site--edition>.header-row::before{opacity:0}
  html body.menu-open #hdr.site--edition>.brand--masthead,
  html body.menu-open #hdr.site--edition>.brand--masthead *{color:#1F2E17 !important;-webkit-text-fill-color:#1F2E17 !important;background:none !important;text-shadow:none !important;filter:none !important}
  html body.menu-open #hdr.site--edition .header-row :is(#menuBtn,#cartBtn,#searchBtn,#lsbtn){color:#1F2E17}
  html body.menu-open #hdr.site--edition .header-row .cart-count{color:#7A5F22}
}
@media (max-width:767px){
  html body #drawer.drawer{padding-top:calc(env(safe-area-inset-top,0px) + 52px + 10px);padding-inline:max(16px,var(--edition-gutter))}
}
/* short phones (iPhone SE): rows a little lower so the whole menu fits */
@media (max-width:767px) and (max-height:700px){
  html body #drawer.drawer>a,html body #drawer .drawer-language summary{min-height:47px}
  html body #drawer.drawer>.hl-msearch{margin-bottom:8px}
  html body #drawer .hl-msearch__in{height:46px}
}
/* iPad landscape is short: two columns of tab rows so nothing scrolls */
@media (min-width:900px) and (max-width:1399px) and (max-height:900px) and (orientation:landscape){
  html body #drawer.drawer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(32px,5vw,80px);align-content:start;max-width:none}
  html body #drawer.drawer>*{max-width:none}
  html body #drawer.drawer>:is(.hl-msearch,.hl-mres,#searchBtnDrawer),html body #drawer .drawer-language{grid-column:1 / -1}
  html body #drawer.drawer>a:first-of-type{border-top:0}
}

/* Mobile fix 2026-11-16 (phones, every route): text at least 12 px on phones; a deeper veil over bright photographs */
@media (max-width:767px){
  html:is([data-hdr="1"],[data-hdr="2"]) #hdr.site--edition{--hl-size:12px;--hl-track:.06em}
  html #hdr.site--edition .header-row .cart-count{font-size:12px}
  html:is([data-hdr="1"],[data-hdr="2"]):not(.pvito-nav) :where(body:not([data-view="kontakt"],[data-view="shop"],[data-view="produkt"]) #hdr.site--edition)>.header-row::before{
    background:linear-gradient(180deg,rgba(15,20,14,.8) 0%,rgba(15,20,14,.7) 46%,rgba(15,20,14,.3) 78%,rgba(15,20,14,0) 100%)}
}

/* G6-SEARCH (fallback): the app search overlay, used only while the house search is not loaded, sits on the dark olive
   ground of the menu under the header line; a tap on the ground or on Close closes it. */
@media (max-width:1399px){
  html body #searchOverlay.search-ov{background:rgba(16,22,14,.96);padding-top:calc(env(safe-area-inset-top,0px) + 72px);cursor:pointer}
  html body #searchOverlay .search-box{cursor:auto}
  html body #searchOverlay .search-res{max-height:calc(100vh - 72px - 120px);max-height:calc(100dvh - env(safe-area-inset-top,0px) - 72px - 120px)}
  html body #searchOverlay::before{content:"Close";position:absolute;top:calc(env(safe-area-inset-top,0px) + 6px);right:calc(var(--edition-gutter,20px) + var(--edition-frame,0px));
    display:flex;align-items:center;height:44px;padding:0 2px;cursor:pointer;
    font:500 12px/1.25 "Hanken Grotesk",system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#E7CB78;
    background:linear-gradient(#D7B358,#D7B358) 2px calc(100% - 7px)/calc(100% - 4px) 1px no-repeat}
  html[lang="de"] body #searchOverlay::before{content:"Schliessen"}
  html[lang="it"] body #searchOverlay::before{content:"Chiudi"}
  html[lang="fr"] body #searchOverlay::before{content:"Fermer"}
  html[lang="es"] body #searchOverlay::before{content:"Cerrar"}
  html[lang="ja"] body #searchOverlay::before{content:"閉じる"}
  html[lang="zh"] body #searchOverlay::before{content:"关闭"}
  html[lang="ar"] body #searchOverlay::before{content:"إغلاق";right:auto;left:calc(var(--edition-gutter,20px) + var(--edition-frame,0px));letter-spacing:0}
  html[lang="hi"] body #searchOverlay::before{content:"बंद करें";letter-spacing:0}
  html body.search-open #hdr.site--edition>.header-row,
  html body.search-open #hdr.site--edition>.brand--masthead{visibility:hidden}
}
@media (max-width:767px){
  html body #searchOverlay::before{right:max(12px,var(--edition-gutter,12px));top:calc(env(safe-area-inset-top,0px) + 4px)}
  html[lang="ar"] body #searchOverlay::before{right:auto;left:max(12px,var(--edition-gutter,12px))}
}
/* the house search panel hides the header row and wordmark behind it on phone and iPad, like the lightbox */
@media (max-width:1399px){
  html body:is(:has(#lightbox.open),.hs-open) #hdr.site--edition>.header-row,
  html body:is(:has(#lightbox.open),.hs-open) #hdr.site--edition>.brand--masthead{visibility:hidden}
}

/* ================= owner round r2 (2026-11-17): one eyebrow, one gold, earlier reveals =================
   Defined once here with high specificity (two id-weight :not() plus !important on the few properties every tab sets), so
   every tab follows without touching the tab files.
   1. THE eyebrow: exactly the Longevity hero eyebrow ("Olive oil and health"): Hanken Grotesk 500, .72rem, .26em tracking,
      capitals, soft gold #E7CB78; without the leading line or dot (banned devices). On light grounds the deep gold of the
      same tab (#7A5F22). Phones: 12px (owner minimum). Display and spacing stay with each tab. */
html:not(#hl-a):not(#hl-b) body #app .eyebrow{
  font-family:"Hanken Grotesk",system-ui,sans-serif !important;font-size:.72rem !important;font-weight:500 !important;font-style:normal !important;
  letter-spacing:.26em !important;text-transform:uppercase !important;line-height:1.35 !important;color:#E7CB78 !important;opacity:1 !important;gap:0 !important;
  padding-inline:0 !important;border:0 !important;background:none !important}
html:not(#hl-a):not(#hl-b) body #app .eyebrow::before,
html:not(#hl-a):not(#hl-b) body #app .eyebrow::after{content:none !important;display:none !important}
html:not(#hl-a):not(#hl-b) body #app :is(.light,section.light) .eyebrow,
html:not(#hl-a):not(#hl-b) body #app .eyebrow.hl-eb-light{color:#7A5F22 !important}
html:not(#hl-a):not(#hl-b)[lang="hi"] body #app .eyebrow{letter-spacing:.1em !important;text-transform:none !important}
html:not(#hl-a):not(#hl-b):is([lang="ja"],[lang="zh"]) body #app .eyebrow{letter-spacing:.16em !important}
html:not(#hl-a):not(#hl-b)[lang="ar"] body #app .eyebrow{letter-spacing:normal !important;text-transform:none !important}
@media (max-width:767px){
  html:not(#hl-a):not(#hl-b) body #app .eyebrow{font-size:12px !important}
}
@media print{
  html:not(#hl-a):not(#hl-b) body #app .eyebrow{color:#333 !important}
}
/* 2. THE gold of the italic hero word: one vertical gold, every letter gold from the first (no cream start, no flat tint).
      Each line of a wrapped word gets the whole gradient (clone). Padding and fitting stay with each tab. */
html:not(#hl-a):not(#hl-b) body #app :is(.page-hero h1 em,.ea-hero h1 em,.track-page h1){
  color:#E4C674 !important;
  background-image:linear-gradient(176deg,#F2DC98 8%,#D9B45A 52%,#B98E36 100%) !important;background-color:transparent !important;
  -webkit-background-clip:text !important;background-clip:text !important;-webkit-text-fill-color:transparent !important;
  -webkit-box-decoration-break:clone !important;box-decoration-break:clone !important;
  /* a text shadow would show through the clipped fill: the house drop shadow carries the word on the photograph instead */
  text-shadow:none !important;filter:drop-shadow(0 4px 26px rgba(6,14,9,.6)) !important}
html:not(#hl-a):not(#hl-b) body #app .page-hero h1 em :is(em,i,span){-webkit-text-fill-color:inherit}

/* 3. scroll reveals on touch (header-look.js sets html.hl-rv only on touch screens without reduced motion):
      they start just before the element enters, run 250 ms on transform and opacity only, and come at once on a fast scroll. */
@media (prefers-reduced-motion:no-preference){
  html.hl-rv [data-reveal]{transition:opacity .25s cubic-bezier(.2,.7,.2,1),transform .25s cubic-bezier(.2,.7,.2,1) !important;transition-delay:0s !important}
  html.hl-rv [data-reveal]:not(.hl-in){opacity:0 !important;transform:translate3d(0,12px,0) !important}
  html.hl-rv [data-reveal].hl-in{opacity:1 !important;transform:none !important}
  html.hl-rv [data-reveal].hl-now{transition:none !important}
}

/* Checklist round 2026-11-17 (L34, L30): the "Home / X" breadcrumb line is a Homer fragment and goes on every route.
   It is hidden, not removed from the flow, so every hero keeps the place it was approved at and nothing moves;
   hidden also takes it out of the tab order and the reading order (and the untranslated "Home" with it). */
html body #app .crumbs,html body #app .crumbs *{visibility:hidden!important}
html body #app .crumbs a::after{content:none!important}

/* Checklist round 2026-11-17 (L215): in the phone menu the tab you are on is gold, with the same fine gold line under
   the word that marks it on the desktop bar. Owner round r22: every other row, SHOP included, is the same dark olive. */
html body #drawer.drawer>a[aria-current="page"]{color:var(--hm-accent);font-weight:600;text-decoration:underline;text-decoration-color:var(--hm-accent);text-decoration-thickness:1px;text-underline-offset:.42em}

/* ================= owner round r22 (2026-11-17): "Kein Balken bitte" =================
   Phones and small tablets (below 1024px), at the top of a page: nothing with an edge sits behind basket, wordmark and
   menu. The row floats on the hero film or photograph of every tab, Home included. What keeps the three legible is one
   long soft shade that reads as the top of the picture: it starts where the browser's dark status zone ends, so that
   zone runs into the picture without a step, and it thins out evenly over about three row heights (eased stops, no
   plateau, no hairline, nothing that ends on a line). It replaces the short dense veils (.8 and .9 at the top, gone
   after 96px) that read as a band on bright skies, on every tab alike: Contact, Shop, the product page and Production
   lose their own denser veil here too. Away from the top the row keeps its calm olive band (html.hl-deep, set by
   header-look.js); on Home "the top" is the film hero, wherever the opening has left the page. */
@media (max-width:1023px){
  html:not(#hl-a):not(#hl-b) body #hdr.site--edition>.header-row::before{
    inset:0 0 -112px !important;
    background:linear-gradient(180deg,rgba(13,18,12,.58) 0%,rgba(13,18,12,.5) 14%,rgba(13,18,12,.4) 30%,rgba(13,18,12,.28) 48%,rgba(13,18,12,.17) 64%,rgba(13,18,12,.08) 80%,rgba(13,18,12,.025) 92%,rgba(13,18,12,0) 100%) !important}
}

/* S2-LR-05, L2-03: Japanese and Chinese hero words in a real serif (Noto Serif JP / SC, loaded by header-look.js only on
   these two languages), upright and of a readable weight, never a hairline system face slanted by the browser.
   Fraunces stays first, so a Latin word inside keeps the house face. */
html:lang(ja) body #app :is(.page-hero,.ea-hero) h1,html:lang(ja) body #app :is(.page-hero,.ea-hero) h1 em,html:lang(ja) body[data-section="terroir"] #app>.ph-terroir+section .big,html:lang(ja) body[data-section="terroir"] #app>.ph-terroir+section .big em{font-family:Fraunces,"Noto Serif JP","Yu Mincho","Hiragino Mincho ProN",serif!important;font-synthesis:none}
html:lang(zh) body #app :is(.page-hero,.ea-hero) h1,html:lang(zh) body #app :is(.page-hero,.ea-hero) h1 em,html:lang(zh) body[data-section="terroir"] #app>.ph-terroir+section .big,html:lang(zh) body[data-section="terroir"] #app>.ph-terroir+section .big em{font-family:Fraunces,"Noto Serif SC","Songti SC","STSong",serif!important;font-synthesis:none}
html:is(:lang(ja),:lang(zh)) body #app :is(.page-hero,.ea-hero) h1,html:is(:lang(ja),:lang(zh)) body[data-section="terroir"] #app>.ph-terroir+section .big{font-weight:400!important}
html:is(:lang(ja),:lang(zh)) body #app :is(.page-hero,.ea-hero) h1 em,html:is(:lang(ja),:lang(zh)) body[data-section="terroir"] #app>.ph-terroir+section .big em{font-style:normal!important;font-weight:500!important}

/* LR-14: in Arabic the language panel opens on the side of its button (the left), as the basket drawer does */
html[dir="rtl"] .lsmenu{inset:0 auto 0 0;transform:translateX(-100%)}
html[dir="rtl"] body.language-open .lsmenu{transform:none}

/* ================= owner round r24 (2026-11-18): the scrolled row is see-through too =================
   "Dieser Balken gefällt mir nicht, er soll auch durchsichtig sein." Away from the top (html.hl-deep, every width) the row
   no longer sits on a solid olive band or on the dark top veil. Behind it there is one soft frosted glass: a blur of what
   passes under it and a thin veil in the tone of the ground beneath (--hl-veil, one horizontal blend that header-look.js
   reads under each word, light over light grounds and bright pictures, dark over dark ones), fading out over 56px below
   the row, so there is no edge and no line. A word or icon over a light ground (.hl-g-lt) turns dark olive with its
   hairline; over dark grounds it stays cream. The wordmark keeps its tab colour: where that colour is too weak on the
   ground, a tight halo on its own letters carries it (html.hl-wl). The top of a page, the open menu, the search and
   language panels, the hide and show of the row and Home's opening are unchanged. */
html.hl-deep:not(#hl-a):not(#hl-b) body:not(.menu-open) #hdr.site--edition>.header-row{background:transparent !important;box-shadow:none !important;isolation:isolate}
html.hl-deep:not(#hl-a):not(#hl-b) body:not(.menu-open) #hdr.site--edition>.header-row::before{
  content:"" !important;position:absolute;z-index:-1;inset:0 0 -56px !important;pointer-events:none;opacity:1 !important;
  background:var(--hl-veil,rgba(21,28,20,.5)) !important;
  -webkit-backdrop-filter:blur(16px) saturate(1.1);backdrop-filter:blur(16px) saturate(1.1);
  -webkit-mask-image:linear-gradient(180deg,#000 0%,#000 46%,rgba(0,0,0,.84) 56%,rgba(0,0,0,.6) 66%,rgba(0,0,0,.36) 76%,rgba(0,0,0,.17) 86%,rgba(0,0,0,.05) 94%,transparent 100%);
  mask-image:linear-gradient(180deg,#000 0%,#000 46%,rgba(0,0,0,.84) 56%,rgba(0,0,0,.6) 66%,rgba(0,0,0,.36) 76%,rgba(0,0,0,.17) 86%,rgba(0,0,0,.05) 94%,transparent 100%);
  transition:opacity .2s ease}
/* the glass leaves with the row */
html.hl-deep:not(#hl-a):not(#hl-b) body:not(.menu-open) #hdr.site--edition>.header-row--away::before{opacity:0 !important}
/* the wordmark's halo (phone and iPad only: from 1400px up the wordmark is not in the row): tight on the letters, no pool */
@media (max-width:1399px){
  html.hl-deep:not(#hl-a):not(#hl-b) body #hdr.site--edition>.brand--masthead>span{transition:color .32s ease,text-shadow .3s ease}
  html.hl-deep.hl-wl:not(#hl-a):not(#hl-b) body:not(.menu-open) #hdr.site--edition>.brand--masthead>span{
    text-shadow:0 0 1px rgba(16,22,14,.95),0 0 2px rgba(16,22,14,.9),0 0 4px rgba(16,22,14,.85),0 0 9px rgba(16,22,14,.6),0 0 16px rgba(16,22,14,.35)}
}
/* the words and icons follow the ground with a short colour passage */
html.hl-deep body:not(.menu-open) #hdr.site--edition .header-row :is(nav.primary a,#searchBtn,#lsbtn,#cartBtn,#menuBtn,.cart-count){transition:color .3s ease}
html.hl-deep body:not(.menu-open) #hdr.site--edition .header-row :is(nav.primary a,#searchBtn,#lsbtn,#cartBtn)::after{transition:background-color .3s ease,opacity .2s ease}
html.hl-deep body:not(.menu-open) #hdr.site--edition .header-row :is(nav.primary a,#searchBtn,#lsbtn,#menuBtn,#cartwrap).hl-g-lt{--hl-cream:#1F2E17;--mo-nav-text:#1F2E17;--hl-gold:#7A5F22;--hl-gold-soft:#5E4818}
html.hl-deep body:not(.menu-open) #hdr.site--edition .header-row :is(nav.primary a,#searchBtn,#lsbtn,#menuBtn).hl-g-lt,
html.hl-deep body:not(.menu-open) #hdr.site--edition .header-row #cartwrap.hl-g-lt #cartBtn{color:#1F2E17}
html.hl-deep body:not(.menu-open) #hdr.site--edition .header-row nav.primary a.hl-g-lt:hover:not([aria-current="page"]),
html.hl-deep body:not(.menu-open) #hdr.site--edition .header-row :is(#searchBtn,#lsbtn,#menuBtn).hl-g-lt:hover,
html.hl-deep body:not(.menu-open) #hdr.site--edition .header-row #cartwrap.hl-g-lt #cartBtn:hover{color:#5E4818}
html.hl-deep body:not(.menu-open) #hdr.site--edition .header-row #searchBtn.hl-g-lt::after{background:#1F2E17}
html.hl-deep body:not(.menu-open) #hdr.site--edition .header-row :is(nav.primary a,#lsbtn).hl-g-lt::after,
html.hl-deep body:not(.menu-open) #hdr.site--edition .header-row #cartwrap.hl-g-lt #cartBtn::after{background:#7A5F22}
html.hl-deep body:not(.menu-open) #hdr.site--edition .header-row #cartwrap.hl-g-lt .cart-count{color:#7A5F22}
html.hl-deep body:not(.menu-open) #hdr.site--edition .header-row :is(nav.primary a,#searchBtn,#lsbtn,#menuBtn).hl-g-lt:focus-visible,
html.hl-deep body:not(.menu-open) #hdr.site--edition .header-row #cartwrap.hl-g-lt #cartBtn:focus-visible{outline-color:#7A5F22}
@media (prefers-reduced-motion:reduce){
  html.hl-deep #hdr.site--edition .header-row,html.hl-deep #hdr.site--edition .header-row *,
  html.hl-deep #hdr.site--edition>.header-row::before,html.hl-deep #hdr.site--edition>.header-row::after{transition-duration:0s !important}
}

/* Owner 2026-11-23 (iPad): language appeared twice. From 1024px the header shows its own language switch, so the menu row hides. */
@media (min-width:1024px) and (max-width:1399px){
  html body #drawer .drawer-language{display:none}
}

/* Owner 2026-11-23: on the iPad the language works like on the desktop: the switch sits in the header, not in the menu (phones keep it in the menu). */
@media (min-width:768px) and (max-width:1023px){
  html #hdr.site--edition .header-row>.head-right #langsel{display:block;order:1;margin-inline-start:auto}
}
@media (min-width:768px) and (max-width:1399px){
  html body #drawer .drawer-language{display:none}
}
