/* ===========================================================
   Bibiana Group — core stylesheet
   Palette: white #FFFFFF · bone #F6F3EF · ink #1A1A18 · red #C0392B
   Editorial, informational. No commerce.
   =========================================================== */

:root{
  --white:#FFFFFF;
  --bone:#F6F3EF;        /* alternating section band, image wells */
  --bone-deep:#EFEBE6;   /* hero backdrop */
  --bone-warm:#EAE5DE;   /* portrait wells */
  --ink:#1A1A18;         /* headings */
  --ink-body:#26241F;    /* body default */
  --ink-soft:#55504A;    /* long-form paragraphs */
  --muted:#6E6A64;       /* secondary copy, nav rest state */
  --faint:#918B82;       /* labels, counts, meta */
  --red:#C0392B;         /* the single accent */

  --rule-soft:rgba(26,26,24,.1);
  --rule:rgba(26,26,24,.12);
  --rule-strong:rgba(26,26,24,.14);
  --rule-input:rgba(26,26,24,.24);
  --rule-link:rgba(26,26,24,.32);
  --rule-chip:rgba(26,26,24,.2);

  --wrap:1480px;
  --pad:clamp(20px,4.4vw,44px);
  --header-h:82px;
  --ease:cubic-bezier(.4,0,.2,1);

  --f-display:"IBM Plex Sans","Helvetica Neue",Arial,sans-serif;
  --f-body:"IBM Plex Sans","Helvetica Neue",Arial,sans-serif;
}

*,*::before,*::after{box-sizing:border-box}

html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}

body{
  margin:0;
  background:var(--white);
  color:var(--ink-body);
  font-family:var(--f-body);
  font-size:16px;
  font-weight:300;
  line-height:1.75;
  overflow-x:hidden;
}

body.no-scroll{overflow:hidden}

img{max-width:100%;height:auto;display:block}

a{color:var(--red);text-decoration:none;transition:color .25s var(--ease),border-color .25s var(--ease)}
a:hover{color:var(--ink)}

h1,h2,h3,h4{font-family:var(--f-display);font-weight:300;line-height:1.1;margin:0}

@keyframes fadeIn{from{opacity:0}to{opacity:1}}
@keyframes rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}

.wrap{max-width:var(--wrap);margin:0 auto;padding-inline:var(--pad)}

/* ---------- shared type ---------- */

.eyebrow{
  font-size:10.5px;letter-spacing:.32em;text-transform:uppercase;
  color:var(--red);margin:0 0 26px;font-weight:400;
}

.section-title{
  font-family:var(--f-display);font-weight:300;
  font-size:clamp(32px,4vw,54px);line-height:1.1;margin:0 0 32px;color:var(--ink);
}

.lede{
  font-size:15.5px;line-height:1.8;font-weight:300;color:var(--muted);
  margin:0;max-width:58ch;
}

.prose p{
  font-size:15.5px;line-height:1.85;font-weight:300;color:var(--ink-soft);
  margin:0 0 22px;max-width:54ch;
}
.prose p:last-child{margin-bottom:0}

/* ---------- links & buttons ---------- */

.link-underline{
  display:inline-block;font-size:10.5px;letter-spacing:.24em;text-transform:uppercase;
  color:var(--ink);border-bottom:1px solid var(--rule-link);padding-bottom:4px;
}
.link-underline:hover{color:var(--red);border-color:var(--red)}

.link-underline--red{color:var(--red);border-color:var(--red)}
.link-underline--red:hover{color:var(--ink);border-color:var(--ink)}

.btn{
  display:inline-block;font-family:var(--f-body);font-size:11px;font-weight:400;
  letter-spacing:.22em;text-transform:uppercase;padding:18px 46px;
  background:var(--red);color:#fff;border:0;cursor:pointer;
  transition:background .3s var(--ease),color .3s var(--ease);
}
.btn:hover{background:var(--ink);color:#fff}

.btn--ghost{
  background:rgba(255,255,255,.94);color:var(--ink);
  font-size:11px;letter-spacing:.24em;padding:16px 40px;
}
.btn--ghost:hover{background:var(--ink);color:#fff}

.btn--outline{
  background:transparent;color:var(--ink);border:1px solid rgba(26,26,24,.28);
  padding:17px var(--pad);
}
.btn--outline:hover{background:transparent;border-color:var(--red);color:var(--red)}

/* ===========================================================
   HEADER
   =========================================================== */

.site-header{
  position:sticky;top:0;z-index:60;
  background:rgba(255,255,255,.97);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  border-bottom:1px solid var(--rule-soft);
}

.nav{
  max-width:var(--wrap);margin:0 auto;padding:0 var(--pad);
  min-height:var(--header-h);
  /* minmax(0,1fr), not 1fr: a bare 1fr floors at its content width, so the
     nav column would grow past its share and push the wordmark off centre. */
  display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;gap:clamp(12px,2vw,24px);
}

/* nav items sit left, the wordmark centres, language stays right */
.nav__logo{justify-self:center;display:flex;align-items:center;gap:10px}
.nav__logo img{height:30px;width:auto}
.nav__logo-text{
  font-family:var(--f-display);font-size:21px;letter-spacing:.08em;
  color:var(--red);white-space:nowrap;
}

.nav__menu{
  justify-self:start;display:flex;align-items:center;
  gap:clamp(20px,2.4vw,40px);list-style:none;margin:0;padding:0;
}

.nav__link{
  font-size:11.5px;letter-spacing:.2em;text-transform:uppercase;
  color:var(--muted);white-space:nowrap;display:inline-block;
  border-bottom:1px solid transparent;padding-bottom:5px;
}
.nav__link:hover{color:var(--red)}
.nav__link.is-active{color:var(--ink);border-bottom-color:var(--red)}

.nav__caret{display:inline-block;margin-left:6px;font-size:7px;vertical-align:middle}

/* brands dropdown */
.nav__item{position:relative}
.nav__item--has-drop{padding:30px 0}
.nav__drop{
  position:absolute;top:100%;left:-26px;
  background:var(--white);border:1px solid var(--rule);
  min-width:228px;padding:12px 0;list-style:none;margin:0;
  opacity:0;visibility:hidden;transition:opacity .18s ease,visibility .18s ease;
}
.nav__item--has-drop:hover .nav__drop,
.nav__item--has-drop:focus-within .nav__drop{opacity:1;visibility:visible}
.nav__drop a{
  display:block;padding:11px 26px;
  font-family:var(--f-display);font-size:19px;letter-spacing:.05em;color:var(--ink-body);
}
.nav__drop a:hover{background:var(--bone);color:var(--red)}

/* language switch */
.lang{justify-self:end;display:flex;align-items:center;gap:10px;font-size:11px;letter-spacing:.18em}
.lang__btn{color:var(--faint)}
.lang__btn:hover{color:var(--ink)}
.lang__btn.is-active{color:var(--red)}
.lang__sep{color:rgba(26,26,24,.26)}

/* burger */
/* 44×44 is the minimum touch target; the bars stay 22×1 with a 5px gap */
.burger{
  display:none;background:none;border:0;cursor:pointer;padding:0;
  width:44px;height:44px;
  flex-direction:column;align-items:center;justify-content:center;gap:5px;
  margin-left:6px;
}
.burger:focus-visible{outline:2px solid var(--red);outline-offset:2px}
.burger span{display:block;width:22px;height:1px;background:var(--ink);transition:all .3s var(--ease)}
.burger.is-open span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.burger.is-open span:nth-child(2){opacity:0}
.burger.is-open span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

/* ===========================================================
   HERO — crossfading brand slideshow + tab strip
   =========================================================== */

/* Full-bleed banner: the frame keeps the photography's own 16/9 ratio, so at
   almost every width `cover` fills edge to edge with nothing cropped. Only on
   a viewport short enough for the 88vh cap to bite does it trim, and then just
   a few percent off the top and bottom — the flat side bars this used to show
   are gone entirely. */
.hero{
  position:relative;width:100%;
  aspect-ratio:16/9;
  max-height:88vh;min-height:clamp(260px,44vw,460px);
  background:var(--bone-deep);overflow:hidden;
}

.hero__slide{
  position:absolute;inset:0;
  opacity:0;pointer-events:none;
  transition:opacity 1.6s var(--ease);
}
.hero__slide.is-active{opacity:1;pointer-events:auto}
/* set by JS when the visitor asks for reduced motion: still rotates, no fade */
.hero--instant .hero__slide{transition:none}

.hero__slide img{
  position:absolute;inset:0;width:100%;height:100%;
  /* 45% keeps the crop off the top of the frame, where Old Money's shoes and
     Capri's logo sit, when the height cap does trim. */
  object-fit:cover;object-position:center 45%;
}
/* A brand with no lifestyle shot falls back to a bottle on white. That must
   never be cropped through the product, so this case stays `contain`. */
.hero__slide--pack img{
  object-fit:contain;
  padding:clamp(28px,5vh,64px) var(--pad) 118px;
}

.hero__cta{
  position:absolute;left:0;right:0;bottom:0;
  padding:0 var(--pad) 52px;display:flex;justify-content:center;
}

/* Manual controls. They sit over the blurred flanks on wide screens, so a
   light border keeps them legible against both the photo and the wash. */
.hero__nav{
  position:absolute;top:50%;transform:translateY(-50%);z-index:3;
  width:52px;height:52px;border-radius:50%;cursor:pointer;
  border:1px solid rgb(255 255 255 / .55);
  background:rgb(26 26 24 / .3);color:#fff;
  display:flex;align-items:center;justify-content:center;padding:0;
  transition:background .25s var(--ease),border-color .25s var(--ease);
}
.hero__nav:hover{background:rgb(26 26 24 / .55);border-color:#fff}
.hero__nav:focus-visible{outline:2px solid #fff;outline-offset:3px}
.hero__nav svg{width:19px;height:19px;display:block}
.hero__nav--prev{left:clamp(12px,2vw,30px)}
.hero__nav--next{right:clamp(12px,2vw,30px)}

.hero-tabs{
  border-top:1px solid var(--rule-soft);
  display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));
}

.hero-tab{
  padding:28px 20px;
  border-right:1px solid var(--rule-soft);
  border-top:2px solid transparent;
  background:transparent;color:var(--ink);
  display:flex;flex-direction:column;gap:8px;align-items:center;text-align:center;
  font:inherit;cursor:pointer;width:100%;
  transition:background .3s var(--ease),border-color .3s var(--ease);
}
.hero-tab:hover{background:var(--bone)}
.hero-tab.is-active{background:var(--bone);border-top-color:var(--tab-accent,var(--red))}

.hero-tab__name{font-family:var(--f-display);font-size:25px;letter-spacing:.1em;line-height:1.2}
.hero-tab__tag{font-size:9.5px;letter-spacing:.24em;text-transform:uppercase;color:var(--faint)}

/* ===========================================================
   SUB-RANGES — "One brand, three ranges" (brands that define a family)
   =========================================================== */

.ranges{
  background:#FFFAF2;
  padding:clamp(56px,7vw,104px) var(--pad);
  border-top:1px solid var(--rule-soft);
}
.ranges__inner{max-width:var(--wrap);margin:0 auto}
.ranges__head{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));
  gap:clamp(28px,5vw,80px);align-items:end;margin-bottom:clamp(40px,5vw,62px);
}
.ranges__title{
  font-family:var(--f-display);font-weight:300;
  font-size:clamp(30px,3.4vw,48px);line-height:1.1;margin:0;color:var(--ink);
}
.ranges__lede{
  font-size:15.5px;line-height:1.85;font-weight:300;color:#5B5B5B;margin:0;max-width:52ch;
}
/* the eyebrow takes the brand's own accent rather than the house red */
.eyebrow--brand{color:var(--range-accent,var(--red))}

.ranges__grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));
  gap:clamp(18px,2vw,28px);
}
.range{
  background:var(--range-bg);padding:clamp(30px,3.4vw,44px);
  display:flex;flex-direction:column;border-top:2px solid var(--range-rule);
}
.range__logo{
  height:clamp(92px,10vw,118px);width:100%;
  background-size:contain;background-position:left center;background-repeat:no-repeat;
  margin-bottom:30px;
}
.range__line{
  font-size:9.5px;letter-spacing:.26em;text-transform:uppercase;
  color:var(--range-accent,var(--red));margin:0 0 14px;
}
.range__text{font-size:14.5px;line-height:1.85;font-weight:300;color:#5B5B5B;margin:0}

/* ===========================================================
   STATEMENT BAND
   =========================================================== */

.statement{background:var(--bone);padding:78px var(--pad)}
.statement__inner{
  max-width:var(--wrap);margin:0 auto;
  display:grid;grid-template-columns:auto minmax(0,1fr);gap:80px;align-items:center;
}
.statement__mark{height:100px;width:auto}
.statement__body{border-left:1px solid var(--rule-strong);padding-left:80px}
.statement__eyebrow{
  font-size:11px;letter-spacing:.26em;text-transform:uppercase;
  color:var(--red);margin:0 0 16px;
}
.statement__text{
  font-family:var(--f-display);font-size:clamp(22px,2.2vw,31px);line-height:1.45;
  font-weight:300;margin:0;max-width:46ch;color:var(--ink);
}

/* ===========================================================
   SECTIONS
   =========================================================== */

.section{padding:clamp(64px,9vw,126px) var(--pad) clamp(60px,8vw,116px)}
.section--bone{background:var(--bone)}
.section--white{background:var(--white)}
.section__inner{max-width:var(--wrap);margin:0 auto}

.section-head{text-align:center;max-width:620px;margin:0 auto clamp(44px,6vw,78px)}
.section-head .section-title{margin-bottom:24px;font-size:clamp(36px,4.4vw,58px);line-height:1.08}
.section-head .lede{margin-inline:auto}

/* head with a trailing link on the right */
.section-head--split{
  display:flex;align-items:flex-end;justify-content:space-between;gap:40px;flex-wrap:wrap;
  text-align:left;max-width:none;
  border-bottom:1px solid var(--rule);padding-bottom:34px;margin-bottom:64px;
}
.section-head--split .section-title{margin:0;font-size:clamp(32px,3.8vw,52px);line-height:1.08}
.section-head--split .eyebrow{margin-bottom:22px}

/* ===========================================================
   BRAND GRID
   =========================================================== */

.brand-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:0;
  border-top:1px solid var(--rule);border-left:1px solid var(--rule);
}

.brand-card{
  background:var(--white);display:flex;flex-direction:column;
  border-right:1px solid var(--rule);border-bottom:1px solid var(--rule);
}
.brand-card__media{
  position:relative;aspect-ratio:4/3.4;background:var(--bone);overflow:hidden;
}
.brand-card__media img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  transition:transform .7s var(--ease);
}
.brand-card__media--pack img{object-fit:contain;padding:10% 18%}
.brand-card:hover .brand-card__media img{transform:scale(1.03)}

.brand-card__body{
  padding:42px 40px 44px;display:flex;flex-direction:column;flex:1;
  border-top:2px solid var(--card-accent,var(--red));
}
.brand-card__logo{
  height:74px;display:flex;align-items:center;margin-bottom:26px;
}
.brand-card__logo img{max-height:74px;max-width:220px;width:auto;height:auto}
.brand-card__name{
  font-family:var(--f-display);font-size:30px;letter-spacing:.06em;
  color:var(--ink);margin:0;
}
.brand-card__text{
  font-size:14.5px;line-height:1.85;font-weight:300;color:var(--muted);
  margin:0 0 32px;flex:1;
}
.brand-card__foot{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  width:100%;border-top:1px solid var(--rule);padding-top:22px;
}
.brand-card__count{
  font-size:10px;letter-spacing:.22em;text-transform:uppercase;color:var(--faint);margin:0;
}

/* ===========================================================
   FEATURE BLOCK — lead copy beside a ruled sub-grid
   (homepage pillars and markets)
   =========================================================== */

.section--tight-top{padding-top:0}

/* a page head already carries 70px of its own bottom padding, so the section
   under it doesn't need the full section rhythm on top as well */
.section--after-head{padding-top:clamp(28px,4vw,44px)}

.feature{
  max-width:var(--wrap);margin:0 auto;
  display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));
  gap:clamp(36px,5.5vw,80px);align-items:start;
}
.feature--ruled{border-top:1px solid var(--rule);padding-top:64px}

.feature__title{
  font-family:var(--f-display);font-weight:300;
  font-size:clamp(30px,3.4vw,48px);line-height:1.1;margin:0 0 24px;color:var(--ink);
}
.feature__lede{
  font-size:15.5px;line-height:1.85;font-weight:300;color:var(--muted);
  margin:0;max-width:44ch;
}

/* pillars — numbered cells divided by hairlines */
.pillars{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:0;
  border-left:1px solid var(--rule);
}
.pillar{padding:6px 34px 26px;border-right:1px solid var(--rule)}
.pillar__num{
  font-family:var(--f-display);font-size:30px;color:var(--red);
  margin:0 0 18px;line-height:1;
}
.pillar__title{
  font-family:var(--f-display);font-weight:400;font-size:23px;line-height:1.25;
  margin:0 0 14px;color:var(--ink);
}
.pillar__text{font-size:14px;line-height:1.85;font-weight:300;color:var(--muted);margin:0}

/* ===========================================================
   FIGURES — four numbers on a hairline grid
   =========================================================== */

.figures{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:0;
  border-top:1px solid var(--rule-strong);border-left:1px solid var(--rule-strong);
}
.figure{
  padding:44px 34px;
  border-right:1px solid var(--rule-strong);border-bottom:1px solid var(--rule-strong);
}
.figure__value{
  font-family:var(--f-display);font-size:clamp(38px,4vw,56px);line-height:1;
  color:var(--ink);margin:0 0 16px;
}
.figure__label{
  font-size:9.5px;letter-spacing:.26em;text-transform:uppercase;color:var(--faint);margin:0;
}

/* ===========================================================
   MARKETS
   =========================================================== */

.market-groups{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:48px;
}
.market-group__title{
  font-size:9.5px;letter-spacing:.26em;text-transform:uppercase;color:var(--red);
  border-bottom:1px solid var(--rule-strong);padding-bottom:14px;margin:0 0 18px;
}
.market-group__items{display:flex;flex-direction:column;gap:10px}
.market-group__item{font-family:var(--f-display);font-size:19px;color:var(--ink)}

/* A long list (the core markets) takes the whole row and flows into as many
   columns as fit, so twenty countries read as a block rather than one very
   tall stack. auto-fill with a min() floor keeps it from overflowing on a
   narrow screen, where it settles back to a single column. */
.market-group--wide{grid-column:1 / -1}
.market-group--wide .market-group__items{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,168px),1fr));
  gap:12px 28px;
}

/* ===========================================================
   VISION
   =========================================================== */

/* Closing statement: copy left, picture running off the right edge of the page.
   The other splits are boxed inside the wrap, so the bleed keeps this section
   from reading as a third repeat of the same arrangement. */
.vision{background:var(--bone);padding:clamp(64px,7vw,118px) 0;overflow:hidden}
.vision__inner{
  max-width:var(--wrap);margin:0 auto;padding-left:var(--pad);
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);
  gap:clamp(36px,5vw,80px);align-items:center;
}
.vision__body{max-width:46ch}
.vision .eyebrow{margin-bottom:30px}
.vision__text{
  font-family:var(--f-display);font-weight:300;
  font-size:clamp(26px,3vw,40px);line-height:1.35;margin:0 0 42px;color:var(--ink);
}
.vision__media{
  position:relative;aspect-ratio:16/11;background:var(--bone-warm);overflow:hidden;
  margin-right:calc(0px - var(--pad));
}
.vision__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.vision__media[data-label]::after{
  content:attr(data-label);position:absolute;inset:0;
  display:flex;align-items:center;justify-content:center;
  font-size:10px;letter-spacing:.24em;text-transform:uppercase;color:var(--faint);
  pointer-events:none;
}
/* past the wrap the picture keeps running to the viewport edge */
@media (min-width:1480px){
  .vision__media{margin-right:calc((var(--wrap) - 100vw) / 2)}
}
@media (max-width:900px){
  .vision__inner{grid-template-columns:1fr;padding-right:var(--pad)}
  .vision__body{max-width:none}
  .vision__media{margin-right:0;aspect-ratio:16/10}
}

/* ===========================================================
   SPLIT (image + copy)
   =========================================================== */

.split{
  max-width:var(--wrap);margin:0 auto;
  display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));
  gap:clamp(36px,5.5vw,92px);align-items:center;
}
.split__media{position:relative;aspect-ratio:4/5;background:var(--bone-warm);overflow:hidden}
.split__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.split__media--offset img{object-position:58% 50%}
.split__media--flip{order:-1}

/* empty image well, so a missing photo still reads as intentional */
.split__media[data-label]::after{
  content:attr(data-label);position:absolute;inset:0;
  display:flex;align-items:center;justify-content:center;
  font-size:10px;letter-spacing:.24em;text-transform:uppercase;color:var(--faint);
  pointer-events:none;
}

.split__body .eyebrow{margin-bottom:26px}
.split__body .link-underline{margin-top:18px}

/* ===========================================================
   EDITORIAL SELECTION
   =========================================================== */

.editorial-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:0;
  border-top:1px solid var(--rule);border-left:1px solid var(--rule);
}
.editorial-card{
  display:block;background:var(--white);color:var(--ink-body);cursor:pointer;
  border-right:1px solid var(--rule);border-bottom:1px solid var(--rule);
  text-align:left;font:inherit;padding:0;
}
.editorial-card__media{
  display:block;position:relative;aspect-ratio:16/10;background:var(--bone);overflow:hidden;
}
.editorial-card__media img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  transition:transform .7s var(--ease);
}
.editorial-card:hover .editorial-card__media img{transform:scale(1.03)}
.editorial-card__body{display:block;padding:30px 32px 34px}
.editorial-card__brand{
  display:block;font-size:9.5px;letter-spacing:.26em;text-transform:uppercase;
  color:var(--card-accent,var(--red));margin:0 0 10px;
}
.editorial-card__title{
  display:block;font-family:var(--f-display);font-size:23px;line-height:1.3;
  font-weight:400;margin:0;color:var(--ink);
}
.editorial-card:hover .editorial-card__title{color:var(--red)}

/* ===========================================================
   PAGE HEAD (brand / catalogue / about / contact)
   =========================================================== */

.page-head{
  background:var(--white);padding:88px var(--pad) 0;text-align:center;
}
.page-head--plain{padding-bottom:76px}
.page-head--ruled{border-bottom:1px solid var(--rule-soft)}
.page-head__inner{max-width:900px;margin:0 auto;padding-bottom:70px}
.page-head__logo{display:flex;justify-content:center;margin-bottom:30px}
.page-head__logo img{max-height:130px;max-width:340px;width:auto;height:auto}
.page-head h1{
  font-family:var(--f-display);font-weight:300;
  font-size:clamp(44px,5.4vw,78px);letter-spacing:.04em;line-height:1;
  margin:0 0 26px;color:var(--ink);
}
.page-head .lede{margin-inline:auto}
/* Category pages sit under the brand mark, so their H1 is a rank below the
   brand name it appears beneath rather than a second full-size title. */
.page-head__cat{font-size:clamp(30px,3.4vw,48px)!important;margin-top:6px}
.page-head__logo + .eyebrow{margin-bottom:10px}

/* ===========================================================
   FILTERS + PRODUCT GRID
   =========================================================== */

.filters{border-bottom:1px solid var(--rule-soft);padding-bottom:40px;margin-bottom:52px}

.filters__brands{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-bottom:20px}
.chip{
  display:inline-block;white-space:nowrap;
  padding:13px 26px;font-size:10.5px;letter-spacing:.2em;text-transform:uppercase;
  border:1px solid var(--rule-chip);background:transparent;color:var(--ink-soft);
  font-family:var(--f-body);cursor:pointer;
}
/* each brand chip hovers in its own brand colour; "All brands" falls back to red */
.chip:hover{border-color:var(--chip-accent,var(--red));color:var(--chip-accent,var(--red))}
.chip.is-active{background:var(--red);border-color:var(--red);color:#fff}
.chip.is-active:hover{background:var(--chip-accent,var(--red));border-color:var(--chip-accent,var(--red));color:#fff}

.filters__cats{display:flex;flex-wrap:wrap;gap:24px;justify-content:center}
.cat-link{
  display:inline-block;white-space:nowrap;
  font-size:10px;letter-spacing:.2em;text-transform:uppercase;
  color:var(--faint);border-bottom:1px solid transparent;padding-bottom:4px;
}
.cat-link:hover{color:var(--ink)}
.cat-link.is-active{color:var(--ink);border-bottom-color:var(--red)}

.result-count{
  display:flex;justify-content:center;margin-bottom:50px;
  font-size:10px;letter-spacing:.24em;text-transform:uppercase;color:var(--faint);
}

.product-grid{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));
  gap:54px 38px;
}

.product-card{
  display:block;text-align:left;background:none;border:0;padding:0;
  font:inherit;color:var(--ink-body);cursor:pointer;
}
.product-card__media{
  display:block;position:relative;aspect-ratio:4/5;background:var(--bone);
  margin-bottom:20px;overflow:hidden;
}
.product-card__media img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:contain;padding:12%;
  transition:transform .5s var(--ease);
}
.product-card:hover .product-card__media img{transform:scale(1.05)}
.product-card__cat{
  display:block;font-size:9.5px;letter-spacing:.26em;text-transform:uppercase;
  color:var(--card-accent,var(--red));margin:0 0 9px;
}
.product-card__brand{
  display:block;font-family:var(--f-display);font-size:15px;letter-spacing:.05em;
  color:var(--faint);margin:0 0 4px;
}
.product-card__title{
  display:block;font-family:var(--f-display);font-size:21px;line-height:1.3;
  font-weight:400;margin:0;
}
.product-card:hover .product-card__title{color:var(--red)}

.empty-state{
  grid-column:1/-1;text-align:center;padding:60px 20px;
  color:var(--muted);font-size:14px;
}

/* ===========================================================
   VALUES GRID (about)
   =========================================================== */

.values-grid{
  max-width:var(--wrap);margin:0 auto;
  display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:0;
  border-top:1px solid var(--rule-strong);border-left:1px solid var(--rule-strong);
}
.value{
  background:var(--bone);padding:52px 44px;
  border-right:1px solid var(--rule-strong);border-bottom:1px solid var(--rule-strong);
}
.value__num{font-family:var(--f-display);font-size:34px;color:var(--red);margin:0 0 22px;line-height:1}
.value__title{font-family:var(--f-display);font-weight:400;font-size:26px;margin:0 0 16px;color:var(--ink)}
.value__text{font-size:14.5px;line-height:1.85;font-weight:300;color:var(--muted);margin:0}

/* two-column editorial band (about) */
.band{
  max-width:var(--wrap);margin:0 auto;
  display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));
  gap:clamp(36px,5.5vw,80px);align-items:start;
}
.band__title{
  font-family:var(--f-display);font-weight:300;
  font-size:clamp(30px,3.2vw,44px);line-height:1.14;margin:0;color:var(--ink);
}
.pull{
  font-family:var(--f-display);font-size:clamp(21px,2vw,27px);line-height:1.5;
  font-weight:400;color:var(--ink);margin:0;max-width:52ch;
}
.pull em{font-style:normal;color:var(--red)}

/* ===========================================================
   CONTACT
   =========================================================== */

.contact-grid{
  max-width:1200px;margin:0 auto;
  display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));
  gap:clamp(36px,5.5vw,96px);
}
.contact-rows{display:flex;flex-direction:column;gap:32px}
.info-row{border-top:1px solid var(--rule-strong);padding-top:18px}
.info-row__k{
  font-size:9.5px;letter-spacing:.26em;text-transform:uppercase;
  color:var(--faint);margin:0 0 10px;
}
.info-row__v{
  font-family:var(--f-display);font-size:21px;line-height:1.45;color:var(--ink);margin:0;
}
.info-row__v a{color:var(--ink)}
.info-row__v a:hover{color:var(--red)}

.form-title{
  font-family:var(--f-display);font-weight:300;font-size:38px;margin:0 0 40px;color:var(--ink);
}
.form-pair{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:26px}
.form-field{display:block}
.form-field--wide{margin-top:34px}
.form-field label,.form-field__label{
  display:block;font-size:9.5px;letter-spacing:.26em;text-transform:uppercase;
  color:var(--faint);margin-bottom:10px;
}
.form-field input,.form-field textarea,.form-field select{
  width:100%;border:0;border-bottom:1px solid var(--rule-input);background:transparent;
  padding:10px 0;font-family:var(--f-body);font-size:15px;font-weight:300;color:var(--ink);
  outline:none;transition:border-color .25s var(--ease);
}
.form-field input:focus,.form-field textarea:focus,.form-field select:focus{border-bottom-color:var(--red)}
.form-field textarea{resize:vertical;min-height:96px}
.form-actions{margin-top:44px}
.form-note{font-size:12.5px;color:var(--muted);margin:16px 0 0}

.notice{padding:13px 17px;margin-bottom:24px;font-size:14.5px;line-height:1.6}
.notice--ok{background:#EDF3EE;color:#3B6B4C}
.notice--err{background:#F9ECEA;color:var(--red)}
.notice--err div+div{margin-top:4px}

/* honeypot — hidden from people, visible to bots */
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* ===========================================================
   FOOTER
   =========================================================== */

.site-footer{
  background:var(--bone);color:var(--muted);
  padding:84px var(--pad) 40px;border-top:1px solid var(--rule-soft);
}
.footer-grid{
  max-width:var(--wrap);margin:0 auto;
  display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:clamp(36px,5vw,56px);
}
.footer__logo{height:28px;width:auto;margin-bottom:24px}
.footer__brandline{
  font-family:var(--f-display);font-size:22px;letter-spacing:.06em;
  color:var(--ink);margin:0 0 16px;
}
.footer__blurb{font-size:13.5px;line-height:1.9;font-weight:300;margin:0;max-width:34ch}
.footer__h{
  font-size:9.5px;letter-spacing:.26em;text-transform:uppercase;
  color:var(--red);margin:0 0 22px;font-weight:400;font-family:var(--f-body);
}
.footer__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.footer__list a,.footer__list span{font-size:13.5px;font-weight:300;color:var(--muted)}
.footer__office{display:flex;flex-direction:column;gap:2px}
/* same specificity as the .footer__list span rule above, and later, so it wins */
.footer__list .footer__office-label{
  font-size:9.5px;letter-spacing:.22em;text-transform:uppercase;color:var(--faint);
}
.footer__list a:hover{color:var(--red)}
.footer-bottom{
  max-width:var(--wrap);margin:52px auto 0;
  border-top:1px solid var(--rule);padding-top:26px;
  display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;
  font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--faint);
}

/* ===========================================================
   PRODUCT MODAL
   =========================================================== */

.modal{
  position:fixed;inset:0;z-index:90;
  display:none;align-items:center;justify-content:center;
  background:rgba(26,26,24,.62);padding:clamp(14px,3vw,48px);
}
.modal.is-open{display:flex;animation:fadeIn .22s ease}

.modal__box{
  background:var(--white);max-width:1120px;width:100%;max-height:88vh;overflow:auto;
  display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));
  position:relative;animation:rise .3s var(--ease);
}
.modal__close{
  position:absolute;top:20px;right:22px;z-index:2;
  background:none;border:0;cursor:pointer;
  font-family:var(--f-body);font-size:22px;line-height:1;color:var(--faint);
}
.modal__close:hover{color:var(--ink)}

.modal__media{
  position:relative;background:var(--bone);min-width:0;overflow:hidden;
  display:flex;align-items:center;justify-content:center;padding:40px;
}
.modal__media img{max-width:100%;max-height:60vh;object-fit:contain}

.modal__info{padding:clamp(30px,4vw,64px) clamp(24px,4vw,60px) clamp(30px,4vw,60px);min-width:0}
.modal__cat{
  font-size:9.5px;letter-spacing:.28em;text-transform:uppercase;
  color:var(--card-accent,var(--red));margin:0 0 18px;
}
.modal__title{
  font-family:var(--f-display);font-weight:300;
  font-size:clamp(30px,3vw,42px);line-height:1.14;margin:0 0 26px;color:var(--ink);
}
.modal__desc{font-size:15px;line-height:1.85;font-weight:300;color:var(--ink-soft);margin:0 0 40px}
.modal__specs-h{
  font-size:9.5px;letter-spacing:.28em;text-transform:uppercase;
  color:var(--faint);margin:0 0 18px;
}
.spec{
  display:grid;grid-template-columns:minmax(120px,150px) minmax(0,1fr);gap:16px;
  padding:15px 0;border-top:1px solid var(--rule);font-size:14px;font-weight:300;
}
.spec__k{font-size:10px;letter-spacing:.2em;text-transform:uppercase;color:var(--faint);padding-top:3px}
.spec__v{color:var(--ink);margin:0}

/* ===========================================================
   RESPONSIVE
   =========================================================== */

@media (max-width:980px){
  .statement__inner{grid-template-columns:1fr;gap:32px}
  .statement__body{border-left:0;border-top:1px solid var(--rule-strong);padding-left:0;padding-top:32px}
  .split__media--flip{order:0}
  .modal__media{padding:34px 34px 8px}
  .modal__media img{max-height:38vh}
  .section-head--split{align-items:flex-start;flex-direction:column;gap:24px}
}

/* 900px, not 768: the horizontal nav needs ~430px and stops fitting beside a
   centred wordmark well before 768, which left the logo badly off-centre in
   the gap between the two. */
@media (max-width:900px){
  :root{--header-h:64px}

  .burger{display:flex}
  /* the menu is fixed and out of flow here, so only logo + language remain */
  .nav{grid-template-columns:1fr auto}
  .nav__logo{justify-self:start}

  /* backdrop-filter makes the header a containing block for position:fixed,
     which would trap the panel inside the 64px bar. The header is 97% opaque
     anyway, so dropping the blur here costs nothing visually. */
  .site-header{-webkit-backdrop-filter:none;backdrop-filter:none}

  /* Full-width panel under the header. Toggled with visibility + opacity
     rather than a transform: a half-applied transform used to leave the
     panel on screen but off to one side, which is how this broke before.
     visibility:hidden cannot be half-anything — it is closed or it is not. */
  .nav__menu{
    position:fixed;top:var(--header-h);left:0;right:0;
    /* the desktop rule's justify-self:start would otherwise beat left/right
       and shrink-wrap this box instead of letting it stretch full width */
    justify-self:stretch;
    max-height:calc(100dvh - var(--header-h));
    background:var(--white);border-bottom:1px solid var(--rule-soft);
    flex-direction:column;align-items:stretch;justify-content:flex-start;
    gap:0;padding:0;overflow-y:auto;
    opacity:0;visibility:hidden;transform:translateY(-6px);
    transition:opacity .18s var(--ease),transform .18s var(--ease),visibility .18s;
  }
  .nav__menu.is-open{opacity:1;visibility:visible;transform:none}

  .nav__item{width:100%;border-bottom:0}
  .nav__item--has-drop{padding:0;border-bottom:1px solid var(--rule-soft)}

  /* "Brands" is only a dropdown trigger — on mobile the three brands are
     listed directly, so the trigger row itself has nothing to say. */
  .nav__item--has-drop > .nav__link,
  .nav__caret{display:none}

  .nav__drop{
    position:static;opacity:1;visibility:visible;transform:none;
    border:0;background:transparent;padding:0;min-width:0;max-height:none;overflow:visible;
  }
  .nav__drop a{
    display:flex;align-items:center;min-height:56px;
    padding:0 var(--pad);font-family:var(--f-display);font-size:22px;letter-spacing:.04em;
  }
  .nav__link{
    display:flex;align-items:center;min-height:48px;
    padding:0 var(--pad);font-size:12px;border-bottom:0;
  }
  .nav__link.is-active{border-bottom:0;color:var(--red)}
  .nav__drop a:hover,.nav__link:hover{background:var(--bone);color:var(--red)}

  .nav__logo-text{font-size:18px}
  .nav__logo img{height:24px}

  /* Dedicated portrait crops exist for the three main brands (hero-mobile-*),
     swapped in via <picture> — this box matches their 4:5 shape so they fill
     edge-to-edge instead of letterboxing inside the 16:9 desktop frame. A
     brand without one still falls back to the 16:9 image, just taller-cropped. */
  .hero{aspect-ratio:4/5;max-height:min(82vh,700px);min-height:clamp(320px,120vw,560px)}
  .hero__nav{width:40px;height:40px}
  .hero__nav svg{width:16px;height:16px}
  .hero__slide img{object-position:center}
  .hero__cta{padding-bottom:32px}
  .hero-tab{
    flex-direction:row;justify-content:space-between;text-align:left;
    padding:18px var(--pad);border-right:0;border-bottom:1px solid var(--rule-soft);
  }
  .hero-tab__name{font-size:21px}

  .statement__mark{height:72px}
  .brand-card__body{padding:32px 26px 34px}
  .product-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:38px 20px}
  .footer-bottom{flex-direction:column;gap:8px}
  .spec{grid-template-columns:1fr;gap:4px}
  .value{padding:38px 28px}

  /* Headline scale, phones only. Every clamp() below floors at its "min"
     value well before 900px, so that min IS the size phones were already
     rendering — this lowers just that floor. Body copy (.lede, .prose,
     labels) isn't part of this scale and is untouched. */
  .page-head h1{font-size:36px}
  .page-head__cat{font-size:28px!important}
  .section-title{font-size:27px}
  .section-head .section-title{font-size:29px}
  .section-head--split .section-title{font-size:27px}
  .ranges__title{font-size:25px}
  .feature__title{font-size:25px}
  .band__title{font-size:25px}
  .modal__title{font-size:25px}
  .statement__text{font-size:19px}
  .vision__text{font-size:21px}
  .pull{font-size:19px}
  .figure__value{font-size:32px}
  .brand-card__name{font-size:25px}
  .pillar__num{font-size:26px}
  .value__num{font-size:28px}
  .value__title{font-size:22px}
  .form-title{font-size:30px}
}

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