/* Webniv · Interactive direction (Option B), Lagoon palette, dark + light. */
:root {
  --char: #15171a; --char-2: #1d2024; --char-3: #282c31; --mist: #dde3e8; --muted: #8e969e;
  --accent: #10a6d8; --tint: #9fe6ec; --cool: #8fb8cc; --ok: #8fe0c2;
  --g1: #2563ff; --g2: #00c6a7; --b1: #2257f0; --b2: #07806f; --ink: #fff;
  --grad: linear-gradient(120deg, var(--g1) 0%, var(--g2) 100%); --grad-btn: linear-gradient(120deg, var(--b1) 0%, var(--b2) 100%);
  --line: rgba(221,227,232,.1); --line-2: rgba(221,227,232,.2);
  --sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif; --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --serif: "Instrument Serif", Georgia, serif;
  --g: clamp(1rem, .5rem + 2.5vw, 2.5rem); --max: 1280px; --ease: cubic-bezier(.16,1,.3,1);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --char: #f4f6f7; --char-2: #ffffff; --char-3: #e7ebee; --mist: #14171b; --muted: #5a626b;
  --accent: #0b84b5; --tint: #08707e; --cool: #2c6c8c; --ok: #157a52;
  --line: rgba(20,23,27,.09); --line-2: rgba(20,23,27,.17);
  color-scheme: light;
}

/* Colour options (dark values first, then light-theme tweaks for contrast) */
:root:not([data-theme="light"]) { --char: #141414; --char-2: #1c1c1c; --char-3: #262626; --mist: #f2f1ee; --muted: #a09e99; --cool: #c6c3bc; --line: rgba(242,241,238,.1); --line-2: rgba(242,241,238,.2); --g1: #8ea6ff; --g2: #c3cfff; --b1: #24408f; --b2: #2e4ea8; --ink: #ffffff; --accent: #8ea6ff; --tint: #c9d4ff; --ok: #8ea6ff; }
:root[data-theme="light"] { --char: #f5f4f1; --char-2: #ffffff; --char-3: #e9e7e2; --mist: #161616; --muted: #5c5a56; --cool: #3a3936; --line: rgba(22,22,22,.1); --line-2: rgba(22,22,22,.18); --g1: #1d3a8a; --g2: #152b66; --b1: #1d3a8a; --b2: #26489f; --ink: #ffffff; --accent: #1d3a8a; --tint: #152b66; --ok: #1d3a8a; }
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--char); color: var(--mist); font: 400 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; transition: background-color .35s, color .35s; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: calc(var(--max) + var(--g) * 2); margin-inline: auto; padding-inline: var(--g); }
.mono { font: 500 .74rem/1.4 var(--mono); letter-spacing: .04em; }
.muted { color: var(--muted); }
.gt { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -60px; background: var(--accent); color: #fff; padding: .5rem 1rem; z-index: 99; }
.skip:focus { top: 1rem; }
#dots { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; }
.flag { font: 500 .7rem var(--mono); color: var(--tint); border: 1px dashed var(--accent); border-radius: 6px; padding: .15rem .45rem; white-space: nowrap; }

/* Header: floating command bar */
.bar { position: sticky; top: 12px; z-index: 50; margin: 12px auto 0; width: min(100% - 2rem, 1020px); display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .45rem .5rem .45rem .7rem; background: color-mix(in srgb, var(--char-2) 86%, transparent); border: 1px solid var(--line-2); border-radius: 14px; backdrop-filter: blur(10px); }
.logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; }
.logo svg { width: 32px; height: 32px; flex: none; transition: transform .5s var(--ease); }
.logo:hover svg { transform: rotate(-8deg) scale(1.04); }
.logo .wm { font-weight: 800; font-size: 1.2rem; letter-spacing: -.045em; line-height: 1; }
.logo .wm i { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bar nav { display: flex; gap: .2rem; position: relative; }
.bar nav a { text-decoration: none; padding: .5rem .8rem; font-size: .92rem; color: var(--muted); border-radius: 8px; position: relative; z-index: 1; transition: color .2s; }
.bar nav a:hover, .bar nav a[aria-current="page"] { color: var(--mist); }
.bar nav a[aria-current="page"]::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .3rem; height: 2px; border-radius: 2px; background: var(--grad); }
.pill { position: absolute; top: 0; bottom: 0; background: var(--char-3); border-radius: 8px; transition: transform .45s var(--ease), width .45s var(--ease), opacity .3s; opacity: 0; }
.bar-r { display: flex; align-items: center; gap: .4rem; }
.theme { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; color: var(--mist); }
.theme:hover { background: var(--char-3); }
.theme svg { width: 18px; height: 18px; }
.theme .sun { display: none; }
:root[data-theme="light"] .theme .sun { display: block; }
:root[data-theme="light"] .theme .moon { display: none; }
.kbd { font: 500 .7rem var(--mono); border: 1px solid var(--line-2); border-radius: 6px; padding: .15rem .4rem; color: var(--muted); }
.cta { display: inline-flex; align-items: center; gap: .5rem; padding: .62rem 1rem; background: var(--grad-btn); color: var(--ink); border-radius: 10px; text-decoration: none; font-weight: 700; font-size: .9rem; border: 0; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.cta:hover { transform: translateY(-1px); }
.btn-ghost { display: inline-flex; align-items: center; gap: .5rem; padding: .62rem 1rem; border: 1px solid var(--line-2); border-radius: 10px; text-decoration: none; font-weight: 600; font-size: .9rem; }
.btn-ghost:hover { border-color: var(--mist); }
@media (max-width: 860px) { .bar nav { display: none; } .bar .cta span.long { display: none; } }
.mnav { display: none; }
@media (max-width: 860px) { .mnav { display: flex; gap: .3rem; overflow-x: auto; width: min(100% - 2rem, 1020px); margin: .5rem auto 0; } .mnav a { flex: none; text-decoration: none; font-size: .85rem; padding: .35rem .7rem; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); } .mnav a[aria-current="page"] { color: var(--mist); border-color: var(--accent); } }

/* Hero composer */
.hero { padding-block: clamp(1.5rem, .5rem + 2.5vw, 3rem) clamp(3rem, 2rem + 3vw, 5rem); }
.hero-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; align-items: center; } }
.composer { display: grid; gap: 1rem; align-content: start; min-width: 0; }
.composer .ask { margin: 0; }
.composer .chips { margin-bottom: .2rem; }
.who { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.2rem; }
.who .av { width: 38px; height: 38px; border-radius: 50%; background: var(--grad-btn); display: grid; place-items: center; font-weight: 800; color: var(--ink); font-size: .85rem; }
h1 { font-size: clamp(2.6rem, min(1.3rem + 5vw, 10.5vh), 5.4rem); line-height: .98; letter-spacing: -.045em; font-weight: 750; margin: 0 0 1.2rem; text-wrap: balance; }
h1 .c { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
h1 .w { display: inline-block; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 46ch; margin: 0; }
.phero .lede { margin-bottom: 0; }
.lede b { color: var(--mist); font-weight: 600; }
.ask { font-weight: 600; margin: 0 0 .8rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { border: 1px solid var(--line-2); background: var(--char-2); border-radius: 999px; padding: .5rem .95rem; cursor: pointer; font-size: .95rem; transition: border-color .2s, background .2s; }
.chip:hover { border-color: var(--mist); }
.chip[aria-pressed="true"] { background: var(--accent); color: var(--char); border-color: var(--accent); font-weight: 600; }
.console { border: 1px solid var(--line-2); border-radius: 16px; background: color-mix(in srgb, var(--char-2) 92%, transparent); overflow: hidden; min-width: 0; }
.console-top { display: flex; justify-content: space-between; align-items: center; padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
.console-top .state { display: inline-flex; align-items: center; gap: .5rem; }
.console-top .state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.console-body { padding: 1.3rem; display: grid; gap: 1rem; min-height: 330px; align-content: start; }
.q { font-size: 1.05rem; color: var(--muted); margin: 0; }
.q b { color: var(--mist); }
.plan { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; counter-reset: s; }
.plan li { display: grid; grid-template-columns: 2rem 1fr; gap: .6rem; align-items: start; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s var(--ease); }
.plan li.in { opacity: 1; transform: none; }
.plan li::before { counter-increment: s; content: counter(s, decimal-leading-zero); font: 500 .75rem/1.9 var(--mono); color: var(--accent); }
.stack { display: flex; flex-wrap: wrap; gap: .4rem; }
.stack span { font: 500 .72rem var(--mono); border: 1px solid var(--line-2); border-radius: 6px; padding: .2rem .5rem; color: var(--cool); }
.ref { display: flex; gap: .9rem; align-items: center; border-top: 1px solid var(--line); padding-top: 1rem; font-size: .92rem; }
.ref img { width: 84px; height: 60px; object-fit: cover; object-position: top; border-radius: 6px; border: 1px solid var(--line-2); }
.ref a { color: var(--accent); text-decoration: none; font-weight: 600; }

/* Stats */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: 20px; background: linear-gradient(var(--char-2), var(--char-2)) padding-box, linear-gradient(120deg, color-mix(in srgb, var(--accent) 55%, transparent), var(--line) 45%) border-box; border: 1px solid transparent; overflow: hidden; }
.facts div { padding: clamp(1.4rem, 1rem + 1.5vw, 2.2rem) clamp(1.2rem, 1rem + 1vw, 2rem); display: grid; gap: .55rem; align-content: start; position: relative; }
.facts div + div::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line-2); }
.facts b { font-size: clamp(2.4rem, 1.6rem + 2.4vw, 3.6rem); font-weight: 750; letter-spacing: -.05em; line-height: .95; font-variant-numeric: tabular-nums; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.facts b small { font-size: .5em; letter-spacing: -.02em; }
.facts span { color: var(--mist); font-weight: 600; font-size: .98rem; line-height: 1.3; }
.facts em { font-style: normal; color: var(--muted); font-size: .85rem; line-height: 1.4; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr 1fr; } .facts div:nth-child(3)::before { display: none; } .facts div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* Marquee */
.marquee { border-block: 1px solid var(--line-2); background: var(--mist); color: var(--char); overflow: hidden; margin-top: clamp(3rem, 2rem + 3vw, 5rem); }
.mq-track { display: flex; width: max-content; animation: mq 38s linear infinite; }
.marquee:hover .mq-track { animation-play-state: paused; }
.mq-track ul { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.mq-track li { display: flex; align-items: center; white-space: nowrap; font-size: clamp(1.5rem, 1rem + 2vw, 2.6rem); line-height: 1; padding-block: clamp(1rem, .7rem + 1vw, 1.6rem); }
.mq-track li:nth-child(odd) { font-weight: 750; letter-spacing: -.035em; }
.mq-track li:nth-child(even) { font: italic 400 clamp(1.7rem, 1.1rem + 2.3vw, 3rem)/1 var(--serif); color: color-mix(in srgb, var(--char) 52%, var(--mist)); }
.mq-track li::after { content: ""; width: .42em; height: .42em; border-radius: 50%; background: var(--grad); margin-inline: .9em; flex: none; }
@keyframes mq { to { transform: translateX(-50%); } }

/* Sections */
section { padding-block: clamp(4rem, 2.5rem + 5vw, 7.5rem); }
.head { display: grid; gap: .8rem; margin-bottom: 2.5rem; max-width: 760px; }
.head h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); line-height: 1; letter-spacing: -.04em; font-weight: 750; margin: 0; text-wrap: balance; }
.head h2 .c { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.head p { color: var(--muted); margin: 0; max-width: 56ch; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; margin-bottom: 2.5rem; }
.head-row .head { margin-bottom: 0; }

/* Page hero (Story, Work) */
.phero { padding-block: clamp(3.5rem, 2rem + 6vw, 8rem) clamp(2rem, 1rem + 3vw, 4rem); }
.phero .crumb { display: inline-flex; gap: .5rem; align-items: center; margin-bottom: 1.4rem; }
.phero h1 { max-width: 16ch; }
.phero .lede { max-width: 58ch; }

/* Story: vertical timeline */
.tl { position: relative; display: grid; gap: clamp(2.5rem, 2rem + 2vw, 4rem); padding-left: clamp(2.2rem, 1.5rem + 3vw, 5rem); }
.tl::before { content: ""; position: absolute; left: clamp(.5rem, .3rem + .8vw, 1.2rem); top: .4rem; bottom: .4rem; width: 2px; background: var(--line-2); }
.tl-fill { position: absolute; left: clamp(.5rem, .3rem + .8vw, 1.2rem); top: .4rem; bottom: .4rem; width: 2px; background: var(--grad); transform-origin: top; transform: scaleY(1); }
.ch { position: relative; display: grid; gap: 1rem 3rem; }
@media (min-width: 900px) { .ch { grid-template-columns: 220px 1fr; } }
.ch::before { content: ""; position: absolute; left: calc(-1 * clamp(2.2rem, 1.5rem + 3vw, 5rem) + clamp(.5rem, .3rem + .8vw, 1.2rem) - 6px); top: .35rem; width: 14px; height: 14px; border-radius: 50%; background: var(--char); border: 2px solid var(--accent); }
.ch.now::before { background: var(--grad); border-color: transparent; }
.ch .when { font: 500 .78rem var(--mono); color: var(--accent); padding-top: .3rem; }
.ch h2 { margin: 0 0 .6rem; font-size: clamp(1.7rem, 1.2rem + 2vw, 2.8rem); letter-spacing: -.04em; line-height: 1.02; }
.ch p { margin: 0 0 1rem; color: var(--muted); max-width: 62ch; }
.ch .tools { margin-top: .4rem; }

/* Expertise layers */
.layers { display: grid; gap: .5rem; }
.layer { border: 1px solid var(--line); border-radius: 14px; background: var(--char-2); overflow: hidden; transition: border-color .3s; }
.layer:hover { border-color: var(--line-2); }
.layer.open { border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.layer button { width: 100%; text-align: left; background: none; border: 0; padding: 1.2rem 1.3rem; display: grid; grid-template-columns: 3rem 1fr auto; gap: 1rem; align-items: center; cursor: pointer; }
.layer .ix { font: 500 .8rem var(--mono); color: var(--muted); }
.layer .nm { font-size: clamp(1.2rem, 1rem + 1vw, 1.7rem); font-weight: 700; letter-spacing: -.03em; }
.st { font: 500 .7rem var(--mono); padding: .25rem .55rem; border-radius: 6px; border: 1px solid var(--line-2); white-space: nowrap; }
.st.p { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 40%, transparent); } .st.d { color: var(--cool); border-color: color-mix(in srgb, var(--cool) 45%, transparent); } .st.b { color: var(--tint); border-color: color-mix(in srgb, var(--tint) 40%, transparent); }
.layer-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.layer.open .layer-body { grid-template-rows: 1fr; }
.layer-body > div { overflow: hidden; }
.layer-inner { display: grid; gap: 1.2rem; padding: 0 1.3rem 1.4rem 5.3rem; }
@media (min-width: 900px) { .layer-inner { grid-template-columns: 1.2fr 1fr; } }
@media (max-width: 600px) { .layer-inner { padding-left: 1.3rem; } }
.layer-inner p { margin: 0; color: var(--muted); }
.tools { display: flex; flex-wrap: wrap; gap: .4rem; align-content: start; }
.tools span { font: 500 .74rem var(--mono); padding: .3rem .55rem; border-radius: 6px; background: var(--char-3); }
.tools span.cf { background: transparent; border: 1px dashed var(--accent); color: var(--tint); }
.legend { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1rem; }

/* Work spreads (editorial) */
.spread { display: grid; gap: 1.5rem; padding-block: 2.5rem; border-top: 1px solid var(--line); align-items: start; }
.spread:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 900px) { .spread { grid-template-columns: 90px 1.5fr 1fr; gap: 2.5rem; } .spread.flip .fig { order: 3; } .spread.flip .cap { order: 2; } }
.spread .no { font: 400 clamp(3rem, 2rem + 3vw, 5rem)/.8 var(--serif); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fig { margin: 0; border-radius: 14px; border: 1px solid var(--line-2); position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--char-2); max-width: 100%; }
.fig img { width: 100%; transition: transform 6s cubic-bezier(.45,0,.3,1); }
.fig:hover img, .fig:focus-within img { transform: translateY(var(--shift, 0)); }
.fig figcaption { position: absolute; left: 0; bottom: 0; background: var(--char); padding: .4rem .7rem; color: var(--muted); border-top-right-radius: 8px; }
.cap h3 { font: 400 clamp(1.9rem, 1.3rem + 1.8vw, 3rem)/1 var(--serif); margin: .4rem 0 1rem; letter-spacing: -.02em; }
.cap p { color: var(--muted); margin: 0 0 1rem; max-width: 46ch; }
.cap dl { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.2rem; margin: 0; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .9rem; }
.cap dt { color: var(--muted); font: 500 .7rem/1.9 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.cap dd { margin: 0; }
.also { margin-top: 3rem; }
.also h3 { font: 500 .75rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 .8rem; }
.also ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.also li a { display: grid; grid-template-columns: 3rem 1fr auto; gap: 1rem; align-items: baseline; padding: 1rem 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: color .2s, padding .35s var(--ease); }
.also li a:hover, .also li a:focus-visible { color: var(--accent); padding-left: .6rem; }
.also .t { font: 400 clamp(1.3rem, 1rem + 1vw, 1.9rem)/1.1 var(--serif); }
.also .k { color: var(--muted); font-size: .85rem; text-align: right; }
.peek { border-radius: 12px; position: fixed; width: 280px; aspect-ratio: 4/3; pointer-events: none; z-index: 40; opacity: 0; transform: translate(-50%, -110%) scale(.92); transition: opacity .25s, transform .35s var(--ease); background-size: cover; background-position: top center; border: 1px solid var(--line-2); }
.peek.on { opacity: 1; transform: translate(-50%, -110%) scale(1); }

/* Home: work teaser */
.teasers { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.teaser { text-decoration: none; display: grid; gap: .9rem; }
.teaser .fig { aspect-ratio: 16/11; }
.teaser .t { font: 400 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.05 var(--serif); }
.teaser .k { color: var(--muted); font-size: .88rem; }
.teaser:hover .t { color: var(--accent); }
.story-band { display: grid; gap: 1.5rem; align-items: center; border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.4rem, 1rem + 2vw, 2.6rem); background: var(--char-2); }
@media (min-width: 900px) { .story-band { grid-template-columns: 1.3fr 1fr auto; } }
.story-band h2 { margin: 0; font-size: clamp(1.7rem, 1.2rem + 2vw, 2.8rem); letter-spacing: -.04em; line-height: 1.02; }
.story-band ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; color: var(--muted); }
.story-band ol b { color: var(--mist); font-weight: 600; }

/* Reviews */
.revs { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.rev { margin: 0; border: 1px solid var(--line); border-radius: 14px; padding: 1.3rem; display: grid; gap: .8rem; align-content: start; background: var(--char-2); }
.rev .src { display: flex; justify-content: space-between; align-items: center; }
.rev .stars { color: #f5b301; letter-spacing: .1em; font: 400 1.05rem/1 var(--sans); }
.rev .when { color: var(--muted); font: 500 .72rem var(--mono); }
.rev p { margin: 0; font-size: .95rem; line-height: 1.55; color: var(--mist); }
.rev .nm { font-weight: 700; color: var(--mist); }
.revs-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.2rem; }
.revs-foot .cta { padding: .75rem 1.2rem; }

/* AI & crypto */
.duo { display: grid; gap: 1rem; }
@media (min-width: 860px) { .duo { grid-template-columns: 1fr 1fr; } }
.duo article { border: 1px solid var(--line); border-radius: 16px; padding: 1.6rem; display: grid; gap: .8rem; background: var(--char-2); }
.duo h3 { margin: 0; font-size: 1.6rem; letter-spacing: -.03em; }
.duo p { margin: 0; color: var(--muted); }
.duo ul { margin: 0; padding-left: 1.1rem; color: var(--muted); display: grid; gap: .3rem; }
.duo .tag { justify-self: start; }

/* Contact brief */
.brief { border: 1px solid var(--line-2); border-radius: 20px; padding: clamp(1.3rem, 1rem + 2vw, 2.6rem); background: var(--char-2); display: grid; gap: 1.6rem; }
.brief h2 { font-size: clamp(2.2rem, 1.2rem + 4vw, 4.6rem); line-height: .98; letter-spacing: -.045em; margin: 0; font-weight: 750; }
.brief h2 .c { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sentence { font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); line-height: 2.1; color: var(--muted); margin: 0; }
.sentence input, .sentence select { font: inherit; color: var(--mist); background: transparent; border: 0; border-bottom: 2px solid var(--line-2); padding: 0 .2rem; min-width: 8ch; max-width: 100%; }
.sentence input:focus, .sentence select:focus { outline: none; border-bottom-color: var(--accent); }
.sentence select option { background: var(--char-2); color: var(--mist); }
.brief textarea { width: 100%; min-height: 110px; background: var(--char); color: var(--mist); border: 1px solid var(--line-2); border-radius: 12px; padding: .9rem 1rem; font: inherit; resize: vertical; }
.brief textarea:focus { outline: none; border-color: var(--accent); }
.brief-foot { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.status { color: var(--muted); font-size: .9rem; min-height: 1.2em; margin: 0; }

/* Contact: split layout with a raised form card that follows the theme */
.contact { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 980px) { .contact { grid-template-columns: 1fr 1.05fr; gap: 4rem; } }
.eyebrow { display: inline-flex; align-items: center; gap: .7rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.contact-l h2 { font-size: clamp(2.6rem, 1.4rem + 4.4vw, 5.2rem); line-height: .95; letter-spacing: -.05em; font-weight: 750; margin: 1.2rem 0 1.4rem; }
.contact-l h2 .it { display: block; font: inherit; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
.contact-l > p { font-size: 1.12rem; max-width: 44ch; margin: 0 0 1.8rem; }
.mail-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.mail { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); font-weight: 750; letter-spacing: -.035em; text-decoration: none; }
.mail:hover { color: var(--accent); }
.copy { font: 500 .78rem var(--mono); padding: .45rem .8rem; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; cursor: pointer; }
.copy:hover { border-color: var(--mist); }
.c-rows { display: grid; grid-template-columns: auto 1fr; margin: 0; border-top: 1px solid var(--line); max-width: 560px; }
.c-rows dt, .c-rows dd { margin: 0; padding: .95rem 0; border-bottom: 1px solid var(--line); }
.c-rows dt { font: 500 .72rem/1.9 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.c-rows dd { text-align: right; } .c-rows a { text-decoration: none; } .c-rows a:hover { color: var(--accent); }
.fcard { --fc: var(--mist); --fm: var(--muted); --fl: var(--line-2); --ff: color-mix(in srgb, var(--char) 70%, var(--char-2)); color: var(--fc); border-radius: 22px; padding: clamp(1.3rem, 1rem + 1.6vw, 2.2rem); display: grid; gap: 1.3rem; border: 1px solid transparent; background: radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 60%) padding-box, linear-gradient(var(--char-2), var(--char-2)) padding-box, linear-gradient(140deg, color-mix(in srgb, var(--g1) 70%, transparent), var(--line) 40%, color-mix(in srgb, var(--g2) 55%, transparent)) border-box; box-shadow: 0 40px 90px -50px rgba(0,0,0,.55); }
:root[data-theme="light"] .fcard { box-shadow: 0 30px 70px -45px rgba(20,40,80,.35); }
.fcard label > span, .need legend > span { display: block; font: 500 .72rem var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--fm); margin-bottom: .5rem; }
.need legend em { font: 400 .72rem var(--mono); color: var(--fm); font-style: normal; }
.need legend > span { display: inline; }
.f2 { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.fcard input:not([type=checkbox]), .fcard textarea { width: 100%; font: inherit; color: var(--fc); background: var(--ff); border: 1px solid var(--fl); border-radius: 10px; padding: .85rem 1rem; transition: border-color .2s, background .2s, box-shadow .2s; }
.fcard textarea { resize: vertical; min-height: 130px; }
.fcard input:focus, .fcard textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.fcard ::placeholder { color: var(--fm); opacity: .8; }
.fcard input.bad, .fcard textarea.bad { border-color: #e5484d; }
.fcard .status.ok { padding: .8rem 1rem; background: rgba(48,164,108,.14); color: var(--fc); border: 1px solid rgba(48,164,108,.55); }
.fcard.sending [type=submit] { opacity: .65; cursor: progress; }
.fcard .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.need { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.need legend { padding: 0; margin-bottom: .6rem; }
.need label { position: relative; cursor: pointer; }
.need input { position: absolute; opacity: 0; pointer-events: none; }
.need label span { display: inline-block; margin: 0; font: 500 .92rem/1.2 var(--sans); text-transform: none; letter-spacing: 0; padding: .55rem 1rem; border: 1px solid var(--fl); border-radius: 999px; font-size: .92rem; color: var(--fc); transition: background .2s, color .2s, border-color .2s; }
.need label:hover span { border-color: var(--fc); }
.need input:checked + span { background: var(--grad-btn); color: var(--ink); border-color: transparent; }
.need input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.f-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.f-foot small { color: var(--fm); max-width: 32ch; line-height: 1.5; }
.cta.big { padding: .95rem 1.5rem; font-size: 1.02rem; border-radius: 999px; }
.fcard .status { margin: 0; border-radius: 10px; font-size: .92rem; }
.fcard .status:empty { display: none; }
.fcard .status.note { padding: .8rem 1rem; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--fc); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.fcard .status.err { padding: .8rem 1rem; background: rgba(229,72,77,.12); color: var(--fc); border: 1px solid rgba(229,72,77,.5); }

/* CTA band (inner pages) */
.band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; border-radius: 20px; padding: clamp(1.6rem, 1rem + 3vw, 3.2rem); background: linear-gradient(var(--char-2), var(--char-2)) padding-box, var(--grad) border-box; border: 1px solid transparent; }
.band h2 { margin: 0; font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3.4rem); letter-spacing: -.045em; line-height: 1; }

footer { border-top: 1px solid var(--line); padding-block: 2.5rem 3rem; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; color: var(--muted); font-size: .9rem; }
.foot a { text-decoration: none; } .foot a:hover { color: var(--mist); }
.foot .logo svg { width: 26px; height: 26px; }

@media (prefers-reduced-motion: reduce) { .peek { display: none; } .mq-track { animation: none !important; flex-wrap: wrap; width: auto; } .mq-track ul + ul { display: none; } *, *::before, *::after { animation: none !important; transition: none !important; } .plan li { opacity: 1; transform: none; } #dots { display: none; } }

:root:not([data-theme="light"]) .cta, :root:not([data-theme="light"]) .who .av { box-shadow: inset 0 0 0 1px rgba(142,166,255,.4); }
@media (min-width: 1000px) { .console-body { padding: 1.1rem 1.2rem; gap: .8rem; min-height: 300px; } .plan { gap: .45rem; } .plan li { line-height: 1.45; } .ref { padding-top: .8rem; } .ref img { width: 64px; height: 46px; } }
.badge { display: inline-block; padding: .18rem .5rem; border-radius: 6px; background: var(--grad-btn); color: var(--ink); font-size: .68rem; font-weight: 600; letter-spacing: .08em; }
.teaser .fig { position: relative; } .teaser .fig .badge { position: absolute; top: .7rem; right: .7rem; z-index: 2; box-shadow: 0 4px 14px rgba(0,0,0,.35); }
.cap .visit { margin-top: 1.2rem; }

/* ---------- Page hero with an illustration (Expertise) ---------- */
.phero.has-fig .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.phero-fig { margin: 0; justify-self: end; width: 100%; max-width: 440px; }
.phero-fig img { display: block; width: 100%; height: auto; border-radius: 18px; border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6), 0 0 0 6px color-mix(in srgb, var(--accent) 6%, transparent); }
@media (max-width: 860px) {
  .phero.has-fig .wrap { grid-template-columns: 1fr; }
  .phero-fig { justify-self: start; max-width: 380px; }
}
/* ---------- Site-wide: quiet scrollbar (overrides an old green one from the Simple Custom CSS plugin) ---------- */
html { scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--mist) 22%, var(--char)) var(--char); }
html::-webkit-scrollbar { width: 10px; }
html::-webkit-scrollbar-track { background: var(--char); }
html::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--mist) 22%, var(--char)); border-radius: 10px; border: 2px solid var(--char); }
html::-webkit-scrollbar-thumb:hover { background: color-mix(in srgb, var(--mist) 38%, var(--char)); }

/* ---------- WhatsApp Chat plugin button, in the site's navy ---------- */
.qlwapp .qlwapp__button.qlwapp__button--bubble { background: var(--grad-btn) !important; color: #fff !important; box-shadow: inset 0 0 0 1px rgba(142,166,255,.45), 0 10px 28px rgba(0,0,0,.35) !important; transition: transform .2s, box-shadow .2s; }
.qlwapp .qlwapp__button.qlwapp__button--bubble:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(142,166,255,.7), 0 14px 32px rgba(0,0,0,.4) !important; }
:root[data-theme="light"] .qlwapp .qlwapp__button.qlwapp__button--bubble { box-shadow: 0 10px 24px rgba(20,30,70,.25) !important; }

/* ---------- WordPress views: blog, articles, plain pages ---------- */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.post a { display: grid; gap: .7rem; height: 100%; padding: .8rem .8rem 1.3rem; border: 1px solid var(--line-2); border-radius: 16px; background: var(--char-2); text-decoration: none; transition: border-color .2s, transform .2s; }
.post a:hover { border-color: var(--accent); transform: translateY(-2px); }
.post .thumb { aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: var(--char-3); }
.post .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post .meta { font-size: .75rem; color: var(--muted); padding-inline: .3rem; }
.post .t { font-size: 1.25rem; line-height: 1.2; letter-spacing: -.02em; margin: 0; padding-inline: .3rem; }
.post p { margin: 0; color: var(--muted); font-size: .95rem; padding-inline: .3rem; }
.post .more { color: var(--accent); font-weight: 600; font-size: .9rem; padding-inline: .3rem; margin-top: auto; }
.pagination { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.5rem; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 2.6rem; height: 2.6rem; padding: 0 .8rem; border: 1px solid var(--line-2); border-radius: 10px; text-decoration: none; }
.pagination .page-numbers.current { background: var(--accent); color: var(--char); border-color: var(--accent); font-weight: 700; }
.article-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; color: var(--muted); font-size: .8rem; margin-top: 1.2rem; }
.phero.article h1 { max-width: 22ch; font-size: clamp(2.2rem, 1.2rem + 3.6vw, 4.2rem); }
.entry { max-width: 72ch; font-size: 1.07rem; line-height: 1.75; color: color-mix(in srgb, var(--mist) 88%, var(--char)); }
.entry > * + * { margin-top: 1.2em; }
.entry h2, .entry h3, .entry h4 { color: var(--mist); letter-spacing: -.025em; line-height: 1.2; margin-top: 2em; }
.entry h2 { font-size: 1.8rem; } .entry h3 { font-size: 1.4rem; } .entry h4 { font-size: 1.15rem; }
.entry a { color: var(--accent); text-underline-offset: 3px; }
.entry img, .entry video, .entry iframe { max-width: 100%; height: auto; border-radius: 12px; }
.entry figure { margin-inline: 0; } .entry figcaption, .entry .wp-caption-text { color: var(--muted); font-size: .85rem; margin-top: .5rem; }
.entry ul, .entry ol { padding-left: 1.3em; } .entry li + li { margin-top: .4em; }
.entry blockquote { margin-inline: 0; padding: .4rem 0 .4rem 1.2rem; border-left: 3px solid var(--accent); color: var(--mist); }
.entry pre { overflow-x: auto; padding: 1rem 1.2rem; border-radius: 12px; background: var(--char-2); border: 1px solid var(--line-2); font: .9rem/1.6 var(--mono); }
.entry code { font: .9em var(--mono); background: var(--char-2); padding: .1em .35em; border-radius: 5px; }
.entry pre code { background: none; padding: 0; }
.entry table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.entry th, .entry td { border: 1px solid var(--line-2); padding: .55rem .75rem; text-align: left; }
.entry .alignleft { float: left; margin: .3rem 1.5rem 1rem 0; } .entry .alignright { float: right; margin: .3rem 0 1rem 1.5rem; } .entry .aligncenter { margin-inline: auto; display: block; }
.domains { list-style: none; padding: 0 !important; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); max-width: none; }
.domains li + li { margin-top: 0; }
.domain a { display: grid; gap: .6rem; padding: .8rem; border: 1px solid var(--line-2); border-radius: 14px; background: var(--char-2); text-decoration: none; color: var(--mist); font-weight: 600; }
.domain img { border-radius: 8px; width: 100%; height: auto; }
.comments { max-width: 72ch; margin-top: 3rem; }
.comments ol { list-style: none; padding: 0; } .comments .comment-body { border-top: 1px solid var(--line); padding-block: 1.2rem; }
.comments input:not([type=submit]):not([type=checkbox]), .comments textarea { width: 100%; padding: .75rem .9rem; border-radius: 10px; border: 1px solid var(--line-2); background: var(--char-2); color: var(--mist); font: inherit; }
.comments [type=submit] { padding: .7rem 1.2rem; border-radius: 10px; border: 0; background: var(--grad-btn); color: var(--ink); font-weight: 700; cursor: pointer; }
.contact-page { padding-top: clamp(3rem, 2rem + 4vw, 6rem); }
.contact-page h1 { font-size: clamp(2.4rem, 1.4rem + 4vw, 4.6rem); line-height: 1; letter-spacing: -.045em; margin: .6rem 0 1.2rem; }
.contact-page h1 .it { display: block; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
