/* balogbotond.hu — personal brand one-pager */
:root {
  --ink: #100F27;
  --ink-2: #1A183E;
  --surface: #1A183E;
  --line: rgba(226,232,240, 0.12);
  --line-strong: rgba(226,232,240, 0.22);
  --text: #F8FAFC;
  --muted: #B4BCCB;
  --cyan: #1EC3F7;
  --blue: #2F6FED;
  --amber: #F59E0B;
  --fog: #E2E8F0;
  --paper: #F8FAFC;
  --paper-ink: #1A183E;
  --paper-muted: #5B6478;
  --paper-line: #E2E8F0;
  --grad: linear-gradient(100deg, #2F6FED 0%, #1EC3F7 100%);
  --grad-ink: linear-gradient(135deg, #1A183E 0%, #2F6FED 60%, #1EC3F7 100%);
  --display: "Bricolage Grotesque Variable", "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Inter Variable", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono Variable", "JetBrains Mono", ui-monospace, Menlo, monospace;
  --wrap: 1160px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--cyan); color: var(--ink); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--cyan); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 16px; }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 650; letter-spacing: -0.025em; line-height: 1.04; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: 1.45rem; line-height: 1.2; letter-spacing: -0.015em; }
h1 em { font-style: normal; background: linear-gradient(100deg, #5C93FF 0%, #1EC3F7 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker, .eyebrow, .pillar-no, .project-tag, .post-meta, .stats dd, .demo figcaption, .press > p, .contact-list span {
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.09em; text-transform: uppercase;
}
.kicker { color: var(--cyan); margin-bottom: 18px; }
.paper .kicker { color: #2F6FED; }
.lead, .section-lead { color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 58ch; text-wrap: pretty; }
.lead a { color: var(--text); text-decoration-color: var(--cyan); text-underline-offset: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 24px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn svg { width: 16px; height: 16px; transition: transform .2s ease; }
.btn:hover svg { transform: translate(2px, 0); }
.btn-primary { background: var(--amber); color: #1A183E; box-shadow: 0 10px 36px -14px rgba(245, 158, 11, 0.8); }
.btn-primary:hover { transform: translateY(-2px); background: #FBB13C; box-shadow: 0 16px 44px -14px rgba(245, 158, 11, 0.95); }
.nav .btn-primary { background: var(--paper); color: #1A183E; box-shadow: none; }
.nav .btn-primary:hover { background: #fff; }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255, 255, 255, 0.03); }
.btn-ghost:hover { border-color: var(--cyan); background: rgba(30,195,247, 0.08); }
.btn-sm { padding: 11px 18px; font-size: 0.92rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 14px 0 auto; z-index: 50;
  width: min(calc(100% - 2 * var(--gutter)), var(--wrap)); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 9px 9px 9px 16px; border-radius: 999px;
  background: rgba(16, 15, 39, 0.6); border: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition: background .3s ease, border-color .3s ease;
}
.nav.is-scrolled { background: rgba(16, 15, 39, 0.86); border-color: var(--line-strong); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-family: var(--display); font-weight: 650; letter-spacing: -0.01em; }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px;
  background: var(--grad-ink); color: #fff; font-size: 0.86rem; font-weight: 800; letter-spacing: -0.04em;
}
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 13px; border-radius: 999px; text-decoration: none; font-size: 0.92rem; color: var(--muted); transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(130px, 17vh, 190px) 0 0; overflow: hidden; isolation: isolate; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: .75; }
.hero-glow {
  position: absolute; z-index: -1; inset: -20% -10% auto; height: 110%;
  background:
    radial-gradient(46% 40% at 78% 34%, rgba(47,111,237, 0.30), transparent 70%),
    radial-gradient(34% 30% at 16% 18%, rgba(30,195,247, 0.16), transparent 70%),
    radial-gradient(36% 30% at 60% 82%, rgba(245, 158, 11, 0.07), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--text); margin-bottom: 26px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255,255,255,.03); }
.eyebrow i { font-style: normal; color: var(--cyan); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(30,195,247, .2); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(30,195,247, 0); } }
.hero h1 { margin-bottom: 26px; }
.hero .lead { margin-bottom: 34px; }
.engines { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 38px; color: var(--muted); font-family: var(--mono); font-size: 0.78rem; letter-spacing: .04em; }
.engines li { display: inline-flex; align-items: center; gap: 8px; }
.engines li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); }

/* Demo card */
.demo {
  position: relative; border-radius: 26px; padding: 14px;
  background: linear-gradient(160deg, rgba(34, 32, 82, 0.95), rgba(26, 24, 62, 0.95));
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255,255,255,.02) inset;
}
.demo::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(30,195,247,.7), transparent 35%, transparent 65%, rgba(47,111,237,.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.demo-chrome { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 6px 12px; }
.demo-dots { display: inline-flex; gap: 6px; }
.demo-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.16); }
.demo-tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(0,0,0,.35); border: 1px solid var(--line); }
.demo-tabs button {
  appearance: none; border: 0; cursor: pointer; background: transparent; color: var(--muted);
  font: 600 0.82rem/1 var(--body); padding: 9px 15px; border-radius: 999px; transition: color .25s, background .25s;
}
.demo-tabs button.is-active { background: var(--blue); color: #fff; }
.demo-query { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px; background: rgba(0,0,0,.32); border: 1px solid var(--line); color: var(--text); font-size: 0.95rem; }
.demo-query svg { width: 16px; height: 16px; flex: none; color: var(--cyan); }
.demo-body { position: relative; margin-top: 12px; min-height: 252px; }
.panel { animation: panelIn .45s ease both; }
.panel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } }
.demo figcaption { padding: 14px 6px 4px; color: var(--muted); letter-spacing: .05em; text-transform: none; font-size: 0.74rem; line-height: 1.5; }

.serp { display: grid; gap: 8px; }
.serp-item { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; padding: 14px; border-radius: 14px; border: 1px solid transparent; }
.serp-item > div { display: grid; gap: 7px; min-width: 0; }
.serp-rank { font-family: var(--mono); font-size: .78rem; color: var(--muted); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; background: rgba(255,255,255,.05); }
.serp-url { font-family: var(--mono); font-size: .72rem; color: var(--muted); }
.serp-item strong { font-family: var(--display); font-size: 1.06rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.serp-bar { display: block; height: 7px; border-radius: 99px; background: rgba(255,255,255,.08); }
.serp-bar.thick { height: 11px; background: rgba(255,255,255,.13); }
.w80 { width: 80%; } .w70 { width: 70%; } .w60 { width: 60%; } .w50 { width: 50%; } .w40 { width: 40%; }
.serp-item.is-you { background: linear-gradient(120deg, rgba(30,195,247,.14), rgba(47,111,237,.10)); border-color: rgba(30,195,247,.45); }
.serp-item.is-you .serp-rank { background: var(--blue); color: #fff; font-weight: 700; }
.serp-item.is-you .serp-url { color: var(--cyan); }

.ai { padding: 16px; border-radius: 16px; background: rgba(0,0,0,.26); border: 1px solid var(--line); }
.ai-badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); margin-bottom: 12px; }
.ai-badge i { width: 14px; height: 14px; border-radius: 5px; background: var(--grad); }
.ai-text { font-size: 1.02rem; line-height: 1.62; min-height: 7.2em; }
.ai-text mark { background: linear-gradient(transparent 55%, rgba(245,158,11,.85) 55%, rgba(245,158,11,.85) 94%, transparent 94%); color: #fff; padding: 0 3px; font-weight: 700; }
.ai-text sup { font-family: var(--mono); font-size: .62rem; color: var(--cyan); margin-left: 2px; }
.ai-text.is-typing::after { content: ""; display: inline-block; width: 8px; height: 1.05em; margin-left: 3px; vertical-align: -3px; background: var(--cyan); animation: blink .9s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ai-sources { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ai-sources li { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .7rem; color: var(--muted); padding: 6px 10px 6px 6px; border-radius: 99px; border: 1px solid var(--line); }
.ai-sources b { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--text); font-weight: 600; font-size: .62rem; }
.ai-sources .is-you { border-color: rgba(30,195,247,.5); color: var(--cyan); }
.ai-sources .is-you b { background: var(--blue); color: #fff; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(64px, 9vw, 110px); border-top: 1px solid var(--line); }
.stats > div { padding: 30px 26px 44px 0; }
.stats > div + div { padding-left: 26px; border-left: 1px solid var(--line); }
.stats dt { font-family: var(--display); font-weight: 650; font-size: clamp(2.2rem, 4.2vw, 3.4rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stats dt small { font-size: .45em; color: var(--muted); font-weight: 500; }
.stats dd { color: var(--muted); margin-top: 14px; line-height: 1.55; letter-spacing: .05em; max-width: 26ch; }

/* ---------- Sections ---------- */
.section { padding: clamp(84px, 11vw, 150px) 0; position: relative; }
.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 + .section-lead { margin-top: 20px; }
.section-head-row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head-row > div { max-width: 780px; }
.paper { background: var(--paper); color: var(--paper-ink); }
.paper .section-lead { color: var(--paper-muted); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; padding-bottom: 4px; border-bottom: 2px solid currentColor; }
.text-link svg { width: 15px; height: 15px; transition: transform .2s; }
.text-link:hover svg { transform: translate(2px, -2px); }

/* About */
.about { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.portrait { position: relative; }
.portrait::before { content: ""; position: absolute; inset: 22px -18px -18px 22px; border-radius: 30px; background: var(--amber); z-index: 0; }
.portrait img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: 28% 30%; border-radius: 30px; box-shadow: 0 30px 60px -30px rgba(26, 24, 62, .55); }
.portrait figcaption { position: absolute; z-index: 2; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; border-radius: 999px; background: rgba(26, 24, 62, .85); color: #fff; font-family: var(--mono); font-size: .72rem; letter-spacing: .05em; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.pin { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.about-copy h2 { margin-bottom: 28px; }
.about-copy > p:not(.kicker) { color: #3A3F5C; max-width: 60ch; }
.about-copy > p + p { margin-top: 16px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 38px; border-top: 1px solid var(--paper-line); }
.values li { padding: 20px 18px 0 0; font-size: .93rem; line-height: 1.5; color: var(--paper-muted); }
.values li + li { padding-left: 18px; border-left: 1px solid var(--paper-line); }
.values b { display: block; font-family: var(--display); font-size: 1.08rem; color: var(--paper-ink); margin-bottom: 6px; letter-spacing: -.01em; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pillar { position: relative; padding: 26px 26px 30px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line); transition: transform .3s ease, border-color .3s ease, background .3s ease; }
.pillar:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.pillar.is-featured { background: linear-gradient(165deg, #20307a, #1A183E 70%); border-color: rgba(47,111,237, .45); }
.pillar-art { border-radius: 14px; background: rgba(0,0,0,.28); border: 1px solid var(--line); padding: 18px; margin-bottom: 26px; }
.pillar-art svg { width: 100%; height: auto; }
.grid-line { stroke: rgba(226,232,240,.1); stroke-width: 1; }
.trend { stroke: var(--cyan); stroke-width: 3; stroke-dasharray: 340; stroke-dashoffset: 340; }
.trend-dot { fill: var(--cyan); stroke: rgba(30,195,247,.3); stroke-width: 8; opacity: 0; }
.is-in .trend { animation: draw 1.6s .25s cubic-bezier(.6,.1,.2,1) forwards; }
.is-in .trend-dot { animation: fade .4s 1.6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
.edge { stroke: rgba(30,195,247,.4); stroke-width: 1.3; stroke-dasharray: 3 5; }
.node { fill: #100F27; stroke: var(--cyan); stroke-width: 2; }
.node-core { fill: var(--blue); stroke: none; }
.node-core-ring { stroke: rgba(47,111,237,.5); stroke-width: 1.5; transform-origin: 120px 60px; animation: ring 3s ease-out infinite; }
@keyframes ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.chip { stroke: var(--cyan); stroke-width: 2; fill: rgba(30,195,247,.06); }
.chip-core { fill: var(--cyan); stroke: none; opacity: .9; }
.pin-line { stroke: var(--cyan); stroke-width: 2; }
.pin-line.faint { stroke: rgba(30,195,247,.3); stroke-dasharray: 2 5; }
.pillar-no { color: var(--cyan); margin-bottom: 12px; }
.pillar h3 { margin-bottom: 12px; }
.pillar > p:not(.pillar-no) { color: var(--muted); font-size: .98rem; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.tags li { font-size: .78rem; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text); background: rgba(255,255,255,.03); }

/* Projects */
#projektek { padding-top: 0; }
.projects { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.project { display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line); text-decoration: none; transition: border-color .3s, transform .3s; }
a.project:hover { border-color: var(--cyan); transform: translateY(-4px); }
.project-lg { grid-row: span 2; justify-content: flex-end; min-height: 360px; background:
  radial-gradient(90% 70% at 85% 0%, rgba(30,195,247,.28), transparent 60%),
  radial-gradient(70% 60% at 0% 100%, rgba(245,158,11,.10), transparent 65%), #1A183E; border-color: rgba(47,111,237,.4); }
.project-lg h3 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); letter-spacing: -.035em; line-height: 1; }
.projects > :nth-child(2) { grid-column: span 2; }
.project-tag { color: var(--cyan); margin-bottom: 14px; }
.project h3 { margin-bottom: 12px; }
.project p { color: var(--muted); font-size: .98rem; max-width: 52ch; }
.project-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 22px; font-weight: 600; font-size: .95rem; }
.project-link svg { width: 15px; height: 15px; transition: transform .2s; }
a.project:hover .project-link svg { transform: translate(2px,-2px); }

.timeline { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: clamp(48px, 6vw, 76px); border-top: 1px solid var(--line-strong); }
.timeline li { position: relative; padding: 26px 20px 0 0; }
.timeline li::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--ink); border: 2px solid var(--blue); }
.timeline li.is-now::before { background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 0 6px rgba(30,195,247,.18); }
.timeline time { display: block; font-family: var(--display); font-weight: 650; font-size: 1.7rem; letter-spacing: -.02em; line-height: 1; margin-bottom: 10px; }
.timeline span { color: var(--muted); font-size: .93rem; line-height: 1.5; display: block; }

/* Posts */
.posts { border-top: 1px solid var(--paper-line); }
.posts li { border-bottom: 1px solid var(--paper-line); }
.posts a { display: grid; grid-template-columns: 270px 1fr 32px; gap: 24px; align-items: center; padding: 26px 0; text-decoration: none; transition: padding .25s ease, color .25s ease; }
.posts a::after { content: "↗"; font-size: 1.3rem; justify-self: end; transition: transform .25s; }
.posts a:hover { padding-left: 14px; color: #2F6FED; }
.posts a:hover::after { transform: translate(3px, -3px); }
.post-meta { color: var(--paper-muted); display: inline-flex; align-items: center; gap: 12px; letter-spacing: .05em; }
.post-meta b { font-weight: 600; color: #fff; background: var(--paper-ink); padding: 4px 9px; border-radius: 7px; letter-spacing: .08em; }
.posts h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 600; }
.press { display: flex; align-items: baseline; gap: 14px 30px; flex-wrap: wrap; margin-top: 48px; }
.press > p { color: var(--paper-muted); }
.press ul { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.press a { font-family: var(--display); font-weight: 600; font-size: 1.12rem; text-decoration: none; color: var(--paper-ink); opacity: .7; transition: opacity .2s; }
.press a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-grid .section-head { margin-bottom: 0; position: sticky; top: 110px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; font-family: var(--display); font-weight: 600; font-size: 1.28rem; letter-spacing: -.015em; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); font-family: var(--body); font-weight: 400; font-size: 1.2rem; color: var(--cyan); transition: transform .25s, background .25s; }
.faq details[open] summary::after { transform: rotate(45deg); background: rgba(30,195,247,.12); }
.faq details p { color: var(--muted); padding: 0 54px 26px 0; max-width: 62ch; }
.faq details a { color: var(--text); text-decoration-color: var(--cyan); text-underline-offset: 4px; }

/* Contact */
.contact { padding-top: 0; }
.contact-card { position: relative; overflow: hidden; isolation: isolate; padding: clamp(36px, 6vw, 80px); border-radius: 34px; background: #1A183E; border: 1px solid rgba(47,111,237,.45); }
.contact-glow { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(50% 80% at 100% 0%, rgba(30,195,247,.34), transparent 60%),
  radial-gradient(45% 70% at 0% 100%, rgba(245,158,11,.14), transparent 60%); }
.contact-card h2 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); margin-bottom: 22px; }
.contact-card .section-lead { color: #CBD2E0; margin-bottom: 34px; }
.contact-list { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line-strong); }
.contact-list li { padding: 24px 20px 0 0; }
.contact-list li + li { padding-left: 24px; border-left: 1px solid var(--line-strong); }
.contact-list span { display: block; color: var(--muted); margin-bottom: 8px; }
.contact-list a { font-family: var(--display); font-weight: 600; font-size: clamp(1.1rem, 1.9vw, 1.45rem); letter-spacing: -.015em; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--cyan); }

/* Footer */
.footer { padding: 34px 0 44px; color: var(--muted); font-size: .9rem; }
.footer-row { display: flex; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; }
.footer ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--text); }

/* Reveal (progressive enhancement: only hidden when JS is running) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .pillars .reveal:nth-child(2), .js .projects .reveal:nth-child(2), .js .posts .reveal:nth-child(2) { transition-delay: .08s; }
.js .pillars .reveal:nth-child(3), .js .projects .reveal:nth-child(3), .js .posts .reveal:nth-child(3) { transition-delay: .16s; }
.js .projects .reveal:nth-child(4), .js .posts .reveal:nth-child(4) { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .demo { max-width: 560px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { display: grid; grid-template-columns: 200px 1fr; column-gap: 26px; align-items: start; }
  .pillar-art { grid-row: span 4; margin-bottom: 0; }
  .projects { grid-template-columns: 1fr 1fr; }
  .project-lg { grid-column: span 2; grid-row: auto; min-height: 280px; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .section-head { position: static; }
  .posts a { grid-template-columns: 1fr 32px; }
  .post-meta { grid-column: 1 / -1; }
  .posts a::after { grid-row: 2; grid-column: 2; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div { padding: 26px 18px 30px 0; }
  .stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .about { grid-template-columns: 1fr; }
  .portrait { max-width: 420px; margin-right: 18px; }
  .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line-strong); }
  .timeline li { padding: 0 0 28px 26px; }
  .timeline li:last-child { padding-bottom: 0; }
  .timeline li::before { top: 6px; left: -6px; }
  .contact-list { grid-template-columns: 1fr; }
  .contact-list li + li { padding-left: 0; border-left: 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand-name { display: none; }
  .btn { padding: 15px 20px; }
  .cta-row .btn { width: 100%; justify-content: center; }
  .demo-body { min-height: 290px; }
  .pillar { display: block; }
  .pillar-art { margin-bottom: 24px; }
  .projects { grid-template-columns: 1fr; }
  .project-lg, .projects > :nth-child(2) { grid-column: auto; }
  .values { grid-template-columns: 1fr; }
  .values li { padding: 16px 0; }
  .values li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--paper-line); }
  .faq summary { font-size: 1.12rem; }
  .faq details p { padding-right: 0; }
  .stats dd { letter-spacing: .03em; font-size: .68rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .trend { stroke-dashoffset: 0; } .trend-dot { opacity: 1; }
  .js .reveal { opacity: 1; transform: none; }
  .node-core-ring { opacity: .5; }
}
