/* ==========================================================================
   Wellcall Holdings Berhad — Corporate Site Design System
   Pure HTML/CSS revamp. No build step. English only.
   Palette: industrial red (from logo hose) + deep slate. Restrained, modern.
   ========================================================================== */

/* ---- Design tokens ------------------------------------------------------ */
:root {
  /* Brand */
  --brand:        #C8102E;   /* industrial red — primary */
  --brand-dark:   #9E0C24;
  --brand-tint:   #FBEAEC;

  /* Ink / neutrals */
  --ink:          #14171F;   /* near-black slate — headings, dark panels */
  --ink-2:        #1C2230;   /* raised dark panel */
  --ink-3:        #2A3142;
  --steel:        #5B6675;   /* secondary text */
  --steel-2:      #8A93A1;   /* muted / captions */
  --line:         #E4E8EE;   /* hairline borders */
  --line-soft:    #EEF1F5;
  --bg:           #FFFFFF;
  --bg-soft:      #F5F7FA;   /* alt section */
  --bg-dark:      #14171F;

  /* Type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;

  /* Rhythm */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(20,23,31,.06), 0 2px 8px rgba(20,23,31,.05);
  --shadow-md: 0 6px 24px rgba(20,23,31,.09), 0 2px 6px rgba(20,23,31,.05);
  --shadow-lg: 0 24px 60px rgba(20,23,31,.16);
  --ease: cubic-bezier(.2,.6,.2,1);
}

/* ---- Reset -------------------------------------------------------------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }

/* ---- Typography --------------------------------------------------------- */
h1,h2,h3,h4 { line-height: 1.12; letter-spacing: -.02em; font-weight: 800; color: var(--ink); }
/* Display voice: Fraunces — echoes the serif headlines (“Globalization”,
   “Excellency”…) baked into the original wellcallholdings.com banners. */
h1, h2, .display { font-family: var(--serif); font-weight: 600; letter-spacing: -.014em; line-height: 1.08; }
.display { font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 1.04; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
[id] { scroll-margin-top: 132px; } /* anchor targets clear the sticky header */
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 999; transform: translateY(-200%); background: var(--ink); color: #fff; padding: .7rem 1.2rem; border-radius: 10px; font-weight: 650; font-size: .9rem; box-shadow: var(--shadow-lg); transition: transform .2s var(--ease); }
.skip-link:focus-visible { transform: none; outline-offset: 4px; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--steel); line-height: 1.55; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before { content:""; width: 26px; height: 2px; background: var(--brand); display:inline-block; }
.eyebrow.on-dark { color: #FF6B7E; }
.eyebrow.on-dark::before { background: #FF6B7E; }

/* ---- Layout ------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(60px, 9vw, 120px); }
.section--tight { padding-block: clamp(44px, 6vw, 80px); }
.section--dark { background: var(--bg-dark); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head .lede { margin-top: 1rem; }
.center { text-align: center; margin-inline: auto; }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .85rem 1.5rem; border-radius: 999px; font-weight: 650; font-size: .98rem;
  border: 1px solid transparent; transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(200,16,46,.30); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--on-dark { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.22); backdrop-filter: blur(4px); }
.btn--on-dark:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 650; color: var(--brand); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ==========================================================================
   Header
   ========================================================================== */
.topbar { background: var(--ink); color: #C9D0DB; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.topbar a { color: #C9D0DB; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar .ticker { display: inline-flex; align-items: center; gap: .5rem; }
.ticker .dot { width: 7px; height: 7px; border-radius: 50%; background: #2ec26b; box-shadow: 0 0 0 4px rgba(46,194,107,.18); animation: tickPulse 2.4s var(--ease) infinite; }
@keyframes tickPulse {
  0%   { box-shadow: 0 0 0 3px rgba(46,194,107,.22); }
  55%  { box-shadow: 0 0 0 7px rgba(46,194,107,0); }
  100% { box-shadow: 0 0 0 3px rgba(46,194,107,0); }
}
.ticker strong { color: #fff; }
.ticker .up { color: #46d684; font-weight: 600; }
.topbar-right { display: flex; gap: 1.25rem; align-items: center; }

/* hairline rendered as box-shadow (not border) so the header is exactly 76px
   tall and the hero's 100vh offset math stays truthful */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.86); backdrop-filter: saturate(140%) blur(12px); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 1px 0 var(--line), var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.brand img { height: 38px; width: auto; }
.brand .wordmark { display: flex; flex-direction: column; line-height: 1.05; }
.brand .wordmark b { font-size: 1.02rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.brand .wordmark span { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-2); }

.menu { display: flex; align-items: center; gap: .1rem; }
.menu > li { position: relative; }
.menu > li > a { display: flex; align-items: center; gap: .3rem; padding: .65rem .55rem; border-radius: 8px; font-weight: 550; font-size: .94rem; color: var(--ink); transition: color .2s, background .2s; white-space: nowrap; }
.menu > li > a .caret { width: 10px; height: 10px; opacity: .5; transition: transform .25s; }
.menu > li:hover > a { color: var(--brand); }
.menu > li:hover > a .caret { transform: rotate(180deg); }
.menu > li[aria-current] > a, .menu > li > a.active { color: var(--brand); }

/* Dropdown */
@media (min-width: 1101px) {
  /* invisible hover bridge across the 10px gap so the menu doesn't flicker shut */
  .menu > li::after { content:""; position:absolute; left:0; right:0; top:100%; height:14px; }
}
.dropdown { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px); min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); padding: .5rem; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s var(--ease); }
.menu > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown::before { content:""; position:absolute; top:-6px; left:50%; transform:translateX(-50%) rotate(45deg); width:12px; height:12px; background:#fff; border-left:1px solid var(--line); border-top:1px solid var(--line); }
.dropdown a { display: block; padding: .6rem .8rem; border-radius: 7px; font-size: .92rem; color: var(--steel); transition: background .18s, color .18s; }
.dropdown a:hover { background: var(--bg-soft); color: var(--brand); }
.nav-cta { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.nav-toggle { display: none; }

/* ==========================================================================
   Hero carousel — full-bleed, never taller than one viewport (≤100vh).
   Slides reuse the original wellcallholdings.com hero media: the factory
   film + the three banners (Globalization / Sustainability / Excellency)
   whose serif headlines are baked into the artwork.
   ========================================================================== */
.hero-carousel {
  --hero-offset: 116px;            /* topbar 40px + header 76px above the fold */
  --hc-dur: 6.5s;                  /* per-slide dwell, overridden from JS */
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); color: #fff;
  height: calc(100vh - var(--hero-offset));
  height: calc(100svh - var(--hero-offset));
  max-height: 100svh;
  min-height: min(540px, 100svh);
  touch-action: pan-y;
}
.hc-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; z-index: 0; transition: opacity 1s var(--ease), visibility 0s linear 1s; }
.hc-slide.active { opacity: 1; visibility: visible; z-index: 1; transition: opacity 1s var(--ease); }
.hc-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hc-slide.active img.hc-media { animation: hcDrift 9s var(--ease) forwards; } /* slow Ken Burns */
@keyframes hcDrift { from { transform: scale(1.001); } to { transform: scale(1.055); } }

/* per-slide framing keeps each banner's baked headline inside the crop;
   transform-origin matches so the Ken Burns zoom never pushes it out */
.hc-pos-globe { object-position: right center; transform-origin: right center; }
.hc-pos-palm  { object-position: left center;  transform-origin: left center; }
.hc-pos-hose  { object-position: 85% center;   transform-origin: 85% center; }

.hc-scrim { position: absolute; inset: 0; pointer-events: none; }
.hc-scrim--copy { background: linear-gradient(90deg, rgba(20,23,31,.84) 0%, rgba(20,23,31,.56) 34%, rgba(20,23,31,.12) 62%, rgba(20,23,31,0) 80%); }
.hc-scrim--bar  { background: linear-gradient(180deg, rgba(20,23,31,.16) 0%, rgba(20,23,31,0) 18%, rgba(20,23,31,0) 64%, rgba(20,23,31,.5) 100%); }

/* slide 1 — film + brand message (the original site overlays its slogan here) */
.hc-copy { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; padding-bottom: 74px; }
.hc-copy .display { margin: 1.1rem 0; color: #fff; max-width: 14ch; }
.hc-copy .display .accent { color: #FF6B7E; }
.hc-copy .lede { color: #C2CAD6; max-width: 46ch; font-size: clamp(1rem, 1.4vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero-stats { display: flex; gap: clamp(1.5rem,4vw,3rem); margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.14); flex-wrap: wrap; }
.hero-stats div b { display: block; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; letter-spacing: -.02em; }
.hero-stats div b .accent { color: #FF6B7E; }
.hero-stats div span { font-size: .82rem; color: #9AA4B2; letter-spacing: .02em; }

/* banner-slide captions — surface only when the crop hides the baked text */
.hc-caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: none; padding: 0 var(--gutter) 96px; }
.hc-cap-title { font-family: var(--serif); font-weight: 600; font-size: clamp(1.7rem, 7vw, 2.4rem); line-height: 1.1; color: #fff; margin-top: .8rem; letter-spacing: -.01em; }
.hc-cap-sub { color: #C2CAD6; margin-top: .5rem; font-size: .96rem; max-width: 36ch; }

/* controls — one glass pill, bottom-left, clear of every baked caption */
.hc-ui { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; pointer-events: none; }
.hc-ui .container { display: flex; justify-content: flex-start; padding-bottom: 1.15rem; }
.hc-bar { display: inline-flex; align-items: center; gap: .95rem; padding: .5rem .6rem .5rem 1rem; border-radius: 999px; background: rgba(20,23,31,.46); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); pointer-events: auto; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.hc-dots { display: flex; gap: .55rem; pointer-events: auto; }
.hc-dot { position: relative; width: 44px; height: 4px; border: 0; padding: 0; border-radius: 999px; background: rgba(255,255,255,.30); overflow: hidden; transition: background .3s; }
.hc-dot:hover { background: rgba(255,255,255,.55); }
.hc-dot::after { content:""; position: absolute; inset: 0; border-radius: inherit; background: var(--brand); transform: scaleX(0); transform-origin: left center; }
.hc-dot.active::after { animation: hcFill var(--hc-dur) linear forwards; }
.hero-carousel.paused .hc-dot.active::after { animation-play-state: paused; }
@keyframes hcFill { to { transform: scaleX(1); } }
.hc-arrows { display: flex; align-items: center; gap: .4rem; pointer-events: auto; }
.hc-count { font-size: .8rem; letter-spacing: .12em; color: rgba(255,255,255,.88); font-variant-numeric: tabular-nums; }
.hc-count b { font-weight: 700; color: #fff; }
.hc-count i { font-style: normal; opacity: .45; margin: 0 .2rem; }
.hc-arrow { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22); transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.hc-arrow svg { width: 17px; height: 17px; }
.hc-arrow:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hc-arrow:active { transform: scale(.92); }

@media (max-width: 860px) {
  .hero-carousel { --hero-offset: 76px; }   /* topbar hidden on mobile */
  .hero-stats { gap: 1.25rem; }
}
/* portrait-shaped heroes (phones AND portrait tablets — capped so rotated
   desktop monitors ≥1281px keep the desktop treatment): the wide banners can
   only show a narrow slice, so re-frame on the visual subject and let the
   HTML caption overlays carry the words instead of the baked headlines */
@media (max-width: 860px), ((orientation: portrait) and (max-width: 1280px)) {
  .hc-caption { display: block; }
  .hc-scrim--bar { background: linear-gradient(180deg, rgba(20,23,31,.2) 0%, rgba(20,23,31,0) 22%, rgba(20,23,31,.42) 58%, rgba(20,23,31,.9) 100%); }
  .hc-pos-globe { object-position: 42% center; transform-origin: 42% center; }
  .hc-pos-palm  { object-position: 70% center; transform-origin: 70% center; }
  .hc-pos-hose  { object-position: 20% center; transform-origin: 20% center; }
  .hc-dot { width: clamp(22px, 5vw, 44px); }
}
@media (max-width: 560px) {
  .hc-bar { width: 100%; justify-content: space-between; gap: .6rem; padding: .45rem .5rem .45rem .85rem; }
  .hc-arrow { width: 36px; height: 36px; }
}
@media (max-height: 700px) {
  .hero-stats { display: none; }            /* keep slide-1 copy inside short viewports */
  .hc-copy .display { font-size: clamp(2rem, 4.6vw, 3rem); }
}
@media (prefers-reduced-motion: reduce) {
  .hc-slide, .hc-slide.active { transition: opacity .25s linear; }
  .hc-slide.active img.hc-media { animation: none; }
  .hc-dot.active { background: var(--brand); }
  .hc-dot.active::after { animation: none; }
  .ticker .dot { animation: none; }
}

/* ==========================================================================
   Trust / stats band
   ========================================================================== */
.trustband { background: #fff; border-bottom: 1px solid var(--line); }
.trustband .container { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; }
.trust-item { padding: clamp(24px,3vw,40px) clamp(12px,2vw,28px); position: relative; }
.trust-item::before { content:""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 58%; background: var(--line); }
.trust-item:nth-child(4n+1)::before { display: none; }
.trust-item b { display:block; font-size: clamp(1.7rem,3vw,2.4rem); font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.trust-item b .u { color: var(--brand); }
.trust-item span { font-size: .9rem; color: var(--steel); }

/* ==========================================================================
   Feature / strengths grid
   ========================================================================== */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: clamp(16px,2vw,24px); }
/* count-aware variants — rows always fill into complete rectangles */
.fg-3 { grid-template-columns: repeat(3,1fr); }   /* 3 items: 3 → 1 */
.fg-4 { grid-template-columns: repeat(4,1fr); }   /* 4 items: 4 → 2×2 → 1 */
.fg-6 { grid-template-columns: repeat(3,1fr); }   /* 6 items: 3×2 → 2×3 → 1 */
@media (max-width: 960px) {
  .fg-3 { grid-template-columns: 1fr; }
  .fg-4 { grid-template-columns: repeat(2,1fr); }
  .fg-6 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 560px) {
  .fg-4, .fg-6 { grid-template-columns: 1fr; }
}
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.75rem; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature .ic { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); margin-bottom: 1.25rem; }
.feature .ic svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.18rem; margin-bottom: .5rem; }
.feature p { color: var(--steel); font-size: .96rem; }

/* ==========================================================================
   Bento grid — one large "hero" tile + supporting tiles, filled into a
   complete rectangle. Used for the homepage "Five strengths" (1 hero + 4).
   The hero spans 2×2; four 1×1 cells fill the remaining 2×2 block on the
   right, so there is never an orphaned half-empty row.
   ========================================================================== */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.4vw, 20px); }
.bento-tile {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem;
  min-height: clamp(196px, 17.5vw, 238px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.35rem, 1.8vw, 1.85rem);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.bento-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.bento-tile .bt-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.bento-tile .ic { width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); flex-shrink: 0; transition: transform .3s var(--ease); }
.bento-tile:hover .ic { transform: scale(1.06) rotate(-3deg); }
.bento-tile .ic svg { width: 26px; height: 26px; }
.bento-tile .bt-index { font-size: .78rem; font-weight: 700; letter-spacing: .08em; color: var(--steel-2); opacity: .55; font-variant-numeric: tabular-nums; }
.bento-tile h3 { font-size: 1.14rem; margin-bottom: .4rem; }
.bento-tile p { color: var(--steel); font-size: .93rem; }

/* hero tile — dark, 2×2, brand glow + headline stat */
.bento-tile--hero {
  grid-column: span 2; grid-row: span 2;
  background: linear-gradient(158deg, var(--ink-2) 0%, var(--ink) 100%);
  border-color: transparent; color: #fff;
  padding: clamp(1.7rem, 2.4vw, 2.5rem);
}
.bento-tile--hero::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px;
  border-radius: 50%; background: radial-gradient(circle, rgba(200,16,46,.42), transparent 70%); pointer-events: none;
}
.bento-tile--hero > * { position: relative; z-index: 1; }
.bento-tile--hero .ic { width: 60px; height: 60px; border-radius: 15px; background: rgba(255,107,126,.16); color: #FF6B7E; }
.bento-tile--hero:hover .ic { transform: scale(1.06) rotate(-3deg); }
.bento-tile--hero .ic svg { width: 30px; height: 30px; }
.bento-tile--hero .bt-index { color: #fff; opacity: .42; }
.bento-tile--hero h3 { color: #fff; font-size: clamp(1.4rem, 2vw, 1.85rem); margin-bottom: .55rem; }
.bento-tile--hero p { color: #B9C1CE; font-size: 1rem; max-width: 44ch; }
.bt-stat b { display: block; font-size: clamp(2.8rem, 4.4vw, 3.8rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: #fff; }
.bt-stat b span { color: #FF6B7E; }
.bt-stat > span { display: block; margin-top: .5rem; font-size: .85rem; letter-spacing: .03em; color: #9AA4B2; }

@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-tile--hero { grid-column: span 2; grid-row: span 1; min-height: clamp(220px, 42vw, 300px); }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .bento-tile { min-height: 0; }
  .bento-tile--hero { grid-column: span 1; }
}

/* ==========================================================================
   Split / about preview
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,72px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); position: relative; }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.split-copy h2 { margin-bottom: 1.1rem; }
.split-copy p { color: var(--steel); margin-bottom: 1rem; }
.checklist { margin: 1.5rem 0; display: grid; gap: .8rem; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; }
.checklist .ck { flex-shrink:0; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; margin-top: 2px; }
.checklist .ck svg { width: 13px; height: 13px; }

/* badge floating on media */
.media-badge { position: absolute; left: 20px; bottom: 20px; background: rgba(255,255,255,.96); border-radius: 12px; padding: .9rem 1.1rem; box-shadow: var(--shadow-md); display:flex; align-items:center; gap:.75rem; }
.media-badge b { font-size: 1.6rem; font-weight: 800; color: var(--brand); line-height:1; }
.media-badge span { font-size: .8rem; color: var(--steel); }

/* ==========================================================================
   Product grid
   ========================================================================== */
/* 10 hose categories — centered flex wrap fills wide screens as a clean 5×2
   and keeps any partial row centered (never a left-stuck, half-empty row). */
.product-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(14px,1.6vw,20px); }
.product-card { flex: 1 1 190px; max-width: 240px; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1/1; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left center; transition: transform .6s var(--ease); }
.product-card.pc-right img { object-position: right center; } /* images whose baked label sits on the left */
.product-card:hover img { transform: scale(1.06); }
.product-card .veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,23,31,.05) 0%, rgba(20,23,31,.35) 55%, rgba(20,23,31,.88) 100%); }
.product-card .pc-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.25rem; color: #fff; }
.product-card .pc-body h3 { color:#fff; font-size: 1.15rem; }
.product-card .pc-body p { font-size: .82rem; color: rgba(255,255,255,.82); margin-top: .15rem; }
.product-card .pc-go { position:absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.16); backdrop-filter: blur(4px); display: grid; place-items: center; color:#fff; opacity:0; transform: translateY(-6px); transition: opacity .3s, transform .3s; }
.product-card:hover .pc-go { opacity: 1; transform: translateY(0); }
.product-card .pc-go svg { width: 16px; height:16px; }

/* ==========================================================================
   Investor relations spotlight
   ========================================================================== */
.ir-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(20px,2.5vw,32px); align-items: stretch; }
.ir-panel { background: linear-gradient(160deg, var(--ink-2), var(--ink)); color:#fff; border-radius: var(--radius); padding: clamp(28px,3.5vw,48px); position: relative; overflow: hidden; }
.ir-panel::after { content:""; position:absolute; right:-60px; top:-60px; width:240px; height:240px; border-radius:50%; background: radial-gradient(circle, rgba(200,16,46,.35), transparent 70%); }
.ir-quick { display: grid; gap: 14px; }
.ir-link { display:flex; align-items:center; gap: 1rem; background:#fff; border:1px solid var(--line); border-radius: var(--radius-sm); padding: 1.1rem 1.25rem; transition: border-color .25s, transform .25s, box-shadow .25s; }
.ir-link:hover { transform: translateX(4px); border-color: var(--brand); box-shadow: var(--shadow-sm); }
.ir-link .ic { flex-shrink:0; width: 44px; height: 44px; border-radius: 10px; background: var(--brand-tint); color: var(--brand); display:grid; place-items:center; }
.ir-link .ic svg { width: 22px; height: 22px; }
.ir-link .meta { flex: 1; }
.ir-link .meta b { display:block; font-size: .98rem; }
.ir-link .meta span { font-size: .82rem; color: var(--steel-2); }
.ir-link .chev { color: var(--steel-2); }
.ir-report { display:flex; gap: 1.25rem; align-items:center; margin-top: 1.75rem; padding-top: 1.75rem; border-top:1px solid rgba(255,255,255,.14); }
.ir-report .cover { width: 84px; aspect-ratio: 3/4; border-radius: 8px; background: linear-gradient(150deg, var(--brand-dark), #4a0f1a); display:grid; place-items:center; color:#fff; font-weight:800; box-shadow: var(--shadow-md); flex-shrink:0; text-align:center; font-size:.8rem; padding:.5rem; }
.ir-report .meta b { font-size:1.1rem; }
.ir-report .meta p { color:#B9C1CE; font-size:.9rem; margin:.25rem 0 .9rem; }

/* ==========================================================================
   Sustainability pillars
   ========================================================================== */
/* explicit column counts — auto-fit strands orphans at tablet widths */
.pillars { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(16px,2vw,22px); }
.pillars--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 960px) { .pillars { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } .pillars--2 { grid-template-columns: 1fr; } }
.pillar { padding: 1.75rem; border-radius: var(--radius); background: rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.10); transition: background .3s, transform .3s; }
.pillar:hover { background: rgba(255,255,255,.08); transform: translateY(-4px); }
.pillar .ic { width: 48px; height:48px; border-radius: 12px; display:grid; place-items:center; background: rgba(255,107,126,.16); color:#FF6B7E; margin-bottom:1rem; }
.pillar .ic svg { width:24px; height:24px; }
.pillar h3 { font-size: 1.1rem; color:#fff; margin-bottom:.4rem; }
.pillar p { font-size:.92rem; color:#AEB7C4; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { background: var(--brand); color:#fff; border-radius: clamp(16px,2vw,24px); padding: clamp(36px,5vw,64px); display:flex; align-items:center; justify-content:space-between; gap:2rem; flex-wrap:wrap; position:relative; overflow:hidden; }
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 85% 120%, rgba(255,255,255,.18), transparent 45%); }
.cta-band h2 { color:#fff; position:relative; }
.cta-band p { color: rgba(255,255,255,.9); margin-top:.5rem; position:relative; }
.cta-band .btn--primary { background:#fff; color: var(--brand); }
.cta-band .btn--primary:hover { background: var(--ink); color:#fff; box-shadow:none; }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero { background: var(--ink); color:#fff; padding: clamp(56px,8vw,104px) 0 clamp(40px,5vw,64px); position:relative; overflow:hidden; }
.page-hero::before { content:""; position:absolute; inset:0; z-index:1; background-image: radial-gradient(rgba(255,255,255,.085) 1px, transparent 1.4px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(115deg, transparent 42%, rgba(0,0,0,.95)); mask-image: linear-gradient(115deg, transparent 42%, rgba(0,0,0,.95)); pointer-events:none; }
.page-hero::after { content:""; position:absolute; right:-80px; bottom:-120px; z-index:1; width:380px; height:380px; border-radius:50%; background: radial-gradient(circle, rgba(200,16,46,.30), transparent 68%); }
.page-hero .container { position: relative; z-index:2; }
/* contextual media layer — old-site photography ghosted behind the right side */
.ph-media { position:absolute; inset:0; z-index:0; pointer-events:none; }
.ph-media img { width:100%; height:100%; object-fit:cover; object-position: var(--ph-pos, center); }
.ph-media.flip img { transform: scaleX(-1); }
.ph-media.zoom img { transform: scale(1.6); transform-origin: 36% 46%; } /* magnify the globe into the clear right side */
.ph-media::after { content:""; position:absolute; inset:0; background:
  linear-gradient(90deg, var(--ink) 34%, rgba(20,23,31,.88) 56%, rgba(20,23,31,.46) 100%),
  linear-gradient(0deg, rgba(20,23,31,.38), rgba(20,23,31,0) 45%); }
@media (max-width: 860px) {
  .ph-media::after { background: linear-gradient(90deg, var(--ink) 12%, rgba(20,23,31,.9) 55%, rgba(20,23,31,.62) 100%), linear-gradient(0deg, rgba(20,23,31,.4), rgba(20,23,31,0) 45%); }
}
.page-hero h1 { color:#fff; margin:.8rem 0; max-width: 22ch; font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.page-hero .lede { color:#C2CAD6; max-width: 56ch; }
.breadcrumb { display:flex; gap:.5rem; align-items:center; font-size:.85rem; color:#9AA4B2; }
.breadcrumb a:hover { color:#fff; }
.breadcrumb span { opacity:.5; }

/* ==========================================================================
   Generic content blocks (inner pages)
   ========================================================================== */
.prose { max-width: 760px; }
.prose p { color: var(--steel); margin-bottom: 1.1rem; }
.prose h2 { margin: 2rem 0 1rem; }
.card-grid { display:grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: clamp(16px,2vw,24px); }

/* Board / directors — centered flex wrap so the final partial row is always
   centered (no orphaned, left-stuck card). 3-up on desktop (9 = 3×3) → 2 → 1. */
.board-grid { display:flex; flex-wrap:wrap; justify-content:center; gap: clamp(16px,2vw,24px); }
.board-grid .director { flex: 1 1 260px; max-width: 340px; }
.director { background:#fff; border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; transition: box-shadow .3s, transform .3s; }
.director:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.director .ph { aspect-ratio: 4/5; background: linear-gradient(160deg,#E9EDF3,#D7DDE7); display:grid; place-items:center; color:#A9B2BF; }
.director .ph svg { width: 64px; height:64px; opacity:.6; }
.director .d-body { padding: 1.1rem 1.2rem 1.3rem; }
.director .d-body b { font-size:1rem; display:block; }
.director .d-body span { font-size:.84rem; color: var(--steel); }
.director .tag { display:inline-block; margin-top:.6rem; font-size:.7rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color: var(--brand); background: var(--brand-tint); padding:.2rem .55rem; border-radius:999px; }

/* Document / report list */
.doc-list { display:grid; gap: 10px; }
.doc-row { display:flex; align-items:center; gap:1rem; padding:1rem 1.25rem; background:#fff; border:1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s, transform .2s; }
.doc-row:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); transform: translateX(3px); }
.doc-row .ic { width:42px; height:42px; border-radius:9px; background: var(--brand-tint); color: var(--brand); display:grid; place-items:center; flex-shrink:0; }
.doc-row .ic svg { width:20px; height:20px; }
.doc-row .meta { flex:1; }
.doc-row .meta b { display:block; font-size:.98rem; }
.doc-row .meta span { font-size:.82rem; color: var(--steel-2); }
.doc-row .dl { color: var(--steel-2); }
.doc-row:hover .dl { color: var(--brand); }

.year-tabs { display:flex; flex-wrap:wrap; gap:.5rem; margin-bottom:1.75rem; }
.year-tab { padding:.5rem 1.1rem; border-radius:999px; border:1px solid var(--line); font-weight:600; font-size:.92rem; color:var(--steel); background:#fff; transition:all .2s; }
.year-tab.active, .year-tab:hover { background: var(--ink); color:#fff; border-color: var(--ink); }

/* contact */
.contact-grid { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,56px); }
.info-card { display:flex; gap:1rem; padding:1.4rem; border:1px solid var(--line); border-radius: var(--radius); background:#fff; }
.info-card .ic { width:46px;height:46px;border-radius:11px;background:var(--brand-tint);color:var(--brand);display:grid;place-items:center;flex-shrink:0;}
.info-card .ic svg{width:22px;height:22px;}
.info-card b{display:block;font-size:.95rem;}
.info-card p,.info-card a{color:var(--steel);font-size:.92rem;}
.info-card a:hover{color:var(--brand);}
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns:1fr; gap:0; } }
.field { margin-bottom:1.1rem; }
.field label { display:block; font-size:.85rem; font-weight:600; margin-bottom:.4rem; }
.field input, .field textarea, .field select { width:100%; padding:.8rem 1rem; border:1px solid var(--line); border-radius:10px; font:inherit; background:#fff; transition:border-color .2s, box-shadow .2s; }
.field input:focus,.field textarea:focus,.field select:focus { outline:none; border-color:var(--brand); box-shadow:0 0 0 3px rgba(200,16,46,.12); }
.map-embed { border:0; width:100%; height:100%; min-height:320px; border-radius:var(--radius); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color:#AEB7C4; padding-top: clamp(48px,6vw,80px); }
.footer-top { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(24px,3vw,48px); padding-bottom: 3rem; border-bottom:1px solid rgba(255,255,255,.10); }
.footer-brand img { height: 40px; filter: brightness(0) invert(1); opacity:.95; margin-bottom:1.1rem; }
.footer-brand p { font-size:.9rem; max-width: 34ch; }
.footer-brand .reg { font-size:.78rem; color:#7C8696; margin-top:1rem; }
.footer-col h4 { color:#fff; font-size:.82rem; letter-spacing:.1em; text-transform:uppercase; margin-bottom:1.1rem; }
.footer-col a { display:block; padding:.32rem 0; font-size:.92rem; color:#AEB7C4; transition:color .2s, padding .2s; }
.footer-col a:hover { color:#fff; padding-left:4px; }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; gap:1rem; flex-wrap:wrap; padding-block: 1.6rem; font-size:.84rem; color:#7C8696; }
.footer-bottom .socials { display:flex; gap:.6rem; }
.footer-bottom .socials a { width:34px;height:34px;border-radius:8px;border:1px solid rgba(255,255,255,.14);display:grid;place-items:center;color:#AEB7C4;transition:all .2s;}
.footer-bottom .socials a:hover{background:var(--brand);border-color:var(--brand);color:#fff;}
.footer-bottom .socials svg{width:17px;height:17px;}

/* ==========================================================================
   Reveal animation
   ========================================================================== */
.reveal { opacity:0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity:1; transform:none; }
.reveal.d1{transition-delay:.07s}.reveal.d2{transition-delay:.14s}.reveal.d3{transition-delay:.21s}.reveal.d4{transition-delay:.28s}
@media (prefers-reduced-motion: reduce){ .reveal{opacity:1;transform:none;transition:none} html{scroll-behavior:auto} }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .ir-grid, .split, .contact-grid, .card-grid { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .trustband .container { grid-template-columns: repeat(2,1fr); }
  .trust-item:nth-child(n)::before { display: none; }
  .trust-item:nth-child(2n)::before { display: block; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
/* nav tiers: full ≥1281 · no ghost CTA ≤1280 · hamburger drawer ≤1100 */
@media (max-width: 1280px) {
  .nav-cta .btn--ghost { display:none; }
}
@media (max-width: 1100px) {
  /* drawer anchored to the sticky header's bottom edge — correct whether or
     not the (non-sticky) topbar is still on screen above it */
  .menu { position: absolute; top: 100%; left: 0; right: 0; background:#fff; flex-direction: column; align-items: stretch; gap:0; padding: .75rem var(--gutter) 1.5rem; border-bottom:1px solid var(--line); box-shadow: var(--shadow-lg); transform: translateY(-12px); opacity:0; visibility:hidden; transition: all .25s var(--ease); max-height: calc(100vh - 132px); overflow:auto; }
  .menu.open { transform:none; opacity:1; visibility:visible; }
  .menu > li::after { display:none; } /* no hover bridge in drawer mode */
  .menu > li > a { padding: .9rem .25rem; font-size:1.05rem; border-bottom:1px solid var(--line-soft); white-space: normal; }
  .menu > li > a .caret { margin-left:auto; }
  .dropdown { position: static; transform:none; opacity:1; visibility:visible; box-shadow:none; border:none; padding:.25rem 0 .75rem 1rem; min-width:0; display:none; }
  .dropdown::before { display:none; }
  .menu > li.open-sub .dropdown { display:block; }
  .menu > li:hover .dropdown { transform:none; }
  .nav-toggle { display:grid; place-items:center; width:44px; height:44px; border-radius:10px; border:1px solid var(--line); background:#fff; }
  .nav-toggle svg { width:22px; height:22px; }
}
@media (max-width: 860px) {
  .topbar { display:none; }
}
@media (max-width: 560px) {
  .nav-cta .btn--primary { display: none; } /* keep only brand + hamburger on phones */
  .brand .wordmark span { display: none; }
  .trustband .container { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .cta-band { flex-direction:column; align-items:flex-start; }
  .board-grid .director { flex-basis: 100%; max-width: 360px; }
  .product-card { flex-basis: 45%; max-width: none; } /* two-up, edge-to-edge on phones */
}
