/* Enigma Media — site v2 (draft). One message per screen, one typeface, two colours.
   MOBILE FIRST: everything outside a media query is the phone; the
   min-width blocks at the end of each part widen it for tablet and desktop.
   Static: no framework, no runtime CDNs, no trackers. */
/* Jost, stored on our own server (fonts/README.txt) */
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 500; font-display: swap; src: url("/site/v2/fonts/jost-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 500; font-display: swap; src: url("/site/v2/fonts/jost-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --paper: #f4f0e8;
  --paper-2: #ebe6db;
  --ink: #14171f;
  --ink-2: #454b59;
  --navy: #1f3d7a;
  --deep: #0e1a33;          /* the dark screens */
  --hair: rgba(20, 23, 31, 0.14);
  --hair-l: rgba(255, 255, 255, 0.22);
  /* Jost is the face; the rest are close relatives, used only if the font file fails to load */
  --face: "Jost", "Futura", "Avenir Next", "Century Gothic", "Helvetica Neue", Arial, sans-serif;
  --slow: 1.1s cubic-bezier(.2, .6, .2, 1);
  --side: max(22px, env(safe-area-inset-left), env(safe-area-inset-right));
  --tap: 44px;              /* smallest thing a thumb is asked to hit */
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink-2); font-family: var(--face); font-size: 17px; line-height: 1.6; font-weight: 400; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
[hidden] { display: none !important; }
a { color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { margin: 0; font-weight: 300; text-transform: uppercase; letter-spacing: .07em; color: var(--ink); line-height: 1.18; }
h1, h2, .lead { text-wrap: balance; }
h1 { font-size: 30px; }
h2 { font-size: 27px; }
h3 { font-size: 15px; font-weight: 500; letter-spacing: .18em; }
p { margin: 0; }
.kicker { font-size: 11.5px; letter-spacing: .26em; text-transform: uppercase; font-weight: 500; }
.lead { font-size: 17px; max-width: 34em; }
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 34px; border-radius: 40px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: background .4s ease, color .4s ease, border-color .4s ease; }
.pill.light { background: #fff; color: var(--ink); }
.pill.dark { background: var(--deep); color: #fff; }
@media (hover: hover) {
  .pill.light:hover { background: transparent; color: #fff; border-color: #fff; }
  .pill.dark:hover { background: transparent; color: var(--deep); border-color: var(--deep); }
}
@media (min-width: 860px) {
  h1 { font-size: clamp(38px, 4.2vw, 56px); letter-spacing: .06em; }
  h2 { font-size: clamp(32px, 3.4vw, 42px); letter-spacing: .08em; }
  .kicker { font-size: 12px; letter-spacing: .3em; }
  .lead { font-size: clamp(17px, 1.5vw, 20px); }
  body { line-height: 1.65; }
}

/* header: three things */
.top { position: fixed; inset: 0 0 auto 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: max(8px, env(safe-area-inset-top)) var(--side) 8px; color: #fff; transition: color .6s ease, background .6s ease; }
.top.on-light { color: var(--deep); }
.top.scrolled { background: rgba(14, 26, 51, .55); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); }
.top.scrolled.on-light { background: rgba(244, 240, 232, .78); }
.top button, .top a { background: none; border: 0; padding: 0; color: inherit; font: inherit; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; text-decoration: none; cursor: pointer; min-height: var(--tap); display: inline-flex; align-items: center; }
.top .menu-btn { justify-self: start; gap: 12px; }
.top .menu-btn i { display: block; width: 22px; height: 7px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.top .mark { justify-self: center; line-height: 0; }
.top .mark svg { height: 32px; width: 122px; display: block; }
.top .talk { justify-self: end; }
.top .talk span { display: none; }
@media (min-width: 640px) {
  .top { padding-top: 16px; padding-bottom: 16px; --side: clamp(28px, 4vw, 56px); }
  .top .talk span { display: inline; margin-left: .5em; }
  .top .mark svg { height: 38px; width: 144px; }
}

/* menu: jump links. Full screen on a phone, a frosted panel from the left on wider screens */
.menu { position: fixed; inset: 0; z-index: 30; pointer-events: none; visibility: hidden; transition: visibility 0s linear .7s; }
.menu .veil { position: absolute; inset: 0; background: rgba(8, 14, 28, .35); opacity: 0; transition: opacity .6s ease; }
.menu .panel { position: absolute; inset: 0 auto 0 0; width: 100%; padding: 96px var(--side) max(40px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 6px; overflow-y: auto; background: rgba(14, 26, 51, .86); backdrop-filter: blur(40px) saturate(1.5); -webkit-backdrop-filter: blur(40px) saturate(1.5); color: #fff; transform: translateX(-100%); transition: transform .7s cubic-bezier(.2, .6, .2, 1); }
.menu.open { pointer-events: auto; visibility: visible; transition-delay: 0s; }
.menu.open .veil { opacity: 1; }
.menu.open .panel { transform: none; }
.menu a { display: flex; align-items: center; width: 100%; min-height: 56px; font-size: 16px; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--hair-l);
  /* each row waits off to the left, then glides in; the bottom row leads (--n = rows below it, set in v2.js) */
  opacity: 0; transform: translateX(-110%); transition: opacity .3s ease, transform 0s linear .3s; }
.menu.open a { opacity: 1; transform: none; transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform .9s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(.2s + var(--n, 0) * .09s); }
.menu .close { position: absolute; top: max(8px, env(safe-area-inset-top)); left: var(--side); min-height: var(--tap); background: none; border: 0; color: #fff; font: inherit; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; cursor: pointer; padding: 0; }
@media (min-width: 640px) {
  .menu .panel { width: 520px; padding: 130px 64px 48px; gap: 18px; align-items: flex-end; background: rgba(14, 26, 51, .74); }
  .menu a { min-height: var(--tap); justify-content: flex-end; font-size: 14px; letter-spacing: .26em; border-bottom: 0; color: rgba(255, 255, 255, .82); }
  .menu .close { top: 16px; left: clamp(28px, 4vw, 56px); }
}
@media (min-width: 640px) and (hover: hover) { .menu a:hover { color: #fff; } }

/* screens */
.screen { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 92px var(--side) 64px; position: relative; overflow: hidden; }
.screen.dark { background: var(--deep); color: rgba(255, 255, 255, .8); }
.screen.dark h1, .screen.dark h2, .screen.dark h3 { color: #fff; }
.screen.tint { background: var(--paper-2); }
.inner { width: 100%; max-width: 1180px; margin: 0 auto; position: relative; z-index: 1; }
.centre { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.centre .lead { margin: 0 auto; }
.two { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center; }
.two .words { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.num { font-size: 12px; letter-spacing: .3em; color: var(--navy); font-weight: 500; }
.dark .num { color: rgba(255, 255, 255, .6); }
@media (min-width: 860px) {
  .screen { padding: 120px clamp(28px, 6vw, 96px) 96px; }
  .centre { gap: 30px; }
  .two { grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 110px); }
  .two .words { gap: 26px; }
  .two.flip .words { order: 2; }
}

/* hero: contour lines, drawn slowly */
.lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.lines path { fill: none; stroke: #fff; stroke-opacity: .16; stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: draw 5s ease forwards; }
.lines path:nth-child(2) { animation-delay: .4s; } .lines path:nth-child(3) { animation-delay: .8s; } .lines path:nth-child(4) { animation-delay: 1.2s; } .lines path:nth-child(5) { animation-delay: 1.6s; } .lines path:nth-child(6) { animation-delay: 2s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero .down { position: absolute; left: 50%; bottom: max(26px, env(safe-area-inset-bottom)); width: 1px; height: 40px; background: rgba(255, 255, 255, .5); transform-origin: top; animation: drop 2.6s ease-in-out infinite; z-index: 1; }
@keyframes drop { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* exhibit 1: the interviewer on an iPhone, drawn in code. Every measure is in
   em, so the one font-size on .iphone scales the whole device. The screen
   uses the real app's colours (app/globals.css). */
.iphone { position: relative; width: 27em; font-size: 10.5px; margin: 0 auto; padding: .34em; border-radius: 5.3em; letter-spacing: 0; line-height: 1.4; text-transform: none;
  background: linear-gradient(145deg, #7a7d84 0%, #2b2d31 16%, #50535a 48%, #1c1d20 80%, #63666d 100%);
  box-shadow: 0 5em 8em -4em rgba(14, 26, 51, .6), 0 1.2em 2.4em -1.2em rgba(14, 26, 51, .45), 0 0 0 1px rgba(0, 0, 0, .35); }
.iphone .key { position: absolute; width: .42em; border-radius: .2em; background: linear-gradient(90deg, #17181a, #5b5e65 55%, #2a2c30); }
.iphone .k1 { left: -.3em; top: 10.6em; height: 2.5em; }
.iphone .k2 { left: -.3em; top: 15.4em; height: 4.7em; }
.iphone .k3 { left: -.3em; top: 21.2em; height: 4.7em; }
.iphone .k4 { right: -.3em; top: 17.4em; height: 7.6em; background: linear-gradient(270deg, #17181a, #5b5e65 55%, #2a2c30); }
.iphone .bezel { border-radius: 5em; padding: .78em; background: #040506; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), inset 0 0 .5em rgba(255, 255, 255, .05); }
.iphone .ui { position: relative; aspect-ratio: 9 / 19.5; border-radius: 4.25em; overflow: hidden; display: flex; flex-direction: column; color: #ecf2f4; font-family: -apple-system, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  background: #10161d radial-gradient(ellipse at 50% -10%, rgba(58, 214, 174, .12), transparent 55%); }
.iphone .island { position: absolute; top: 1.05em; left: 50%; width: 7.6em; height: 2.45em; margin-left: -3.8em; border-radius: 2em; background: #000; z-index: 3; }
.iphone .island i { position: absolute; right: .95em; top: .82em; width: .9em; height: .9em; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #2a3560, #05060a 65%); }
.iphone .status { display: flex; justify-content: space-between; align-items: center; height: 4.7em; padding: .7em 2.1em 0 3em; flex: none; }
.iphone .status b { font-size: 1.5em; font-weight: 600; }
.iphone .status span { display: flex; align-items: center; gap: .4em; }
.iphone .status svg { height: 1em; width: auto; fill: currentColor; display: block; }
.iphone .app-head { display: flex; align-items: center; gap: 1em; padding: .8em 1.4em 1em; border-bottom: 1px solid rgba(255, 255, 255, .09); background: rgba(16, 22, 28, .85); flex: none; }
.iphone .avatar { width: 3.5em; height: 3.5em; border-radius: 50%; display: grid; place-items: center; flex: none; color: #3ad6ae; background: linear-gradient(135deg, #123f38, #0c2a26); border: .16em solid rgba(58, 214, 174, .45); }
.iphone .avatar svg { width: 62%; display: block; }
.iphone .who { display: flex; flex-direction: column; }
.iphone .who b { font-size: 1.4em; font-weight: 700; letter-spacing: .02em; line-height: 1.25; }
.iphone .who small { font-size: 1.1em; color: #7f8f99; }
.iphone .glass { flex: 1; min-height: 0; padding: 1.3em 1.2em; display: flex; flex-direction: column; gap: .95em; overflow: hidden; }
.bub { max-width: 86%; padding: .65em .95em; border-radius: 1.3em; font-size: 1.22em; line-height: 1.4; opacity: 0; transform: translateY(.8em); transition: opacity .9s ease, transform .9s ease; }
.bub.a { align-self: flex-start; border-bottom-left-radius: .35em; color: #ecf2f4; background: #35414e; border: 1px solid rgba(255, 255, 255, .09); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 .15em .6em rgba(0, 0, 0, .3); }
.bub.p { align-self: flex-end; border-bottom-right-radius: .35em; color: #eafff8; background: linear-gradient(160deg, #11665a, #0b473f); border: 1px solid rgba(58, 214, 174, .25); box-shadow: 0 .15em .7em rgba(0, 0, 0, .35); }
.in .bub { opacity: 1; transform: none; }
.in .bub:nth-child(2) { transition-delay: .9s; } .in .bub:nth-child(3) { transition-delay: 1.8s; } .in .bub:nth-child(4) { transition-delay: 2.7s; } .in .bub:nth-child(5) { transition-delay: 3.6s; }
.iphone .composer { display: flex; align-items: center; gap: .9em; padding: 1em 1.2em 2.7em; border-top: 1px solid rgba(255, 255, 255, .09); background: rgba(16, 22, 28, .85); flex: none; }
.iphone .field { flex: 1; height: 3.3em; padding: 0 1em 0 1.3em; border-radius: 2em; display: flex; align-items: center; justify-content: space-between; font-size: 1.25em; color: #7f8f99; background: #29343f; border: 1px solid rgba(255, 255, 255, .12); }
.iphone .field svg { width: 1.5em; height: 1.5em; }
.iphone .send { width: 4.2em; height: 4.2em; border-radius: 50%; flex: none; display: grid; place-items: center; color: #06231b; background: linear-gradient(135deg, #3ad6ae, #17a583); box-shadow: 0 .4em 1.4em rgba(58, 214, 174, .35); }
.iphone .send svg { width: 1.9em; height: 1.9em; }
.iphone .home { position: absolute; left: 50%; bottom: .75em; width: 9.6em; height: .42em; margin-left: -4.8em; border-radius: .3em; background: rgba(255, 255, 255, .8); z-index: 3; }
.iphone .shine { position: absolute; inset: 0; pointer-events: none; z-index: 4; background: linear-gradient(118deg, rgba(255, 255, 255, .11) 0%, rgba(255, 255, 255, .03) 22%, rgba(255, 255, 255, 0) 38%); }
@media (min-width: 860px) { .iphone { font-size: 12.5px; } }

/* exhibit 2: a page of the report */
.sheet { background: #fff; padding: 28px 22px; box-shadow: 0 40px 70px -46px rgba(14, 26, 51, .5), 0 1px 0 rgba(20, 23, 31, .06); max-width: 520px; margin: 0 auto; width: 100%; }
.sheet .kicker { color: var(--navy); }
.sheet h3 { margin: 12px 0 26px; font-size: 17px; letter-spacing: .1em; font-weight: 400; }
.bar { margin-bottom: 22px; }
.bar .row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 15px; line-height: 1.35; color: var(--ink); margin-bottom: 8px; }
.bar .row b { font-weight: 500; white-space: nowrap; }
.bar .track { height: 6px; background: var(--paper-2); }
.bar .fill { height: 100%; width: 0; background: var(--navy); transition: width 1.8s cubic-bezier(.2, .6, .2, 1) .3s; }
.in .bar .fill { width: var(--w); }
.sheet .foot { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--hair); font-size: 13px; color: #6f7585; }
/* the sheet as a calculator: three activities and their hours a week in, hours a year out */
.calc h3 { margin-bottom: 14px; }
.calc .act { padding: 14px 0 18px; border-top: 1px solid var(--hair); }
.calc .ask { display: flex; align-items: center; gap: 12px; }
.calc input { min-height: var(--tap); padding: 0; border: 0; border-bottom: 1px solid transparent; border-radius: 0; background: none; font: inherit; color: var(--ink); -webkit-appearance: none; appearance: none; transition: border-color .4s ease; }
.calc input::placeholder { color: #9aa0ad; opacity: 1; }
.calc input:focus { outline: none; border-bottom-color: var(--navy); }
.calc .what { flex: 1; min-width: 0; font-size: 17px; }
.calc .ask label { display: flex; align-items: baseline; gap: 6px; flex: none; font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.calc .hrs { width: 2.3em; font-size: 26px; font-weight: 300; text-align: right; color: var(--navy); border-bottom-color: var(--hair); font-variant-numeric: tabular-nums; }
.calc .res { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.calc .track { flex: 1; height: 6px; background: var(--paper-2); }
.calc .fill { height: 100%; width: 0; background: var(--navy); transition: width 1.4s cubic-bezier(.2, .6, .2, 1); }
.calc.in .fill { width: var(--w, 0%); }
.calc .res b { flex: none; min-width: 6.6em; text-align: right; font-size: 14px; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.calc .out { padding-top: 26px; border-top: 1px solid var(--hair); }
.calc .big { display: block; font-size: 58px; line-height: 1; font-weight: 300; letter-spacing: .02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.calc .big i { display: block; margin-top: .9em; font-style: normal; font-size: .27em; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
@media (min-width: 860px) { .calc .big i { display: inline; margin: 0 0 0 .3em; } }
.calc .eq { margin-top: 12px; font-size: 15px; color: var(--ink-2); min-height: 3em; }
/* the next step arrives once the count has landed (.wait is set and lifted by v2.js) */
.calc .next { margin-top: 8px; display: flex; flex-direction: column; gap: 18px; transition: opacity 1.1s ease, transform 1.1s ease; }
.calc .next p { font-size: 16px; color: var(--ink); }
.calc .next .pill { width: 100%; }
.calc.wait .next { opacity: 0; transform: translateY(10px); pointer-events: none; }
.calc .foot { margin-top: 24px; }
@media (min-width: 860px) { .calc .next .pill { width: auto; align-self: flex-start; } }
@media (min-width: 860px) {
  .sheet { padding: clamp(36px, 4vw, 52px); }
  .sheet h3 { font-size: 19px; letter-spacing: .12em; margin-bottom: 30px; }
  .bar .row { font-size: 14px; }
}

/* the decision: three quiet blocks */
.levels { display: grid; grid-template-columns: 1fr; margin-top: 36px; text-align: left; width: 100%; }
.levels div { padding: 24px 0; border-top: 1px solid var(--hair-l); }
.levels div:last-child { padding-bottom: 0; }
.levels h3 { margin: 8px 0 10px; font-size: 20px; letter-spacing: .12em; font-weight: 300; }
.levels p { font-size: 16px; }
@media (min-width: 860px) {
  .levels { grid-template-columns: repeat(3, 1fr); margin-top: 64px; border-top: 1px solid var(--hair-l); }
  .levels div { padding: 30px 28px 0 0; border-top: 0; }
  .levels div + div { padding-left: 28px; border-left: 1px solid var(--hair-l); }
  .levels h3 { letter-spacing: .14em; }
  .levels p { font-size: 15.5px; }
  .levels.four { grid-template-columns: repeat(4, 1fr); }
  .levels.four div { padding-right: 22px; }
  .levels.four div + div { padding-left: 22px; }
  .levels.four h3 { font-size: 18px; letter-spacing: .1em; }
}
.screen .aside { margin-top: 20px; }

/* built and running: one figure per program */
.built { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 28px; text-align: left; width: 100%; }
.built article { padding: 30px 0; border-top: 1px solid var(--hair); display: flex; flex-direction: column; }
.built article:last-child { padding-bottom: 0; }
.built .kicker { color: var(--navy); }
.built h3 { margin: 12px 0 12px; font-size: 22px; letter-spacing: .12em; font-weight: 300; }
.built p { font-size: 16px; }
.built .saved { margin-top: auto; padding-top: 26px; display: flex; flex-direction: column; gap: 10px; }
.built .saved .kicker { color: var(--ink-2); }
.built .fig { font-size: 54px; line-height: 1; font-weight: 300; letter-spacing: .02em; color: var(--ink); }
.built .fig i { font-style: normal; font-size: .3em; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.built .figcap { font-size: 14px; color: var(--ink-2); }
@media (min-width: 860px) {
  .built { grid-template-columns: repeat(3, 1fr); margin-top: 56px; border-top: 1px solid var(--hair); }
  .built article { padding: 34px 32px 0 0; border-top: 0; }
  .built article + article { padding-left: 32px; border-left: 1px solid var(--hair); }
  .built .saved { padding-top: 34px; }
  .built .fig { font-size: clamp(52px, 4.6vw, 68px); }
  .built p { font-size: 15.5px; }
}

/* promises */
.promises { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 36px; text-align: left; width: 100%; }
.promises div { border-top: 1px solid var(--hair); padding-top: 20px; }
.promises h3 { margin-bottom: 10px; }
.promises p { font-size: 16px; }
@media (min-width: 860px) { .promises { grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); margin-top: 64px; } .promises div { padding-top: 24px; } }

/* Anders */
.portrait { aspect-ratio: 4 / 5; max-width: 440px; width: 100%; margin: 0 auto; background: var(--paper-2) center / cover no-repeat; position: relative; display: grid; place-items: center; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: #8a8f9c; }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.facts { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--navy); }

/* contact: ask us a question */
.contact .two { align-items: start; }
.contact .details { font-size: 17px; }
.contact .details a { display: inline-flex; align-items: center; min-height: var(--tap); text-decoration: none; border-bottom: 1px solid var(--hair-l); }
.contact .write { min-height: var(--tap); background: none; border: 0; border-bottom: 1px solid var(--hair-l); padding: 0; color: #fff; font: inherit; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; cursor: pointer; }
form.lead-form { display: grid; gap: 10px; width: 100%; }
form.lead-form input, form.lead-form textarea { width: 100%; min-height: 50px; padding: 13px 15px; border: 1px solid var(--hair-l); background: rgba(255, 255, 255, .06); color: #fff; font: inherit; font-size: 16px; border-radius: 0; -webkit-appearance: none; appearance: none; }
form.lead-form input::placeholder, form.lead-form textarea::placeholder { color: rgba(255, 255, 255, .5); }
form.lead-form input:focus, form.lead-form textarea:focus { outline: none; border-color: #fff; }
form.lead-form textarea { min-height: 110px; resize: vertical; }
form.lead-form .ok { border: 1px solid var(--hair-l); padding: 16px; color: #fff; }
.ask-box { border: 1px solid var(--hair-l); background: rgba(255, 255, 255, .04); display: flex; flex-direction: column; height: min(520px, 72svh); }
.ask-log { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.ask-msg { max-width: 90%; padding: 11px 14px; font-size: 16px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.ask-msg.bot { background: rgba(255, 255, 255, .09); color: #fff; align-self: flex-start; }
.ask-msg.me { background: #fff; color: var(--ink); align-self: flex-end; }
.ask-msg a { text-decoration: underline; }
.ask-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 12px; }
.ask-chips button { min-height: 40px; font: inherit; font-size: 14px; padding: 0 14px; border-radius: 40px; border: 1px solid var(--hair-l); background: none; color: rgba(255, 255, 255, .85); cursor: pointer; text-align: left; transition: border-color .4s ease, color .4s ease; }
.ask-form { display: flex; gap: 6px; align-items: flex-end; padding: 8px 10px 8px 16px; border-top: 1px solid var(--hair-l); }
.ask-form textarea { flex: 1; resize: none; border: 0; border-radius: 0; background: none; color: #fff; font: inherit; font-size: 16px; line-height: 1.4; max-height: 110px; padding: 11px 0; }
.ask-form textarea::placeholder { color: rgba(255, 255, 255, .5); }
.ask-form textarea:focus { outline: none; }
.ask-form button { min-height: var(--tap); min-width: 64px; background: none; border: 0; color: #fff; font: inherit; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; cursor: pointer; padding: 0 6px; }
.ask-form button:disabled { opacity: .4; cursor: default; }
.ask-fine { margin: 0; padding: 0 16px 14px; font-size: 12.5px; color: rgba(255, 255, 255, .5); }
@media (min-width: 860px) {
  .contact .details { font-size: 16px; }
  .ask-box { height: min(560px, 74vh); }
  .ask-log { padding: 22px; }
  .ask-msg { font-size: 15px; max-width: 88%; }
  .ask-chips { padding: 0 22px 14px; }
  .ask-chips button { font-size: 13px; min-height: 36px; }
  .ask-form { padding: 10px 16px 10px 22px; }
  .ask-fine { padding: 0 22px 16px; font-size: 12px; }
}
@media (hover: hover) { .ask-chips button:hover { border-color: #fff; color: #fff; } }

footer { background: var(--deep); color: rgba(255, 255, 255, .55); padding: 30px var(--side) max(40px, env(safe-area-inset-bottom)); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; border-top: 1px solid var(--hair-l); display: flex; flex-direction: column; gap: 6px; line-height: 1.9; }
footer a { text-decoration: none; }
@media (min-width: 860px) { footer { flex-direction: row; justify-content: space-between; gap: 20px; padding: 34px clamp(28px, 6vw, 96px) 44px; letter-spacing: .2em; } }

/* reveal: slow, once */
.rv { opacity: 0; transform: translateY(18px); transition: opacity var(--slow), transform var(--slow); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .15s; } .rv.d2 { transition-delay: .3s; } .rv.d3 { transition-delay: .45s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv, .bub { opacity: 1; transform: none; transition: none; }
  .bar .fill { width: var(--w); transition: none; }
  .calc .fill { width: var(--w, 0%); transition: none; }
  .calc .next, .calc.wait .next { opacity: 1; transform: none; transition: none; pointer-events: auto; }
  .lines path { animation: none; stroke-dashoffset: 0; }
  .hero .down { animation: none; }
  .menu, .menu .panel, .menu .veil { transition: none; }
  .menu a, .menu.open a { transform: none; transition: opacity .3s ease; transition-delay: 0s; }
}
