/* ============================================================
   BIORIS — Minimal / editorial layer
   Loaded after light.css. Monochrome ink on warm paper, square
   corners, hairline rules instead of cards, shadows and imagery.
   Remove the 'ro-minimal' enqueue in functions.php to revert.
   ============================================================ */

:root {
  --radius: 0px;

  /* Monochrome: the "accent" is simply ink. */
  --green:        oklch(0.18 0 0);
  --green-bright: oklch(0.30 0 0);
  --green-deep:   oklch(0.18 0 0);
  --green-ink:    oklch(0.97 0.006 85);

  --ink:        oklch(0.18 0 0);
  --paper:      oklch(0.965 0.006 85);   /* warm off-white */
  --paper-2:    oklch(0.945 0.007 85);
  --paper-3:    oklch(0.925 0.008 85);
  --line:       oklch(0.18 0 0 / 0.9);
  --line-soft:  oklch(0.18 0 0 / 0.14);
  --muted:      oklch(0.45 0.005 85);
  --muted-2:    oklch(0.60 0.005 85);

  --teal-deep:   var(--paper);
  --teal-deeper: var(--paper);
  --black:       var(--paper);
  --on-dark:     var(--ink);
  --on-dark-mut: var(--muted);
  --on-dark-line: var(--line-soft);

  --shadow-sm: none; --shadow-md: none; --shadow-lg: none;
}

body { background: var(--paper); }
::selection { background: var(--ink); color: var(--paper); }

/* ---------- Type: lighter, larger, calmer ---------- */
h1, h2, h3, h4, h5 { font-weight: 400; letter-spacing: -0.03em; }
.display, .hero h1 { font-weight: 400; letter-spacing: -0.05em; }
.h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
.eyebrow, .eyebrow[style] { color: var(--muted) !important; letter-spacing: 0.18em; }
.eyebrow::before { display: none; }
.lede { color: var(--muted); }

/* Sections: separated by a single hairline, no tinted bands */
.section { padding-block: clamp(80px, 11vw, 150px); }
.section.dark, .section.black, .dark, .black { background: transparent; color: var(--ink); }
main > .section + .section,
main > section + section { border-top: 1px solid var(--line-soft); }

/* ---------- Header / banner ---------- */
.ruo-banner { background: transparent; color: var(--muted); border-bottom: 1px solid var(--line-soft); font-size: 0.62rem; }
.ruo-banner b { color: var(--ink); }
.site-header, .site-header.on-dark { background: oklch(0.965 0.006 85 / 0.9); box-shadow: none; border-bottom: 1px solid var(--line-soft); }
.nav__link, .icon-btn, .lang-switch__link { border-radius: 0; }
.nav__link:hover, .nav__link[aria-current="page"],
.icon-btn:hover, .on-dark .nav__link:hover, .on-dark .icon-btn:hover { background: transparent; text-decoration: underline; text-underline-offset: 6px; }
.lang-switch__link.is-active { background: transparent; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.dropdown { border-radius: 0; border-color: var(--line-soft); }
.dropdown__item { border-radius: 0; }
.dropdown__feature { border-radius: 0; border: 1px solid var(--line-soft); }
.dropdown__feature .fimg { display: none; }
.cart-count { border-radius: 0; }

/* ---------- Buttons: flat rectangles / text links ---------- */
.btn { border-radius: 0; font-weight: 400; letter-spacing: 0; }
.btn:hover, .chip-btn:hover { transform: none; box-shadow: none; }
.btn--green { --bg: var(--ink); --fg: var(--paper); }
.btn--green:hover { --bg: transparent; --fg: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn--ghost { border-color: var(--line-soft); }
.chip-btn, .dark .chip-btn, .black .chip-btn, .cta-band .chip-btn, .cta-band .chip-btn[style] {
  background: transparent !important; color: var(--ink) !important;
  border: 0 !important; border-bottom: 1px solid var(--ink) !important; border-radius: 0;
  padding: 0.2em 0; gap: 0.5em;
}
.chip-btn .arrow, .dark .chip-btn .arrow, .cta-band .chip-btn .arrow { border: 0; width: auto; height: auto; }
.chip-btn:hover .arrow { background: transparent; color: var(--ink); }
.chip, .chip.on { border-radius: 0; }
.tag, .tag--green { border-radius: 0; background: transparent; color: var(--ink); border-color: var(--line-soft); }
.ruo-flag::before { border-radius: 0; }
.input, .select, .textarea, .qty, .search-box, .sort-sel { border-radius: 0 !important; background: transparent; }

/* ---------- Home hero: type only ---------- */
.hero { background: var(--paper); min-height: auto; padding-block: clamp(110px, 16vw, 220px) clamp(70px, 9vw, 120px); border-bottom: 1px solid var(--line-soft); }
.hero__fallback, .hero__video, .hero__veil, .hero__glow, .hero__scroll, .vial-stage { display: none !important; }
.hero__kicker .ruo-flag { color: var(--ink) !important; }
.hero h1 { font-size: clamp(3rem, 10vw, 9.5rem); max-width: none; }
.hero__sub { color: var(--muted); max-width: 46ch; }

/* Marquee removed for quiet */
.marquee { display: none !important; }

/* ---------- Trust: open numbers on rules ---------- */
.trust { border: 0; border-top: 1px solid var(--ink); border-radius: 0; background: transparent; gap: 0; }
.trust__cell, .dark .trust__cell { background: transparent; padding: 22px 24px 0 0; }
.trust__n { font-weight: 400; }

/* ---------- Imagery: drop decorative photos ---------- */
.split__media img[src*="why-pipette"], .split__media img[src*="vial-bubbles"] { display: none; }
.split__media:has(img[src*="why-pipette"]), .split__media:has(img[src*="vial-bubbles"]) { display: none; }
.split:has(img[src*="why-pipette"]), .split:has(img[src*="vial-bubbles"]) { grid-template-columns: 1fr; }
.split .lede { max-width: 56ch; }

/* ---------- Categories: index list instead of image tiles ---------- */
.cat-grid { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--ink); }
.cat-tile {
  min-height: 0; border: 0; border-bottom: 1px solid var(--line-soft); border-radius: 0;
  padding: 26px 0; flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 28px;
  color: var(--ink); transition: padding .4s var(--ease);
}
.cat-tile:hover { transform: none; padding-left: 14px; }
.cat-tile__img, .cat-tile .brand-img, .cat-tile::after { display: none !important; }
.cat-tile h3 { color: var(--ink); font-size: clamp(1.5rem, 3vw, 2.4rem); order: 1; flex: 1; }
.cat-tile .ct { color: var(--muted); order: 0; margin: 0; min-width: 9em; }
.cat-tile .go { color: var(--ink); order: 2; margin: 0; }

/* ---------- Product cards: flat grid on hairlines ---------- */
.product-grid { gap: 0; border-top: 1px solid var(--line-soft); border-left: 1px solid var(--line-soft); }
.pcard {
  border: 0; border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  border-radius: 0; background: transparent;
}
.pcard:hover { transform: none; box-shadow: none; background: var(--paper-2); }
.pcard__img { mix-blend-mode: multiply; }
.pcard__cat { color: var(--muted); }
.pcard__name { font-weight: 400; }
.pcard__price { font-weight: 400; }
.pcard__foot { border-top-color: var(--line-soft); }
.pcard__purity::before, .pcard__purity [class*="dot"] { background: var(--ink) !important; }
.pcard__add { border-radius: 0; }
.pcard:hover .pcard__add { background: var(--ink); color: var(--paper); }

/* ---------- Process steps ---------- */
.steps { background: transparent; border-top: 1px solid var(--ink); gap: 0; }
.step { background: transparent; padding: 26px 28px 0 0; }
.step h4 { font-weight: 400; }

/* ---------- CTA band: plain statement ---------- */
.cta-band { background: transparent; border-top: 1px solid var(--ink); border-radius: 0; grid-template-columns: 1fr; min-height: 0; }
.cta-band__media { display: none !important; }
.cta-band__inner { padding: 48px 0 0; }
.cta-band h2 { color: var(--ink); font-weight: 400; max-width: 26ch; }

/* ---------- Generic surfaces ---------- */
.card, .acct-card, .auth-card, .coa-doc, .summary, .cart-drawer, .coa-modal, .pdp__media, .pdp__thumb, .cart-line__img, .cart-row__img {
  border-radius: 0 !important; box-shadow: none !important;
}
.filterbar { background: oklch(0.965 0.006 85 / 0.92); }
.acc__item { border-radius: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper); color: var(--ink); border-top: 1px solid var(--ink); }
.footer-col h5 { color: var(--muted); }
.footer-col a { color: var(--ink); }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 4px; }

[data-reveal] { transform: none; }
.cat-tile h3, .cat-tile .ct, .cat-tile .go, .hero h1, .hero__sub { text-shadow: none !important; }
@media (max-width: 600px) { .cat-tile { gap: 14px; flex-wrap: wrap; } .cat-tile .ct { min-width: 0; width: 100%; } }

/* ---------- Wordmark: BIORIS / LABORATORIES (from packaging) ---------- */
.logo .word {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: 300;
  display: inline-flex; flex-direction: column; align-items: center; gap: 0.28em;
  font-size: 1.15rem; letter-spacing: 0.42em; line-height: 1; opacity: 1; padding-left: 0.42em;
}
.logo .word b { font-weight: 400; }
.logo .word small { font-size: 0.36em; letter-spacing: 0.5em; font-weight: 400; padding-left: 0.5em; color: var(--muted); }
@media (max-width: 760px) { .logo .word { font-size: 1rem; } }

/* Packaging photo (home) */
.pack-shot { margin: 0; }
.pack-shot img { width: 100%; height: auto; display: block; }
.pack-shot figcaption { margin-top: 14px; color: var(--muted); }
.assure, .pdp__assure > *, .opt, .pdp__opts .opt, .specs { border-radius: 0 !important; }

/* ============================================================
   BIORIS identity — own type pairing + accent
   Instrument Serif for headlines, Archivo for UI and body,
   JetBrains Mono for labels; one deep-green accent for markers.
   ============================================================ */
:root {
  --font-display: 'Archivo', system-ui, sans-serif;           /* UI headings (h3–h5, nav, cards) */
  --font-serif:   'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;
  --accent:       oklch(0.47 0.085 165);                       /* BIORIS green */
  --accent-soft:  oklch(0.47 0.085 165 / 0.12);
}

/* Headlines go serif: hero, page titles, section titles, CTA bands, big numbers */
.display, .hero h1, .page-hero h1, .h1, .h2, h1, .sec-head h2, .cta-band h2, .trust__n {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.015em;
}
.display, .hero h1 { line-height: 0.92; font-size: clamp(3rem, 8.2vw, 7.2rem); }
.h1 { line-height: 1.02; font-size: clamp(2.3rem, 4.8vw, 3.9rem); }
.h2, .sec-head h2 { line-height: 1.02; }
/* Second line of the hero in italic for a signature touch */
.display em { font-style: italic; }
h3, h4, h5 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; }

/* Labels: mono, accent-marked eyebrows */
.eyebrow, .eyebrow[style] { color: var(--accent) !important; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { display: inline-block; content: ""; width: 7px; height: 7px; background: var(--accent); border-radius: 50%; }
.step__n { color: var(--accent); }

/* Accent touches */
::selection { background: var(--accent); color: #fff; }
.ruo-banner { background: var(--accent-soft); border-bottom-color: transparent; color: var(--ink); }
.ruo-banner b { color: var(--accent); }
.ruo-flag, .hero__kicker .ruo-flag { color: var(--accent) !important; }
.nav__link:hover, .nav__link[aria-current="page"], .lang-switch__link.is-active { text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.chip-btn:hover, .chip-btn:hover .arrow { color: var(--accent); }
.btn--green:hover { background: var(--accent); border-color: var(--accent); }
.cat-tile h3 { font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.01em; font-size: clamp(1.6rem, 3vw, 2.3rem); }
/* Decorative stock imagery in monochrome (product + packaging photos stay in colour) */
.split__media, .split__media img, .cat-tile__img, .cta-band__media, .hero__fallback, .hero__video, .auth-split__brand > img {
  filter: grayscale(1) contrast(1.04);
}

/* Product details — quiet, editorial (luxury-clinical, not lab-sheet) */
.specs { margin-top: 28px; border: 0; border-top: 1px solid var(--line-soft); background: none; }
.specs__title { margin: 22px 0 6px; font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.1; letter-spacing: -0.01em; color: var(--ink); }
.spec-row { align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line-soft); }
.spec-row:last-child { border-bottom: 0; }
.spec-row .k { flex: 0 0 auto; font-family: var(--font-display); font-size: 0.62rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.spec-row .v { font-family: var(--font-serif); font-size: 1.12rem; font-weight: 400; line-height: 1.3; letter-spacing: 0; color: var(--ink); max-width: 62%; }
