/* =========================================================================
   VETRIMIX — design system
   Layout concept: asymmetric editorial grid on a cool off-white "production
   floor" ground; authentic portrait photography in registration-marked frames;
   a bag-label "batch ticket" motif and the logo's ring as the brand signature.
   Single deliberate light theme (corporate brand palette from the logo).
   ========================================================================= */
:root {
  color-scheme: light;
  /* Colour — derived from the Vetrimix logo */
  --ink: #0f1a3a;          /* text, darkest surfaces */
  --ink-soft: #2a3452;     /* body text */
  --muted: #5a6480;        /* secondary text */
  --navy: #2a45a1;         /* wordmark navy: primary brand / CTAs */
  --navy-700: #213888;
  --navy-900: #121f52;     /* dark bands */
  --teal: #137a67;         /* logo green, darkened for AA on light */
  --teal-bright: #2bb79a;  /* logo green on dark */
  --cyan: #3cc3ee;         /* logo cyan, details on dark */
  --signal: #e2502c;       /* rooster orange, tiny accents only */
  --paper: #f4f5f1;        /* page ground */
  --paper-2: #eaede6;      /* tinted sections */
  --white: #ffffff;
  --line: #d9dde3;
  --line-strong: #bfc6d1;
  --on-dark: #e9edf7;
  --on-dark-muted: #a9b3cf;
  --review-bg: #fff3bf;
  --review-fg: #6b5200;

  /* Type */
  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "IBM Plex Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --fs-xs: .75rem;
  --fs-sm: .9rem;
  --fs-base: 1.0625rem;
  --fs-lead: clamp(1.125rem, 1.02rem + .45vw, 1.3rem);
  --fs-h3: clamp(1.2rem, 1.08rem + .5vw, 1.45rem);
  --fs-h2: clamp(1.85rem, 1.25rem + 2.3vw, 3.05rem);
  --fs-h1: clamp(2.35rem, 1.3rem + 4.2vw, 4.75rem);

  /* Space & shape */
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --sec: clamp(4rem, 2.6rem + 5vw, 7.5rem);
  --radius: 4px;
  --radius-lg: 10px;
  --shadow: 0 1px 2px rgba(15, 26, 58, .06), 0 12px 32px -12px rgba(15, 26, 58, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hdr-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--ink-soft);
  font-family: var(--f-body); font-size: var(--fs-base); line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--navy-700); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--ink); line-height: 1.08; margin: 0; font-weight: 700; font-stretch: 110%; letter-spacing: -.015em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: var(--ink); }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.site { overflow-x: clip; }
.wrap {
  width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; color: var(--white); }
.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Type helpers ---------- */
.eyebrow { font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); font-weight: 500; display: flex; align-items: center; gap: .7em; margin-bottom: 1.1rem; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--teal-bright); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink); }
.cap { font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: .7rem; display: flex; gap: .6em; align-items: center; }
.cap::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); flex: none; }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; text-decoration: none; color: var(--navy); border-bottom: 1px solid currentColor; padding-bottom: 2px; width: fit-content; }
.link-arrow .ico { transition: transform .25s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }
.link-arrow--light { color: var(--white); }
.link-arrow--light:hover { color: var(--cyan); }
.linklike { background: none; border: 0; padding: 0; color: var(--navy); text-decoration: underline; text-underline-offset: .2em; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 48px; padding: .75em 1.35em; border-radius: var(--radius); font-family: var(--f-body); font-weight: 600; font-size: .98rem; line-height: 1.2; text-decoration: none; border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); white-space: nowrap; }
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--navy-900); color: var(--white); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--light { background: var(--white); color: var(--navy-900); }
.btn--light:hover { background: var(--cyan); color: var(--ink); }
.btn--ghost-light { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn--ghost-light:hover { border-color: var(--white); background: rgba(255,255,255,.08); color: var(--white); }
.btn--sm { min-height: 42px; padding: .55em 1.05em; font-size: .92rem; }
.btn--lg { min-height: 54px; padding: .9em 1.6em; }

/* ---------- Preview / review notes ---------- */

/* ---------- Header ---------- */
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.hdr.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(15,26,58,.4); }
.hdr__inner { display: flex; align-items: center; gap: 1.25rem; min-height: var(--hdr-h); }
.hdr__logo { flex: none; display: block; }
.hdr__logo img { height: 44px; width: auto; }
.nav { margin-inline-start: auto; }
.nav__list { list-style: none; display: flex; align-items: center; gap: .15rem; }
.nav__link { display: block; padding: .55rem .7rem; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; border-radius: var(--radius); position: relative; }
.nav__link::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .3rem; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__link:hover { color: var(--navy); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--navy); }
.nav__has-drop { position: relative; display: flex; align-items: center; }
.nav__drop-btn { background: none; border: 0; padding: .4rem .2rem; margin-inline-start: -.45rem; color: var(--muted); display: inline-flex; border-radius: var(--radius); }
.nav__drop-btn .ico { width: 1rem; height: 1rem; transition: transform .2s; }
.nav__has-drop.is-open .nav__drop-btn .ico { transform: rotate(180deg); }
.drop { position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px); width: 360px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav__has-drop.is-open .drop, .nav__has-drop:hover .drop, .nav__has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.drop__inner { padding: 1.1rem; }
.drop__eyebrow { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 0 .6rem .5rem; }
.drop__list { list-style: none; }
.drop__list a { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .6rem; border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.drop__list a:hover { background: var(--paper); }
.drop__name { font-weight: 600; font-size: .95rem; }
.drop__cat { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); white-space: nowrap; }
.drop__all { display: flex; align-items: center; gap: .5em; margin-top: .5rem; padding: .75rem .6rem 0; border-top: 1px solid var(--line); font-weight: 600; font-size: .9rem; text-decoration: none; }
.hdr__actions { display: flex; align-items: center; gap: .6rem; }
.hdr__toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); width: 46px; height: 46px; align-items: center; justify-content: center; color: var(--ink); }
.hdr__toggle .ico { width: 22px; height: 22px; }
.hdr__toggle-close { display: none; }
.nav__cta-mobile { display: none; }

@media (max-width: 1180px) {
  /* backdrop-filter would make the header the containing block of the fixed menu panel */
  .hdr { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--white); }
  .hdr__toggle { display: inline-flex; }
  .hdr__toggle[aria-expanded="true"] .hdr__toggle-open { display: none; }
  .hdr__toggle[aria-expanded="true"] .hdr__toggle-close { display: inline-flex; }
  .nav { position: fixed; inset: calc(var(--hdr-h) + env(safe-area-inset-top, 0px)) 0 0 0; background: var(--white); margin: 0; padding: 1rem max(var(--gutter), env(safe-area-inset-right, 0px)) calc(2rem + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px)); overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .3s var(--ease), visibility .3s; border-top: 1px solid var(--line); }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { border-bottom: 1px solid var(--line); }
  .nav__link { font-family: var(--f-display); font-stretch: 110%; font-size: 1.35rem; font-weight: 600; padding: 1rem 0; }
  .nav__link::after { display: none; }
  .nav__has-drop { flex-wrap: wrap; justify-content: space-between; }
  .nav__drop-btn { width: 48px; height: 48px; justify-content: center; margin: 0; }
  .drop { position: static; transform: none; width: 100%; box-shadow: none; border: 0; opacity: 1; visibility: visible; display: none; }
  .nav__has-drop:hover .drop, .nav__has-drop:focus-within .drop { transform: none; }
  .nav__has-drop.is-open .drop { display: block; transform: none; }
  .drop__inner { padding: 0 0 1rem; }
  .nav__cta-mobile { display: flex; margin-top: 1.5rem; width: 100%; }
  .hdr__cta { display: none; }
}
@media (max-width: 480px) { .hdr__logo img { height: 36px; } :root { --hdr-h: 66px; } }

/* ---------- Frames (registration marks) ---------- */
.frame { position: relative; margin: 0; }
.frame > img, .frame > picture img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.frame::before, .frame::after { content: ""; position: absolute; width: 18px; height: 18px; pointer-events: none; z-index: 2; }
.frame::before { top: -9px; left: -9px; border-top: 1.5px solid var(--teal); border-left: 1.5px solid var(--teal); }
.frame::after { right: -9px; bottom: calc(-9px); border-bottom: 1.5px solid var(--teal); border-right: 1.5px solid var(--teal); }
.frame:has(> figcaption)::after { bottom: calc(1.95rem - 9px); }

/* ---------- Sections ---------- */
.section { padding-block: var(--sec); }
.section--tint { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--on-dark); }
.section--ink h2, .section--ink h3 { color: var(--white); }
.section--flush-top { padding-top: 0; }
.section-head { max-width: 760px; margin-bottom: clamp(2.2rem, 1.5rem + 2vw, 3.5rem); }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem 3rem; flex-wrap: wrap; }
.section-head--split > div { max-width: 760px; }
.section-head__text { margin-top: 1rem; color: var(--muted); max-width: 60ch; }
.section-head--split .section-head__text { margin-top: 0; max-width: 46ch; }
.section-head__text--light { color: var(--on-dark-muted); }

/* ---------- HERO ---------- */
.hero { background: var(--white); padding-block: clamp(2.5rem, 1rem + 5vw, 5.5rem) clamp(3.5rem, 2rem + 5vw, 6.5rem); position: relative; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(2rem, 5vw, 5.5rem); align-items: center; }
.hero__title { font-size: var(--fs-h1); font-weight: 800; font-stretch: 116%; letter-spacing: -.03em; line-height: .98; }
.hero__title span { display: block; font-weight: 500; font-stretch: 100%; color: var(--navy); letter-spacing: -.02em; margin-top: .12em; font-size: .62em; line-height: 1.1; }
.hero__lead { margin-top: 1.6rem; font-size: var(--fs-lead); line-height: 1.55; max-width: 56ch; color: var(--ink-soft); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero__serve { margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); display: flex; gap: .4rem 1.2rem; flex-wrap: wrap; align-items: baseline; }
.hero__serve-label { font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hero__serve ul { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; }
.hero__serve li { font-weight: 600; color: var(--ink); font-size: .95rem; display: flex; align-items: center; gap: .55rem; }
.hero__serve li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--teal); }
.hero__visual { position: relative; display: grid; gap: 1rem; min-width: 0; }
.hero__photo { aspect-ratio: 5 / 4.4; max-width: 100%; }
.hero__photo img { object-position: 50% 30%; }

.ticket { position: relative; width: 100%; min-width: 0; background: var(--white); border: 1px solid var(--line-strong); border-radius: 6px; box-shadow: var(--shadow); font-family: var(--f-mono); color: var(--ink); z-index: 3;
  -webkit-mask: radial-gradient(circle 7px at 0 54px, transparent 98%, #000) , radial-gradient(circle 7px at 100% 54px, transparent 98%, #000);
  -webkit-mask-composite: source-in; mask-composite: intersect;
  mask: radial-gradient(circle 7px at 0 54px, transparent 98%, #000), radial-gradient(circle 7px at 100% 54px, transparent 98%, #000); }
.ticket__head { display: flex; justify-content: space-between; padding: .9rem 1.1rem; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px dashed var(--line-strong); height: 54px; align-items: center; }
.ticket__head span:first-child { font-family: var(--f-display); font-stretch: 120%; font-weight: 800; letter-spacing: .04em; font-size: .9rem; color: var(--navy); }
.ticket__head span:last-child { color: var(--muted); }
.ticket__rows { margin: 0; padding: .7rem 1.1rem .5rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.6rem; }
.ticket__rows div { display: flex; align-items: baseline; gap: .5rem; padding: .3rem 0; font-size: .78rem; }
.ticket__rows dt { color: var(--muted); min-width: 0; }
.ticket__rows dt::after { content: ""; }
.ticket__rows div::after { content: none; }
.ticket__rows dd { margin: 0; margin-inline-start: auto; font-weight: 500; text-align: end; font-variant-numeric: tabular-nums; }
.ticket__rows div { background: linear-gradient(to right, var(--line-strong) 1px, transparent 1px) 0 calc(100% - .55em) / 4px 1px repeat-x; }
.ticket__rows dt, .ticket__rows dd { background: var(--white); position: relative; }
.ticket__rows dt { padding-inline-end: .35rem; }
.ticket__rows dd { padding-inline-start: .35rem; }
.ticket__foot { padding: .3rem 1.1rem .9rem; }
.ticket__bars { display: block; height: 18px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px); opacity: .85; }

@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: rise .8s var(--ease) both; }
  .hero__copy > :nth-child(2) { animation-delay: .06s; }
  .hero__copy > :nth-child(3) { animation-delay: .12s; }
  .hero__copy > :nth-child(4) { animation-delay: .18s; }
  .hero__copy > :nth-child(5) { animation-delay: .24s; }
  .hero__photo { animation: reveal 1.1s var(--ease) both; }
  .ticket { animation: rise .9s .45s var(--ease) both; }
}
@keyframes rise { from { transform: translateY(14px); opacity: .001; } to { transform: none; opacity: 1; } }
@keyframes reveal { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { margin-top: .5rem; }
  .hero__photo { aspect-ratio: 4 / 3.4; }
}
@media (max-width: 560px) {
  .ticket__rows { grid-template-columns: 1fr; }
}

/* ---------- INTRO ---------- */
.intro__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.intro__copy { display: grid; gap: 1.3rem; max-width: 640px; padding-top: 1rem; }
.intro__copy .h2 { margin-bottom: .4rem; }
.strengths { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.2rem 2rem; padding-top: 1rem; }
.strengths li { border-top: 2px solid var(--ink); padding-top: 1.1rem; display: grid; gap: .7rem; align-content: start; }
.strengths__num { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .1em; color: var(--teal); }
.strengths h3 { font-size: 1.12rem; margin-bottom: .55rem; }
.strengths p { font-size: .95rem; color: var(--muted); }
@media (max-width: 900px) { .intro__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .strengths { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ---------- PORTFOLIO (dark) ---------- */
.portfolio { background: var(--navy-900); color: var(--on-dark); position: relative; overflow: hidden; }
.portfolio::before { content: ""; position: absolute; width: 900px; height: 900px; right: -380px; top: -420px; border-radius: 50%; border: 1px solid rgba(255,255,255,.07); box-shadow: 0 0 0 80px rgba(255,255,255,.015), 0 0 0 160px rgba(255,255,255,.012); pointer-events: none; }
.portfolio .h2 { color: var(--white); }
.portfolio__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 5rem); position: relative; }
.portfolio__list { list-style: none; counter-reset: pl; border-bottom: 1px solid rgba(255,255,255,.14); }
.pline { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) auto; align-items: center; gap: .3rem 1.5rem; padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,.14); text-decoration: none; color: var(--on-dark); transition: color .2s; }
.pline__cat { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); }
.pline__name { font-family: var(--f-display); font-stretch: 112%; font-weight: 600; font-size: clamp(1.35rem, 1rem + 1.4vw, 2.1rem); line-height: 1.1; letter-spacing: -.02em; color: var(--white); transition: color .25s, transform .3s var(--ease); }
.pline__sum { display: none; grid-column: 2 / 3; font-size: .95rem; color: var(--on-dark-muted); }
.pline__arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: inline-flex; align-items: center; justify-content: center; transition: background .25s, border-color .25s, transform .3s var(--ease); }
.pline:hover .pline__name, .pline.is-active .pline__name { color: var(--cyan); transform: translateX(6px); }
.pline:hover .pline__arrow, .pline.is-active .pline__arrow { background: var(--teal-bright); border-color: var(--teal-bright); color: var(--ink); }
.pline:hover, .pline:focus-visible { color: var(--white); }
.portfolio__panels { position: relative; display: grid; }
.ppanel { grid-area: 1 / 1; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); overflow: hidden; opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .45s var(--ease); pointer-events: none; display: flex; flex-direction: column; }
.ppanel.is-active { opacity: 1; transform: none; }
.ppanel { background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02) 60%); }
.ppanel__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1.6rem 1.7rem 1.4rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.ppanel__index { font-family: var(--f-display); font-stretch: 120%; font-weight: 800; font-size: clamp(3rem, 2rem + 3vw, 4.6rem); line-height: .85; color: var(--white); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.ppanel__index span { font-size: .32em; font-weight: 500; color: var(--on-dark-muted); letter-spacing: 0; margin-inline-start: .3em; }
.ppanel__body { padding: 1.5rem 1.7rem 1.8rem; display: grid; gap: .9rem; flex: 1; align-content: start; }
.ppanel__points { list-style: none; display: grid; gap: .55rem; }
.ppanel__points li { display: flex; gap: .6rem; align-items: flex-start; color: var(--on-dark); font-size: .94rem; line-height: 1.4; }
.ppanel__points svg { flex: none; width: 16px; height: 16px; margin-top: .15em; color: var(--teal-bright); }
.ppanel__cat { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-bright); }
.ppanel__name { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: 1.5rem; color: var(--white); line-height: 1.1; }
.ppanel__text { color: var(--on-dark-muted); font-size: .97rem; }
.ppanel__species { font-family: var(--f-mono); font-size: .74rem; color: var(--on-dark); letter-spacing: .04em; padding-top: .7rem; border-top: 1px solid rgba(255,255,255,.12); }
@media (max-width: 1000px) {
  .portfolio__grid { grid-template-columns: 1fr; }
  .portfolio__panels { display: none; }
  .pline { grid-template-columns: minmax(0, 1fr) auto; }
  .pline__cat { grid-column: 1 / -1; }
  .pline__sum { display: block; grid-column: 1 / 2; }
  .pline__arrow { grid-row: 2 / 4; grid-column: 2; }
  .pline.is-active .pline__name { color: var(--white); transform: none; }
  .pline.is-active .pline__arrow { background: transparent; border-color: rgba(255,255,255,.25); color: inherit; }
}

/* ---------- PRODUCTION editorial ---------- */
.prod__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.prod__copy { display: grid; gap: 1.2rem; max-width: 600px; }
.prod__photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.75rem, 1.5vw, 1.25rem); align-items: start; }
.prod__photo { margin: 0; }
.prod__photo img { aspect-ratio: 3 / 4; width: 100%; height: auto; object-fit: cover; }
.prod__photo--b { margin-top: clamp(2rem, 5vw, 4rem); }
.figure { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .4rem; align-items: end; margin: .4rem 0; padding-block: 1rem; border-block: 1px solid var(--line); }
.figure__num { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: clamp(3rem, 2rem + 4vw, 5.2rem); line-height: .9; color: var(--ink); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.figure__unit { font-family: var(--f-display); font-weight: 600; font-size: 1.6rem; color: var(--teal); padding-bottom: .35rem; }
.figure__label { grid-column: 1 / -1; font-family: var(--f-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-top: .5rem; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .04em; padding: .4rem .7rem; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); background: var(--white); }
@media (max-width: 900px) {
  .prod__grid { grid-template-columns: 1fr; }
  .prod__photo--b { margin-top: 0; }
}

/* ---------- WHY ---------- */
.why { background: var(--white); }
.why__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.why__item { padding-block: 2.2rem 2.4rem; padding-inline: 0 2.5rem; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 16px 1fr; gap: .9rem 1.2rem; align-content: start; }
.why__item:nth-child(even) { padding-inline: 2.5rem 0; border-inline-start: 1px solid var(--line); }
.why__item::before { content: ""; width: 12px; height: 12px; border: 2px solid var(--teal); border-radius: 50%; margin-top: .45rem; grid-row: 1 / 3; }
.why__item h3 { font-size: var(--fs-h3); }
.why__item p { color: var(--muted); max-width: 48ch; }
@media (max-width: 760px) { .why__grid { grid-template-columns: 1fr; } .why__item, .why__item:nth-child(even) { padding: 1.8rem 0; border-inline-start: 0; } }

/* ---------- SPECIES ---------- */
.species__ui { border: 1px solid var(--line); background: var(--white); border-radius: var(--radius-lg); overflow: hidden; }
.species__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.species__tab { background: none; border: 0; text-align: start; padding: 1.2rem 1.4rem; display: grid; gap: .2rem; border-inline-end: 1px solid var(--line); position: relative; transition: background .2s; }
.species__tab:last-child { border-inline-end: 0; }
.species__tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--navy); transform: scaleX(0); transition: transform .3s var(--ease); }
.species__tab[aria-selected="true"]::after { transform: scaleX(1); }
.species__tab[aria-selected="true"] { background: var(--paper); }
.species__tab:hover { background: var(--paper); }
.species__tab-name { font-family: var(--f-display); font-stretch: 110%; font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.species__tab-sub { font-size: .82rem; color: var(--muted); }
.species__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 4rem; padding: clamp(1.5rem, 4vw, 3rem); }
.species__panel:focus-visible { outline-offset: -4px; }
.species__intro { display: grid; gap: 1rem; align-content: start; }
.species__big { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: clamp(2.4rem, 1.5rem + 3.5vw, 4.2rem); color: var(--navy); line-height: .95; letter-spacing: -.03em; }
.species__products { list-style: none; border-top: 1px solid var(--line); align-self: start; }
.species__products a { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.species__products a:hover .species__pname { color: var(--navy); }
.species__products a .ico { transition: transform .25s var(--ease); color: var(--navy); }
.species__products a:hover .ico { transform: translateX(4px); }
.species__pcat { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.species__pname { font-weight: 600; font-size: 1.05rem; }
@media (max-width: 860px) {
  .species__tab { padding: 1rem 1.1rem; }
  .species__panel { grid-template-columns: 1fr; }
  .species__products a { grid-template-columns: minmax(0, 1fr) auto; }
  .species__pcat { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .species__tabs { grid-template-columns: 1fr; }
  .species__tab { border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .species__tab:last-child { border-bottom: 0; }
  .species__tab::after { top: 0; bottom: 0; left: auto; right: auto; inset-inline-start: 0; width: 3px; height: auto; transform: scaleY(0); }
  .species__tab[aria-selected="true"]::after { transform: scaleY(1); }
}

/* ---------- POSTS & COVERS ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.post-card { display: flex; flex-direction: column; gap: 1.1rem; }
.post-card__media { display: block; border-radius: var(--radius-lg); overflow: hidden; cursor: default; }
.post-card__body { display: grid; gap: .6rem; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: .3rem .9rem; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.post-card__meta span:first-child { color: var(--teal); }
.post-card__title { font-size: 1.28rem; line-height: 1.2; font-stretch: 105%; }
.post-card__title a { color: var(--ink); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); }
.post-card__title a:hover { background-size: 100% 1px; }
.post-card__excerpt { color: var(--muted); font-size: .95rem; }
@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }

.cover { --c1: var(--navy); position: relative; aspect-ratio: 16 / 10; background: var(--c1); color: var(--white); overflow: hidden; display: block; isolation: isolate; }
.cover--navy { --c1: #1f3585; }
.cover--teal { --c1: #106a5a; }
.cover--ink { --c1: #131f45; }
.cover::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,.08), transparent 55%); z-index: -1; }
.cover__ring { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; right: -24%; top: -30%; border: 1.5px solid rgba(255,255,255,.28); }
.cover__ring--2 { width: 52%; right: -6%; top: -4%; border-color: rgba(255,255,255,.16); border-style: dashed; }
.cover__dots { position: absolute; inset-inline-end: 18%; top: 44%; width: 60px; height: 40px; }
.cover__dots i { position: absolute; width: 11px; height: 11px; border-radius: 50%; }
.cover__dots i:nth-child(1) { left: 0; top: 0; background: var(--cyan); }
.cover__dots i:nth-child(2) { left: 26px; top: 20px; background: #e7a23b; }
.cover__dots i:nth-child(3) { left: 50px; top: 4px; background: #9b5ac8; }
.cover__dots::before { content: ""; position: absolute; left: 5px; top: 5px; width: 50px; height: 18px; border-top: 1px solid rgba(255,255,255,.5); transform: skewY(16deg); }
.cover__cat { position: absolute; inset-inline: 7% 9%; bottom: 10%; font-family: var(--f-display); font-stretch: 106%; font-weight: 700; font-size: clamp(1.4rem, 1rem + 1.3vw, 1.9rem); line-height: 1.04; letter-spacing: -.02em; overflow-wrap: normal; word-break: normal; hyphens: manual; text-wrap: balance; }
.cover__meta { pointer-events: none; user-select: none; position: absolute; inset-inline-start: 7%; top: 9%; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.cover--lg { aspect-ratio: 4 / 3; height: 100%; }
.cover--lg .cover__cat { font-size: clamp(2rem, 1.2rem + 2.5vw, 3.2rem); }

/* ---------- CTA BAND ---------- */
.cta-band { background: var(--navy-900); color: var(--on-dark); overflow: hidden; }
.cta-band__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 2rem 4rem; align-items: end; padding-block: clamp(4rem, 3rem + 4vw, 6.5rem); }
.cta-band__arc { position: absolute; width: 560px; height: 560px; right: -160px; top: -300px; border-radius: 50%; background: conic-gradient(from 200deg, #3cc3ee, #2a6fd0 25%, #2a45a1 40%, #7b3fa8 58%, transparent 60%, transparent 76%, #2bb79a 80%, #2bb79a 92%, #3cc3ee); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 34px), #000 calc(100% - 33px)); mask: radial-gradient(farthest-side, transparent calc(100% - 34px), #000 calc(100% - 33px)); opacity: .38; pointer-events: none; }
.cta-band__copy { position: relative; display: grid; gap: 1.1rem; max-width: 720px; }
.cta-band__title { font-size: var(--fs-h2); color: var(--white); font-stretch: 114%; }
.cta-band__text { color: var(--on-dark-muted); font-size: var(--fs-lead); line-height: 1.55; max-width: 58ch; }
.cta-band__actions { position: relative; display: flex; flex-wrap: wrap; gap: .75rem; justify-content: flex-end; }
@media (max-width: 860px) { .cta-band__inner { grid-template-columns: 1fr; } .cta-band__actions { justify-content: flex-start; } .cta-band__arc { width: 380px; height: 380px; right: -180px; top: -200px; } }

/* ---------- FOOTER ---------- */
.ftr { background: var(--ink); color: var(--on-dark-muted); font-size: .95rem; padding-bottom: env(safe-area-inset-bottom, 0px); }
.ftr a { color: var(--on-dark); text-decoration: none; }
.ftr a:hover { color: var(--cyan); }
.ftr__top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; padding-block: clamp(3.5rem, 6vw, 5rem) 3rem; }
.ftr__logo { height: 46px; width: auto; margin-bottom: 1.3rem; }
.ftr__brand p { max-width: 40ch; }
.ftr__social { display: flex; gap: .6rem; margin-top: 1.4rem; }
.ftr__social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: inline-flex; align-items: center; justify-content: center; }
.ftr__social a:hover { border-color: var(--cyan); }
.ftr__h { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: 1.1rem; }
.ftr__col ul { list-style: none; display: grid; gap: .55rem; }
.ftr__col address { line-height: 1.6; margin-bottom: 1rem; }
.ftr__col address strong { color: var(--white); font-weight: 600; }
.ftr__col p + p { margin-top: .4rem; }
.ftr__map { display: inline-flex; align-items: center; gap: .4rem; }
.ftr__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-block: 1.5rem 2rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; }
.ftr__bottom ul { list-style: none; display: flex; gap: 1.5rem; }
@media (max-width: 900px) { .ftr__top { grid-template-columns: 1fr 1fr; } .ftr__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .ftr__top { grid-template-columns: 1fr; } }

/* ---------- PAGE HERO ---------- */
.phero { background: var(--white); padding-block: clamp(2rem, 1rem + 3vw, 3.5rem) clamp(3rem, 2rem + 4vw, 5.5rem); border-bottom: 1px solid var(--line); }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.phero--img .phero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.phero__copy { display: grid; gap: 0; max-width: 860px; }
.phero__title { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 4rem); font-weight: 800; font-stretch: 114%; letter-spacing: -.028em; line-height: 1.02; }
.phero__lead { margin-top: 1.4rem; font-size: var(--fs-lead); line-height: 1.55; max-width: 60ch; }
.phero__photo { aspect-ratio: 4 / 4.4; }
.phero__photo img { object-position: 50% 40%; }
.phero__aside { align-self: end; border-top: 2px solid var(--ink); }
.phero__aside-title { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: .9rem 0 .4rem; }
.phero__aside ol { list-style: none; }
.phero__aside a { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr) auto; gap: .6rem; align-items: baseline; padding: .75rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.phero__aside a span:first-child { font-family: var(--f-mono); font-weight: 400; font-size: .74rem; color: var(--teal); }
.phero__aside a span:last-child { font-family: var(--f-mono); font-weight: 400; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.phero__aside a:hover { color: var(--navy); }
.phero--aside .phero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
@media (max-width: 900px) { .phero--aside .phero__grid { grid-template-columns: 1fr; } }
.phero--compact { padding-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.phero--dark { background: var(--ink); color: var(--on-dark); border-bottom: 0; }
.phero--dark .phero__title { color: var(--white); }
.phero--dark .phero__lead { color: var(--on-dark-muted); }
.phero--dark .eyebrow { color: var(--teal-bright); }
.phero--dark .crumbs a, .phero--dark .crumbs li { color: var(--on-dark-muted); }
.phero--dark .crumbs [aria-current] { color: var(--on-dark); }
.phero--dark .frame::before, .phero--dark .frame::after { border-color: var(--teal-bright); }
@media (max-width: 900px) { .phero--img .phero__grid { grid-template-columns: 1fr; } .phero__photo { aspect-ratio: 4 / 3; } }

.crumbs { margin-bottom: 1.6rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.crumbs li { display: flex; align-items: center; gap: .3rem; min-width: 0; }
.crumbs li + li::before { content: "/"; color: var(--line-strong); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 38ch; }

.factline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 2.2rem 0 0; border-top: 1px solid var(--line); }
.factline div { padding-block: 1rem 0; padding-inline: 0 1rem; }
.factline div + div { padding-inline-start: 1rem; border-inline-start: 1px solid var(--line); }
.factline dt { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.factline dd { margin: .35rem 0 0; font-family: var(--f-display); font-stretch: 115%; font-weight: 700; font-size: clamp(1.2rem, 1rem + .9vw, 1.75rem); color: var(--ink); line-height: 1.1; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .factline { grid-template-columns: repeat(2, minmax(0, 1fr)); } .factline div:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; } .factline div { padding-bottom: 1rem; } }
.factband { background: var(--white); border-bottom: 1px solid var(--line); padding-block: 0 2.2rem; }
.factband .factline { margin-top: 0; border-top: 0; }

/* ---------- CATALOGUE ---------- */
.catalog__bar { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; padding: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.search { position: relative; flex: 1 1 260px; min-width: 0; }
.search .ico { position: absolute; inset-inline-start: .9rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search input { width: 100%; min-height: 48px; padding-block: .6rem; padding-inline: 2.7rem 1rem; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--paper); }
.search input:focus { outline: 2px solid var(--navy); outline-offset: 0; background: var(--white); }
.search--sm { flex: 0 1 260px; }
.chipset { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip-btn { min-height: 40px; padding: .4rem .95rem; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--white); font-size: .9rem; font-weight: 500; color: var(--ink); transition: background .2s, color .2s, border-color .2s; }
.chip-btn:hover { border-color: var(--ink); }
.chip-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.select-wrap { display: flex; align-items: center; gap: .6rem; }
.select-wrap label { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.select-wrap select, .field select { appearance: none; min-height: 44px; padding-block: .5rem; padding-inline: .9rem 2.4rem; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%230f1a3a' stroke-width='2'/%3E%3C/svg%3E") no-repeat right .7rem center / 16px; }
.catalog__count { margin: 1.6rem 0 1.2rem; font-family: var(--f-mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.pcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .3s, transform .3s var(--ease); }
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.pcard[hidden] { display: none; }
.pcard { border-top: 3px solid var(--navy); }
.pcard__top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: .9rem; margin-bottom: .2rem; border-bottom: 1px solid var(--line); }
.pcard__ico { width: 44px; height: 44px; border-radius: 50%; background: var(--paper); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; flex: none; transition: background .25s, color .25s; }
.pcard:hover .pcard__ico { background: var(--navy); color: var(--white); }
.pcard__body { padding: 1.5rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.pcard__cat { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.pcard__title { font-size: 1.4rem; font-stretch: 110%; }
.pcard__title a { color: var(--ink); text-decoration: none; }
.pcard__title a:hover { color: var(--navy); }
.pcard__text { color: var(--muted); font-size: .95rem; }
.pcard__species { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .2rem; }
.pcard__species li { font-size: .74rem; font-family: var(--f-mono); padding: .2rem .55rem; background: var(--paper); border-radius: 2px; color: var(--ink-soft); }
.pcard__actions { margin-top: auto; padding-top: 1rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--line); }
.pcard__quote { font-size: .9rem; font-weight: 600; color: var(--muted); }
.pcard__quote:hover { color: var(--navy); }
.empty { padding: 3rem 1.5rem; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); background: var(--white); display: grid; gap: .5rem; justify-items: center; }
.empty__title { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; color: var(--ink); }
@media (max-width: 1000px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .pgrid { grid-template-columns: 1fr; } .select-wrap { width: 100%; } .select-wrap select { flex: 1; } }

.custom-band { background: var(--white); border-top: 1px solid var(--line); }
.custom-band__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.custom-band__copy { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.2rem; justify-items: start; max-width: 540px; }
@media (max-width: 860px) { .custom-band__grid { grid-template-columns: minmax(0, 1fr); } .custom-band__copy { min-width: 0; } .custom-band__copy > * { max-width: 100%; overflow-wrap: break-word; } }

/* ---------- PRODUCT DETAIL ---------- */
.pdp-hero { background: var(--white); padding-block: clamp(2rem, 1rem + 3vw, 3.5rem) clamp(3rem, 2rem + 4vw, 5rem); border-bottom: 1px solid var(--line); }
.pdp-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.pdp-hero__title { font-size: clamp(2.3rem, 1.3rem + 3.6vw, 4.2rem); font-weight: 800; font-stretch: 116%; letter-spacing: -.03em; line-height: 1; }
.pdp-hero__lead { margin-top: 1.3rem; font-size: var(--fs-lead); max-width: 52ch; line-height: 1.55; }
.pdp-facts { margin: 2rem 0 0; border-top: 1px solid var(--line); }
.pdp-facts div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.pdp-facts dt { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: .2rem; }
.pdp-facts dd { margin: 0; font-weight: 500; color: var(--ink); }
.psheet { position: relative; overflow: hidden; isolation: isolate; background: var(--navy); color: var(--white); border-radius: var(--radius-lg); padding: clamp(1.6rem, 1rem + 2vw, 2.4rem); display: grid; gap: 1rem; align-content: start; box-shadow: var(--shadow); }
.psheet::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; inset-inline-end: -22%; top: -28%; border: 1.5px solid rgba(255,255,255,.2); z-index: -1; }
.psheet::after { content: ""; position: absolute; width: 46%; aspect-ratio: 1; border-radius: 50%; inset-inline-end: -4%; top: -6%; border: 1.5px dashed rgba(255,255,255,.14); z-index: -1; }
.psheet__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding-bottom: 1.2rem; border-bottom: 1px solid rgba(255,255,255,.16); }
.psheet__index { font-family: var(--f-display); font-stretch: 120%; font-weight: 800; font-size: clamp(3.2rem, 2rem + 3vw, 4.8rem); line-height: .85; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.psheet__index span { font-size: .3em; font-weight: 500; letter-spacing: 0; color: rgba(255,255,255,.65); margin-inline-start: .3em; }
.psheet__ico { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--cyan); display: inline-flex; align-items: center; justify-content: center; }
.psheet__cat { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.psheet__name { font-family: var(--f-display); font-stretch: 110%; font-weight: 700; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); line-height: 1.1; overflow-wrap: break-word; }
.psheet__points { list-style: none; display: grid; gap: .6rem; }
.psheet__points li { display: flex; gap: .6rem; align-items: flex-start; font-size: .97rem; line-height: 1.4; color: rgba(255,255,255,.9); }
.psheet__points svg { flex: none; width: 16px; height: 16px; margin-top: .2em; color: var(--cyan); }
.psheet__species { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .04em; padding-top: .9rem; border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.8); }
@media (max-width: 900px) { .pdp-hero__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .pdp-facts div { grid-template-columns: 1fr; gap: .2rem; } }

.pdp-overview__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); }
.pdp-overview__copy { display: grid; gap: 1.1rem; align-content: start; max-width: 62ch; }
.pdp-overview__copy .h2 { margin-bottom: .3rem; }
.pdp-highlights { list-style: none; display: grid; gap: 0; border-top: 2px solid var(--ink); align-self: start; }
.pdp-highlights li { padding: 1.4rem 0; border-bottom: 1px solid var(--line); display: grid; gap: .4rem; }
.pdp-highlights h3 { font-size: 1.2rem; }
.pdp-highlights p { color: var(--muted); }
@media (max-width: 860px) { .pdp-overview__grid { grid-template-columns: 1fr; } }

.pdp-usage__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); }
.pdp-usage__grid .h3 { margin-bottom: 1.2rem; }
.ticks { list-style: none; display: grid; gap: .8rem; }
.ticks li { display: grid; grid-template-columns: 1.4rem minmax(0, 1fr); gap: .6rem; align-items: start; }
.ticks .ico { color: var(--teal); margin-top: .25rem; }
.species-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.species-list li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1rem; display: grid; gap: .15rem; }
.species-list__name { font-weight: 600; color: var(--ink); }
.species-list__sub { font-size: .85rem; color: var(--muted); }
@media (max-width: 860px) { .pdp-usage__grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .species-list { grid-template-columns: 1fr; } }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.pdp-inquiry__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.pdp-inquiry__copy { display: grid; gap: 1.2rem; position: sticky; top: calc(var(--hdr-h) + 2rem); }
@media (max-width: 900px) { .pdp-inquiry__grid { grid-template-columns: 1fr; } .pdp-inquiry__copy { position: static; } }
.pgrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .pgrid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .pgrid--3 { grid-template-columns: 1fr; } }

/* ---------- FORMS ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.4rem); box-shadow: 0 1px 2px rgba(15,26,58,.04); min-width: 0; }
.form-card > .h3 { margin-bottom: .4rem; }
.form-card__intro { color: var(--muted); margin-bottom: 1.6rem; font-size: .97rem; }
.form { display: grid; gap: 1.2rem; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.2rem; }
.field { display: grid; gap: .4rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 600; color: var(--ink); }
.req { color: var(--signal); }
.opt { font-weight: 400; color: var(--muted); font-size: .82rem; margin-inline-start: .25rem; }
.field input:not([type="checkbox"]), .field textarea, .field select { width: 100%; min-height: 48px; padding: .7rem .9rem; border: 1px solid var(--line-strong); border-radius: var(--radius); background-color: var(--white); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(42,69,161,.18); }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: #c0392b; }
.field__err { font-size: .82rem; color: #b42a1e; min-height: 0; }
.field__err:empty { display: none; }
.field--check { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: .3rem .75rem; }
.field--check input { width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--navy); }
.field--check label { font-weight: 400; font-size: .9rem; color: var(--ink-soft); }
.field--check .field__err { grid-column: 2; }
.form__foot { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.form__hint { font-size: .82rem; color: var(--muted); }
.form__status { border-radius: var(--radius); font-size: .95rem; }
.form__status:empty { display: none; }
.form__status.is-success { background: #e4f4ef; color: #0d5a4b; border: 1px solid #a7d8ca; padding: 1rem 1.1rem; }
.form__status.is-error { background: #fdecea; color: #8c2116; border: 1px solid #f2b8b0; padding: 1rem 1.1rem; }
.form__status.is-info { background: var(--review-bg); color: var(--review-fg); border: 1px dashed #c9a100; padding: 1rem 1.1rem; }
.form button[type="submit"][disabled] { opacity: .6; cursor: progress; }
.hp { position: absolute !important; inset-inline-start: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; }
@media (max-width: 560px) { .form__grid { grid-template-columns: 1fr; } }

/* ---------- ABOUT ---------- */
.chapters .wrap { display: grid; gap: 0; }
.chapter { display: grid; grid-template-columns: minmax(0, .35fr) minmax(0, 1fr); gap: 2rem clamp(2rem, 6vw, 6rem); padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.chapter:first-child { border-top: 2px solid var(--ink); }
.chapter__label { position: sticky; top: calc(var(--hdr-h) + 1.5rem); align-self: start; display: grid; gap: .4rem; font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.chapter__num { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: 2.6rem; letter-spacing: -.03em; color: var(--teal); line-height: 1; }
.chapter__body { display: grid; gap: 1.2rem; max-width: 760px; }
.chapter__body .h2 { margin-bottom: .2rem; }
.about-products { list-style: none; border-top: 1px solid var(--line); }
.about-products a { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1.1rem; }
.about-products__cat { font-family: var(--f-mono); font-weight: 400; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.about-products a:hover { color: var(--navy); }
.aud-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2.5rem; }
.aud-grid h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.aud-grid p { color: var(--muted); }
@media (max-width: 760px) { .chapter { grid-template-columns: 1fr; } .chapter__label { position: static; grid-auto-flow: column; justify-content: start; align-items: baseline; gap: .8rem; } .chapter__num { font-size: 1.8rem; } }
@media (max-width: 560px) { .aud-grid { grid-template-columns: 1fr; } .about-products a { grid-template-columns: minmax(0, 1fr) auto; } .about-products__cat { grid-row: 2; } }
.photo-band { padding-bottom: var(--sec); }
.photo-band__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.photo-band__grid figure { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; }
.photo-band__grid img { width: 100%; height: 100%; object-fit: cover; }
.cap--band { padding-top: 1rem; }
@media (max-width: 640px) { .photo-band__grid { grid-template-columns: 1fr; } }

/* ---------- PRODUCTION ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; position: relative; }
.step { position: relative; padding-top: 2.4rem; display: grid; }
.step::before { content: ""; position: absolute; top: .55rem; inset-inline: 1.85rem -2.85rem; height: 1px; background: var(--line-strong); }
.step:last-child::before { display: none; }
.step::after { content: ""; position: absolute; top: 0; inset-inline-start: 1.3rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--paper); border: 2px solid var(--teal); box-sizing: border-box; }
.step__card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.3rem 1.5rem; display: grid; gap: .65rem; align-content: start; height: 100%; }
.step__top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.step__num { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .1em; color: var(--teal); }
.step__ico { width: 34px; height: 34px; border-radius: 50%; background: var(--paper); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.step__ico svg { width: 18px; height: 18px; }
.step__title { font-size: 1.08rem; }
.step p { font-size: .92rem; color: var(--muted); }
@media (max-width: 1100px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 1.6rem; } .step:nth-child(3n)::before { display: none; } }
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; row-gap: 1rem; }
  .step { padding-top: 0; padding-inline-start: 2.4rem; }
  .step::before, .step:nth-child(3n)::before { display: block; top: 1.85rem; bottom: -2.85rem; inset-inline: .5rem auto; width: 1px; height: auto; }
  .step:last-child::before { display: none; }
  .step::after { top: 1.3rem; inset-inline-start: 0; }
}
.gallery__grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 16vw, 240px); gap: .9rem; }
.gallery__item { min-width: 0; }
.gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery__btn { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #000; overflow: hidden; border-radius: 3px; text-align: left; }
.gallery__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; opacity: .92; }
.gallery__btn:hover img { transform: scale(1.03); opacity: 1; }
.gallery__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem .9rem .8rem; background: linear-gradient(transparent, rgba(8,14,34,.85)); color: var(--white); font-family: var(--f-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.gallery__zoom { position: absolute; inset-inline-end: .7rem; top: .7rem; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .25s; }
.gallery__btn:hover .gallery__zoom, .gallery__btn:focus-visible .gallery__zoom { opacity: 1; }
@media (hover: none) { .gallery__zoom { opacity: 1; } }
@media (max-width: 760px) { .gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(130px, 34vw, 220px); } .gallery__item:first-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .gallery__grid { gap: .6rem; } .gallery__cap { font-size: .62rem; padding: 1.6rem .6rem .6rem; } }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(6,10,26,.94); display: grid; grid-template-rows: auto 1fr auto; padding: calc(env(safe-area-inset-top, 0px) + 1rem) max(1rem, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 1rem) max(1rem, env(safe-area-inset-left, 0px)); }
.lightbox[hidden] { display: none; }
.lightbox__bar { display: flex; justify-content: flex-end; gap: .5rem; }
.lightbox__btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: transparent; color: var(--white); display: inline-flex; align-items: center; justify-content: center; }
.lightbox__btn:hover { background: rgba(255,255,255,.1); }
.lightbox__stage { display: flex; align-items: center; justify-content: center; min-height: 0; gap: 1rem; }
.lightbox__stage img { max-height: 100%; max-width: min(100%, 1100px); object-fit: contain; width: auto; height: auto; }
.lightbox__cap { color: var(--on-dark); text-align: center; font-family: var(--f-mono); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; padding-top: .8rem; }
.lightbox__nav { flex: none; }
@media (max-width: 640px) { .lightbox__nav { position: absolute; bottom: calc(env(safe-area-inset-bottom, 0px) + 2.6rem); } .lightbox__nav--prev { left: 1rem; } .lightbox__nav--next { right: 1rem; } }

.logistics__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.logistics__grid > div { display: grid; gap: 1.2rem; max-width: 600px; }
@media (max-width: 860px) { .logistics__grid { grid-template-columns: 1fr; } }

/* ---------- QUALITY ---------- */
.qareas__list { border-top: 2px solid var(--ink); }
.qarea { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 1rem 3rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.qarea__title { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); font-stretch: 112%; }
.qarea__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2.5rem; }
.qarea__k { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: .4rem; }
.qarea__cols p:not(.qarea__k) { color: var(--ink-soft); }
@media (max-width: 860px) { .qarea { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .qarea__cols { grid-template-columns: 1fr; } }
.docs-cta { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.5rem 2rem; align-items: center; margin-top: clamp(2.5rem, 5vw, 3.5rem); padding: clamp(1.5rem, 3vw, 2.4rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.docs-cta > .ico { width: 2.6rem; height: 2.6rem; color: var(--navy); }
.docs-cta p { color: var(--muted); margin-top: .4rem; }
@media (max-width: 760px) { .docs-cta { grid-template-columns: 1fr; justify-items: start; } }

/* ---------- CONTACT ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact__info { display: grid; gap: 1rem; position: sticky; top: calc(var(--hdr-h) + 1.5rem); }
.contact__card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; display: grid; gap: .8rem; }
.contact__card .eyebrow { margin-bottom: 0; }
.contact__name { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: 1.5rem; color: var(--ink); line-height: 1.1; }
.contact__card address { line-height: 1.6; color: var(--ink-soft); }
.contact__k { display: block; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact__v { color: var(--ink); font-weight: 500; user-select: all; word-break: break-word; }
.contact__social { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.contact__social a { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .9rem; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .92rem; }
.contact__social a:hover { border-color: var(--navy); color: var(--navy); }
.ftabs { display: flex; gap: .3rem; margin-bottom: -1px; position: relative; z-index: 1; }
.ftab { padding: .9rem 1.3rem; border: 1px solid transparent; border-bottom: 0; background: transparent; border-radius: var(--radius-lg) var(--radius-lg) 0 0; font-weight: 600; color: var(--muted); min-height: 48px; }
.ftab[aria-selected="true"] { background: var(--white); border-color: var(--line); color: var(--ink); }
.ftab:hover { color: var(--ink); }
.contact__forms .form-card { border-start-start-radius: 0; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } .contact__info { position: static; order: 2; } }

/* ---------- BLOG ---------- */
.masthead { padding-block: clamp(2rem, 1rem + 3vw, 3.5rem) clamp(2.5rem, 2rem + 3vw, 4rem); }
.masthead__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 1.5rem 4rem; align-items: end; padding-bottom: 2.5rem; border-bottom: 2px solid var(--ink); }
.masthead__title { font-size: clamp(3rem, 1.6rem + 6vw, 7rem); font-weight: 800; font-stretch: 122%; letter-spacing: -.045em; line-height: .9; }
.masthead__lead { font-size: var(--fs-lead); line-height: 1.55; max-width: 44ch; }
@media (max-width: 820px) { .masthead__grid { grid-template-columns: 1fr; } }
.feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.feature__media { display: block; border-radius: var(--radius-lg); overflow: hidden; cursor: default; }
.feature__body { display: grid; gap: 1rem; justify-items: start; }
.feature__label { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; background: var(--ink); color: var(--white); padding: .3em .7em; border-radius: 2px; }
.feature__title { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem); font-stretch: 110%; }
.feature__title a { color: var(--ink); text-decoration: none; }
.feature__title a:hover { color: var(--navy); }
.feature__excerpt { color: var(--muted); font-size: 1.05rem; max-width: 52ch; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }
.blog-list__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-bottom: 2.2rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.blog-list__bar .h3 { margin-inline-end: auto; }
.post-card[hidden] { display: none; }

.article__head { background: var(--white); padding-block: clamp(2rem, 1rem + 3vw, 3.5rem) clamp(2.5rem, 2rem + 3vw, 4rem); border-bottom: 1px solid var(--line); }
.article__head .wrap { max-width: calc(980px + 2 * var(--gutter)); }
.article__title { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.8rem); font-weight: 800; font-stretch: 112%; letter-spacing: -.028em; line-height: 1.04; }
.article__lead { margin-top: 1.3rem; font-size: var(--fs-lead); line-height: 1.55; max-width: 62ch; }
.article__meta { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin: 2rem 0 0; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.article__meta dt { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.article__meta dd { margin: .2rem 0 0; font-weight: 500; color: var(--ink); }
.article__grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(2.5rem, 5vw, 4.5rem) var(--sec); max-width: calc(1120px + 2 * var(--gutter)); }
.article__aside { position: sticky; top: calc(var(--hdr-h) + 1.5rem); align-self: start; display: grid; gap: 2rem; }
.toc__title { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .8rem; }
.toc ol { list-style: none; border-inline-start: 1px solid var(--line); display: grid; }
.toc a { display: block; padding-block: .4rem; padding-inline: 1rem 0; margin-inline-start: -1px; border-inline-start: 2px solid transparent; text-decoration: none; color: var(--ink-soft); font-size: .9rem; line-height: 1.35; }
.toc a:hover { color: var(--navy); }
.toc a.is-active { border-inline-start-color: var(--teal); color: var(--ink); font-weight: 600; }
.aside-products ul { list-style: none; display: grid; gap: .4rem; }
.aside-products a { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .7rem .9rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .9rem; }
.aside-products a:hover { border-color: var(--navy); color: var(--navy); }
@media (max-width: 960px) { .article__grid { grid-template-columns: 1fr; } .article__aside { position: static; order: 2; } .toc { display: none; } }

.prose { max-width: 70ch; font-size: 1.075rem; line-height: 1.75; color: var(--ink-soft); }
.prose > * + * { margin-top: 1.2rem; }
.prose h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.95rem); margin-top: 2.8rem; scroll-margin-top: calc(var(--hdr-h) + 1.5rem); }
.prose h3 { font-size: 1.25rem; margin-top: 2rem; scroll-margin-top: calc(var(--hdr-h) + 1.5rem); }
.prose ul, .prose ol { padding-inline-start: 1.3rem; display: grid; gap: .5rem; }
.prose li::marker { color: var(--teal); }
.prose strong { color: var(--ink); }
.prose blockquote { margin-inline: 0; padding: 1rem 1.3rem; border-inline-start: 3px solid var(--teal); background: var(--white); }
.prose table { font-size: .95rem; background: var(--white); border: 1px solid var(--line); min-width: 520px; }
.prose th, .prose td { padding: .75rem 1rem; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--f-mono); font-weight: 500; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; background: var(--paper-2); color: var(--ink); }
.prose--legal { margin-inline: 0; }
.article-cta { margin-top: 3rem !important; padding: 1.6rem 1.8rem; background: var(--navy-900); border-radius: var(--radius-lg); display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; align-items: center; justify-content: space-between; }
.article-cta__text { color: var(--white); font-family: var(--f-display); font-stretch: 108%; font-weight: 600; font-size: 1.2rem; line-height: 1.3; flex: 1 1 280px; }
.article-cta .btn--primary { background: var(--white); color: var(--navy-900); }
.article-cta .btn--primary:hover { background: var(--cyan); }

/* ---------- 404 ---------- */
.nf { padding-block: clamp(4rem, 10vw, 8rem); }
.nf__inner { display: grid; gap: 1.2rem; justify-items: start; }
.nf__code { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: clamp(6rem, 4rem + 10vw, 12rem); line-height: .85; color: var(--navy); letter-spacing: -.05em; }

/* ---------- Scroll reveal (progressive; content is visible without JS) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal .will-reveal { transform: translateY(22px); transition: transform .9s var(--ease); }
  .js-reveal .will-reveal.is-in { transform: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* ---------- Consent bar (only rendered when GA4 is configured) ---------- */
.consent { position: fixed; left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 120; max-width: 640px; margin-inline: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 1rem 1.2rem; display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; justify-content: space-between; font-size: .92rem; }
.consent p { flex: 1 1 280px; }
.consent div { display: flex; gap: .5rem; }


/* =========================================================================
   LANGUAGE SELECTOR
   ========================================================================= */
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: .45rem; min-height: 42px; padding: 0 .75rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); font-weight: 500; font-size: .92rem; white-space: nowrap; transition: border-color .2s, background .2s; }
.lang__btn:hover, .lang.is-open .lang__btn { border-color: var(--ink); }
.lang__btn > .ico:first-child { width: 1.1rem; height: 1.1rem; color: var(--teal); }
.lang__btn > .ico:last-child { width: .95rem; height: .95rem; color: var(--muted); transition: transform .25s var(--ease); }
.lang.is-open .lang__btn > .ico:last-child { transform: rotate(180deg); }
.lang__menu { position: absolute; top: calc(100% + 10px); inset-inline-end: 0; width: 230px; max-width: calc(100vw - 32px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: .5rem; z-index: 70; opacity: 0; visibility: hidden; transform: translateY(6px) scale(.98); transform-origin: top; transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__title { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: .45rem .7rem .4rem; }
.lang__menu ul { list-style: none; display: grid; gap: 2px; }
.lang__opt, .nav__lang { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .6rem .75rem; border-radius: var(--radius); color: var(--ink); text-decoration: none; font-size: .97rem; line-height: 1.3; }
.lang__opt:hover, .lang__opt:focus-visible { background: var(--paper); color: var(--ink); }
.lang__opt:focus-visible { outline-offset: -2px; }
.lang__opt[aria-current], .nav__lang[aria-current] { background: rgba(42, 69, 161, .08); color: var(--navy); font-weight: 600; }
.lang__opt .ico, .nav__lang .ico { width: 1rem; height: 1rem; color: var(--teal); }
.lang__opt[lang="ar"], .nav__lang[lang="ar"], .lang__opt[lang="ur"], .nav__lang[lang="ur"] { font-family: "IBM Plex Sans Arabic", var(--f-body); font-size: 1.02rem; }
.nav__langs { display: none; }
@media (max-width: 1180px) {
  .lang { display: none; }
  .nav__langs { display: block; margin-top: 1.6rem; }
  .nav__langs-title { display: flex; align-items: center; gap: .5rem; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
  .nav__langs-title .ico { color: var(--teal); }
  .nav__langs-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; }
  .nav__lang { border: 1px solid var(--line); min-height: 48px; }
}
@media (min-width: 1181px) and (max-width: 1320px) {
  .nav__link { padding-inline: .5rem; font-size: .9rem; }
  .nav__link::after { left: .5rem; right: .5rem; }
  .lang__cur { display: none; }
  .hdr__logo img { height: 40px; }
}
@media (prefers-reduced-motion: reduce) { .lang__menu { transition: none; } }

/* =========================================================================
   SCRIPTS & RIGHT-TO-LEFT
   ========================================================================= */
h1, h2, h3, h4, .pline__name, .ppanel__name, .species__big { overflow-wrap: break-word; }
.site[data-locale="ru"] { --f-display: "IBM Plex Sans", "Segoe UI", Roboto, Arial, sans-serif; }
.site[data-locale="ru"] :is(h1, h2, h3, h4, .pline__name, .ppanel__name, .species__big, .figure__num, .chapter__num, .masthead__title, .nf__code, .cover__cat, .factline dd, .ticket__head span:first-child) { font-stretch: 100%; letter-spacing: -.01em; }
.site[data-locale="ar"] { --f-display: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif; --f-body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif; --f-mono: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif; }
.site[data-locale="ur"] { --f-display: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", "IBM Plex Sans Arabic", serif; --f-body: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", "IBM Plex Sans Arabic", serif; --f-mono: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif; }
/* Arabic script must never be letter-spaced (it breaks letter joining) and has no capitals */
.site[dir="rtl"] *, .site[dir="rtl"] *::before, .site[dir="rtl"] *::after { letter-spacing: 0 !important; text-transform: none !important; font-stretch: 100% !important; }
.site[dir="rtl"] .ticket__head span:first-child, .site[dir="rtl"] .hdr__logo { font-family: "Archivo", "IBM Plex Sans", sans-serif; }
.site[data-locale="ar"] { line-height: 1.8; }
.site[data-locale="ar"] :is(h1, h2, h3, h4) { line-height: 1.3; font-weight: 700; }
.site[data-locale="ar"] .eyebrow, .site[data-locale="ar"] .cap, .site[data-locale="ar"] .pcard__cat, .site[data-locale="ar"] .post-card__meta, .site[data-locale="ar"] .crumbs ol { font-size: .82rem; }
/* Urdu Nastaliq: generous line height, slightly smaller display sizes, no clipping */
.site[data-locale="ur"] { line-height: 2.15; font-size: 1.02rem; }
.site[data-locale="ur"] :is(h1, h2, h3, h4) { line-height: 1.75; font-weight: 700; }
.site[data-locale="ur"] .hero__title { font-size: clamp(2rem, 1.2rem + 3.2vw, 3.6rem); line-height: 1.6; }
.site[data-locale="ur"] .hero__title span { line-height: 1.8; margin-top: .3em; }
.site[data-locale="ur"] :is(.phero__title, .pdp-hero__title, .article__title) { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem); line-height: 1.7; }
.site[data-locale="ur"] .masthead__title { font-size: clamp(2.4rem, 1.4rem + 4vw, 4.6rem); line-height: 1.5; }
.site[data-locale="ur"] .species__big { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.2rem); line-height: 1.6; }
.site[data-locale="ur"] .pline__name { font-size: clamp(1.2rem, .95rem + 1.1vw, 1.75rem); line-height: 1.8; }
.site[data-locale="ur"] :is(.h2, .cta-band__title) { font-size: clamp(1.6rem, 1.15rem + 1.8vw, 2.4rem); }
.site[data-locale="ur"] .cover__cat { line-height: 1.6; font-size: clamp(1.15rem, .9rem + 1vw, 1.5rem); }
.site[data-locale="ur"] .cover--lg .cover__cat { font-size: clamp(1.6rem, 1rem + 2vw, 2.4rem); }
.site[data-locale="ur"] .nav__link { line-height: 1.9; padding-block: .3rem; }
.site[data-locale="ur"] :is(.btn, .chip-btn, .ftab, .lang__btn) { line-height: 1.9; padding-block: .35em; }
.site[data-locale="ur"] :is(.eyebrow, .cap, .pcard__cat, .post-card__meta, .crumbs ol, .drop__cat, .species__pcat, .qarea__k, .ppanel__cat, .pline__cat, .lang__title, .toc__title, .ftr__h, .feature__label, .figure__label, .factline dt, .pdp-facts dt, .article__meta dt, .ticket__rows, .cover__meta, .gallery__cap, .chips li, .hero__serve-label, .catalog__count, .select-wrap label, .phero__aside-title, .about-products__cat, .contact__k) { font-family: var(--f-mono); line-height: 1.6; }
.site[data-locale="ur"] .prose { line-height: 2.2; }
.site[data-locale="ur"] .prose table { line-height: 1.9; }
/* Directional details */
[dir="rtl"] .ico--dir { transform: scaleX(-1); }
[dir="rtl"] .link-arrow:hover .ico--dir, [dir="rtl"] .btn:hover .ico--dir { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .pline:hover .pline__name, [dir="rtl"] .pline.is-active .pline__name { transform: translateX(-6px); }
[dir="rtl"] .nav__link::after { transform-origin: right; }
[dir="rtl"] .select-wrap select, [dir="rtl"] .field select { background-position: left .7rem center; }
[dir="rtl"] .ticket__rows div { background-image: linear-gradient(to left, var(--line-strong) 1px, transparent 1px); }
[dir="rtl"] .cover__dots { transform: scaleX(-1); }
[dir="rtl"] .cover__ring { right: auto; left: -24%; }
[dir="rtl"] .cover__ring--2 { left: -6%; }
[dir="rtl"] .cta-band__arc { right: auto; left: -160px; }
[dir="rtl"] .portfolio::before { right: auto; left: -380px; }
[dir="rtl"] .frame::before { left: auto; right: -9px; border-left: 0; border-right: 1.5px solid var(--teal); }
[dir="rtl"] .frame::after { right: auto; left: -9px; border-right: 0; border-left: 1.5px solid var(--teal); }
[dir="rtl"] .phero--dark .frame::before, [dir="rtl"] .phero--dark .frame::after { border-color: var(--teal-bright); }
[dir="rtl"] input[type="email"], [dir="rtl"] input[type="tel"] { text-align: right; }
@media (max-width: 1180px) {
  [dir="rtl"] .nav { transform: translateX(-100%); }
  [dir="rtl"] .nav.is-open { transform: none; }
}
@media (max-width: 860px) { [dir="rtl"] .cta-band__arc { left: -180px; } }

/* ---------- Logistics cards (no photo) ---------- */
.logcards { list-style: none; display: grid; gap: .8rem; }
.logcards li { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: .9rem; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.3rem; color: var(--ink); font-weight: 500; }
.logcards__num { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .1em; color: var(--muted); }
.logcards svg { width: 20px; height: 20px; color: var(--teal); }
.site[data-locale="ru"] :is(.ppanel__index, .psheet__index, .psheet__name) { font-stretch: 100%; letter-spacing: -.01em; }
.site[data-locale="ur"] :is(.psheet__cat, .psheet__species, .ppanel__species, .step__num, .logcards__num, .strengths__num) { font-family: var(--f-mono); line-height: 1.6; }
