/* telchar.industries. The first part is the stylesheet of the GTM portfolio page (vault note acd39aad), unchanged, so the two stay one system; this site's own sections follow at the end. */
/* Hallmark · check · genre: modern-minimal · copy: verbatim
 * built: the project · redesign: polish · v2.0.0 */
  /* default palette: graphite and orange. The dark ground is --forest, the accent is --lime (names kept from the first palette). */
  :root {
    --paper: #f4f2ed; --tint: #e8e6e0; --ink: #26282b; --soft: #53565b; --muted: #878a90; --line: #d4d2cb; --mq2: #c5c4be;
    --forest: #26282b; --forest-2: #303338; --forest-3: #1e2023; --forest-line: #44474d; --line-2: #5f636a; --mute: #4a4e54; --on-forest: #f6f4ef; --on-forest-dim: #b0b3b8;
    --lime: #ff6a1a; --accent-rgb: 255 106 26; --accent-ink: #1e2023; --accent-edge: #c94f0e; --chip: var(--lime); --chip-ink: var(--accent-ink);
    --mid: #474b51; --mid-edge: #33363b; --deep: #17181a; --deep-edge: #0c0d0e;
    --ring: var(--lime); --card-shadow: rgba(20, 21, 19, 0.5);
  }
  [data-theme="navy"] {
    --chip: var(--lime); --chip-ink: var(--accent-ink);
    --paper: #f5f2ea; --tint: #e8e5db; --ink: #0e1a2e; --soft: #46505f; --muted: #7f8794; --line: #d5d2c7; --mq2: #c6c5c0;
    --forest: #0e1a2e; --forest-2: #15243c; --forest-3: #0a1322; --forest-line: #2a3c5a; --line-2: #435a7e; --mute: #31466a; --on-forest: #f1eee6; --on-forest-dim: #9eabc0;
    --lime: #e9a93c; --accent-rgb: 233 169 60; --accent-ink: #1c1304; --accent-edge: #b57e22;
    --mid: #2c4670; --mid-edge: #1d3152; --deep: #070e1a; --deep-edge: #03070f;
  }
  [data-theme="oxblood"] {
    --chip: var(--lime); --chip-ink: var(--accent-ink);
    --paper: #f6f1ea; --tint: #ece4da; --ink: #1d1012; --soft: #564446; --muted: #8d7c7c; --line: #dbd0c5; --mq2: #cdbfb4;
    --forest: #32090f; --forest-2: #42121a; --forest-3: #25060a; --forest-line: #632530; --line-2: #88434e; --mute: #6d2c37; --on-forest: #f6eee6; --on-forest-dim: #c9a4a4;
    --lime: #f3c3a6; --accent-rgb: 243 195 166; --accent-ink: #32090f; --accent-edge: #c9977b;
    --mid: #7a3440; --mid-edge: #57202b; --deep: #1b0407; --deep-edge: #0d0203;
  }
  [data-theme="cobalt"] {
    --chip: var(--lime); --chip-ink: var(--accent-ink);
    --paper: #f5f3ee; --tint: #e7e8f1; --ink: #0f1430; --soft: #454a63; --muted: #7f8399; --line: #d3d4df; --mq2: #c2c5d6;
    --forest: #1d3bd1; --forest-2: #2748e6; --forest-3: #1730ad; --forest-line: #4d6af0; --line-2: #8195f6; --mute: #4f6bef; --on-forest: #ffffff; --on-forest-dim: #c3ccfa;
    --lime: #f7edc2; --accent-rgb: 247 237 194; --accent-ink: #12257f; --accent-edge: #c9bd8a;
    --mid: #3a57ea; --mid-edge: #2440c0; --deep: #12257f; --deep-edge: #0b1960;
  }
  [data-theme="forest"] {
    --chip: var(--lime); --chip-ink: var(--accent-ink);
    --paper: #f6f3ec; --tint: #ece8dd; --ink: #141513; --soft: #4d4f49; --muted: #85877f; --line: #d9d5c9; --mq2: #c8c2b3;
    --forest: #12352b; --forest-2: #17402f; --forest-3: #0e2a22; --forest-line: #2c5a4b; --line-2: #3d7260; --mute: #2f5f50; --on-forest: #eef1e6; --on-forest-dim: #9fb3a8;
    --lime: #d6f26a; --accent-rgb: 214 242 106; --accent-ink: #17260d; --accent-edge: #9fb84a;
    --mid: #2f6a57; --mid-edge: #1f4a3c; --deep: #0b2019; --deep-edge: #06140f;
  }
  :root {
    --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
    --sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --pad: max(36px, calc((100vw - 1160px) / 2 + 36px));
  }
  * { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
  body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: clip; }
  .wrap { padding-left: var(--pad); padding-right: var(--pad); }
  h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; text-wrap: balance; }
  a:focus-visible { outline: 2px solid var(--ring); outline-offset: 4px; border-radius: 2px; }
  section { position: relative; }

  .nav { position: absolute; top: 0; left: 0; right: 0; z-index: 60; display: flex; justify-content: space-between; align-items: center; padding: 18px var(--pad); font-size: 15px; font-weight: 500; color: var(--on-forest); pointer-events: none; transition: color 0.25s ease; }
  .js .nav { position: fixed; }
  .nav.t-light { color: var(--ink); }
  .nav.t-acc { color: var(--accent-ink); }
  .brand { display: flex; align-items: center; gap: 12px; }
  .nav-r { display: flex; align-items: center; gap: 24px; }
  .nav a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; pointer-events: auto; }
  .nav a:hover, .nav a:focus-visible { text-decoration-thickness: 2px; }
  .nav a:active { opacity: 0.7; }
  .gem { display: block; width: 28px; height: 48px; background: currentColor; -webkit-mask: url(/favicon.svg?v=2) center / contain no-repeat; mask: url(/favicon.svg?v=2) center / contain no-repeat; }
  /* the header mark, once the line figure has mounted: shape and line colours follow the section under the nav */
  .gem.live { width: 36px; height: 52px; background: none; -webkit-mask: none; mask: none; --hairline-plate: var(--on-forest); --gem-line: var(--lime); --hairline-hi: var(--gem-line); --hairline-edge: var(--gem-line); --hairline-mid: var(--gem-line); --hairline-lo: var(--gem-line); --hairline-stroke: 1; }
  .nav.t-light .gem.live { --hairline-plate: var(--ink); }
  .nav.t-acc .gem.live { --hairline-plate: var(--accent-ink); --gem-line: var(--on-forest); }
  .gem.live svg path { transition: fill 0.25s ease, stroke 0.25s ease; }
  .bar { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: currentColor; transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); }

  /* pinned chapters: each one is taller than the screen, its .pin stays put while scroll drives --p from 0 to 1 */
  .fx [data-scrub] > .pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

  /* line figures: drawn by the hairline engine, coloured from the palette */
  .fig { width: 100%; --hairline-stroke: 1.05; --hairline-hi: var(--lime); }
  .fig.on-dark { --hairline-plate: var(--forest-2); --hairline-edge: var(--on-forest); --hairline-mid: var(--on-forest-dim); --hairline-lo: var(--line-2); }
  .fig.on-ground { --hairline-plate: var(--forest); --hairline-edge: var(--on-forest); --hairline-mid: var(--on-forest-dim); --hairline-lo: var(--line-2); }

  /* 1. hero */
  .hero { background: var(--forest); color: var(--on-forest); }
  .fx .hero { height: 170svh; }
  .hero .pin { min-height: 100svh; display: flex; align-items: center; }
  .hero-in { width: 100%; padding-top: 96px; padding-bottom: 60px; }
  .fx .hero-in { opacity: calc(1 - var(--w, 0) * 2.2); transform: scale(calc(1 - var(--p, 0) * 0.1)); transform-origin: 20% 50%; }
  h1 { font-size: clamp(56px, min(12.4vw, 21svh), 196px); line-height: 0.9; letter-spacing: -0.04em; }
  h1 > span { display: block; overflow: hidden; padding: 0.16em 0 0.08em; margin: -0.16em 0 -0.08em; }
  h1 i { display: block; font-style: normal; }
  .fx h1 > span:nth-child(1) { transform: translate3d(calc(var(--p, 0) * -9vw), 0, 0); }
  .fx h1 > span:nth-child(2) { transform: translate3d(calc(var(--p, 0) * 16vw), 0, 0); }
  .fx h1 > span:nth-child(3) { transform: translate3d(calc(var(--p, 0) * -4vw), 0, 0); }
  .fx h1 i { transform: translateY(105%); animation: up 1.1s cubic-bezier(0.16, 0.8, 0.2, 1) forwards; }
  .fx h1 > span:nth-child(2) i { animation-delay: 0.09s; }
  .fx h1 > span:nth-child(3) i { animation-delay: 0.18s; }
  @keyframes up { to { transform: none; } }
  .hero .sub { font-size: clamp(19px, 2vw, 24px); line-height: 1.42; max-width: 30em; margin: 36px 0 0; color: var(--on-forest-dim); }
  .hero .sub b { color: var(--on-forest); font-weight: 500; }
  .fx .hero .sub { opacity: 0; animation: fade 1s ease 0.5s forwards; }
  @keyframes fade { to { opacity: 1; } }
  .cue { position: absolute; left: var(--pad); bottom: 30px; display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--on-forest); }
  .fx .cue { opacity: calc(1 - var(--p, 0) * 8); }
  .cue i { width: 1px; height: 46px; background: var(--forest-line); position: relative; overflow: hidden; display: block; }
  .cue i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 46px; background: var(--lime); }
  .fx .cue i::after { transform: translateY(-46px); animation: drop 2.2s ease-in-out infinite; }
  @keyframes drop { 0% { transform: translateY(-46px); } 60%, 100% { transform: translateY(46px); } }

  /* 2. the statement, lit word by word */
  .say { background: var(--paper); padding: 120px 0; }
  .fx .say { height: 262svh; padding: 0; margin-top: -146svh; z-index: 2; background: transparent; pointer-events: none; }
  .say .pin { display: flex; align-items: center; }
  .fx .say .pin { background: var(--paper); pointer-events: auto; clip-path: circle(calc(var(--w, 0) * 115vmax) at 50% 100%); }
  .fx .say.open .pin { clip-path: none; }
  .words { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 6vw, 92px); line-height: 1.04; letter-spacing: -0.03em; margin: 0; max-width: 16em; }
  .fx .words .w { opacity: 0.13; }
  .words em { font-style: normal; color: var(--forest); }

  /* 3. the motion: seven panels that travel sideways */
  .motion { background: var(--forest); color: var(--on-forest); padding: 110px 0; }
  .fx .motion { height: 540svh; padding: 0; }
  .motion .pin { display: flex; flex-direction: column; }
  .m-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-top: 88px; }
  .m-head h2 { font-size: clamp(28px, 3.6vw, 50px); line-height: 1.04; letter-spacing: -0.025em; }
  .m-count { font-variant-numeric: tabular-nums; font-family: var(--serif); font-size: clamp(28px, 3.6vw, 50px); line-height: 1; color: var(--on-forest-dim); white-space: nowrap; }
  .m-count b { color: var(--lime); font-weight: 400; }
  .rail { height: 1px; background: var(--forest-line); margin: 22px var(--pad) 0; position: relative; }
  .rail i { position: absolute; left: 0; top: -1px; height: 3px; width: 100%; background: var(--lime); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
  .track { display: flex; flex-direction: column; gap: 22px; padding: 40px var(--pad) 0; }
  .fx .track { flex: 1; flex-direction: row; align-items: center; gap: 3.2vw; padding-top: 0; width: max-content; transform: translate3d(var(--x, 0px), 0, 0); will-change: transform; }
  .panel { color: var(--on-forest); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); column-gap: 44px; background: var(--forest-2); border: 1px solid var(--forest-line); border-radius: 16px; padding: 40px 44px; }
  .fx .panel { flex: none; width: min(76vw, 940px); opacity: 0.3; transform: scale(0.93); transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.5s ease; }
  .fx .panel.on { opacity: 1; transform: none; border-color: var(--line-2); }
  .panel .num { font-variant-numeric: tabular-nums; font-family: var(--serif); font-size: clamp(64px, 9vw, 132px); line-height: 0.85; letter-spacing: -0.04em; color: var(--forest-line); margin-bottom: 18px; transition: color 0.5s ease; }
  .panel.on .num { color: var(--lime); }
  .panel h3 { font-size: clamp(28px, 3.5vw, 50px); line-height: 1.04; letter-spacing: -0.024em; }
  .panel p { margin: 16px 0 0; font-size: 19px; line-height: 1.46; color: var(--on-forest-dim); max-width: 25em; }
  .hw { margin-top: 18px; }
  .panel .hw .by { color: var(--lime); font-size: 14px; line-height: 1.4; margin: 0 0 6px; max-width: none; }
  .hw b { font-family: var(--serif); font-weight: 500; font-size: 27px; line-height: 1.14; display: block; }
  .hw span { display: block; margin-top: 8px; font-size: 15.5px; line-height: 1.45; color: var(--on-forest-dim); }

  /* vignettes: one small animation per step, played when its panel becomes active */
  .vg { --vs: var(--on-forest-dim); position: relative; height: 208px; padding: 6px 2px; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 10px; font-size: 12px; line-height: 1.3; color: var(--on-forest-dim); }
  .vg i { display: block; font-style: normal; }
  .vg b { font-weight: 600; }
  .vg .r { display: flex; align-items: center; gap: 10px; }
  .vg .ln { height: 9px; border-radius: 5px; box-shadow: inset 0 0 0 1px var(--vs); transform-origin: 0 50%; }
  .vg .ln.hi { box-shadow: inset 0 0 0 1px var(--lime); }
  .vg .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--forest-2); box-shadow: inset 0 0 0 1px var(--vs); flex: none; }
  .vg .chip { padding: 3px 9px; border-radius: 4px; font-size: 11.5px; font-weight: 500; color: var(--on-forest); box-shadow: inset 0 0 0 1px var(--vs); white-space: nowrap; }
  .vg .chip.hi { color: var(--lime); box-shadow: inset 0 0 0 1px var(--lime); }
  .vg .chip.bad { color: var(--lime); box-shadow: inset 0 0 0 1px var(--lime); text-decoration: line-through; }
  .vg .cap { color: var(--on-forest); }
  .vg .card2 { border: 1px solid var(--vs); border-radius: 8px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
  .vg .flow { height: 1px; background: var(--vs); transform-origin: 0 50%; }
  .vg.sp { flex-direction: row; align-items: center; gap: 12px; }
  .vg .col { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; flex: none; }
  .fx .panel:not(.on) .a, .fx .panel:not(.on) .p, .fx .panel:not(.on) .go { opacity: 0; }
  .fx .panel:not(.on) .g { transform: scaleX(0); }
  .fx .panel.on .a { animation: va 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: var(--t, 0s); }
  .fx .panel.on .p { animation: vp 0.45s cubic-bezier(0.2, 1.3, 0.4, 1) both; animation-delay: var(--t, 0s); }
  .fx .panel.on .g { animation: vg 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: var(--t, 0s); }
  @keyframes va { from { opacity: 0; transform: translateY(8px); } }
  @keyframes vp { from { opacity: 0; transform: scale(0.6); } }
  @keyframes vg { from { transform: scaleX(0); } }
  .vg.vf { padding: 0; display: block; }
  .vg.vf .fig { height: 100%; width: auto; aspect-ratio: 5 / 4; margin: 0 auto; transform: translateY(3%) scale(1.4); transform-origin: 50% 39%; }
  .vg.vf .cap { position: absolute; left: 0; bottom: 0; font-size: 12.5px; line-height: 20px; font-variant-numeric: tabular-nums; }
  .vg.vf .cap b { color: var(--lime); font-weight: 500; }
  .cut .dot, .cut .ln { opacity: 0.35; }
  .fx .panel:not(.on) .cut .dot, .fx .panel:not(.on) .cut .ln { opacity: 1; }
  .fx .panel.on .cut .dot, .fx .panel.on .cut .ln { animation: dim 0.4s 0.9s both; }
  @keyframes dim { from { opacity: 1; } }
  .vg .go { padding: 7px 18px; border-radius: 6px; color: var(--lime); box-shadow: inset 0 0 0 1px var(--lime); font-size: 13px; font-weight: 500; }
  .fx .panel.on .go { animation: press 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s both; }
  @keyframes press { 0% { opacity: 0; transform: scale(0.7); } 35% { opacity: 1; transform: scale(1); } 60% { transform: scale(0.9); } 100% { transform: scale(1); } }
  .seq { position: relative; display: flex; justify-content: space-between; margin-top: 12px; }
  .seq .flow { position: absolute; left: 7px; right: 7px; top: 7px; }
  .seq .st { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11.5px; }
  .wave { display: flex; align-items: center; gap: 4px; height: 44px; }
  .wave { gap: 11px; }
  .wave i { flex: none; width: 1px; height: var(--h); background: var(--vs); }
  .fx .panel.on .wave i { animation: wv 0.9s ease-in-out infinite alternate; animation-delay: var(--t); }
  @keyframes wv { from { transform: scaleY(0.3); } to { transform: scaleY(1); } }
  .tr { display: grid; grid-template-columns: 1.3fr 1fr 0.7fr; column-gap: 12px; align-items: center; min-height: 18px; border-radius: 4px; }
  .tr.hd { font-size: 11.5px; color: var(--on-forest-dim); }
  .swap { position: relative; height: 18px; overflow: hidden; display: block; }
  .swap b { position: absolute; left: 0; top: 0; font-size: 12px; line-height: 18px; }
  .swap .old { transform: translateY(-110%); }
  .swap .new { color: var(--lime); }
  .fx .panel:not(.on) .swap .old { transform: none; }
  .fx .panel:not(.on) .swap .new { transform: translateY(110%); }
  .fx .panel.on .swap .old { animation: so 0.45s 0.95s both; }
  .fx .panel.on .swap .new { animation: sn 0.45s 0.95s both; }
  @keyframes so { from { transform: none; } }
  @keyframes sn { from { transform: translateY(110%); } }
  .fx .panel.on .upd { animation: flash 1.1s 0.95s both; }
  @keyframes flash { from { box-shadow: 0 0 0 5px var(--forest-2), 0 0 0 6px var(--lime); } to { box-shadow: 0 0 0 5px var(--forest-2), 0 0 0 6px transparent; } }
  .m-vault { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding-top: 26px; padding-bottom: 30px; }
  .m-vault .by { color: var(--on-forest-dim); font-size: 14px; margin: 0 8px 0 0; }
  .tok { font-size: 13px; padding: 4px 10px; border-radius: 4px; background: var(--lime); color: var(--accent-ink); font-weight: 500; }
  .fx .tok { background: transparent; color: var(--forest-line); box-shadow: inset 0 0 0 1px var(--forest-line); transform: scale(0.94); transition: background 0.4s ease, color 0.4s ease, box-shadow 0.4s ease, transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .fx .tok.done { background: var(--lime); color: var(--accent-ink); box-shadow: none; transform: none; }

  /* 4. for the role: cards that stack */
  .role { background: var(--tint); padding: 140px 0 120px; }
  h2 { font-size: clamp(36px, 5.6vw, 80px); line-height: 1; letter-spacing: -0.03em; }
  .role h2 { max-width: 17ch; }
  .stack { margin-top: 64px; padding-bottom: 6svh; }
  .card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 44px; margin-bottom: 26px; display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1fr); column-gap: 36px; align-items: start; }
  .fx .card { position: sticky; top: calc(92px + var(--i) * 20px); min-height: 44vh; transform-origin: 50% 0; transform: scale(calc(1 - var(--s, 0) * 0.07)); box-shadow: 0 -18px 50px -38px var(--card-shadow); }
  .card .i { font-family: var(--serif); font-size: clamp(52px, 6vw, 88px); line-height: 0.9; color: var(--forest); }
  .card h3 { font-size: clamp(27px, 3.2vw, 44px); line-height: 1.05; letter-spacing: -0.022em; }
  .card h3 em { display: block; width: max-content; margin-top: 14px; padding: 4px 11px; border: 1px solid var(--line); border-radius: 99px; font-family: var(--sans); font-style: normal; font-size: 13.5px; line-height: 1.3; letter-spacing: 0; color: var(--soft); }
  .card p { margin: 6px 0 0; font-size: 20px; line-height: 1.45; color: var(--soft); }

  /* 4b. one play: one figure that runs the whole play as the section scrolls, beside the seven stages. Without .fx the figure shows its last frame and every stage reads as on. */
  .play { background: var(--forest-3); color: var(--on-forest); padding: 110px 0; }
  .fx .play { height: 640svh; padding: 0; }
  .play .pin { display: flex; flex-direction: column; justify-content: center; padding-top: 84px; }
  .pl-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); grid-template-areas: "head fig" "list fig"; grid-template-rows: auto auto; column-gap: 56px; row-gap: min(20px, 2svh); align-items: center; align-content: center; }
  .play h2 { grid-area: head; font-size: clamp(30px, 3.1vw, 44px); max-width: none; }
  .pl-list { grid-area: list; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--forest-line); }
  .pl-list li { border-bottom: 1px solid var(--forest-line); transition: opacity 0.5s ease; }
  .pl-b { display: grid; grid-template-columns: 1.9em 7.6em minmax(0, 1fr); column-gap: 10px; align-items: baseline; width: 100%; margin: 0; padding: min(9px, 0.62svh) 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: default; }
  .fx .pl-b { cursor: pointer; }
  .pl-b:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
  .pl-b i { font-style: normal; font-size: 13px; font-variant-numeric: tabular-nums; color: var(--on-forest-dim); transition: color 0.5s ease; }
  .pl-x { display: contents; }
  .pl-b b { font-family: var(--serif); font-weight: 500; font-size: 21px; line-height: 1.2; }
  .pl-d { font-size: min(15.5px, 2.1svh); line-height: 1.4; color: var(--on-forest-dim); transition: color 0.5s ease; }
  .pl-list li.on i { color: var(--lime); }
  .pl-list li.on .pl-d { color: var(--on-forest); }
  .fx .pl-list li { opacity: 0.45; }
  .fx .pl-list li.on { opacity: 1; }
  .pl-fig { grid-area: fig; overflow: hidden; aspect-ratio: 320 / 220; width: 100%; justify-self: center; }
  .fx .pl-fig { width: min(100%, 640px, calc((100svh - 190px) * 1.45)); }
  .pl-fig .fig { width: 125%; margin: -15.625% 0 0 -12.5%; pointer-events: none; }
  .fig.on-deep { --hairline-plate: var(--forest-3); --hairline-edge: var(--on-forest); --hairline-mid: var(--on-forest-dim); --hairline-lo: var(--line-2); }

  /* 5. three parts: agents, the Compendium surface, the StackForge machinery */
  .under { background: var(--forest); color: var(--on-forest); padding: 110px 0; }
  .fx .under { height: 180svh; padding: 0; }
  .under .pin { display: flex; flex-direction: column; justify-content: center; padding-top: 64px; }
  .u-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 60px; align-items: center; }
  .under h2 { font-size: clamp(34px, 4.8vw, 68px); max-width: 11ch; }
  .u-lead { font-size: 20px; line-height: 1.45; color: var(--on-forest-dim); margin: 18px 0 22px; max-width: 24em; }
  .legend { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--forest-line); }
  .legend li { padding: 11px 0; border-bottom: 1px solid var(--forest-line); transition: opacity 0.5s ease; }
  .fx .legend li { opacity: 0.45; }
  .fx .legend li.on { opacity: 1; }
  .legend b { font-family: var(--serif); font-weight: 500; font-size: 25px; line-height: 1.15; display: block; }
  .legend span { display: block; font-size: 16px; line-height: 1.45; color: var(--on-forest-dim); margin-top: 3px; max-width: 26em; }
  .u-stage { position: relative; width: 100%; max-width: 552px; aspect-ratio: 470 / 400; justify-self: center; }
  .tri { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; }
  .ti { position: absolute; width: 42%; transform: translate(-50%, -50%); }
  .tA { left: 21.3%; top: 17.5%; }
  .tC { left: 85.1%; top: 17.5%; }
  .tS { left: 53.2%; top: 82.5%; }
  .ti span { position: absolute; left: 0; right: 0; text-align: center; font-size: 14.5px; line-height: 18px; color: var(--on-forest); }
  .tA span, .tC span { top: -14px; }
  .tS span { bottom: -12px; }
  .fx .ti { opacity: 0; transform: translate(-50%, -50%) scale(0.8); transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .fx [data-s="1"] .tA, .fx [data-s="2"] .tA, .fx [data-s="3"] .tA, .fx [data-s="2"] .tC, .fx [data-s="3"] .tC, .fx [data-s="3"] .tS { opacity: 1; transform: translate(-50%, -50%); }
  .tri .el { font-family: var(--sans); font-size: 13px; fill: var(--on-forest-dim); text-anchor: middle; dominant-baseline: central; }
  .tri .base { stroke: var(--forest-line); stroke-width: 1; }
  .tri .flow { stroke: var(--lime); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 0.1 14; fill: none; }
  .tri .flow.b { stroke: var(--on-forest); opacity: 0.55; }
  .fx .tri .flow { animation: march 1.5s linear infinite; }
  .fx .tri .flow.b { animation-direction: reverse; }
  @keyframes march { to { stroke-dashoffset: -14.1; } }
  .fx .tri .e { opacity: 0; transition: opacity 0.6s ease; }
  .fx .tri.s2 .eAC, .fx .tri.s3 .eAC, .fx .tri.s3 .eCS, .fx .tri.s3 .eSA { opacity: 1; }

  /* 6. the rest: marquee, then the list */
  .rest { padding: 110px 0 120px; overflow: hidden; }
  .mq { display: flex; white-space: nowrap; font-family: var(--serif); font-size: clamp(46px, 8vw, 128px); line-height: 1.08; letter-spacing: -0.035em; transform: translate3d(calc(var(--pp, 0) * -14vw), 0, 0); }
  .mq.b { transform: translate3d(calc(-20vw + var(--pp, 0) * 14vw), 0, 0); color: var(--mq2); }
  .mq > div { flex: none; }
  .fx .mq > div { animation: mq 52s linear infinite; }
  .fx .mq.b > div { animation-direction: reverse; }
  .mq span::after { content: "·"; margin: 0 0.32em; color: var(--forest); }
  @keyframes mq { to { transform: translate3d(-50%, 0, 0); } }
  .grid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 44px; margin-top: 76px; }
  .grid div { border-top: 1px solid var(--line); padding: 18px 0 26px; }
  .grid b { font-family: var(--serif); font-weight: 500; font-size: 23px; line-height: 1.2; display: block; margin-bottom: 5px; }
  .grid span { font-size: 16px; color: var(--soft); }

  /* 7. close */
  .end { background: var(--lime); color: var(--accent-ink); padding: 130px 0; }
  .fx .end { height: 160svh; padding: 0; }
  .end .pin { display: flex; align-items: center; }
  .end .words { font-size: clamp(40px, 8vw, 132px); line-height: 0.98; max-width: 11em; }
  .end .words .w { color: var(--accent-ink); }

  /* 8. contact */
  .contact { background: var(--forest); color: var(--on-forest); padding: 130px 0 36px; }
  .contact h2 { margin-bottom: 48px; }
  .c-row { display: grid; grid-template-columns: 130px minmax(0, 1fr); align-items: baseline; padding: 24px 0; border-top: 1px solid var(--forest-line); }
  .c-row span { font-size: 15px; color: var(--on-forest-dim); }
  .c-row a { font-family: var(--serif); font-size: clamp(26px, 4.6vw, 62px); line-height: 1.1; letter-spacing: -0.022em; color: var(--on-forest); text-decoration: none; overflow-wrap: anywhere; transition: color 0.2s ease; }
  .c-row a:hover, .c-row a:focus-visible { color: var(--lime); }
  .c-row a:active { opacity: 0.7; }
  .fine { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 0; padding-top: 26px; border-top: 1px solid var(--forest-line); font-size: 13.5px; color: var(--on-forest-dim); }
  .contact .c-row + .fine, .contact .fine { margin-top: 0; }
  .contact .fine { margin-top: 90px; border-top: 0; }

  /* reveals */
  .fx .rv { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--d, 0s); }
  .fx .rv.in { opacity: 1; transform: none; }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  }

  @media (max-width: 900px) {
    :root { --pad: 20px; }
    body { font-size: 17px; }
    .nav { padding: 14px 20px; }
    .nav { font-size: 14px; }
    .nav-r { gap: 12px; }
    .brand { gap: 8px; }
    .bw { display: none; }
    .fx .hero { height: 160svh; }
    .fx .say { height: 240svh; margin-top: -140svh; }
    .fx .motion { height: 500svh; }
    .m-head { padding-top: 74px; }
    .m-count { font-size: 26px; }
    .panel { grid-template-columns: 1fr; padding: 24px 22px; border-radius: 14px; }
    .fx .panel { width: 84vw; }
    .panel .num { font-size: 46px; margin-bottom: 10px; }
    .panel p { font-size: 17.5px; margin-top: 12px; }
    .side { margin-top: 14px; }
    .vg { height: 150px; padding: 4px 2px; gap: 7px; }
    .vg.vf .fig { transform: translateY(-7%) scale(1.22); }
    .dk { display: none; }
    .hw { margin-top: 12px; }
    .hw b { font-size: 22px; }
    .hw span { display: none; }
    .m-vault { display: none; }
    .m-vault { padding-top: 14px; padding-bottom: 18px; gap: 6px; }
    .tok { font-size: 12px; padding: 3px 8px; }
    .role { padding: 96px 0 80px; }
    .card { grid-template-columns: 1fr; row-gap: 10px; padding: 26px 24px; }
    .fx .card { top: calc(66px + var(--i) * 12px); min-height: 38vh; }
    .card p { font-size: 18px; }
    .play { padding: 84px 0; }
    .fx .play { height: 600svh; }
    .play .pin { justify-content: flex-start; padding-top: 90px; }
    .play h2 { font-size: 30px; }
    .pl-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "list" "fig"; grid-template-rows: auto; row-gap: 22px; align-content: start; }
    .pl-b { grid-template-columns: 1.9em minmax(0, 1fr); }
    .pl-x { display: block; }
    .pl-b b { display: block; }
    .pl-d { display: block; margin-top: 2px; font-size: 15px; }
    .fx .pl-grid { row-gap: 14px; }
    .fx .pl-list { margin-bottom: 14px; }
    .fx .pl-list { display: flex; gap: 6px; border-top: 0; position: relative; padding-bottom: 10.8em; }
    .fx .pl-list li { flex: 1; border: 1px solid var(--forest-line); border-radius: 99px; }
    .fx .pl-list li.on { border-color: var(--lime); }
    .fx .pl-b { display: block; padding: 6px 0; text-align: center; }
    .fx .pl-x { display: none; position: absolute; left: 0; right: 0; top: 78px; text-align: left; }
    .fx .pl-list li.on .pl-x { display: block; }
    .fx .pl-b b { font-size: 25px; }
    .fx .pl-d { font-size: 16.5px; margin-top: 5px; }
    .fx .pl-fig { width: min(100%, calc((100svh - 450px) * 1.45)); }
    .under { padding: 84px 0; }
    .fx .under { height: 180svh; }
    .under .pin { justify-content: flex-start; padding-top: 60px; }
    .u-grid { grid-template-columns: 1fr; }
    .u-stage { max-width: 250px; order: -1; margin: 26px auto 18px; }
    .ti span { font-size: 12.5px; }
    .tA span, .tC span { top: -16px; }
    .under h2 { font-size: 30px; margin-bottom: 6px; }
    .legend li { padding: 6px 0; }
    .under h2 { margin-bottom: 12px; }
    .u-lead { display: none; }
    .legend li { padding: 8px 0; }
    .legend b { font-size: 20px; }
    .legend span { font-size: 14px; }
    .tri .el { display: none; }
    .rest { padding: 84px 0; }
    .grid { grid-template-columns: 1fr; margin-top: 48px; }
    .contact { padding: 92px 0 30px; }
    .contact h2 { margin-bottom: 30px; }
    .c-row { grid-template-columns: 1fr; row-gap: 4px; padding: 18px 0; }
    .contact .fine { margin-top: 60px; }
  }

/* ---------------------------------------------------------------------------
 * telchar.industries: sections this site adds to the portfolio page's system.
 * Colours come from the variables above; motion is gated on .fx as elsewhere.
 * ------------------------------------------------------------------------- */
.by2 { color: var(--lime); font-size: 14px; line-height: 1.4; font-weight: 500; margin: 0 0 14px; }
.lead { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 2.9vw, 40px); line-height: 1.22; letter-spacing: -0.018em; max-width: 24em; margin: 0; }
.lead + .lead { margin-top: 0.7em; }
.sub2 { font-size: 20px; line-height: 1.45; color: var(--soft); max-width: 30em; margin: 22px 0 0; }

/* hero: the headline is a sentence, so it runs smaller than the portfolio's three words */
.hero .kick { font-size: 15px; font-weight: 500; color: var(--lime); margin: 0 0 24px; }
.fx .hero .kick { opacity: 0; animation: fade 1s ease 0.3s forwards; }
.hero h1 { font-size: clamp(33px, min(5.5vw, 9.4svh), 88px); line-height: 1.02; letter-spacing: -0.032em; max-width: 15.5em; }
.fx .hero h1 > span:nth-child(1) { transform: translate3d(calc(var(--p, 0) * -4vw), 0, 0); }
.fx .hero h1 > span:nth-child(2) { transform: translate3d(calc(var(--p, 0) * 6vw), 0, 0); }
.fx .hero h1 > span:nth-child(3) { transform: translate3d(calc(var(--p, 0) * -2vw), 0, 0); }
.hero .sub { margin-top: 30px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 30px; }
.fx .hero .cta { opacity: 0; animation: fade 1s ease 0.65s forwards; }
.btn { display: inline-block; padding: 13px 24px; border-radius: 99px; background: var(--lime); color: var(--accent-ink); font-weight: 600; font-size: 17px; line-height: 1.2; text-decoration: none; transition: background 0.2s ease, transform 0.2s ease; }
.btn:hover, .btn:focus-visible { background: var(--on-forest); }
.btn:active { transform: scale(0.97); }
.cta .txt { color: var(--on-forest); font-size: 17px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; transition: color 0.2s ease; }
.cta .txt:hover, .cta .txt:focus-visible { color: var(--lime); }

/* the argument, after the lit statement */
.arg { background: var(--paper); padding: 40px 0 130px; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 44px; margin-top: 72px; }
.trio div { border-top: 1px solid var(--line); padding: 18px 0 8px; }
.trio b { font-family: var(--serif); font-weight: 500; font-size: 27px; line-height: 1.15; display: block; margin-bottom: 8px; }
.trio span { display: block; font-size: 17.5px; line-height: 1.45; color: var(--soft); max-width: 20em; }

/* who I am */
.who { background: var(--forest); color: var(--on-forest); padding: 130px 0 120px; }
.who-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); column-gap: 72px; align-items: start; }
.who h2 { font-size: clamp(34px, 4.6vw, 64px); }
.who .bio { font-size: 21px; line-height: 1.48; color: var(--on-forest-dim); margin: 26px 0 0; max-width: 25em; }
.who .bio b { color: var(--on-forest); font-weight: 500; }
.who .photo { display: block; width: 100%; max-width: 300px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; border: 1px solid var(--forest-line); margin-top: 36px; }
.who .think { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 2.5vw, 34px); line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 24px; }
.pts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--forest-line); }
.pts li { padding: 14px 0; border-bottom: 1px solid var(--forest-line); }
.pts b { font-family: var(--serif); font-weight: 500; font-size: 23px; line-height: 1.2; display: block; }
.pts span { display: block; font-size: 16.5px; line-height: 1.45; color: var(--on-forest-dim); margin-top: 4px; max-width: 28em; }

/* what I build: the stacking cards, with a list inside two of them */
.card ul { margin: 14px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.card li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 17.5px; line-height: 1.42; color: var(--soft); }
.card li b { color: var(--ink); font-weight: 600; }
.role .after { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3vw, 42px); line-height: 1.12; letter-spacing: -0.02em; margin: 30px 0 0; }

/* one problem: the reasoning beside the method */
.method { background: var(--forest); color: var(--on-forest); padding: 130px 0 110px; }
.method h2 { max-width: 14ch; }
.m-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); column-gap: 72px; margin-top: 60px; align-items: start; }
.reason p { font-family: var(--serif); font-size: clamp(22px, 2.3vw, 31px); line-height: 1.28; letter-spacing: -0.012em; margin: 0 0 0.75em; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: st; border-top: 1px solid var(--forest-line); }
.steps li { counter-increment: st; display: grid; grid-template-columns: 2.4em minmax(0, 1fr); padding: 13px 0; border-bottom: 1px solid var(--forest-line); }
.steps li::before { content: counter(st, decimal-leading-zero); font-size: 13px; font-variant-numeric: tabular-nums; color: var(--lime); padding-top: 5px; }
.steps b { font-family: var(--serif); font-weight: 500; font-size: 21px; line-height: 1.22; display: block; }
.steps span { display: block; font-size: 16px; line-height: 1.45; color: var(--on-forest-dim); margin-top: 3px; }
.changed { background: var(--forest-3); color: var(--on-forest); padding: 20px 0 120px; }

/* the stack is yours; working together */
.jobs { background: var(--paper); padding: 130px 0 110px; }
.jobs h2, .work h2, .faq h2 { max-width: 14ch; }
.jobs .grid, .work .grid { margin-top: 64px; }
.jobs .grid b, .work .grid b { font-size: 25px; }
.jobs .grid span, .work .grid span { display: block; font-size: 17px; line-height: 1.45; max-width: 21em; }
.work { background: var(--tint); padding: 130px 0 110px; }

/* where this goes next: a longer statement than the portfolio's close */
.end .words { font-size: clamp(28px, min(4.3vw, 8svh), 66px); line-height: 1.04; max-width: 19em; }
.end-in { width: 100%; padding-top: 40px; }
.end-note { font-size: 19px; line-height: 1.45; max-width: 31em; margin: 30px 0 0; color: var(--accent-ink); }

/* short FAQ */
.faq { background: var(--paper); padding: 110px 0 120px; }
.qa { margin-top: 56px; border-top: 1px solid var(--line); }
.qa > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); column-gap: 60px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.qa h3 { font-size: clamp(22px, 2.2vw, 29px); line-height: 1.18; letter-spacing: -0.012em; }
.qa p { margin: 0; font-size: 18.5px; line-height: 1.5; color: var(--soft); }

.contact h2 { font-size: clamp(32px, 4.4vw, 60px); max-width: 16em; }

@media (max-width: 900px) {
  .hero h1 { font-size: clamp(31px, 8.6vw, 44px); }
  .btn { font-size: 16px; padding: 12px 20px; }
  .arg { padding: 20px 0 84px; }
  .trio, .who-grid, .m-grid { grid-template-columns: 1fr; }
  .trio { margin-top: 44px; }
  .who-grid > div + div, .m-grid > div + div { margin-top: 48px; }
  .who, .method, .jobs, .work, .faq { padding: 88px 0 80px; }
  .who .bio { font-size: 19px; }
  .m-grid { margin-top: 40px; }
  .changed { padding: 10px 0 84px; }
  .jobs .grid, .work .grid { margin-top: 44px; }
  .end .words { font-size: 28px; }
  .end-note { font-size: 17px; margin-top: 24px; }
  .qa { margin-top: 40px; }
  .qa > div { grid-template-columns: 1fr; row-gap: 8px; padding: 20px 0; }
}
