/* ============================================================
   TECHMARK J — shared system (all three directions)
   Tier 1 literal → Tier 2 semantic → Tier 3 UI. Components use tier 3/2.
   Type ratio 1.250 major third (immersive consumer home; the brand kit's
   1.200 stays for document pages like corporate/marketplace tables).
   Radii: 0 · 6px · pill. Zero drop shadows — depth from contrast.
   ============================================================ */
:root {
  color-scheme: dark;
  /* ---- tier 1 ---- */
  --navy-990: #050a14;
  --navy-950: #070d1a;
  --navy-900: #0d162c;
  --navy-850: #121e3b;
  --navy-800: #182750;
  --navy-700: #22376c;   /* brand navy */
  --navy-500: #4f6396;
  --steel-400: #8d99b5;
  --steel-300: #b4bfd6;
  --steel-200: #d3daea;
  --steel-100: #e9edf5;
  --paper: #f5f6fa;      /* brand body bg */
  --white: #ffffff;
  --ink: #0d1730;
  --ink-2: #44506e;
  --blue-600: #003f93;
  --blue-500: #004db2;   /* brand blue — the one accent that does work */
  --blue-300: #8ab8ff;
  --ice: #9ad6ff;
  --amber: #f4b942;      /* brand amber — heat state only, never a button */
  --copper: #c4733f;
  --danger: #c2412f;
  --success: #2f8a5b;

  --text-xs: 0.75rem;   --text-sm: 0.875rem; --text-base: 1rem;
  --text-lg: 1.25rem;   --text-xl: 1.563rem; --text-2xl: 1.953rem;
  --text-3xl: 2.441rem; --text-4xl: 3.052rem; --text-5xl: 3.815rem;
  --text-hero: clamp(2.75rem, 1.4rem + 6vw, 6.4rem);
  --text-mega: clamp(3rem, 1rem + 9vw, 9.5rem);

  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
  --space-12: 3rem; --space-16: 4rem; --space-20: 5rem; --space-24: 6rem;
  --space-32: 8rem; --space-40: 10rem;

  --radius-0: 0; --radius-sm: 6px; --radius-pill: 999px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur-fast: 150ms; --dur: 260ms; --dur-slow: 480ms;

  /* ---- tier 2 (default = dark scene surface) ---- */
  --font-display: "Instrument Sans", sans-serif;
  --font-body: "Hanken Grotesk", sans-serif;
  --bg: var(--navy-950);
  --fg: var(--steel-100);
  --fg-muted: var(--steel-300);
  --line: color-mix(in oklab, var(--steel-300) 22%, transparent);
  --accent: var(--blue-500);
  --accent-text: var(--blue-300);
  --on-accent: var(--white);
  --cold: var(--ice);
  --heat: var(--amber);

  /* ---- tier 3 ---- */
  --gutter: clamp(var(--space-4), 5vw, var(--space-16));
  --container: 1320px;
  --measure: 62ch;
  --tap: 44px;
  --cta-h: 52px;
  --gap-in: var(--space-3);   /* inside a group */
  --gap-out: var(--space-8);  /* between groups (≥2:1, proximity) */
  --sec-tight: clamp(var(--space-16), 8vw, var(--space-24));
  --sec: clamp(var(--space-20), 11vw, var(--space-32));
  --sec-wide: clamp(var(--space-24), 15vw, var(--space-40));
  --focus: 2px solid var(--accent-text);
  accent-color: var(--blue-500);
}

/* light paper surface — any section can opt in */
.surf-paper .needs, .surf-white .needs { color: #9a2b1b; background: color-mix(in oklab, #9a2b1b 10%, transparent); }
.surf-paper, .surf-white {
  color-scheme: light;
  --bg: var(--paper); --fg: var(--ink); --fg-muted: var(--ink-2);
  --line: color-mix(in oklab, var(--ink) 14%, transparent);
  --accent-text: var(--blue-500); --focus: 2px solid var(--blue-500);
  background: var(--bg); color: var(--fg);
}
.surf-white { --bg: var(--white); }
.surf-night, .surf-deep {
  color-scheme: dark; --fg: var(--steel-100); --fg-muted: var(--steel-300);
  --line: color-mix(in oklab, var(--steel-300) 22%, transparent); --accent-text: var(--blue-300); --focus: 2px solid var(--blue-300);
  background: var(--bg); color: var(--fg);
}
.surf-night { --bg: var(--navy-950); }
.surf-deep  { --bg: var(--navy-900); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 var(--text-base)/1.6 var(--font-body);
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--blue-500); color: var(--white); }
:where(a, button, summary, [tabindex], input, select, textarea):focus-visible { outline: var(--focus); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; text-wrap: balance; font-weight: 600; }
p { margin: 0; text-wrap: pretty; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--white); color: var(--ink); padding: var(--space-3) var(--space-4); }
.skip:focus { left: 8px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.eyebrow {
  font: 600 var(--text-xs)/1.33 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--fg-muted); display: inline-flex; align-items: center; gap: var(--space-3);
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--amber); }
.lede { font-size: var(--text-lg); line-height: 1.6; color: var(--fg-muted); max-width: 52ch; }
.mono { font-variant-numeric: tabular-nums; }
.needs { font: 600 var(--text-xs)/1.4 var(--font-body); color: #ff9c88; background: color-mix(in oklab, #ff9c88 12%, transparent); padding: 2px 6px; border-radius: var(--radius-sm); letter-spacing: .02em; }
.listed { font-size: var(--text-xs); color: var(--fg-muted); letter-spacing: .04em; }

/* ---------- buttons (one style per function) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: var(--cta-h); padding: 0 var(--space-6); border-radius: var(--radius-pill);
  font: 600 var(--text-base)/1 var(--font-body); text-decoration: none; cursor: pointer; border: 0;
  background: var(--blue-500); color: var(--white);
  transition: background-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.btn:hover { background: var(--blue-600); }
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; transition: transform var(--dur) var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.link {
  display: inline-flex; align-items: center; min-height: var(--tap); gap: var(--space-2);
  font-weight: 600; color: var(--fg); text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: 6px; text-decoration-color: color-mix(in oklab, currentColor 40%, transparent);
  transition: text-decoration-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.link:hover { text-decoration-color: currentColor; color: var(--accent-text); }

/* ---------- nav (Jakob: logo left, 6 items, CTA right) ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: var(--space-6);
  padding: var(--space-3) var(--gutter); color: var(--fg);
}
.nav .logo { display: flex; align-items: center; min-height: var(--tap); }
.nav .logo img { width: 150px; height: auto; }
.nav ul { display: flex; gap: var(--space-1); list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav ul a {
  display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 var(--space-3);
  font: 500 var(--text-sm)/1 var(--font-body); text-decoration: none; color: var(--fg-muted);
  border-bottom: 1px solid transparent; transition: color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.nav ul a:hover { color: var(--fg); }
.nav ul a[aria-current="page"] { color: var(--fg); border-bottom-color: var(--amber); }
.nav .btn { min-height: var(--tap); padding: 0 var(--space-5); font-size: var(--text-sm); }
.mnav { display: none; margin-left: auto; }
.mnav summary {
  list-style: none; min-height: var(--tap); min-width: var(--tap); display: grid; place-items: center;
  padding: 0 var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-pill);
  font: 600 var(--text-sm)/1 var(--font-body); cursor: pointer;
}
.mnav summary::-webkit-details-marker { display: none; }
.mnav[open] .mnav-panel { display: grid; }
.mnav-panel {
  position: fixed; inset: 64px var(--space-4) auto; display: none; gap: var(--space-1);
  background: var(--navy-900); color: var(--steel-100); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: var(--space-3);
}
.mnav-panel a { display: flex; align-items: center; min-height: 48px; padding: 0 var(--space-3); text-decoration: none; }
.mnav-panel .btn { margin-top: var(--space-2); }
@media (max-width: 960px) { .nav ul, .nav > .btn { display: none; } .mnav { display: block; } }

/* ---------- range cards (common region only for peer objects) ---------- */
.range-group { display: grid; gap: var(--gap-in); }
.range-group + .range-group { margin-top: var(--space-16); }
.range-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); padding-bottom: var(--space-4); border-bottom: 1px solid var(--line); margin-bottom: var(--space-4); }
.range-head h3 { font-size: var(--text-2xl); letter-spacing: -.02em; }
.cards { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr 1fr; gap: var(--space-3); } .card { min-height: 0; padding: var(--space-4); } .card .tag { top: var(--space-3); right: var(--space-3); } }
.card {
  position: relative; display: grid; grid-template-rows: auto 1fr; gap: var(--space-3);
  padding: var(--space-5); border-radius: var(--radius-sm); text-decoration: none; color: inherit;
  background: color-mix(in oklab, var(--fg) 4%, var(--bg)); border: 1px solid var(--line);
  transition: border-color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
  min-height: 300px;
}
.card:hover { border-color: color-mix(in oklab, var(--fg) 40%, transparent); }
.card .ph { aspect-ratio: 4 / 3; position: relative; }
.card .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform var(--dur-slow) var(--ease-out); }
.card:hover .ph img { transform: translateY(-4px) scale(1.03); }
.card h4 { font-size: var(--text-lg); letter-spacing: -.01em; }
.card p { font-size: var(--text-sm); color: var(--fg-muted); }
.card .tag { position: absolute; top: var(--space-4); right: var(--space-4); font: 600 var(--text-xs)/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-muted); }
.card .tag.hot::before, .card .tag.cold::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }
.card .tag.hot::before { background: var(--amber); }
.card .tag.cold::before { background: var(--ice); }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  font: 600 var(--text-lg)/1.3 var(--font-display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.6rem/1 var(--font-body); transition: transform var(--dur) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 var(--space-6); color: var(--fg-muted); max-width: var(--measure); }

/* ---------- business / entities ---------- */
.entities { display: grid; gap: var(--space-8); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.entity h4 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.entity p, .entity a { font-size: var(--text-sm); color: var(--fg-muted); }
.partners { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); font: 600 var(--text-sm)/1.6 var(--font-display); color: var(--fg-muted); }

/* ---------- footer of substance ---------- */
.foot { padding: var(--space-20) 0 var(--space-8); background: var(--navy-990); color: var(--steel-200); --fg-muted: var(--steel-300); --line: color-mix(in oklab, var(--steel-300) 18%, transparent); }
.foot-grid { display: grid; gap: var(--space-10); grid-template-columns: 1.3fr 1fr 1fr 1fr; }
.foot h4 { font: 600 var(--text-xs)/1.4 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--steel-300); margin-bottom: var(--space-4); }
.foot p, .foot li { font-size: var(--text-sm); color: var(--steel-300); line-height: 1.7; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot a { color: var(--steel-100); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.foot a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot .fine { margin-top: var(--space-16); padding-top: var(--space-6); border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; font-size: var(--text-xs); color: var(--steel-400); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* sticky mobile CTA (Fitts: thumb reach) */
.thumb-cta { display: none; }
.thumb-cta[hidden] { display: none !important; }
@media (max-width: 760px) {
  .thumb-cta { display: flex; position: fixed; left: var(--space-4); right: var(--space-4); bottom: var(--space-4); z-index: 40; transform: translateY(140%); transition: transform var(--dur-slow) var(--ease-out); }
  .thumb-cta.on { transform: none; }
  .thumb-cta .btn { width: 100%; }
}

/* no-WebGL / no-JS still frame */
.gl-fallback { display: none; }
.no-gl .gl-fallback { display: block; }

@media (prefers-reduced-motion: reduce) {
  .btn, .btn svg, .card, .link, .faq summary::after { transition-duration: 1ms; }
}

/* ---------- shared section layouts (direction CSS adds flavour) ---------- */
.row-cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-6); margin-top: var(--space-8); }
.fridges { padding-block: var(--sec); }
.fridges-grid { display: grid; gap: var(--space-12); grid-template-columns: 1.1fr .9fr; align-items: center; }
.fridges h2 { font-size: var(--text-mega); line-height: .95; letter-spacing: -.04em; margin: var(--space-4) 0 var(--space-6); }
.series { list-style: none; margin: var(--space-10) 0 0; padding: 0; display: grid; }
.series li { display: grid; grid-template-columns: 96px 1fr auto; gap: var(--space-5); align-items: center; padding: var(--space-4) 0; border-top: 1px solid var(--line); transition: opacity var(--dur) var(--ease-out), filter var(--dur) var(--ease-out); }
.series li:last-child { border-bottom: 1px solid var(--line); }
.series img { width: 96px; height: 64px; object-fit: contain; }
.series h3 { font-size: var(--text-xl); letter-spacing: -.02em; }
.series p { font-size: var(--text-sm); color: var(--fg-muted); }
.series .mono { font-weight: 600; white-space: nowrap; }
.fridges-photo { margin: 0; }
.frost-pane { position: relative; aspect-ratio: 4 / 5; display: grid; place-items: center; background: var(--steel-100); border-radius: var(--radius-sm); overflow: hidden; touch-action: pan-y; }
.frost-pane img { width: 78%; height: auto; }
.fridges-photo figcaption { margin-top: var(--space-3); }
.range { padding-block: var(--sec-tight) var(--sec); }
.range-title { font-size: var(--text-4xl); letter-spacing: -.035em; margin: var(--space-4) 0 var(--space-12); max-width: 18ch; }
.business { padding-block: var(--sec); overflow: hidden; }
.biz-grid { display: grid; gap: var(--space-12); grid-template-columns: 1fr 1fr; align-items: center; }
.business h2 { font-size: var(--text-4xl); letter-spacing: -.035em; margin: var(--space-4) 0 var(--space-6); }
.business .entities { margin-top: var(--space-10); }
.biz-globe { position: relative; aspect-ratio: 1; width: 100%; max-width: 620px; justify-self: center; }
.earth-hint { position: absolute; left: 50%; bottom: 2%; transform: translateX(-50%); margin: 0; font: 600 var(--text-xs)/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--steel-300); pointer-events: none; white-space: nowrap; }
.biz-globe canvas { position: absolute; inset: 0; }
.faq-sec { padding-block: var(--sec-tight); }
.faq-grid { display: grid; gap: var(--space-12); grid-template-columns: .8fr 1.2fr; }
.faq-sec h2 { font-size: var(--text-3xl); letter-spacing: -.03em; margin-top: var(--space-4); }
.end { padding-block: var(--sec-wide); position: relative; overflow: hidden; }
.end-grid { display: grid; gap: var(--space-12); grid-template-columns: 1fr 1fr; align-items: center; }
.end h2 { font-size: var(--text-mega); line-height: .95; letter-spacing: -.045em; margin: var(--space-4) 0 var(--space-6); }
.dial-box { display: grid; justify-items: start; gap: var(--space-5); }
.dial { color: var(--fg); }
.dial-out { font-size: var(--text-lg); max-width: 40ch; min-height: 3.4em; }
.dial-out .link { min-height: 0; }
@media (max-width: 900px) {
  .fridges-grid, .biz-grid, .faq-grid, .end-grid { grid-template-columns: 1fr; }
  .fridges-photo { order: -1; }
  .series li { grid-template-columns: 72px 1fr; }
  .series img { width: 72px; height: 52px; }
  .series .mono { grid-column: 2; }
}

/* ---------- range v2: two families, one stage each (replaces the card grid) ---------- */
.range-top { display: grid; gap: var(--space-4); max-width: 46rem; margin-bottom: var(--space-12); }
.range-top .range-title, .range-top h2 { font-size: var(--text-4xl); letter-spacing: -.035em; margin: 0; }
.range-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); }
.fam { display: grid; gap: var(--space-5); align-content: start; min-width: 0; }
.fam-stage { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; background: var(--fam-bg); }
.fam.cold { --fam-bg: #e8f1fb; --fam-ink: #0f4a8a; }
.fam.hot { --fam-bg: #fbf1e4; --fam-ink: #8a4a0f; }
.fam-stage img { position: absolute; inset: 9% 10% 13%; width: 80%; height: 78%; object-fit: contain; transition: opacity 220ms var(--ease-out), transform 420ms var(--ease-out); }
.fam-stage img.swap { opacity: 0; transform: translateY(8px) scale(.98); }
.fam-badge { position: absolute; left: var(--space-4); bottom: var(--space-4); font: 600 var(--text-sm)/1 var(--font-body); color: var(--fam-ink); background: var(--white); padding: var(--space-2) var(--space-3); border-radius: var(--radius-pill); font-variant-numeric: tabular-nums; }
.fam-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4); }
.fam-head h3 { font-size: var(--text-2xl); letter-spacing: -.02em; }
.fam-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.fam-list li { border-bottom: 1px solid var(--line); transition: opacity var(--dur) var(--ease-out); }
.fam-list a { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name go" "spec go"; gap: 2px var(--space-4); align-items: center; min-height: 64px; padding: var(--space-3) var(--space-2); text-decoration: none; color: inherit; transition: background-color var(--dur) var(--ease-out), padding-left var(--dur) var(--ease-out); }
.fam-list a:hover, .fam-list a:focus-visible, .fam-list a.on { background: color-mix(in oklab, var(--fam-bg) 70%, transparent); padding-left: var(--space-4); }
.fam-name { grid-area: name; font: 600 var(--text-lg)/1.25 var(--font-display); letter-spacing: -.01em; }
.fam-spec { grid-area: spec; font-size: var(--text-sm); color: var(--fg-muted); }
.fam-go { grid-area: go; font: 600 var(--text-xs)/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--fam-ink); display: inline-flex; align-items: center; min-height: 32px; padding: 0 var(--space-3); border: 1px solid color-mix(in oklab, var(--fam-ink) 35%, transparent); border-radius: var(--radius-pill); }
.fam-air { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-10); margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid var(--line); }
.fam-air a { display: flex; align-items: center; gap: var(--space-4); min-height: 56px; text-decoration: none; color: var(--fg-muted); font-size: var(--text-sm); }
.fam-air a:hover b { text-decoration: underline; text-underline-offset: 4px; }
.fam-air img { width: 72px; height: 48px; object-fit: contain; }
.fam-air b { display: block; color: var(--fg); font-size: var(--text-base); }
@media (max-width: 900px) { .range-split { grid-template-columns: 1fr; gap: var(--space-16); } }
[hidden] { display: none !important; }

/* v7: one site for both companies — India (₹, GST, Mumbai) or UAE (on request, FZE, Jebel Ali) */
html[data-region="ae"] .region-in, html:not([data-region="ae"]) .region-ae { display: none !important; }
.region-sw { display: inline-flex; padding: 3px; border-radius: var(--radius-pill); border: 1px solid var(--line); gap: 2px; }
.region-sw button { min-height: 32px; min-width: 40px; padding: 0 var(--space-3); border: 0; border-radius: var(--radius-pill); background: none; color: var(--fg-muted); font: 600 var(--text-xs)/1 var(--font-body); letter-spacing: .06em; cursor: pointer; }
.region-sw button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.nav .region-sw { margin: 0; flex: 0 0 auto; }
.mnav-panel .region-sw { align-self: flex-start; margin-top: var(--space-2); }
.mnav-panel .region-sw button { min-height: var(--tap); min-width: 64px; }
@media (max-width: 960px) { .nav > .region-sw { display: none; } }
.nav ul a, .nav .btn { white-space: nowrap; }
@media (max-width: 1199px) and (min-width: 961px) { .nav > .btn { display: none; } .nav { gap: var(--space-4); } }
