/* ==========================================================
   SC7 ElectroForge — brand palette (from the logo):
   charcoal background · electric blue · forge orange · gunmetal
   ========================================================== */
:root {
  --bg: #121418;          /* charcoal */
  --bg-2: #16191d;
  --card: #1a1d22;
  --card-2: #22262c;
  --line: rgba(255, 255, 255, .08);
  --fg: #f2f4f7;
  --muted: #9aa0a8;
  --dim: #6b7078;
  --steel: #5b5f66;       /* gear gunmetal */
  --steel-light: #8a8f97;
  --blue: #1e8fff;        /* "Electro" blue */
  --blue-light: #5cb2ff;
  --blue-deep: #0a6fe0;
  --orange: #ff7a1a;      /* "Forge" orange */
  --orange-light: #ff9a3c;
  --orange-deep: #e85d00;
  --nav-h: 56px;
  --font: "Exo 2", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-brand: "Orbitron", "Exo 2", sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(30, 143, 255, .08), transparent 70%),
    var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -.01em; line-height: 1.08; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { display: block; }

/* ---------- brand colour helpers ---------- */
.t-blue   { background: linear-gradient(100deg, var(--blue-light), var(--blue) 55%, var(--blue-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.t-orange { background: linear-gradient(100deg, var(--orange-light), var(--orange) 55%, var(--orange-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow { font-family: var(--font-brand); font-size: clamp(11px, 1.1vw, 14px); font-weight: 700; text-transform: uppercase; letter-spacing: .18em; color: var(--blue-light); margin-bottom: 14px; }
.eyebrow.orange { color: var(--orange-light); }
.center-t { text-align: center; }

/* ---------- scroll progress bar ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--blue), var(--orange)); box-shadow: 0 0 12px rgba(255, 122, 26, .6); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(18, 20, 24, .74);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { max-width: 1160px; height: 100%; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand img { border-radius: 7px; }
.wordmark { font-family: var(--font-brand); font-size: 15px; font-weight: 700; letter-spacing: .04em; color: var(--steel-light); }
.wordmark .b { color: var(--blue); font-weight: 800; }
.wordmark .o { color: var(--orange); font-weight: 800; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 14px; font-weight: 500; color: #c5c9cf; }
.nav-links a { position: relative; padding: 4px 0; transition: color .25s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--orange); transform: scaleX(0); transition: transform .3s; }
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { font-size: 14px; font-weight: 700; padding: 7px 16px; border-radius: 99px; background: var(--orange); color: #fff; white-space: nowrap; transition: background .25s, box-shadow .25s; }
.nav-cta:hover { background: var(--orange-light); box-shadow: 0 0 18px rgba(255, 122, 26, .5); }

/* ---------- scroll scenes ---------- */
.scene { position: relative; height: var(--h, 400vh); }
.sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  padding: calc(var(--nav-h) + 22px) 16px 22px;
  will-change: opacity, transform;
  transform-origin: 50% 40%;
}
.sticky.center { justify-content: center; }
.scene-head { text-align: center; max-width: 1000px; flex: none; }
.scene-title { font-size: clamp(30px, 5.2vw, 66px); font-weight: 800; }
.visual { position: relative; flex: 1 1 auto; min-height: 0; width: 100%; max-width: 1160px; display: flex; align-items: center; justify-content: center; margin: 10px 0; }
.visual > svg { width: 100%; height: 100%; }

.captions { position: relative; flex: none; width: 100%; max-width: 780px; height: 104px; text-align: center; }
.cap { position: absolute; inset: 0; opacity: 0; will-change: opacity, transform, filter; }
.cap h3 { font-size: clamp(21px, 2.5vw, 30px); font-weight: 700; margin-bottom: 6px; }
.cap p { color: var(--muted); font-size: clamp(15px, 1.4vw, 18px); max-width: 640px; margin: 0 auto; }

.steps { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; flex: none; }
.steps span { font-size: 12px; font-weight: 700; padding: 5px 13px; border-radius: 99px; border: 1px solid var(--line); color: var(--dim); transition: background .4s, color .4s, border-color .4s, box-shadow .4s; }
.steps span.on { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: 0 0 16px rgba(30, 143, 255, .45); }

.hud {
  position: absolute; top: 4px; right: 4px;
  display: grid; grid-template-columns: auto auto; gap: 2px 14px; align-items: baseline;
  background: rgba(26, 29, 34, .78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-top: 2px solid var(--blue);
  border-radius: 14px;
  padding: 10px 14px; font-variant-numeric: tabular-nums;
}
.hud-k { font-size: 12px; color: var(--muted); }
.hud-v { font-family: var(--font-brand); font-size: 18px; font-weight: 700; text-align: right; color: var(--blue-light); }
.hud-v.small { font-size: 13px; }
.hud-tag { grid-column: 1 / -1; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--orange-light); margin-bottom: 4px; }

/* ---------- hero ---------- */
.hero .sticky { justify-content: center; padding-bottom: 28px; }
.hero-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
#hero-traces path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.6s cubic-bezier(.6,.05,.3,1) forwards; opacity: .5; }
#hero-traces circle { fill: var(--blue); stroke: none; opacity: .85; }
#hero-pulses path { stroke-dasharray: .045 1; stroke-dashoffset: 1.045; animation: pulse 4s linear infinite; opacity: .95; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pulse { to { stroke-dashoffset: 0; } }
.hero-copy { position: relative; text-align: center; will-change: opacity, transform, filter; }
.hero-copy::before { content: ""; position: absolute; inset: -50px -80px; background: radial-gradient(closest-side, rgba(18,20,24,.92), rgba(18,20,24,0)); z-index: -1; }
.hero-title { font-family: var(--font-brand); font-size: clamp(40px, 8.6vw, 112px); font-weight: 800; letter-spacing: .01em; line-height: 1.02; color: var(--steel-light); }
.hero-sub { margin-top: 18px; font-size: clamp(18px, 2.2vw, 26px); color: #c5c9cf; font-weight: 500; }
.hero-caps { position: absolute; bottom: 6vh; left: 50%; transform: translateX(-50%); padding: 0 16px; }
.scroll-hint { margin: 34px auto 0; width: 24px; height: 38px; border: 2px solid var(--steel); border-radius: 14px; position: relative; }
.scroll-hint span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--orange); animation: hint 1.6s ease-in-out infinite; }
@keyframes hint { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- intro word reveal ---------- */
.intro-text { max-width: 1000px; font-size: clamp(28px, 4.6vw, 58px); font-weight: 700; line-height: 1.16; text-align: center; }
.intro-text .w { opacity: .14; display: inline-block; will-change: opacity, transform; }
.intro-text .w.hl { color: var(--orange); }
.intro-text .w.hb { color: var(--blue-light); }

/* ---------- instruments (flowmeters + level sensors) ---------- */
.instr-visual { gap: 24px; }
.instr-visual > svg { flex: 1 1 auto; min-width: 0; height: 100%; }
.instr-points { position: relative; flex: 0 0 300px; height: 230px; }
.kp { position: absolute; inset: 0; opacity: 0; will-change: opacity, transform; }
.kp-tag { display: inline-block; font-family: var(--font-brand); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 8px; margin-bottom: 16px; }
.kp-tag.blue { color: #fff; background: var(--blue); }
.kp-tag.orange { color: #fff; background: var(--orange); }
.kp li { position: relative; padding: 0 0 12px 22px; font-size: clamp(15px, 1.4vw, 18px); color: #d6d9de; }
.kp li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; border-radius: 2px; background: var(--orange); transform: rotate(45deg); }
.wtp-tag { transform-box: fill-box; transform-origin: center; }

/* ---------- solar (full-bleed sky) ---------- */
.solar-sticky { padding: 0; justify-content: flex-start; }
.solar-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.solar-head { position: relative; margin-top: calc(var(--nav-h) + 22px); padding: 0 16px; text-shadow: 0 2px 30px rgba(0,0,0,.45); }
.solar-hud { top: calc(var(--nav-h) + 150px); right: 16px; }
.solar-caps { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); padding: 0 16px; }
.solar-caps .cap p { color: #e6e8eb; }
.solar-caps .cap { text-shadow: 0 2px 18px rgba(0,0,0,.7); }

/* ---------- IoT exploded 3D ---------- */
.iot-visual { gap: 40px; perspective: 1600px; }
.iot-stage { flex: 0 0 auto; width: min(400px, 46vw); display: grid; place-items: center; transform-style: preserve-3d; }
.device { position: relative; width: 100%; aspect-ratio: 1 / .66; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-36deg); will-change: transform; }
.layer { position: absolute; inset: 0; border-radius: 28px; transform-style: preserve-3d; will-change: transform; }
.l-shadow { background: radial-gradient(closest-side, rgba(30,143,255,.4), transparent); filter: blur(18px); transform: translateZ(-30px) scale(1.15); }
.l-base { background: linear-gradient(135deg, #4a4e55, #1e2126); box-shadow: inset 0 0 0 2px var(--steel); }
.l-base .port { position: absolute; bottom: 10%; width: 12%; height: 8%; background: #0b0c0f; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--steel-light); }
.l-base .p1 { left: 18%; } .l-base .p2 { left: 34%; }
.l-base .screw { position: absolute; width: 4%; aspect-ratio: 1; border-radius: 50%; background: var(--steel-light); }
.s1 { top: 7%; left: 5%; } .s2 { top: 7%; right: 5%; } .s3 { bottom: 7%; left: 5%; } .s4 { bottom: 7%; right: 5%; }
.l-batt { inset: 16% 18%; border-radius: 12px; background: linear-gradient(135deg, #5b5f66, #2a2d32); box-shadow: inset 0 0 0 2px var(--steel-light); display: grid; place-items: center; }
.l-batt span { font-size: clamp(9px, 1.1vw, 13px); font-weight: 700; color: #e6e8eb; letter-spacing: .04em; }
.l-pcb { inset: 6%; border-radius: 18px;
  background:
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(255,122,26,.35) 22px 24px),
    repeating-linear-gradient(0deg, transparent 0 30px, rgba(255,122,26,.22) 30px 32px),
    linear-gradient(135deg, #173052, #0b1626);
  box-shadow: inset 0 0 0 2px var(--blue); }
.chip { position: absolute; display: grid; place-items: center; font-style: normal; font-size: clamp(8px, .9vw, 11px); font-weight: 700; color: var(--steel-light); background: linear-gradient(#2a2d32, #121418); border-radius: 4px; box-shadow: 0 0 0 2px rgba(197,201,207,.3); }
.c-mcu { left: 38%; top: 30%; width: 24%; height: 36%; color: var(--blue-light); }
.c-rf  { left: 70%; top: 18%; width: 16%; height: 22%; }
.c-pm  { left: 12%; top: 20%; width: 14%; height: 20%; }
.c-sen { left: 14%; top: 60%; width: 16%; height: 20%; }
.c-ant { left: 72%; top: 60%; width: 16%; height: 22%; background: repeating-linear-gradient(90deg, var(--orange) 0 2px, transparent 2px 6px); box-shadow: none; }
.l-top { background: linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.03)); box-shadow: inset 0 0 0 2px rgba(255,255,255,.25), 0 30px 60px rgba(0,0,0,.45); display: grid; place-items: center; }
.l-top .logo { width: 34%; opacity: .9; border-radius: 18%; }
.l-top .led { position: absolute; right: 10%; top: 14%; width: 3.5%; aspect-ratio: 1; border-radius: 50%; background: var(--orange); box-shadow: 0 0 12px 3px var(--orange); }
.iot-labels { flex: 0 1 340px; display: grid; gap: 18px; }
.iot-labels li { opacity: 0; border-left: 2px solid var(--blue); padding-left: 14px; will-change: opacity, transform; }
.iot-labels li:nth-child(even) { border-left-color: var(--orange); }
.iot-labels b { display: block; font-size: clamp(16px, 1.6vw, 20px); }
.iot-labels span { color: var(--muted); font-size: 14px; }

/* ---------- normal sections ---------- */
.section { position: relative; padding: clamp(90px, 14vw, 160px) 16px; }
.section::before { content: ""; position: absolute; top: 0; left: 50%; width: min(640px, 80%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--blue), var(--orange), transparent); opacity: .5; }
.section.alt { background: linear-gradient(var(--bg), var(--bg-2) 30%, var(--bg)); }
.wrap { max-width: 1160px; margin: 0 auto; }
.section-title { font-size: clamp(32px, 5.4vw, 62px); font-weight: 800; text-align: center; margin-bottom: clamp(40px, 6vw, 70px); }

/* products — coming soon */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product { position: relative; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.product::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.06) 50%, transparent 65%); transform: translateX(-100%); animation: shimmer 3.2s ease-in-out infinite; }
.product:nth-child(2)::after { animation-delay: .4s; } .product:nth-child(3)::after { animation-delay: .8s; } .product:nth-child(4)::after { animation-delay: 1.2s; }
@keyframes shimmer { 60%, 100% { transform: translateX(100%); } }
.prod-art { aspect-ratio: 4 / 3; display: grid; place-items: center; border-radius: 16px; background: radial-gradient(closest-side, rgba(30,143,255,.12), transparent), var(--bg-2); border: 1px dashed rgba(255,255,255,.1); margin-bottom: 16px; }
.prod-art svg { width: 60%; opacity: .85; filter: blur(.4px); }
.soon { display: inline-block; font-family: var(--font-brand); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-light); border: 1px solid rgba(255,122,26,.45); background: rgba(255,122,26,.1); padding: 4px 10px; border-radius: 99px; margin-bottom: 10px; }
.product h3 { font-size: 20px; margin-bottom: 4px; color: #d6d9de; }
.product p { color: var(--dim); font-size: 14px; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 44px); transition: border-color .4s, transform .4s; }
.card:hover { border-color: rgba(255,122,26,.4); transform: translateY(-4px); }
.card h3 { font-size: clamp(24px, 3vw, 34px); margin: 18px 0 10px; }
.card p { color: var(--muted); }
.card-art { width: 100%; max-width: 280px; margin: 0 auto; }
.float { animation: float 5s ease-in-out infinite; }
.float.d2 { animation-delay: -2.5s; }
@keyframes float { 50% { transform: translateY(-8px); } }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tags li { font-size: 13px; padding: 5px 12px; border-radius: 99px; background: var(--card-2); border: 1px solid var(--line); color: #c5c9cf; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 24px; transition: transform .4s, border-color .4s, box-shadow .4s; }
.tile:hover { transform: translateY(-5px); border-color: rgba(30,143,255,.55); box-shadow: 0 18px 40px rgba(30,143,255,.12); }
.tile svg { width: 34px; height: 34px; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; transition: stroke .4s; }
.tile:hover svg { stroke: var(--orange); }
.tile h3 { font-size: 19px; margin-bottom: 6px; }
.tile p { color: var(--muted); font-size: 15px; }

.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.process li { padding: 22px 18px; border-top: 2px solid var(--orange); background: linear-gradient(rgba(255,122,26,.08), transparent 70%); border-radius: 4px 4px 16px 16px; }
.process li:nth-child(even) { border-top-color: var(--blue); background: linear-gradient(rgba(30,143,255,.08), transparent 70%); }
.process b { font-family: var(--font-brand); color: var(--orange-light); font-size: 13px; letter-spacing: .1em; }
.process li:nth-child(even) b { color: var(--blue-light); }
.process h3 { font-size: 21px; margin: 8px 0 6px; }
.process p { color: var(--muted); font-size: 15px; }

.contact { background: radial-gradient(60% 60% at 30% 100%, rgba(30,143,255,.16), transparent 70%), radial-gradient(50% 50% at 75% 100%, rgba(255,122,26,.14), transparent 70%); }
.contact-logo { margin: 0 auto 26px; border-radius: 18px; box-shadow: 0 0 40px rgba(255,122,26,.25); }
.contact-title { font-size: clamp(34px, 6.6vw, 80px); font-weight: 800; }
.contact-sub { color: var(--muted); font-size: clamp(17px, 2vw, 21px); max-width: 640px; margin: 22px auto 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; padding: 13px 26px; border-radius: 99px; font-weight: 700; font-size: 16px; transition: transform .25s, background .25s, box-shadow .25s; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--blue); color: #fff; }
.btn.primary:hover { background: var(--blue-light); box-shadow: 0 0 24px rgba(30,143,255,.5); }
.btn.ghost { border: 1px solid var(--steel); color: var(--fg); }
.btn.ghost:hover { border-color: var(--orange); box-shadow: 0 0 18px rgba(255,122,26,.3); }

.footer { border-top: 1px solid var(--line); padding: 26px 16px 40px; color: var(--dim); font-size: 13px; }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(46px) scale(.97); filter: blur(6px); transition: opacity 1.1s cubic-bezier(.16,1,.3,1), transform 1.1s cubic-bezier(.16,1,.3,1), filter 1.1s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.grid .reveal:nth-child(4n+2), .prod-grid .reveal:nth-child(2), .process .reveal:nth-child(2) { transition-delay: .08s; }
.grid .reveal:nth-child(4n+3), .prod-grid .reveal:nth-child(3), .process .reveal:nth-child(3) { transition-delay: .16s; }
.grid .reveal:nth-child(4n+4), .prod-grid .reveal:nth-child(4), .process .reveal:nth-child(4) { transition-delay: .24s; }
.process .reveal:nth-child(5) { transition-delay: .32s; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .grid, .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .nav-links { gap: 14px; font-size: 13px; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .instr-visual { flex-direction: column; gap: 6px; }
  .instr-points { flex: none; width: 100%; max-width: 420px; height: 150px; }
  .kp-tag { margin-bottom: 8px; }
  .kp li { padding-bottom: 5px; font-size: 14px; }
}
@media (max-width: 760px) {
  .duo { grid-template-columns: 1fr; }
  .captions { height: 118px; }
  .hud { position: absolute; top: auto; bottom: 0; right: 0; padding: 7px 10px; gap: 0 10px; border-radius: 10px; }
  .hud-v { font-size: 14px; } .hud-v.small { font-size: 11px; } .hud-k { font-size: 11px; }
  .solar-hud { top: auto; bottom: 150px; right: 10px; }
  .iot-visual { flex-direction: column; gap: 22px; }
  .iot-stage { width: min(300px, 74vw); }
  .iot-labels { flex: none; gap: 10px; width: 100%; max-width: 420px; }
  .iot-labels span { font-size: 12px; }
  .wordmark { font-size: 13px; }
}
@media (max-width: 460px) {
  .grid, .prod-grid, .process { grid-template-columns: 1fr; }
  .wordmark { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .float, #hero-pulses path, .scroll-hint span, .product::after { animation: none; }
  #hero-traces path { animation: none; stroke-dashoffset: 0; }
  .reveal { transition: none; opacity: 1; transform: none; filter: none; }
}

/* "SC7" in Exo 2 so the 7 reads clearly (Orbitron draws it as a hook) */
.sc7 { font-family: "Exo 2", sans-serif; font-weight: 800; letter-spacing: -.01em; }
.hero-title .sc7 { color: var(--steel-light); }
@media (max-width: 760px) {
  .solar-hud { top: calc(var(--nav-h) + 112px); bottom: auto; right: 10px; }
}
@media (max-width: 760px) {
  .hud.scada { top: 0; bottom: auto; left: 0; right: auto; }
}

/* key points: stack both blocks in one grid cell so the box is as tall as its text (never overflows) */
.instr-points { display: grid; height: auto; flex: 0 0 340px; align-self: center; }
.kp { position: relative; inset: auto; grid-area: 1 / 1; }
.kp h3 { font-size: clamp(20px, 2.2vw, 28px); margin-bottom: 14px; }
.instr-visual + .steps { margin-top: 6px; }
@media (max-width: 860px) {
  .instr-points { flex: none; width: 100%; max-width: 440px; height: auto; }
  .kp h3 { margin-bottom: 8px; }
}
@media (max-height: 760px) {
  .kp-tag { margin-bottom: 8px; }
  .kp h3 { margin-bottom: 8px; }
  .kp li { padding-bottom: 5px; font-size: 15px; }
}
@media (max-width: 860px) and (max-height: 760px) {
  .kp li { font-size: 13px; padding-bottom: 3px; }
  .kp h3 { font-size: 18px; }
}
