/* =========================================================================
   Kwality Labels — redesign layer (loads after site396f.css)
   Concept: "the finished label". Kwality's forest greens stay as the ink;
   a serif with letterpress character (Fraunces) carries headings, Manrope
   keeps body copy clean, and a brass foil tone marks the few things that
   matter most (numbers, awards). Images sit in rounded, die-cut style frames.
   Content is unchanged; sections are re-laid out.
   ========================================================================= */

@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces.woff") format("woff"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope.woff") format("woff"); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
  --ink: #17261c;
  --ink-2: #213327;
  --brand: #48644d;
  --sage: #8ba889;
  --foil: #a7834b;          /* brass foil accent */
  --foil-light: #d9bd8a;    /* foil on dark grounds */
  --paper: #f6f7f3;
  --surface: #ffffff;
  --tint: #ebf0e7;
  --fg: #16221a;
  --muted: #56645a;
  --line: #d9e0d4;
  --accent-soft: #e2eadf;
  --shadow: 0 1px 2px rgba(23, 38, 28, .05), 0 12px 32px -12px rgba(23, 38, 28, .18);

  --f-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --f-body: "Manrope", "Segoe UI", Roboto, Arial, sans-serif;
  --f-mono: var(--f-body);

  --t-md: 1.0625rem;
  --t-xl: clamp(1.45rem, 1.15rem + 1.1vw, 1.95rem);
  --t-2xl: clamp(2rem, 1.45rem + 2.2vw, 3.1rem);
  --t-3xl: clamp(2.4rem, 1.6rem + 3.4vw, 4.4rem);

  --radius: 10px;
  --r-frame: 22px;
  --r-pill: 999px;
  --wrap: 1240px;
}

body { background: var(--paper); font-family: var(--f-body); line-height: 1.7; font-feature-settings: "lnum" 1; }
h1, h2, h3, h4 { font-family: var(--f-display); letter-spacing: -.012em; font-variation-settings: "opsz" 72; }
h1 { font-weight: 500; line-height: 1.04; }
h2 { font-weight: 500; line-height: 1.08; }
h3 { font-weight: 560; letter-spacing: -.005em; font-variation-settings: "opsz" 24; }
::selection { background: var(--sage); color: var(--ink); }
.lead { font-size: clamp(1.08rem, 1rem + .3vw, 1.22rem); line-height: 1.6; }

/* --- small vocabulary: labels in sentence case, set as a tiny printed tag --- */
.eyebrow, .crumbs, .card__tag, .prod__tag, .facts dt, .spec dt, .footer h2, .trust__label, .hs__kicker,
.slider__count, .tech__code, .step__n, .badge, .art-meta, .rev-card figcaption span, .news__label,
.cat__n, .sl__code, .ind__tag, .gallery__cap, .port-grid span, .lightbox figcaption, .art-share, .hs .slider__dot b {
  font-family: var(--f-body); text-transform: none; letter-spacing: .01em;
}
.eyebrow {
  font-size: .8rem; font-weight: 700; line-height: 1; color: var(--brand);
  padding: .42rem .7rem .42rem .6rem; border: 1px solid currentColor; border-radius: 6px; gap: .45rem;
  width: fit-content; justify-self: start;
}
#faq .eyebrow, .cta .eyebrow { justify-self: center; }
.eyebrow::before { width: 6px; height: 6px; border-radius: 50%; background: var(--foil); }
.sl-banner .eyebrow, .phero .eyebrow, .cta .eyebrow, .facts .eyebrow { color: var(--foil-light); }

/* --- buttons: pill shaped --- */
.btn { border-radius: var(--r-pill); font-family: var(--f-body); font-weight: 700; letter-spacing: 0; padding-inline: 1.5rem; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: #3a5340; }
.btn--ink { background: var(--ink); }
.link-arrow { color: var(--brand); font-weight: 700; }

/* --- top bar + header --- */
.topbar { background: var(--ink); }
.topbar .wrap { padding-block: .4rem; }
.header { background: color-mix(in srgb, var(--paper) 92%, transparent); border-bottom-color: transparent; }
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(23,38,28,.4); }
.brand img { height: 54px; }
.nav a, .nav__toggle { font-family: var(--f-body); font-weight: 600; font-size: .93rem; }
.nav a::after { height: 2px; border-radius: 2px; background: var(--foil); bottom: .25rem; }
.header__cta { padding-block: .7rem; min-height: 44px; }
@media (min-width: 1061px) { .subnav { border-radius: 14px; } }

/* --- section heads: heading on the left, intro + link on the right --- */
.section { padding-block: clamp(72px, 9vw, 128px); }
.section-head { gap: 1.1rem; }
.section-head--split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: clamp(28px, 6vw, 96px); row-gap: 1rem; align-items: end; }
.section-head--split > div:not(.chips) { display: contents; }
.section-head--split .eyebrow { grid-column: 1 / -1; justify-self: start; }
.section-head--split h2 { grid-column: 1; }
.section-head--split .lead { grid-column: 2; grid-row: 2; align-self: end; font-size: 1.05rem; }
.section-head--split > a, .section-head--split > .chips { grid-column: 2; justify-self: start; }
.section-head--split:not(:has(.lead)) > a, .section-head--split:not(:has(.lead)) > .chips { grid-row: 2; justify-self: end; align-self: end; }
@media (max-width: 760px) {
  .section-head--split { grid-template-columns: 1fr; }
  .section-head--split h2, .section-head--split .lead, .section-head--split > a, .section-head--split > .chips { grid-column: 1; grid-row: auto; justify-self: start; }
}

/* --- framed images: rounded die-cut frames replace crop marks --- */
.crop { padding: 0; }
.crop::before, .crop::after, .crop > .crop-b::before, .crop > .crop-b::after { display: none; }
.frame, .media-frame img, .sl__media, .art-head__img img { border-radius: var(--r-frame); }
.frame img { aspect-ratio: 5 / 4; }

/* =========================================================================
   Home hero — split: copy on forest, product photo in a framed panel
   ========================================================================= */
.hs { background: var(--ink); }
.hs::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 12px 12px;
  mask-image: linear-gradient(90deg, #000, transparent 55%); -webkit-mask-image: linear-gradient(90deg, #000, transparent 55%); }
.hs__title { font-family: var(--f-display); font-weight: 450; font-size: clamp(2.3rem, 1.4rem + 3.1vw, 4.1rem); line-height: 1.03; letter-spacing: -.02em; }
.hs__kicker { font-size: .85rem; font-weight: 600; color: var(--foil-light); letter-spacing: .02em; }
.hs__kicker::before { width: 8px; height: 8px; border-radius: 50%; background: var(--foil-light); }
.hs__text { color: #d6e1d4; }
.btn--light:hover { background: var(--foil-light); color: var(--ink); }
@media (min-width: 901px) {
  .hs__track { height: clamp(600px, 84vh, 760px); }
  .hs .hs__img { left: auto; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); top: 36px; bottom: auto; height: calc(100% - 152px);
    width: min(48vw, 600px); border-radius: 200px 200px var(--r-frame) var(--r-frame); }
  .hs .hs__slide--right .hs__img { border-radius: var(--r-frame) var(--r-frame) var(--r-frame) 200px; }
  .hs .slide img { transform: none; }
  .hs .slide.is-active img { animation: hsIn 1.1s cubic-bezier(.2,.7,.2,1) both; }
  .hs__shade, .hs__slide--right .hs__shade { background: none; }
  .hs__shade::after { display: none; }
  .hs__inner, .hs__slide--right .hs__inner { justify-content: flex-start; padding-bottom: 80px; }
  .hs__copy { max-width: min(560px, 46%); }
}
@keyframes hsIn { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
.hs__bar { background: var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none; border-top-color: rgba(255,255,255,.1); }
.hs .slider__dot { font-weight: 600; }
.hs .slider__dot b { font-family: var(--f-display); font-size: .95rem; font-weight: 500; color: var(--foil-light); opacity: .7; }
.hs .slider__dot.is-active b { opacity: 1; }
.hs .slider__dot::after { background: var(--foil-light); }

/* trust band: one quiet centred line above the logos */
.trust { background: var(--paper); border-bottom: 0; }
.trust .wrap { grid-template-columns: 1fr; justify-items: center; gap: 1rem; padding-block: 2.2rem 1.6rem; }
.trust__label { max-width: none; font-size: .9rem; font-weight: 600; color: var(--muted); text-align: center; }
.trust .marquee { width: 100%; }

/* =========================================================================
   Special labels — image-led product cards + compact category rows
   ========================================================================= */
.pc__rail { grid-auto-columns: clamp(240px, 23vw, 290px); padding-bottom: 22px; }
.prod { background: transparent; border: 0; border-radius: 0; overflow: visible; }
.prod:hover { box-shadow: none; transform: none; }
.prod__media { aspect-ratio: 4 / 5; border-radius: var(--r-frame); }
.prod:nth-child(odd) .prod__media { border-radius: 120px 120px var(--r-frame) var(--r-frame); }
.prod__body { padding: 1rem .2rem 0; gap: .35rem; }
.prod__tag { font-size: .8rem; font-weight: 700; color: var(--foil); }
.prod h3 { font-size: 1.28rem; }
.pc__progress i { background: var(--foil); }
.pc__ctrl .icon-btn { border-color: var(--line); background: var(--surface); }

.cats { margin-top: clamp(40px, 5vw, 64px); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cat { min-height: 0; border-radius: 0; color: var(--fg); padding: 1.5rem clamp(16px, 2vw, 28px); display: grid; grid-template-columns: 76px minmax(0, 1fr); column-gap: 1.1rem; align-content: start; align-items: start; isolation: auto; }
.cat + .cat { border-left: 1px solid var(--line); }
.cat::after { display: none; }
.cat img { position: static; width: 76px; height: 76px; border-radius: 50%; grid-row: 1 / span 3; z-index: auto; }
.cat:hover img { transform: none; }
.cat:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.cat span.cat__n { display: none; }
.cat h3 { color: var(--fg); font-size: 1.25rem; }
.cat p { color: var(--muted); }
@media (max-width: 860px) { .cat + .cat { border-left: 0; border-top: 1px solid var(--line); } }

/* =========================================================================
   Industry showcase — tabs across the top, gallery left, detail right
   ========================================================================= */
.show { grid-template-columns: 1fr; gap: clamp(24px, 3vw, 40px); }
.show__tabs { position: static; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-bottom: 1px solid var(--line); }
.show__tab { grid-template-columns: 1fr; border: 0; border-radius: 0; padding: .9rem .4rem 1.1rem 0; font-family: var(--f-display); font-weight: 500; font-size: 1.12rem; position: relative; color: var(--muted); }
.show__tab img { display: none; }
.show__tab small { font-family: var(--f-body); }
.show__tab::after { content: ""; position: absolute; left: 0; right: 1rem; bottom: -1px; height: 2px; background: var(--foil); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.show__tab:hover { background: none; color: var(--fg); }
.show__tab[aria-selected="true"] { background: none; box-shadow: none; color: var(--fg); }
.show__tab[aria-selected="true"]::after { transform: none; }
.show__panel { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.show__info { grid-template-columns: 1fr; align-items: start; gap: 1.6rem; }
.show__info h3 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem) !important; font-weight: 500; }
.show__info .btn { justify-self: start; }
.mosaic { grid-template-columns: 1.2fr 1fr; grid-template-rows: repeat(3, clamp(110px, 10vw, 150px)); }
.mosaic > :first-child { grid-row: span 3; border-radius: 160px 160px var(--r-frame) var(--r-frame); }
.mosaic .gallery__item { border-radius: 16px; }
.mosaic .gallery__item:nth-child(4) { grid-column: auto; }
@media (max-width: 900px) {
  .show__tabs { display: flex; border-bottom: 0; }
  .show__tab { padding: .55rem .9rem; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: .95rem; color: var(--fg); }
  .show__tab::after { display: none; }
  .show__tab[aria-selected="true"] { background: var(--ink); color: #fff; }
  .show__panel { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .mosaic > :first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; border-radius: var(--r-frame); }
}

/* =========================================================================
   Key facts — a dark "spec sheet" panel (home + inner pages)
   ========================================================================= */
.facts { background: var(--ink); color: var(--on-ink); border: 0; border-radius: 28px; grid-template-columns: minmax(0, 1fr); overflow: hidden; }
.facts__summary { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); padding: clamp(28px, 4vw, 52px); grid-template-columns: minmax(0, 1fr); }
.facts__summary p { color: #eef3ec; font-family: var(--f-display); font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem); line-height: 1.45; font-weight: 400; max-width: 60ch; font-variation-settings: "opsz" 30; }
.facts__summary strong { color: var(--foil-light); font-weight: 500; }
.facts dl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.facts dl > div { border-color: rgba(255,255,255,.12) !important; padding: 1.4rem clamp(20px, 3vw, 40px); border-bottom: 1px solid; }
.facts dl > div:nth-child(odd) { border-right: 0; }
.facts dl > div:not(:nth-child(3n+1)) { border-left: 1px solid rgba(255,255,255,.12); }
.facts dl > div:nth-last-child(-n+3) { border-bottom: 0; }
.facts dt { color: var(--foil-light); font-size: .82rem; font-weight: 600; }
.facts dd { color: #fff; font-weight: 600; font-size: 1.02rem; }
.facts-lift { margin-top: clamp(40px, 5vw, 72px); }
@media (max-width: 760px) {
  .facts dl { grid-template-columns: 1fr 1fr; }
  .facts dl > div { border-left: 0 !important; border-bottom: 1px solid !important; }
  .facts dl > div:nth-child(even) { border-left: 1px solid rgba(255,255,255,.12) !important; }
  .facts dl > div:nth-last-child(-n+2) { border-bottom: 0 !important; }
}

/* =========================================================================
   Why Kwality — heading + photo on top, four reasons in a row
   ========================================================================= */
.why__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.why__top .section-head { margin: 0; }
.why .media-frame img { border-radius: var(--r-frame) 220px var(--r-frame) var(--r-frame); aspect-ratio: 3 / 2; object-fit: cover; }
.media-badge { left: auto; right: -14px; bottom: -22px; border-radius: 18px; background: var(--ink); padding: 1.1rem 1.4rem; }
.media-badge b { font-family: var(--f-display); font-weight: 500; color: var(--foil-light); }
.media-badge span { font-family: var(--f-body); text-transform: none; letter-spacing: .01em; font-size: .85rem; font-weight: 600; }
.why__feats { margin-top: clamp(48px, 6vw, 88px); grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 36px); }
.why__feats .feature { grid-template-columns: 1fr; border: 0 !important; border-top: 2px solid var(--ink) !important; padding-top: 1.4rem; gap: .9rem; align-content: start; }
.feature__icon { background: var(--accent-soft); color: var(--brand); width: 48px; height: 48px; }
.feature h3 { font-size: 1.22rem; }
@media (max-width: 900px) { .why__top { grid-template-columns: 1fr; } .why__feats { grid-template-columns: 1fr 1fr; } .media-badge { right: 12px; } }
@media (max-width: 520px) { .why__feats { grid-template-columns: 1fr; } }
/* inner pages keep a side-by-side feature list */
.feature-list:not(.why__feats) .feature { border-top-color: var(--line); }

/* =========================================================================
   Stats + presses — foil numerals, presses as a ruled spec table
   ========================================================================= */
.stats { border-top: 0; gap: 0; grid-template-columns: 1fr 1fr 1.35fr 1fr; }
.stat { padding: 0 1.4rem 0 0; }
.stat + .stat { border-left-color: var(--line); }
.stat__n { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.4rem, 1.4rem + 2.6vw, 3.9rem); color: var(--ink); letter-spacing: -.03em; white-space: nowrap; }
.stat__n small { color: var(--foil); font-family: var(--f-body); font-weight: 700; font-size: .3em; letter-spacing: 0; }
.stat__l { font-size: .95rem; }
.tech { grid-template-columns: 1fr; border: 0; border-top: 2px solid var(--ink); border-radius: 0; background: transparent; }
.tech__item { grid-template-columns: 90px minmax(0, .8fr) minmax(0, 1.4fr) minmax(0, 1fr); gap: 1rem clamp(16px, 3vw, 48px); padding: 1.6rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.tech__item + .tech__item { border-left: 0; border-top: 0; }
.tech__code { font-family: var(--f-display); font-size: 1rem; font-weight: 500; color: var(--foil); padding-top: .25rem; }
.tech__item h3 { font-size: 1.5rem; font-weight: 500; }
.tech__item p { font-size: .98rem; }
.tech__item li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--foil); margin: 0 .6rem .15rem 0; }
@media (max-width: 1000px) { .tech { grid-template-columns: 1fr; } .tech__item { grid-template-columns: 70px 1fr; } .tech__item p, .tech__item ul { grid-column: 2; } .tech__item:nth-child(n+3) { border-top: 0; } }

/* =========================================================================
   Process — a single production line with four stations
   ========================================================================= */
.process { gap: clamp(16px, 3vw, 40px); position: relative; }
.process::before { content: ""; position: absolute; left: 0; right: 0; top: 32px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 16px); }
.step { background: transparent; border: 0; padding: 0; gap: .8rem; }
.step::after { display: none; }
.step__icon { order: -1; width: 66px; height: 66px; border-radius: 50%; background: var(--ink); color: var(--foil-light); display: grid; place-items: center; position: relative; box-shadow: 0 0 0 8px var(--paper); }
.step__icon svg { width: 28px; height: 28px; }
.step__n { font-size: .85rem; font-weight: 700; color: var(--foil); margin-top: .4rem; letter-spacing: .02em; }
.step h3 { font-size: 1.4rem; font-weight: 500; }
@media (max-width: 1000px) { .process::before { display: none; } }

/* =========================================================================
   Certified & recognised
   ========================================================================= */
.certs__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.certs__head .section-head { margin: 0; }
.award-hero { border-radius: 24px; background: var(--ink); padding: clamp(22px, 3vw, 34px); grid-template-columns: auto 1fr; gap: 1.4rem; }
.award-hero__year { font-family: var(--f-display); font-weight: 400; color: var(--foil-light); font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); }
.award-hero strong { font-family: var(--f-display); font-weight: 500; font-size: 1.35rem; }
.certs__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.certs__left { display: grid; gap: 1.2rem; }
.certs__right { display: grid; gap: 1.2rem; }
.cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cert-tile { border: 0; border-radius: 18px; grid-template-columns: 72px minmax(0, 1fr); justify-items: start; text-align: left; align-items: center; padding: 1rem; column-gap: 1rem; row-gap: .1rem; }
.cert-tile__img { grid-row: 1 / span 2; height: 72px; width: 72px; }
.cert-tile__img img { max-height: 64px; }
.cert-tile strong { font-size: 1.1rem; font-weight: 560; align-self: end; }
.cert-tile small { align-self: start; font-size: .85rem; }
.badge { font-size: .8rem; font-weight: 600; border-radius: var(--r-pill); padding: .45rem .85rem; border-color: var(--line); }
.awards { grid-template-columns: 1fr 1fr; column-gap: 2rem; border-top: 2px solid var(--ink); }
.awards li { border-top: 0; border-bottom: 1px solid var(--line); padding-block: 1.1rem; font-size: .97rem; }
.awards li:last-child { border-bottom: 1px solid var(--line); }
.awards svg { color: var(--foil); }
@media (max-width: 900px) { .certs__head, .certs__body { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .awards { grid-template-columns: 1fr; } .cert-grid { grid-template-columns: 1fr; } .award-hero { grid-template-columns: 1fr; } }

/* =========================================================================
   Special labels banner — photos left, index of label types right
   ========================================================================= */
.sl-banner { background: var(--ink); }
.sl-banner__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.sl-banner__media { order: -1; grid-template-columns: 1fr 1fr; grid-template-rows: 1.2fr 1fr; height: clamp(420px, 44vw, 600px); }
.sl-banner__media figure { border-radius: 16px; }
.sl-banner__media figure:first-child { grid-row: auto; grid-column: 1 / -1; border-radius: 240px 240px 16px 16px; }
.sl-banner h2 { max-width: 16ch; }
.sl-banner__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.6rem; width: 100%; border-top: 1px solid rgba(255,255,255,.15); margin-top: .6rem; }
.sl-banner__list li { border-bottom: 1px solid rgba(255,255,255,.15); }
.sl-banner__list a { display: flex; justify-content: space-between; border: 0; border-radius: 0; padding: .75rem 0; font-size: .95rem; font-weight: 600; }
.sl-banner__list a::after { content: "+"; color: var(--foil-light); font-weight: 400; }
.sl-banner__list a:hover, .sl-banner__list a:focus-visible { background: none; color: var(--foil-light); }
@media (max-width: 900px) { .sl-banner__grid { grid-template-columns: 1fr; } .sl-banner__media { height: 340px; } }
@media (max-width: 480px) { .sl-banner__list { grid-template-columns: 1fr; } }

/* =========================================================================
   Reviews — summary as a wide header, cards below
   ========================================================================= */
.reviews__grid { grid-template-columns: 1fr; gap: clamp(28px, 4vw, 48px); }
.rev-summary { grid-template-columns: minmax(0, 1.2fr) auto; column-gap: clamp(24px, 5vw, 80px); align-items: end; }
.rev-summary > .eyebrow { grid-column: 1; justify-self: start; }
.rev-summary > h2 { grid-column: 1; }
.rev-summary > p.muted { grid-column: 1; max-width: 60ch; }
.rev-summary > .rev-score { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
.rev-summary > .rev-actions { grid-column: 2; grid-row: 3; }
.rev-score { background: var(--surface); border: 0; border-radius: 20px; padding: 1.1rem 1.5rem; }
.rev-score b { font-family: var(--f-display); font-weight: 400; font-size: 3.6rem; }
.stars svg { fill: var(--foil); }
.rev-rail { grid-auto-columns: clamp(280px, 27vw, 340px) !important; }
.rev-card { border: 0; border-radius: 20px; background: var(--surface); padding: 1.6rem; }
.rev-card::after { font-family: var(--f-display); color: var(--accent-soft); font-size: 5rem; }
.rev-card blockquote p { font-family: var(--f-display); font-size: 1.08rem; line-height: 1.55; font-variation-settings: "opsz" 18; }
.rev-card figcaption span { font-size: .8rem; }
.reviews { background: var(--tint); }
@media (max-width: 900px) {
  .rev-summary { grid-template-columns: 1fr; }
  .rev-summary > * { grid-column: 1 !important; grid-row: auto !important; }
}

/* =========================================================================
   FAQ — one centred column
   ========================================================================= */
#faq .grid-2 { grid-template-columns: minmax(0, 1fr); max-width: 880px; gap: clamp(24px, 3vw, 40px); }
#faq .section-head { position: static; margin: 0; text-align: center; justify-items: center; max-width: none; }
#faq .section-head .lead, #faq .section-head .muted { margin-inline: auto; }
.faq { border-top: 0; display: grid; gap: .6rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding-inline: 1.4rem; }
.faq details[open] { border-color: var(--brand); }
.faq summary { font-family: var(--f-display); font-weight: 500; font-size: 1.18rem; padding-block: 1.15rem; }
.faq summary::after { border-color: var(--foil); }
.section--surface { background: var(--paper); }

/* =========================================================================
   Article cards — borderless; home "insights" uses a lead story
   ========================================================================= */
.card { background: transparent; border: 0; border-radius: 0; overflow: visible; }
.card:hover { box-shadow: none; transform: none; }
.card__media { border-radius: 18px; background: var(--tint); }
.card__body { padding: 1.1rem .1rem 0; gap: .55rem; }
.card__body h3 { font-size: 1.32rem; font-weight: 500; line-height: 1.2; }
.card:hover h3 a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.card__tag { font-size: .8rem; font-weight: 700; color: var(--foil); }
.grid-3 { row-gap: clamp(32px, 4vw, 52px); }
.art-feature { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); grid-template-rows: auto auto; }
.art-feature > :first-child { grid-row: 1 / span 2; }
.art-feature > :first-child .card__media { aspect-ratio: 16 / 10; }
.art-feature { align-items: start; }
.art-feature > :first-child h3 { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); }
.art-feature > :not(:first-child) { flex-direction: row; gap: 1.2rem; align-items: start; }
.art-feature > :not(:first-child) .card__media { flex: 0 0 42%; aspect-ratio: 1; }
.art-feature > :not(:first-child) .card__body { padding-top: .2rem; }
@media (max-width: 900px) { .art-feature { grid-template-columns: 1fr; } .art-feature > :first-child { grid-row: auto; } }
@media (max-width: 640px) {
  .card:has(.link-arrow) .card__media { border-radius: 12px; }
  .card:has(.link-arrow) .card__body { padding: .1rem 0 0 .9rem; }
  .art-feature > :first-child { flex-direction: column; }
  .art-feature > :first-child .card__media { flex: none; aspect-ratio: 16 / 10; }
  .art-feature > :first-child .card__body { padding: .9rem 0 0; }
}

/* =========================================================================
   Inner page hero — copy left, photo in an arched frame right
   ========================================================================= */
.phero { background: var(--ink); }
.phero::after { background: none; }
.phero .wrap { padding-block: clamp(56px, 7vw, 104px); }
.phero h1 { font-size: clamp(2.3rem, 1.5rem + 3vw, 4rem); max-width: 16ch; }
.phero .lead { max-width: 52ch; }
.crumbs { font-size: .85rem; font-weight: 600; }
.crumbs a { color: var(--foil-light); }
@media (min-width: 901px) {
  .phero .wrap { padding-right: calc(var(--gutter) + min(40vw, 500px) + 48px); min-height: clamp(420px, 46vw, 540px); align-content: center; }
  .phero__bg { inset: 32px auto 38px auto; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); width: min(40vw, 500px); border-radius: 220px 220px var(--r-frame) var(--r-frame); overflow: hidden; z-index: 0; }
  .phero__bg img { animation: none; }
  .phero .wrap { position: relative; z-index: 1; }
}
@media (max-width: 900px) { .phero::after { background: linear-gradient(0deg, rgba(23,38,28,.95) 25%, rgba(23,38,28,.7)); } }
.strip { height: 4px; }

/* article page header */
.art-head { background: var(--tint); border-bottom: 0; }
.art-head h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); }
.art-meta { font-size: .85rem; font-weight: 600; }
.art-head__img img { border-radius: 200px 200px var(--r-frame) var(--r-frame); aspect-ratio: 4 / 3; }
.prose-article { font-size: 1.08rem; }
.prose-article h2 { font-weight: 500; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); }
.prose-article h3 { font-weight: 560; }
.prose-article li::marker { color: var(--foil); }
.prose-article blockquote { border-left-color: var(--foil); border-radius: 0 14px 14px 0; font-family: var(--f-display); font-size: 1.15rem; }
.art-cta, .art-takeaways { border: 0; border-radius: 18px; }
.art-cta { background: var(--ink); color: #fff; }
.art-cta p { color: var(--on-ink-muted); }
.art-cta .eyebrow { color: var(--foil-light); }
.art-cta .link-arrow, .art-cta a:not(.btn) { color: var(--foil-light); }
.art-cta .btn--primary { background: var(--foil-light); color: var(--ink); }
.art-toc a.is-active { color: var(--fg); border-left-color: var(--foil); }
.table-wrap { border-radius: 14px; }
.table-wrap thead th { background: var(--ink); font-family: var(--f-body); font-weight: 700; }
.steps-list li { border-radius: 14px; }
.art-prod { border-radius: 14px; }

/* detail-page bits */
.quick-answer { border-left: 0; padding: 0; font-family: var(--f-display); font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem); line-height: 1.45; color: var(--fg); }
.ticks li::before { border-color: var(--foil); }
.spec { border-top: 2px solid var(--ink); }
.spec dt { font-size: .85rem; font-weight: 700; color: var(--muted); }
.spec dd { font-size: .98rem; }
.chip { font-family: var(--f-body); font-weight: 600; border-color: var(--line); }
.chip--link:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); }
.sl { border-bottom-color: var(--line); }
.sl__media { border-radius: var(--r-frame); }
.sl:nth-child(odd) .sl__media img { border-radius: 0; }
.sl__code { font-family: var(--f-display); font-size: 1rem; color: var(--foil); font-weight: 500; }
.svc { border: 0; border-radius: 20px; }
.svc__n { font-weight: 400; color: var(--foil); font-size: 2.4rem; }
.panel { border: 0; border-radius: 24px; box-shadow: var(--shadow); }
.input, .field select, .field textarea { border-radius: 12px; background: var(--paper); }
.opt span { font-weight: 600; }
.ccard .ic { background: var(--ink); }
.ccard svg { color: var(--foil-light); }
.ccard h3 { font-size: 1.15rem; font-weight: 560; }
.timeline::before { background: var(--line); }
.timeline li::before { border-color: var(--foil); border-radius: 50%; transform: none; }
.timeline time { font-weight: 450; color: var(--brand); }
.gallery__item, .port-grid a { border-radius: 16px; }
.gallery__cap, .port-grid span { border-radius: 8px; font-weight: 600; }
.ind { border-radius: var(--r-frame); }
.ind__body h3 { font-weight: 500; font-size: 1.35rem; }
.logo-row img { opacity: .75; }

/* =========================================================================
   CTA — an inset panel instead of a full-bleed band
   ========================================================================= */
.cta { background: transparent; color: var(--on-ink); isolation: auto; overflow: visible; padding: 0 var(--gutter) clamp(56px, 7vw, 96px); }
.cta::after { display: none; }
.cta .wrap { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); border-radius: 32px; max-width: var(--wrap); grid-template-columns: 1fr; justify-items: center; text-align: center; padding: clamp(56px, 8vw, 112px) clamp(24px, 6vw, 96px); }
.cta__bg { display: none; }
.cta .wrap::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 90% at 50% 120%, rgba(167,131,75,.35), transparent 70%), radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: auto, 12px 12px; }
.cta .wrap > div:first-child { display: grid; justify-items: center; }
.cta h2 { max-width: 20ch; font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.6rem); margin-inline: auto; }
.cta p { margin-inline: auto; color: #cfdacd; }
.cta__actions { justify-content: center; }
.cta .btn--primary { background: var(--foil-light); color: var(--ink); }
.cta .btn--primary:hover { background: #e6cd9f; }
section.section--tint + .cta, .section--tint + .lightbox + .cta { background: var(--tint); padding-top: 0; }

/* =========================================================================
   Footer — brand row across the top, link columns below
   ========================================================================= */
.footer .strip { display: none; }
.footer { background: var(--ink); }
.footer__top { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: clamp(48px, 6vw, 80px); }
.footer__brand { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.5rem clamp(24px, 4vw, 56px); align-items: center; padding-bottom: clamp(28px, 4vw, 44px); margin-bottom: .6rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__brand img { border-radius: 14px; height: 76px; }
.footer__brand p { font-family: var(--f-display); font-size: clamp(1.1rem, .95rem + .6vw, 1.45rem); line-height: 1.4; color: #e3eae1; max-width: 46ch; font-variation-settings: "opsz" 30; }
.footer h2 { font-size: .9rem; font-weight: 700; color: var(--foil-light); }
.footer .social a { border-color: rgba(255,255,255,.22); }
.news__label { font-size: .9rem; font-weight: 700; color: var(--foil-light); }
.news__row { border-radius: var(--r-pill); padding: 4px 4px 4px 10px; }
.news .btn--primary { background: var(--foil-light); color: var(--ink); }
.reach__item svg { color: var(--foil-light); }
.fab--call { background: var(--brand); }
@media (max-width: 1100px) {
  .footer__top { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-template-columns: auto minmax(0, 1fr); }
  .footer__brand .social { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__brand { grid-template-columns: 1fr; gap: 1rem; }
}

/* =========================================================================
   Mobile refinements
   ========================================================================= */
@media (max-width: 900px) {
  .hs .hs__img { border-radius: 0; }
}
@media (max-width: 640px) {
  .section { padding-block: 64px; }
  .cta { padding-inline: 12px; }
  .cta .wrap { border-radius: 24px; }
  .facts { border-radius: 20px; }
  .stat__n { font-size: 2.6rem; }
  .hs__title { font-size: 2.2rem; }
}
@media (max-width: 1000px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.6rem; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { margin-top: 0; border-top: 0; }
}
@media (max-width: 640px) { .stat__n { font-size: clamp(1.9rem, 8.5vw, 2.6rem); } .stat { padding-right: .8rem; } .stat + .stat { padding-left: .8rem; } }
@media (max-width: 760px) {
  .section-head--split:not(:has(.lead)) > a, .section-head--split:not(:has(.lead)) > .chips { grid-row: auto; justify-self: start; }
}
