/* ==========================================================================
   Solumet Metal and Powder — site styles
   Plain CSS, no build step. Sections:
   1. Tokens  2. Base  3. Type & buttons  4. Header & menus  5. Hero
   6. Sections & rows  7. Globe & video  8. Service cards  9. Plants
   10. CTA band & footer  11. Sub-page heroes  12. Materials  13. Approach
   14. Contact  15. Motion helpers  16. Responsive
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --ink: #0a2342;          /* headings, solid text */
  --ink-2: #435570;        /* body text */
  --ink-3: #6b7c95;        /* soft second half of headings */
  --brand: #1c4571;        /* Solumet blue (logo) */
  --brand-700: #133458;
  --brand-50: #eef3f9;
  --link: #1f62b5;         /* brighter Solumet blue for links and eyebrows */
  --heat: #f2661c;         /* molten orange */
  --gold: #ffb52e;
  --bg: #ffffff;
  --bg-soft: #f6f9fc;
  --line: #e3e9f1;
  --line-soft: #eef2f7;
  --guide: rgba(10, 35, 66, .065);
  --navy: #0b1d36;         /* dark sections */

  --r-sm: 6px;
  --r: 10px;
  --r-lg: 16px;
  --r-xl: 22px;

  --sh-1: 0 0 0 1px rgba(10, 35, 66, .05), 0 1px 1px -.5px rgba(10, 35, 66, .08), 0 3px 3px -1.5px rgba(10, 35, 66, .04), 0 6px 6px -3px rgba(10, 35, 66, .04);
  --sh-2: var(--sh-1), 0 12px 12px -6px rgba(10, 35, 66, .05), 0 24px 24px -12px rgba(10, 35, 66, .05), 0 48px 48px -24px rgba(10, 35, 66, .07);
  --sh-pop: 0 30px 60px -12px rgba(10, 35, 66, .25), 0 18px 36px -18px rgba(0, 0, 0, .28);

  --container: 1180px;
  --pad: clamp(20px, 4vw, 40px);
  --space: clamp(56px, 6.6vw, 96px);   /* one vertical rhythm between all sections */
  --header-h: 68px;

  --ease: cubic-bezier(.215, .61, .355, 1);
  --ease-quint: cubic-bezier(.23, 1, .32, 1);
  --ease-back: cubic-bezier(.175, .885, .32, 1.275);
  --spring: linear(0, .402 7.4%, .711 15.3%, .929 23.7%, 1.008 28.2%, 1.067 33%, 1.099 36.9%, 1.12 41%, 1.13 50.2%, 1.019 83.2%, 1);

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink-2); background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
img, svg, video, canvas, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong, b { font-weight: 600; color: var(--ink); }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 4px; }
::selection { background: #cfe0f7; color: var(--ink); }
.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; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 500; }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: calc(var(--container) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Stripe-like vertical guides */
.guides { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.guides::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%;
  width: min(calc(100% - var(--pad) * 2), var(--container)); transform: translateX(-50%);
  border-left: 1px solid var(--guide); border-right: 1px solid var(--guide);
}

/* 3. Type & buttons -------------------------------------------------------- */
.display, .h2, .h3, .h4 { color: var(--ink); }
.display { font-size: clamp(36px, 4.9vw, 56px); line-height: 1.09; font-weight: 300; letter-spacing: -.028em; }
.h2 { font-size: clamp(28px, 3.3vw, 40px); line-height: 1.13; font-weight: 300; letter-spacing: -.022em; }
.h3 { font-size: clamp(22px, 2.1vw, 27px); line-height: 1.22; font-weight: 400; letter-spacing: -.018em; }
.h4 { font-size: 18px; line-height: 1.35; font-weight: 500; letter-spacing: -.01em; }
.t-soft { color: var(--ink-3); }
.lead { font-size: clamp(17px, 1.45vw, 19px); line-height: 1.62; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 15px; font-weight: 600; letter-spacing: -.005em; color: var(--link); }
.eyebrow .icon { width: 18px; height: 18px; }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }

.btn {
  --btn-bg: var(--brand); --btn-fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: 8px; font-size: 15px; font-weight: 500; letter-spacing: -.005em; white-space: nowrap;
  background: var(--btn-bg); color: var(--btn-fg);
  transition: background-color .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { --btn-bg: var(--brand-700); }
.btn:active { transform: translateY(1px); }
.btn-lg { height: 48px; padding: 0 22px; font-size: 16px; }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 7px; }
.btn-secondary { --btn-bg: #fff; --btn-fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(10, 35, 66, .05); }
.btn-secondary:hover { --btn-bg: #fff; box-shadow: inset 0 0 0 1px #c9d4e2, 0 2px 6px rgba(10, 35, 66, .08); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn-light:hover { --btn-bg: #eef3f9; }
.btn-ghost-light { --btn-bg: rgba(255, 255, 255, .08); --btn-fg: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.btn-ghost-light:hover { --btn-bg: rgba(255, 255, 255, .14); }

/* Stripe-style hover arrow: the stem appears and the tip slides */
.arrow { width: 10px; height: 10px; flex: none; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.arrow .a-line { opacity: 0; transition: opacity .15s var(--ease); }
.arrow .a-tip { transition: transform .15s var(--ease); }
a:hover > .arrow .a-line, button:hover > .arrow .a-line, .has-arrow:hover .arrow .a-line { opacity: 1; }
a:hover > .arrow .a-tip, button:hover > .arrow .a-tip, .has-arrow:hover .arrow .a-tip { transform: translateX(3px); }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--link); }
.link-arrow:hover { color: var(--brand); }

.chip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 10px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; color: var(--ink); white-space: nowrap; }
.chip .icon { width: 18px; height: 18px; color: var(--link); }

.checks { display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.4l2.6 2.6L14 7.4' fill='none' stroke='%231f62b5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }

/* 4. Header & menus -------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 60; height: var(--header-h); transition: background-color .3s var(--ease), box-shadow .3s var(--ease); }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); box-shadow: 0 1px 0 rgba(10, 35, 66, .07); transition: opacity .3s var(--ease); }
.site-header.is-scrolled::before, .site-header.is-open::before, body.menu-open .site-header::before { opacity: 1; }
body.menu-open .site-header::before { background: #fff; box-shadow: 0 1px 0 var(--line); }
.nav { position: relative; display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); height: 100%; }
.nav-logo { display: flex; align-items: center; flex: none; }
.nav-logo img { width: auto; height: 34px; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-trigger, .nav-link {
  display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 12px; border-radius: 8px;
  font-size: 15px; font-weight: 450; color: var(--ink); transition: background-color .15s ease-out, color .15s ease-out;
}
.nav-trigger:hover, .nav-trigger[aria-expanded="true"], .nav-link:hover { background: rgba(10, 35, 66, .055); }
.nav-link[aria-current="page"], .nav-trigger.is-current { color: var(--link); }
.nav-trigger .chev { width: 14px; height: 14px; stroke-width: 1.8; transition: transform .25s var(--ease); }
.nav-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang { display: inline-flex; align-items: center; height: 32px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .72); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 500; }
.lang a, .lang span { display: grid; place-items: center; min-width: 32px; height: 26px; padding: 0 8px; border-radius: 999px; color: var(--ink-3); }
.lang [aria-current] { background: var(--ink); color: #fff; }
.lang [aria-disabled] { cursor: help; }
.nav-burger { display: none; position: relative; width: 40px; height: 40px; border-radius: 8px; }
.nav-burger span { position: absolute; left: 11px; right: 11px; height: 1.6px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-burger span:nth-child(1) { top: 15px; }
.nav-burger span:nth-child(2) { top: 23px; }
body.menu-open .nav-burger span:nth-child(1) { top: 19px; transform: rotate(45deg); }
body.menu-open .nav-burger span:nth-child(2) { top: 19px; transform: rotate(-45deg); }

/* Morphing dropdown (one shared card that resizes and slides between menus) */
.nav-dd { position: absolute; top: calc(100% - 8px); left: 0; width: 600px; height: 300px; pointer-events: none; opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.985); transform-origin: 50% 0; transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s .25s; }
.nav-dd.is-open { pointer-events: auto; opacity: 1; visibility: visible; transform: none; transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s; }
.nav-dd.is-ready { transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s .25s, left .35s var(--ease-quint), width .35s var(--ease-quint), height .35s var(--ease-quint); }
.nav-dd.is-ready.is-open { transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s, left .35s var(--ease-quint), width .35s var(--ease-quint), height .35s var(--ease-quint); }
.nav-dd-card { position: absolute; inset: 0; overflow: hidden; border-radius: 18px; background: #fff; border: 1px solid rgba(10, 35, 66, .09); box-shadow: 0 16px 32px -8px rgba(10, 35, 66, .16), 0 4px 8px -4px rgba(10, 35, 66, .1), 0 0 1px 1px rgba(10, 35, 66, .03); }
.nav-panel { position: absolute; top: 0; left: 0; padding: 14px; opacity: 0; visibility: hidden; transition: opacity .18s var(--ease), transform .35s var(--ease-quint), visibility 0s .35s; }
.nav-panel.is-active { opacity: 1; visibility: visible; transition: opacity .25s .05s var(--ease), transform .35s var(--ease-quint), visibility 0s; }
.nav-panel[data-panel="materials"] { width: 660px; }
.nav-panel[data-panel="approach"] { width: 600px; }
.nav-panel[data-panel="company"] { width: 420px; }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.menu-grid.one { grid-template-columns: 1fr; }
.menu-item { display: flex; gap: 12px; padding: 10px; border-radius: 10px; transition: background-color .15s ease-out; }
.menu-item:hover, .menu-item:focus-visible { background: var(--bg-soft); }
.menu-ico { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--brand-50); color: var(--link); }
.menu-ico .icon { width: 18px; height: 18px; }
.menu-title { display: block; font-size: 14.5px; font-weight: 550; color: var(--ink); line-height: 1.3; }
.menu-desc { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--ink-3); }
.menu-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 8px -14px -14px; padding: 14px 24px; background: var(--bg-soft); border-top: 1px solid var(--line-soft); font-size: 14px; }
.menu-foot .muted { font-size: 13px; }

/* Mobile menu */
.mobile-menu { position: fixed; inset: var(--header-h) 0 0; z-index: 55; overflow-y: auto; padding: 8px var(--pad) 40px; background: #fff; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s .3s; }
body.menu-open { overflow: hidden; }
body.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s; }
.m-group { border-bottom: 1px solid var(--line-soft); }
.m-group > button, .m-group > a { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 16px 2px; font-size: 18px; font-weight: 500; color: var(--ink); }
.m-group > button .chev { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.m-group.is-open > button .chev { transform: rotate(180deg); }
.m-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.m-group.is-open .m-sub { grid-template-rows: 1fr; }
.m-sub > div { overflow: hidden; }
.m-sub a { display: block; padding: 9px 2px; color: var(--ink-2); }
.m-sub a:last-child { margin-bottom: 12px; }
.m-cta { display: grid; gap: 10px; margin-top: 24px; }
.m-cta .btn { width: 100%; }

/* 5. Hero ------------------------------------------------------------------ */
.hero { position: relative; margin-top: calc(var(--header-h) * -1); padding-top: calc(var(--header-h) + clamp(48px, 8.5vw, 116px)); overflow: hidden; overflow: clip; isolation: isolate; }
.hero-canvas { position: absolute; top: 0; right: max(-6vw, -90px); width: min(72vw, 1180px); max-width: none; height: min(900px, 100%); z-index: -1; pointer-events: none; }
.hero-canvas.is-fallback { background: radial-gradient(40% 55% at 55% 45%, rgba(255, 181, 46, .55), transparent 70%), radial-gradient(45% 60% at 75% 60%, rgba(122, 76, 214, .45), transparent 70%), radial-gradient(50% 60% at 90% 70%, rgba(28, 69, 113, .5), transparent 70%); filter: blur(10px); }
.hero-canvas.is-fallback.is-powder { background: radial-gradient(38% 50% at 55% 42%, rgba(120, 118, 112, .35), transparent 70%), radial-gradient(45% 60% at 78% 64%, rgba(60, 56, 49, .32), transparent 70%), radial-gradient(14% 18% at 52% 44%, rgba(255, 150, 60, .25), transparent 70%); }
.hero-inner { position: relative; }
.hero-title { max-width: 780px; }
.hero-title .t-solid { color: var(--ink); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero { padding-bottom: var(--space); }

/* Key figures: a row of four; hovering one lights it up, the others step back */
.figures-title { margin: 0 auto clamp(32px, 4vw, 48px); text-align: center; }
/* the side guides of the white sections start at the top of the key figures row */
.fig-wrap { position: relative; }
.fig-wrap .guides { top: 0; bottom: calc(var(--space) * -1); }
.fig-wrap .guides::before { width: 100%; }
.fig-wrap .fig-row { position: relative; z-index: 1; }
.fig-row { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.fig { position: relative; padding: 30px 18px 28px; text-align: center; transition: opacity .45s var(--ease); isolation: isolate; }
.fig + .fig { box-shadow: -1px 0 0 var(--line-soft); }
/* hairlines that draw in from the centre, top and bottom */
.fig::before, .fig::after { content: ""; position: absolute; left: 6%; right: 6%; height: 1px; background: linear-gradient(90deg, transparent, var(--heat) 26%, #c2479a 54%, #7a4cd6 78%, transparent); transform: scaleX(0); transition: transform .7s var(--ease-quint); }
.fig::before { top: -1px; }
.fig::after { bottom: -1px; }
/* soft furnace glow rising from the bottom of the hovered figure */
.fig-num::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 95% at 50% 115%, rgba(255, 170, 60, .2), rgba(194, 71, 154, .07) 50%, transparent 78%); opacity: 0; transition: opacity .6s var(--ease); pointer-events: none; }
/* the number: ink at rest; on hover a band of heat sweeps through the digits */
.fig-num { display: inline-block; font-size: clamp(30px, 3.2vw, 42px); font-weight: 300; line-height: 1.05; letter-spacing: -.032em; font-variant-numeric: tabular-nums;
  color: var(--ink); background: linear-gradient(90deg, var(--ink) 39.5%, #7a4cd6 45%, #e0559a 50%, #ff8a3d 55%, var(--ink) 60.5%) 100% 0 / 260% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  transition: background-position 1.5s cubic-bezier(.45, .05, .3, 1), transform .5s var(--spring); }
.fig-num small { font-size: .55em; letter-spacing: -.01em; margin-left: 2px; }
.fig-label { display: block; max-width: 220px; margin: 10px auto 0; font-size: 14px; line-height: 1.45; color: var(--ink-3); transition: color .45s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .fig-row:hover .fig { opacity: .45; }
  .fig-row .fig:hover { opacity: 1; }
  .fig:hover::before, .fig:hover::after { transform: scaleX(1); }
  .fig:hover .fig-num::before { opacity: 1; }
  .fig:hover .fig-num { background-position: 0 0; transform: translateY(-3px); }
  .fig:hover .fig-label { color: var(--ink-2); }
}

/* 6. Sections & rows ------------------------------------------------------- */
.section { position: relative; padding-block: var(--space); }
/* Every block of content sits one --space from the next boundary (next section, band edge, sub-nav, CTA line).
   Two white sections in a row share that space instead of doubling it. */
.section:not(.soft):not(.dark) + .section:not(.soft):not(.dark),
.hero + .section:not(.soft):not(.dark) { padding-top: 0; }
.section.soft { background: var(--bg-soft); }
.section > .container { position: relative; z-index: 1; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 18px; }
.equipment { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }

.rows { display: grid; gap: var(--space); margin-top: clamp(40px, 5vw, 64px); }
.row { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(32px, 6vw, 88px); }
.row.reverse { grid-template-columns: 1fr 1.05fr; }
.row.reverse .row-media { order: 2; }
.row-copy .h3 { margin-bottom: 16px; }
.row-copy > p { margin-bottom: 22px; }
.row-copy .checks { margin-bottom: 28px; }
.row-copy .btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* 7. Globe & video --------------------------------------------------------- */
.globe { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1; margin-inline: auto; }
.globe canvas { width: 100%; height: 100%; cursor: grab; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.globe canvas.is-dragging { cursor: grabbing; }
.globe canvas.is-hot { cursor: pointer; }
.globe-tip { position: absolute; left: 0; top: 0; z-index: 2; width: 236px; padding: 14px 16px; border-radius: 12px; background: #fff; box-shadow: var(--sh-pop); pointer-events: none; opacity: 0; transform: translate(-50%, calc(-100% - 18px)) scale(.96); transition: opacity .2s var(--ease), transform .2s var(--ease); }
.globe-tip.is-on { opacity: 1; transform: translate(-50%, calc(-100% - 22px)); }
.globe-tip b { display: block; font-size: 14px; color: var(--ink); }
.globe-tip span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.45; color: var(--ink-3); }
.globe-coords { position: absolute; left: 50%; bottom: 2%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .8); box-shadow: inset 0 0 0 1px var(--line); font: 500 12px/1.2 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .02em; color: var(--ink-3); white-space: nowrap; }
.globe-coords i { width: 6px; height: 6px; border-radius: 50%; background: var(--heat); box-shadow: 0 0 0 3px rgba(242, 102, 28, .18); }
.globe-hint { position: absolute; right: 4%; top: 6%; font-size: 12px; color: var(--ink-3); display: inline-flex; align-items: center; gap: 6px; opacity: .85; }

.video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; background: var(--navy); box-shadow: var(--sh-pop); isolation: isolate; }
.video img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--ease-quint), filter .6s var(--ease); }
.video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 29, 54, 0) 45%, rgba(11, 29, 54, .72)); pointer-events: none; }
.video:hover img { transform: scale(1.06); }
.video-play { position: absolute; left: 50%; top: 50%; z-index: 2; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; transform: translate(-50%, -50%); background: rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); transition: transform .4s var(--spring), background-color .3s var(--ease); }
.video-play::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); animation: ring 2.6s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.video-play svg { width: 26px; height: 26px; margin-left: 4px; fill: #fff; }
.video:hover .video-play { transform: translate(-50%, -50%) scale(1.08); background: rgba(255, 255, 255, .28); }
.video-meta { position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; color: #fff; }
.video-meta b { display: block; color: #fff; font-size: 16px; font-weight: 500; }
.video-meta span { font-size: 13px; opacity: .8; }
.video-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 12px; font-weight: 500; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.video.is-playing::after, .video.is-playing .video-play, .video.is-playing .video-meta { display: none; }

.mission-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 6px 0 30px; }
.mission-points li { position: relative; overflow: hidden; isolation: isolate; padding: 14px 14px 12px; border-radius: 12px; background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line-soft); transition: transform .5s var(--spring), background-color .4s var(--ease), box-shadow .4s var(--ease), opacity .4s var(--ease); }
/* hover: a warm glow rises, a heat line draws in at the bottom and a band of heat sweeps through the word */
.mission-points li::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(95% 120% at 50% 135%, rgba(255, 170, 60, .24), rgba(194, 71, 154, .08) 55%, transparent 80%); opacity: 0; transition: opacity .5s var(--ease); }
.mission-points li::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--heat), #c2479a 55%, #7a4cd6); transform: scaleX(0); transform-origin: left; transition: transform .65s var(--ease-quint); }
.mission-points b { display: inline-block; font-size: 22px; font-weight: 300; letter-spacing: -.03em; line-height: 1.1;
  color: var(--ink); background: linear-gradient(90deg, var(--ink) 39.5%, #7a4cd6 45%, #e0559a 50%, #ff8a3d 55%, var(--ink) 60.5%) 100% 0 / 260% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; transition: background-position 1.5s cubic-bezier(.45, .05, .3, 1); }
.mission-points span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.4; color: var(--ink-3); transition: color .4s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .mission-points:hover li { opacity: .6; }
  .mission-points li:hover { opacity: 1; transform: translateY(-3px); background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 14px 28px -16px rgba(10, 35, 66, .28); }
  .mission-points li:hover::before { opacity: 1; }
  .mission-points li:hover::after { transform: scaleX(1); }
  .mission-points li:hover b { background-position: 0 0; }
  .mission-points li:hover span { color: var(--ink-2); }
}

/* 8. Service cards (Lattice-style lift, spring arrow, live mini-UIs) ------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.l-card { --tint-a: #eaf2ff; --tint-b: #f8fbff; --tint-c: #dbe7fb; --tint-ink: #1f62b5; --tint-fill: #e4edfb;
  position: relative; display: flex; flex-direction: column; padding: 7px; border-radius: var(--r-xl); background: #fff;
  box-shadow: var(--sh-1); transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0); transition: transform .45s var(--ease), box-shadow .45s var(--ease); will-change: transform; }
.l-card:hover { transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(8px); box-shadow: var(--sh-2); }
.l-media { position: relative; aspect-ratio: 5 / 4; overflow: hidden; border-radius: 15px; background: radial-gradient(120% 95% at 50% 0%, var(--tint-a), var(--tint-b) 70%); }
.l-media::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(10, 35, 66, .07) 1px, transparent 1.2px); background-size: 14px 14px; -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, #000, transparent); mask-image: radial-gradient(80% 70% at 50% 40%, #000, transparent); }
.l-body { padding: 18px 16px 16px; }
.l-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.l-title h3 { font-size: 19px; font-weight: 500; letter-spacing: -.015em; color: var(--ink); }
.l-body p { font-size: 15px; line-height: 1.55; }
.l-arrow { position: relative; display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; overflow: hidden; color: var(--ink); transition: background-color .3s var(--ease-quint), color .3s var(--ease-quint), transform .3s var(--ease-back); }
.l-arrow svg { position: absolute; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .8s var(--spring); }
.l-arrow svg + svg { transform: translateX(-30px); }
.l-card:hover .l-arrow { background: var(--tint-fill); color: var(--tint-ink); transform: scale(1.1); }
.l-card:hover .l-arrow svg { transform: translateX(30px); }
.l-card:hover .l-arrow svg + svg { transform: translateX(0); }
.tint-blue   { --tint-a: #e6f0ff; --tint-b: #f7faff; --tint-ink: #1f62b5; --tint-fill: #dfe9fb; }
.tint-amber  { --tint-a: #fff1d6; --tint-b: #fffaf1; --tint-ink: #a2531b; --tint-fill: #ffe9b9; }
.tint-violet { --tint-a: #efe9ff; --tint-b: #fbf9ff; --tint-ink: #5b3db8; --tint-fill: #e7defe; }
.tint-teal   { --tint-a: #e0f6f2; --tint-b: #f6fcfb; --tint-ink: #0f7a68; --tint-fill: #d2f1ea; }
.tint-green  { --tint-a: #e6f6e2; --tint-b: #f7fcf6; --tint-ink: #2e7d32; --tint-fill: #d9f1d3; }
.tint-rose   { --tint-a: #ffe9e3; --tint-b: #fff8f6; --tint-ink: #b23c1e; --tint-fill: #ffdcd1; }

/* Mini UIs inside the cards */
.ui { position: absolute; left: 50%; top: 50%; width: 76%; transform: translate(-50%, -50%); padding: 12px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgba(10, 35, 66, .05), 0 2px 4px rgba(10, 35, 66, .05), 0 12px 28px -10px rgba(10, 35, 66, .22); font-size: 12px; line-height: 1.3; color: var(--ink-2); transition: transform .6s var(--ease-quint); }
.l-card:hover .ui { transform: translate(-50%, calc(-50% - 4px)); }
.ui-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; font-weight: 600; color: var(--ink); font-size: 12px; }
.ui-head em { font-style: normal; font-weight: 600; font-size: 10.5px; padding: 3px 7px; border-radius: 999px; background: var(--tint-fill); color: var(--tint-ink); }
.ui-search { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 9px; margin-bottom: 8px; border-radius: 7px; background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line-soft); color: var(--ink-3); font-size: 11.5px; }
.ui-search .icon { width: 13px; height: 13px; }
.ui-caret { width: 1px; height: 12px; background: var(--link); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.ui-rows { height: 106px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent); }
.ui-rows ul { display: grid; gap: 4px; transition: transform 1.1s var(--spring); }
.l-card:hover .ui-rows ul, .l-card.is-demo .ui-rows ul { transform: translateY(-68px); }
.ui-rows li { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 6px; border-radius: 7px; }
.ui-rows li:nth-child(odd) { background: #fafcfe; }
.ui-rows img { width: 22px; height: 22px; border-radius: 50%; }
.ui-rows span { flex: 1; font-weight: 500; color: var(--ink); font-size: 11.5px; }
.ui-rows em { font-style: normal; font-size: 10px; font-weight: 600; color: #0f7a68; background: #ddf5ef; padding: 2px 6px; border-radius: 999px; }

.ui-products { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 0; padding: 0 6%; }
.ui-products figure { position: relative; flex: 1; display: grid; justify-items: center; gap: 8px; transition: transform .9s var(--spring); }
.ui-products figure:nth-child(2) { transition-delay: .06s; }
.ui-products figure:nth-child(3) { transition-delay: .12s; }
.ui-products img { width: 100%; max-width: 118px; height: 86px; object-fit: contain; filter: drop-shadow(0 12px 12px rgba(80, 45, 10, .22)); }
.ui-products figcaption { padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, .85); box-shadow: 0 0 0 1px rgba(10, 35, 66, .05); font-size: 10.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.l-card:hover .ui-products figure, .l-card.is-demo .ui-products figure { transform: translateY(-8px); }
.l-card:hover .ui-products figure:nth-child(2), .l-card.is-demo .ui-products figure:nth-child(2) { transform: translateY(-14px) scale(1.06); }

.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; height: 30px; padding: 3px; margin-bottom: 10px; border-radius: 9px; background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line-soft); font-size: 11px; font-weight: 600; }
.seg i { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 7px; background: #fff; box-shadow: 0 1px 2px rgba(10, 35, 66, .12), 0 0 0 1px rgba(10, 35, 66, .04); transition: transform .7s var(--spring); }
.seg b { position: relative; display: grid; place-items: center; color: var(--ink); font-weight: 600; transition: color .3s; }
.seg b + b { color: var(--ink-3); }
.l-card:hover .seg i, .l-card.is-demo .seg i { transform: translateX(100%); }
.l-card:hover .seg b, .l-card.is-demo .seg b { color: var(--ink-3); }
.l-card:hover .seg b + b, .l-card.is-demo .seg b + b { color: var(--ink); }
.terms { display: grid; gap: 2px; }
.terms div { display: flex; align-items: center; justify-content: space-between; height: 26px; padding: 0 4px; border-bottom: 1px dashed var(--line-soft); }
.terms div:last-child { border-bottom: 0; }
.terms dt { color: var(--ink-3); font-size: 11px; }
.terms dd { position: relative; height: 14px; overflow: hidden; text-align: right; min-width: 92px; font-weight: 600; color: var(--ink); font-size: 11px; }
.terms dd span { display: block; line-height: 14px; transition: transform .6s var(--spring); }
.l-card:hover .terms dd span, .l-card.is-demo .terms dd span { transform: translateY(-14px); }
.terms dd span.b { color: var(--tint-ink); }

.bars { display: grid; gap: 7px; }
.bars li { display: grid; grid-template-columns: 22px 1fr 34px; align-items: center; gap: 8px; font-size: 11px; }
.bars span { font-weight: 600; color: var(--ink); }
.bars i { position: relative; height: 7px; border-radius: 99px; background: var(--bg-soft); overflow: hidden; }
.bars i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--tint-ink), color-mix(in srgb, var(--tint-ink) 55%, #fff)); transform-origin: 0 50%; transform: scaleX(var(--v)); transition: transform 1s var(--spring); }
.bars li:nth-child(2) i::after { transition-delay: .07s; }
.bars li:nth-child(3) i::after { transition-delay: .14s; }
.bars li:nth-child(4) i::after { transition-delay: .21s; }
.l-card:hover .bars i::after { animation: regrow 1.1s var(--ease-quint) backwards; animation-delay: inherit; }
.bars b { text-align: right; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
@keyframes regrow { from { transform: scaleX(0); } }
.ok-pop { transition: transform .5s var(--ease-back); }
.l-card:hover .ok-pop { transform: scale(1.12); }

.ticks { display: grid; gap: 6px; }
.ticks li { display: flex; align-items: center; gap: 8px; height: 24px; font-weight: 500; color: var(--ink); font-size: 11.5px; }
.ticks svg { width: 16px; height: 16px; flex: none; }
.ticks circle { fill: var(--tint-fill); }
.ticks path { fill: none; stroke: var(--tint-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 12; stroke-dashoffset: 0; }
.l-card:hover .ticks path { animation: tick .5s var(--ease) backwards; }
.l-card:hover .ticks li:nth-child(2) path { animation-delay: .12s; }
.l-card:hover .ticks li:nth-child(3) path { animation-delay: .24s; }
.l-card:hover .ticks li:nth-child(4) path { animation-delay: .36s; }
@keyframes tick { from { stroke-dashoffset: 12; } }
.ui-badge { position: absolute; right: 7%; top: 9%; display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px 5px 6px; border-radius: 999px; background: #fff; box-shadow: 0 6px 16px -6px rgba(10, 35, 66, .25), 0 0 0 1px rgba(10, 35, 66, .05); font-size: 10.5px; font-weight: 600; color: var(--ink); transition: transform .7s var(--spring); }
.ui-badge img { width: 26px; height: auto; }
.l-card:hover .ui-badge { transform: translateY(-4px) rotate(-2deg); }

.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .grid { stroke: var(--line-soft); stroke-width: 1; }
.chart .base { fill: none; stroke: #c3ccd8; stroke-width: 1.6; stroke-dasharray: 3 4; }
.chart .area { fill: url(#chartFill); }
.chart .line { fill: none; stroke: var(--tint-ink); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 0; }
.chart .dot { fill: #fff; stroke: var(--tint-ink); stroke-width: 2; }
.l-card:hover .chart .line { animation: draw 1.2s var(--ease-quint) backwards; }
.l-card:hover .chart .dot { animation: popin .4s 1s var(--ease-back) backwards; }
@keyframes draw { from { stroke-dashoffset: 260; } }
@keyframes popin { from { transform: scale(0); } }
.chart .dot { transform-box: fill-box; transform-origin: center; }
.legend { display: flex; gap: 12px; margin-top: 6px; font-size: 10.5px; color: var(--ink-3); }
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.legend i { width: 10px; height: 2px; border-radius: 2px; background: var(--tint-ink); }
.legend i.dash { background: repeating-linear-gradient(90deg, #c3ccd8 0 3px, transparent 3px 6px); }

/* 9. Plants ---------------------------------------------------------------- */
.plants { display: grid; grid-template-columns: 1fr 1.25fr; gap: 20px; align-items: stretch; }
.plants-side { display: grid; gap: 14px; align-content: start; }
.plant { display: flex; gap: 14px; width: 100%; padding: 18px; text-align: left; border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-1); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.plant:hover { box-shadow: var(--sh-2); }
.plant[aria-pressed="true"] { box-shadow: 0 0 0 1.5px var(--link), var(--sh-2); }
.plant-ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 11px; background: var(--brand-50); color: var(--link); font-weight: 600; font-size: 15px; }
.plant[aria-pressed="true"] .plant-ico { background: var(--brand); color: #fff; }
.plant b { display: block; color: var(--ink); font-weight: 600; }
.plant address { font-style: normal; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.plant .link-arrow { margin-top: 6px; font-size: 14px; }
.info-card { padding: 20px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-1); }
.info-list { display: grid; gap: 12px; }
.info-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.info-list .icon { color: var(--link); }
.info-list a:hover { color: var(--link); }
.hours { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours td { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.hours tr:last-child td { border-bottom: 0; }
.hours td:last-child { text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }
.hours tr.is-today td { color: var(--ink); font-weight: 600; }
.open-state { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--bg-soft); color: var(--ink-3); }
.open-state i { width: 7px; height: 7px; border-radius: 50%; background: #9aa7b8; }
.open-state.is-open { background: #e3f6ec; color: #136c3f; }
.open-state.is-open i { background: #1fa463; box-shadow: 0 0 0 3px rgba(31, 164, 99, .18); }
.map { position: relative; min-height: 460px; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-soft); box-shadow: var(--sh-2); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85) contrast(1.02); }
.map-label { position: absolute; right: 14px; top: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: #fff; box-shadow: var(--sh-1); font-size: 13px; font-weight: 600; color: var(--ink); }

/* 10. CTA band & footer ---------------------------------------------------- */
.cta-band { position: relative; padding-block: var(--space); border-top: 1px solid var(--line-soft); }
.cta-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.cta-grid .h2 { margin-bottom: 16px; }
.cta-grid .btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta-links { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.cta-links .menu-ico { margin-bottom: 14px; }
.cta-links h3 { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.cta-links p { font-size: 15px; margin-bottom: 10px; }
.site-footer { position: relative; padding: var(--space) 0 32px; background: var(--bg-soft); border-top: 1px solid var(--line-soft); font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) 1.25fr; gap: 32px; }
.footer-brand img.logo { width: 196px; height: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 280px; font-size: 14px; line-height: 1.55; }
.chwmeg { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding: 8px 14px 8px 8px; border-radius: 12px; background: #fff; box-shadow: var(--sh-1); }
.chwmeg img { width: 58px; height: auto; }
.chwmeg span { font-size: 12.5px; line-height: 1.35; color: var(--ink-2); }
.chwmeg b { display: block; font-size: 13px; }
.footer-col h4 { margin-bottom: 14px; font-size: 14px; font-weight: 600; color: var(--ink); }
.footer-col li + li { margin-top: 9px; }
.footer-col a { color: var(--ink-2); transition: color .15s; }
.footer-col a:hover { color: var(--link); }
.footer-col address { font-style: normal; line-height: 1.5; }
.footer-col address + address { margin-top: 12px; }
.footer-col address b { display: block; font-size: 13px; font-weight: 600; color: var(--ink); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: clamp(40px, 5vw, 64px); padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-3); }

/* 11. Sub-page heroes ------------------------------------------------------ */
.page-hero { position: relative; margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 var(--space); overflow: hidden; overflow: clip; isolation: isolate; }
.page-hero .hero-canvas { height: min(640px, 100%); width: min(64vw, 1040px); }
.page-hero .display { max-width: 760px; }
.page-hero .lead { max-width: 620px; margin-top: 22px; }
.page-hero .hero-ctas { margin-top: 30px; }
.crumbs { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 14px; color: var(--ink-3); }
.crumbs a:hover { color: var(--link); }
.subnav { position: sticky; top: var(--header-h); z-index: 20; border-block: 1px solid var(--line-soft); background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); }
.subnav ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-block: 8px; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: background-color .15s, color .15s; }
.subnav a:hover { background: var(--bg-soft); color: var(--ink); }
.subnav a.is-active { background: var(--brand-50); color: var(--link); }

/* 12. Materials ------------------------------------------------------------ */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; color: var(--ink-2); transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease); }
.filter:hover { box-shadow: inset 0 0 0 1px #c9d4e2; color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.filter .n { font-size: 12px; opacity: .6; font-variant-numeric: tabular-nums; }
.m-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.m-card { position: relative; display: flex; flex-direction: column; padding: 6px; border-radius: 18px; background: #fff; box-shadow: var(--sh-1); transition: box-shadow .35s var(--ease), transform .35s var(--ease), opacity .35s var(--ease); }
.m-card:hover { box-shadow: var(--sh-2); transform: translateY(-3px); }
.m-card.is-hidden { display: none; }
.m-img { position: relative; aspect-ratio: 1; border-radius: 13px; overflow: hidden; background: radial-gradient(75% 75% at 50% 40%, #fff, #eef2f7); }
.m-img img { width: 100%; height: 100%; object-fit: contain; padding: 9%; transition: transform .9s var(--ease-quint); filter: drop-shadow(0 14px 16px rgba(10, 35, 66, .16)); }
.m-card:hover .m-img img { transform: scale(1.06) rotate(6deg); }
.m-body { padding: 14px 12px 12px; }
.m-tag { display: inline-block; margin-bottom: 8px; padding: 2px 8px; border-radius: 999px; background: var(--brand-50); color: var(--link); font-size: 11.5px; font-weight: 600; letter-spacing: .01em; }
.m-body h3 { font-size: 17px; font-weight: 550; letter-spacing: -.01em; color: var(--ink); }
.m-body p { margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.m-card.cta-card { justify-content: space-between; padding: 22px; background: linear-gradient(160deg, var(--brand) 0%, #0f2b4c 100%); color: rgba(255, 255, 255, .78); }
.m-card.cta-card h3 { color: #fff; font-size: 21px; font-weight: 400; letter-spacing: -.02em; margin: 12px 0 10px; }
.m-card.cta-card .menu-ico { background: rgba(255, 255, 255, .12); color: #fff; }
.m-card.cta-card .link-arrow { color: #fff; margin-top: 18px; }

.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.p-card { position: relative; display: flex; flex-direction: column; border-radius: var(--r-xl); overflow: hidden; background: #fff; box-shadow: var(--sh-1); transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.p-card:hover { box-shadow: var(--sh-2); transform: translateY(-4px); }
.p-img { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; background: radial-gradient(90% 90% at 50% 100%, #ffd9a6 0%, #fff1de 45%, #fbf7f2 100%); }
.p-card:nth-child(2) .p-img { background: radial-gradient(90% 90% at 50% 100%, #d6e3f7 0%, #eef3fb 45%, #f7f9fc 100%); }
.p-card:nth-child(3) .p-img { background: radial-gradient(90% 90% at 50% 100%, #e3dcf7 0%, #f3effc 45%, #f9f8fd 100%); }
.p-img img { width: 78%; height: 78%; object-fit: contain; filter: drop-shadow(0 22px 22px rgba(40, 25, 10, .25)); transition: transform 1s var(--ease-quint); }
.p-card:hover .p-img img { transform: translateY(-6px) scale(1.04); }
.p-body { padding: 22px 22px 24px; }
.p-body h3 { margin-bottom: 8px; font-size: 21px; font-weight: 500; letter-spacing: -.015em; color: var(--ink); }
.p-body p { font-size: 15px; }
.p-body ul { margin-top: 14px; font-size: 14.5px; }

/* 13. Approach ------------------------------------------------------------- */
.models { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.model { position: relative; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-xl); background: #fff; box-shadow: var(--sh-2); overflow: hidden; }
.model::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--gold), var(--heat), #8a4fd6); }
.model.toll::before { background: linear-gradient(90deg, #8a4fd6, #2f6fe0, var(--brand)); }
.model-tag { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 4px 10px; border-radius: 999px; background: var(--bg-soft); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.model .h3 { margin-bottom: 12px; }
.model > p { margin-bottom: 20px; }
.model .checks { margin-bottom: 22px; }
.model-foot { padding: 16px 18px; border-radius: 12px; background: var(--bg-soft); font-size: 14.5px; }
.model-foot b { display: block; margin-bottom: 4px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); font-weight: 600; }

.flow { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 12px; }
.flow-line { position: absolute; left: 10%; right: 10%; top: 31px; height: 2px; background: linear-gradient(90deg, #c7d1df, #c7d1df) center / 100% 2px no-repeat; overflow: hidden; }
.flow-line::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 22px, var(--heat) 22px 30px, transparent 30px 60px); animation: flow 2.4s linear infinite; opacity: .9; }
@keyframes flow { to { transform: translateX(60px); } }
.flow-step { position: relative; text-align: center; padding: 0 6px; }
.flow-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 18px; background: #fff; box-shadow: var(--sh-2); color: var(--link); }
.flow-dot .icon { width: 26px; height: 26px; }
.flow-step:nth-child(4) .flow-dot { background: linear-gradient(150deg, #ffcf6b, var(--heat)); color: #fff; }
.flow-step h3 { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.flow-step p { font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(48px, 6vw, 72px); }
.benefit { padding: clamp(22px, 3vw, 32px); border-radius: var(--r-xl); background: #fff; box-shadow: var(--sh-1); }
.benefit .menu-ico { margin-bottom: 16px; width: 42px; height: 42px; border-radius: 12px; }
.benefit .h4 { margin-bottom: 14px; }

.timeline { position: relative; display: grid; gap: 0; max-width: 820px; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.timeline-fill { position: absolute; left: 21px; top: 10px; width: 2px; height: calc(var(--p, 0) * (100% - 20px)); background: linear-gradient(var(--gold), var(--heat), #8a4fd6, var(--link)); border-radius: 2px; }
.t-step { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 10px 0 22px; }
.t-num { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); font-size: 14px; font-weight: 600; color: var(--ink-3); transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease); }
.t-step.is-lit .t-num { background: var(--ink); color: #fff; box-shadow: 0 0 0 5px rgba(31, 98, 181, .12); }
.t-step.is-key .t-num { background: linear-gradient(150deg, #ffcf6b, var(--heat)); color: #fff; box-shadow: 0 0 0 5px rgba(242, 102, 28, .14); }
.t-step h3 { padding-top: 9px; font-size: 17px; font-weight: 600; color: var(--ink); }
.t-step p { margin-top: 4px; font-size: 15px; }
.t-step .tag { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: #fff1e6; color: #b04a12; font-size: 12px; font-weight: 600; vertical-align: 2px; }

.dark { position: relative; background: var(--navy); color: rgba(255, 255, 255, .72); overflow: hidden; isolation: isolate; }
.dark::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 70%; height: 140%; z-index: -1; background: radial-gradient(closest-side, rgba(242, 102, 28, .22), transparent), radial-gradient(closest-side at 70% 60%, rgba(138, 79, 214, .25), transparent); filter: blur(20px); }
.dark .h2, .dark .h3, .dark .display, .dark strong, .dark b { color: #fff; }
.dark .t-soft { color: rgba(255, 255, 255, .55); }
.dark .eyebrow { color: #ffb36b; }
.dark .guides::before { border-color: rgba(255, 255, 255, .07); }
.env-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 48px; border-block: 1px solid rgba(255, 255, 255, .12); }
.env-stats div { padding: 26px 22px; border-left: 1px solid rgba(255, 255, 255, .12); }
.env-stats div:first-child { border-left: 0; padding-left: 0; }
.env-stats b { display: block; font-size: clamp(30px, 3.2vw, 42px); font-weight: 300; letter-spacing: -.035em; line-height: 1; color: #fff; }
.env-stats span { display: block; margin-top: 10px; font-size: 14px; line-height: 1.45; }
.env-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; margin-top: 48px; }
.env-grid .checks li::before { background-color: rgba(255, 255, 255, .1); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.4l2.6 2.6L14 7.4' fill='none' stroke='%23ffb36b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.env-badge { display: flex; align-items: center; gap: 18px; padding: 20px; border-radius: var(--r-lg); background: #fff; color: var(--ink-2); }
.env-badge img { width: 96px; height: auto; flex: none; }
.env-badge b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }
.env-badge p { font-size: 14px; line-height: 1.5; }

.team { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; }
.person { padding: 26px; border-radius: var(--r-xl); background: #fff; box-shadow: var(--sh-1); }
.avatar { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 50%; background: linear-gradient(140deg, #2f6fe0, var(--brand)); color: #fff; font-weight: 600; font-size: 18px; letter-spacing: .02em; }
.person:nth-child(1) .avatar { background: linear-gradient(140deg, #ffb52e, var(--heat)); }
.person h3 { font-size: 19px; font-weight: 550; color: var(--ink); }
.person .role { margin: 2px 0 14px; font-size: 14px; color: var(--link); font-weight: 500; }
.person ul { display: flex; flex-wrap: wrap; gap: 6px; }
.person li { padding: 4px 10px; border-radius: 999px; background: var(--bg-soft); font-size: 13px; color: var(--ink-2); }
.crew { display: flex; flex-direction: column; justify-content: space-between; padding: 26px; border-radius: var(--r-xl); background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line-soft); }
.crew b { display: block; font-size: 56px; font-weight: 300; letter-spacing: -.04em; line-height: 1; color: var(--ink); }
.crew span { font-size: 15px; }

/* 14. Contact -------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-side .display { font-size: clamp(36px, 4.4vw, 52px); }
.contact-side .lead { margin-top: 18px; }
.why { display: grid; gap: 18px; margin: 36px 0; }
.why li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.why .menu-ico { width: 40px; height: 40px; border-radius: 11px; }
.why b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.why span { font-size: 15px; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-card { position: relative; padding: clamp(22px, 3vw, 36px); border-radius: var(--r-xl); background: #fff; box-shadow: var(--sh-2); }
.form-card .h3 { margin-bottom: 6px; }
.form-card > p { margin-bottom: 24px; font-size: 15px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; color: var(--ink); }
.field label i { font-style: normal; color: var(--heat); }
.field input, .field select, .field textarea {
  width: 100%; height: 44px; padding: 0 13px; border: 0; border-radius: 9px; background: #fff; color: var(--ink); font: inherit; font-size: 15px;
  box-shadow: inset 0 0 0 1px #d6dfea, 0 1px 2px rgba(10, 35, 66, .04); transition: box-shadow .2s var(--ease); -webkit-appearance: none; appearance: none;
}
.field textarea { height: auto; min-height: 120px; padding: 11px 13px; resize: vertical; line-height: 1.5; }
.field select { padding-right: 36px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 8l4 4 4-4' fill='none' stroke='%236b7c95' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 10px center / 18px no-repeat; }
.field input:hover, .field select:hover, .field textarea:hover { box-shadow: inset 0 0 0 1px #b9c6d6, 0 1px 2px rgba(10, 35, 66, .04); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; box-shadow: inset 0 0 0 1.5px var(--link), 0 0 0 4px rgba(31, 98, 181, .12); }
.field .hint { font-size: 12.5px; color: var(--ink-3); }
.field.has-error input, .field.has-error select, .field.has-error textarea { box-shadow: inset 0 0 0 1.5px #d64545, 0 0 0 4px rgba(214, 69, 69, .1); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.form-foot .small { max-width: 300px; color: var(--ink-3); }
.form-status { margin-top: 16px; padding: 12px 14px; border-radius: 10px; font-size: 14.5px; display: none; }
.form-status.is-info { display: block; background: #fff6e8; color: #8a4b10; }
.form-status.is-error { display: block; background: #fdecec; color: #a12b2b; }
.form-done { display: none; text-align: center; padding: 40px 10px; }
.form-card.is-sent form { display: none; }
.form-card.is-sent .form-done { display: block; }
.done-check { width: 72px; height: 72px; margin: 0 auto 18px; }
.done-check circle { fill: #e3f6ec; }
.done-check path { fill: none; stroke: #1fa463; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; animation: tick .6s .2s var(--ease) backwards; }
.btn.is-loading { pointer-events: none; opacity: .8; }
.btn.is-loading::after { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 14b. Page additions ------------------------------------------------------- */
html:has(.subnav) { scroll-padding-top: calc(var(--header-h) + 76px); }
.page-hero .crumbs svg { width: 14px; height: 14px; transform: rotate(-90deg); opacity: .6; }
.note { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px; margin-top: 36px; font-size: 15px; color: var(--ink-3); text-align: center; }
/* materials: how we evaluate */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px 26px 30px; border-radius: var(--r-xl); background: #fff; box-shadow: var(--sh-1); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; margin-bottom: 22px; font-size: 14px; font-weight: 600; letter-spacing: .04em; color: var(--link); font-variant-numeric: tabular-nums; }
.step .menu-ico { position: absolute; right: 22px; top: 22px; }
.step h3 { margin-bottom: 8px; font-size: 19px; font-weight: 550; letter-spacing: -.01em; color: var(--ink); }
.step p { font-size: 15px; }
/* approach: examples in the toll model, sticky intro next to the timeline */
.model-foot ul { display: grid; gap: 8px; margin-top: 8px; }
.model-foot li { position: relative; padding-left: 16px; line-height: 1.5; }
.model-foot li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--heat); }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split .sticky { position: sticky; top: calc(var(--header-h) + 96px); }
.split .section-head { margin-bottom: 28px; }
.env-badge a { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 500; color: var(--link); }
/* contact: intro, form and details placed by grid areas so the form comes second on phones */
.contact { grid-template-areas: "intro form" "more form"; grid-template-rows: auto 1fr; }
.form-card form > .h3 { margin-bottom: 6px; }
.form-card form > p:first-of-type { margin-bottom: 24px; font-size: 15px; }
.contact-intro { grid-area: intro; }
.contact-more { grid-area: more; }
.contact .form-card { grid-area: form; }
.contact-hero { padding-bottom: var(--space); }
.contact-hero .hero-canvas { opacity: .9; }
.contact-cards .info-card h3 { margin-bottom: 12px; font-size: 14px; font-weight: 600; color: var(--ink); }
.contact-cards address { font-style: normal; font-size: 14.5px; line-height: 1.5; }
.contact-cards address + address { margin-top: 10px; }
.contact-cards .info-list li { font-size: 14.5px; }
.form-done h3 { margin-bottom: 8px; }
@media (min-width: 981px) and (max-width: 1320px) {
  .hero-title { max-width: 640px; }
  .hero-canvas { right: -10vw; }
}
@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split .sticky { position: static; }
  .contact { grid-template-areas: "intro" "form" "more"; }
}

/* 404 page */
.nf-hero { min-height: min(86vh, 760px); }
.nf-more { margin-top: 28px; font-size: 15px; color: var(--ink-3); }
.nf-more a { color: var(--link); font-weight: 500; }
.nf-more a:hover { color: var(--brand); }

/* 15. Motion helpers ------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* 16. Responsive ----------------------------------------------------------- */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .m-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .nav-menu, .nav-actions .btn, .nav-actions .lang, .nav-dd { display: none; }
  .nav-burger { display: block; }
  .row, .row.reverse { grid-template-columns: 1fr; }
  .row.reverse .row-media { order: 0; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .plants { grid-template-columns: 1fr; }
  .map { min-height: 360px; }
  .cta-grid, .contact, .env-grid { grid-template-columns: 1fr; }
  .env-stats { grid-template-columns: repeat(2, 1fr); }
  .env-stats div:nth-child(3) { border-left: 0; padding-left: 0; }
  .env-stats div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .fig-row { grid-template-columns: repeat(2, 1fr); }
  .fig:nth-child(3) { box-shadow: none; }
  .fig:nth-child(n + 3) { border-top: 1px solid var(--line-soft); }
  .env-stats div:nth-child(n + 3) { border-top-color: rgba(255, 255, 255, .12); }
  .flow { grid-template-columns: 1fr; gap: 22px; }
  .flow-line { left: 31px; right: auto; top: 30px; bottom: 30px; width: 2px; height: auto; }
  .flow-line::after { background: repeating-linear-gradient(180deg, transparent 0 22px, var(--heat) 22px 30px, transparent 30px 60px); animation-name: flow-v; }
  @keyframes flow-v { to { transform: translateY(60px); } }
  .flow-step { display: grid; grid-template-columns: 64px 1fr; gap: 18px; text-align: left; align-items: center; }
  .flow-dot { margin: 0; }
  .models, .benefits, .products { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; }
  .crew { flex-direction: row; align-items: center; gap: 20px; }
  .hero { padding-top: calc(var(--header-h) + 150px); }
  .hero-canvas { top: -30px; height: 640px; width: 96vw; right: -24vw; -webkit-mask-image: linear-gradient(#000 45%, rgba(0, 0, 0, .25) 80%, transparent); mask-image: linear-gradient(#000 45%, rgba(0, 0, 0, .25) 80%, transparent); }
  .page-hero .hero-canvas { top: -20px; height: 520px; width: 96vw; right: -40vw; opacity: .7; -webkit-mask-image: linear-gradient(#000 35%, transparent 85%); mask-image: linear-gradient(#000 35%, transparent 85%); }
}
@media (max-width: 760px) {
  :root { --header-h: 62px; }
  .nav-logo img { height: 30px; }
  .cards, .team { grid-template-columns: 1fr; }
  .m-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .m-body h3 { font-size: 15.5px; }
  .m-body p { font-size: 13px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mission-points { grid-template-columns: 1fr; }
  .cta-links, .contact-cards, .form-grid { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--header-h) + 128px); }
  .hero-canvas { top: -36px; height: 560px; width: 118vw; right: -36vw; -webkit-mask-image: linear-gradient(#000 40%, rgba(0, 0, 0, .22) 78%, transparent); mask-image: linear-gradient(#000 40%, rgba(0, 0, 0, .22) 78%, transparent); }
  .page-hero { padding-top: calc(var(--header-h) + 92px); }
  .page-hero .hero-canvas { top: -40px; height: 420px; width: 104vw; right: -28vw; opacity: .8; -webkit-mask-image: linear-gradient(#000 40%, transparent 80%); mask-image: linear-gradient(#000 40%, transparent 80%); }
  .hero-title { max-width: none; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .fig { padding: 22px 10px 22px; }
  .fig-label { font-size: 13px; }
  .globe-hint { display: none; }
  .video { aspect-ratio: 4 / 3; }
  .video-play { top: 42%; width: 64px; height: 64px; }
  .video-meta { left: 16px; right: 16px; bottom: 14px; }
}
@media (max-width: 480px) {
  .hero .display { font-size: 33px; line-height: 1.12; }
}
@media (max-width: 420px) {
  .m-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
