@font-face {
  font-family: Inter;
  src: url('./assets/inter-cyrillic-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Inter;
  src: url('./assets/inter-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --bg: #101014;
  --surface: #17161c;
  --raised: #1e1c25;
  --line: #302d38;
  --text: #f5f2f8;
  --muted: #b4aebe;
  --quiet: #a19aaf;
  --accent: #c8b5ff;
  --accent-bright: #ddd0ff;
  --ink: #201735;
  --mono: ui-monospace, 'Cascadia Code', 'SFMono-Regular', Consolas, monospace;
  --gutter: clamp(20px, 5.8vw, 88px);
  --page-width: 1240px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 22px); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.55 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
::selection { background: var(--accent); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button { color: inherit; cursor: pointer; }
button, input, select, textarea { font: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
button, summary { touch-action: manipulation; }
svg, img { display: block; }
img { max-width: 100%; height: auto; }
p, h1, h2, h3, figure, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.2em; height: 1.2em; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.shell { width: min(calc(100% - var(--gutter) * 2), var(--page-width)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; top: 8px; left: 8px; transform: translateY(-150%); padding: 10px 15px; border-radius: 7px; background: var(--accent); color: var(--ink); font-weight: 700; }
.skip-link:focus { transform: none; }

.header { position: sticky; z-index: 4; top: 0; background: rgb(16 16 20 / .93); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.header-inner { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px; min-height: calc(var(--header-h) - 1px); }
.brand { display: inline-flex; align-items: center; gap: 10px; justify-self: start; width: fit-content; color: var(--text); font: 650 .96rem/1 var(--mono); letter-spacing: -.05em; white-space: nowrap; }
.brand-mark { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 8px; background: #292139; border: 1px solid #3b2e53; color: var(--accent); }
.brand-mark .icon { width: 19px; height: 19px; }
.brand-period { color: var(--accent); }
.desktop-nav { display: flex; gap: clamp(21px, 3vw, 45px); align-items: center; color: var(--muted); font-size: .9rem; font-weight: 500; }
.desktop-nav a { padding: 9px 0; transition: color .2s ease; }
.desktop-nav a:hover { color: var(--accent-bright); }
.mobile-nav { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: fit-content; min-height: 50px; padding: 0 18px; border: 1px solid transparent; border-radius: 8px; background: transparent; font-size: .9rem; line-height: 1.25; font-weight: 680; transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease; }
.button:active { transform: translateY(1px); }
.button-outline { border-color: #494352; color: var(--text); }
.button-outline:hover { color: var(--accent-bright); border-color: var(--accent); background: #241d31; }
.header-cta { justify-self: end; min-height: 40px; padding-inline: 14px; }
.button-accent { background: var(--accent); color: var(--ink); }
.button-accent:hover { background: var(--accent-bright); }
.button-dark { background: #1c152a; color: #f7f1ff; }
.button-dark:hover { background: #362751; }
.text-link { display: inline-flex; gap: 7px; align-items: center; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--muted); font-size: .9rem; font-weight: 610; transition: color .2s ease; }
.text-link:hover { color: var(--accent-bright); }
.text-link .icon { width: 15px; height: 15px; }

.eyebrow { font: 500 .71rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .115em; }
.hero { display: grid; grid-template-columns: minmax(0, 1.09fr) minmax(0, .91fr); gap: clamp(26px, 4.8vw, 72px); align-items: center; padding-block: clamp(49px, 5vw, 72px) clamp(40px, 4.2vw, 59px); }
.hero-copy { padding-bottom: 12px; }
.identity { display: flex; align-items: center; gap: 11px; color: var(--accent); margin-bottom: clamp(19px, 2.3vw, 29px); }
.light-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px #b58eff8a; }
.identity-slash { color: #847099; }
.hero h1 { font-size: clamp(3.5rem, 6.58vw, 6.43rem); font-weight: 710; letter-spacing: -.078em; line-height: .98; }
.hero h1 span { color: var(--accent); }
.hero-description { max-width: 448px; margin-top: clamp(23px, 2.55vw, 33px); color: var(--muted); font-size: clamp(1rem, 1.38vw, 1.16rem); line-height: 1.65; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-top: 29px; }
.hero-figure { width: min(100%, 513px); justify-self: end; }
.art-frame { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 1; border: 1px solid #382b46; border-radius: 3px; background: radial-gradient(ellipse at center, #39274d, #12091a 60%, #0b0710); }
.art-frame::after { content: ''; position: absolute; z-index: 0; inset: 0; pointer-events: none; background-image: linear-gradient(90deg, #c9b4ff0a 1px, transparent 1px), linear-gradient(#c9b4ff0a 1px, transparent 1px); background-size: 12.5% 12.5%; mask-image: radial-gradient(ellipse at center, transparent 39%, #000 100%); }
.hero-image { height: 100%; width: 100%; object-fit: cover; }
.frame-label { font: 500 .65rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: .12em; }
.art-index { position: absolute; z-index: 1; top: 21px; left: 21px; display: flex; align-items: center; gap: 7px; color: #d1c1e1; }
.art-index i { width: 5px; height: 5px; background: var(--accent); }
.frame-target { position: absolute; z-index: 1; right: 20px; bottom: 20px; width: 21px; height: 21px; stroke: #d2b9f1; stroke-width: 1; fill: none; opacity: .78; }
.frame-tick { position: absolute; z-index: 1; width: 10px; height: 10px; border: 0 solid #c1a2e5; }
.frame-tick.tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.frame-tick.tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.frame-tick.bl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.frame-tick.br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.hero-figure figcaption { display: flex; justify-content: space-between; gap: 10px; padding-top: 12px; color: var(--quiet); }
.caption-divider { color: #9a76c2; margin-right: 3px; }

.stack-band { border-block: 1px solid var(--line); background: #141319; }
.stack-inner { display: grid; grid-template-columns: clamp(90px, 15vw, 178px) 1fr; align-items: center; gap: clamp(14px, 3vw, 46px); min-height: 67px; }
.stack-caption { display: flex; align-items: center; gap: 9px; color: var(--quiet); }
.stack-caption .icon { width: 17px; height: 17px; color: var(--accent); }
.stack-list { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 18px; color: #c5bece; font: 500 clamp(.77rem, 1.25vw, .93rem)/1.3 var(--mono); letter-spacing: -.018em; }
.stack-list li { display: flex; align-items: center; gap: 20px; }
.stack-list li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: #8e7aa9; }

.services-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 20px 32px;
  padding-block: clamp(52px, 6.6vw, 90px) clamp(23px, 3.4vw, 42px);
}
.services-heading h2 {
  font-size: clamp(3rem, 6.3vw, 5.8rem);
  font-weight: 670;
  letter-spacing: -.072em;
  line-height: .98;
}
.services-heading h2 span, .service-copy h3 span { color: var(--service-accent, var(--accent)); }
.service-nav { display: flex; gap: 8px; flex-wrap: wrap; }
.service-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 560;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.service-nav a:hover { border-color: #675782; background: #241e30; color: var(--text); }
.service-screen {
  --service-accent: var(--accent);
  padding-block: clamp(40px, 6.15vw, 85px);
  border-top: 1px solid var(--line);
}
.service-layout {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(28px, 5.7vw, 88px);
}
.service-copy h3 {
  max-width: 15ch;
  font-size: clamp(2rem, 4.1vw, 3.95rem);
  font-weight: 650;
  letter-spacing: -.065em;
  line-height: 1.04;
  text-wrap: balance;
}
.service-copy > p {
  max-width: 47ch;
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.65;
  text-wrap: pretty;
}
.service-list { display: grid; gap: 8px; margin-top: 20px; }
.service-list li {
  position: relative;
  padding-left: 17px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.5;
}
.service-list li::before {
  content: '';
  position: absolute;
  top: .64em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--service-accent);
}
.service-list strong { color: var(--text); font-weight: 650; }
.service-action { margin-top: 25px; text-align: left; }
.service-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 18px; margin-top: 25px; }
.service-actions .service-action { margin-top: 0; }
.service-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid #494253;
  border-radius: 13px;
  background: var(--surface);
}
.service-support { background: #191621; }
.service-support .service-copy h3 { max-width: 13ch; }
.service-app { --service-accent: #c8dfb3; background: #151917; }
.service-app .service-layout { grid-template-columns: minmax(0, 1.07fr) minmax(0, .93fr); }
.service-app .service-image { grid-column: 1; grid-row: 1; border-color: #414c40; }
.service-app .service-copy { grid-column: 2; }
.service-crm { --service-accent: #c2bdfb; background: #1b1924; border-bottom: 1px solid var(--line); }
.service-options {
  overflow: hidden;
  border: 1px solid #494052;
  border-radius: 13px;
  background: #221e2c;
}
.service-options div { padding: clamp(20px, 3vw, 36px); }
.service-options div + div { border-top: 1px solid #494052; }
.service-options dt {
  color: var(--service-accent);
  font-size: clamp(1.17rem, 2.15vw, 1.54rem);
  font-weight: 650;
  letter-spacing: -.035em;
  line-height: 1.25;
}
.service-options dd { max-width: 43ch; margin-top: 7px; color: var(--text); font-size: .94rem; line-height: 1.6; }
.service-crm .service-options { background: linear-gradient(140deg, #2d2742, #211e2b); }

.section { padding-block: clamp(66px, 7.15vw, 106px); }
.section-head { display: grid; grid-template-columns: 1fr minmax(0, 310px); align-items: end; gap: 25px; margin-bottom: 35px; }
.section-index { margin-bottom: 14px; color: var(--quiet); }
.section-index span { color: var(--accent); margin-right: 4px; }
.section h2 { font-size: clamp(2.75rem, 6.3vw, 5.8rem); font-weight: 670; letter-spacing: -.072em; line-height: .98; }
.section h2 span, .dialog h2 span { color: var(--accent); }
.section-note { color: var(--muted); line-height: 1.65; padding-bottom: 5px; text-wrap: pretty; }
.projects-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.project { min-width: 0; overflow: hidden; display: flex; flex-direction: column; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); transition: border-color .2s ease; }
.project:hover, .project:focus-within { border-color: #665679; }
.project.featured { display: grid; grid-column: 1 / -1; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.project-copy { display: flex; flex: 1 1 auto; flex-direction: column; align-items: flex-start; min-width: 0; padding: clamp(21px, 3.35vw, 43px); }
.featured .project-copy { justify-content: center; }
.project-type { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 13px; margin-bottom: 17px; }
.pill { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #4a3c59; padding: 3px 9px; border-radius: 100px; color: #d9c8ec; background: #282133; font-size: .7rem; font-weight: 610; line-height: 1.45; }
.pill-green { color: #d7eda9; background: #252d1b; border-color: #404d2b; }
.pill i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.project-number { color: var(--quiet); font-size: .63rem; }
.project h3 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.05; font-weight: 650; letter-spacing: -.065em; }
.project-copy > p:not(.project-type) { max-width: 35ch; margin-top: 11px; color: var(--muted); line-height: 1.65; font-size: .96rem; text-wrap: pretty; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 17px; }
.tags li { padding: 4px 8px; border: 1px solid var(--line); border-radius: 5px; color: #c1bacd; font: 500 .69rem/1.25 var(--mono); }
.project-link { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 10px; min-height: 44px; margin-top: 22px; padding: 8px 0 0; border: 0; border-top: 1px solid var(--line); background: none; color: var(--accent); text-align: left; font-size: .9rem; font-weight: 640; transition: color .2s ease; }
.project-link .icon { width: 18px; height: 18px; transition: transform .2s ease; }
.project-link:hover { color: var(--accent-bright); }
.project-link:hover .icon { transform: translate(2px, -2px); }
.compact .project-copy { padding-top: 26px; }
.compact .project-copy > p:not(.project-type) { flex: 1 1 auto; }
.compact h3 { font-size: clamp(1.95rem, 3.55vw, 3.25rem); }
.project-scene { position: relative; isolation: isolate; min-width: 0; overflow: hidden; }
.scene-ref { position: absolute; z-index: 3; top: 16px; left: 17px; font: 600 .64rem/1.3 var(--mono); letter-spacing: .1em; }
.planner-scene { min-height: 350px; background-color: #b7cd83; background-image: radial-gradient(ellipse at 75% 9%, #e9f7b7, transparent 64%), linear-gradient(135deg, transparent, #8faa66ba), linear-gradient(90deg, #3140232c 1px, transparent 1px), linear-gradient(#3140232c 1px, transparent 1px); background-size: auto, auto, 28px 28px, 28px 28px; color: #354520; }
.planner-scene::before, .planner-scene::after { position: absolute; z-index: -1; content: ''; width: 350px; height: 350px; border: 1px solid #46663455; border-radius: 50%; right: -109px; top: -95px; }
.planner-scene::after { width: 425px; height: 425px; right: -145px; top: -130px; }
.planner-window { position: absolute; top: 48px; left: 50%; width: 86%; max-width: 602px; min-height: 315px; transform: translateX(-50%) rotate(-2.5deg); border: 1px solid #40533156; border-radius: 11px; overflow: hidden; background: #f7f8f0; box-shadow: 0 21px 54px #29391d56, 0 3px 6px #29391d22; color: #263225; }
.window-bar { display: flex; align-items: center; gap: 13px; padding: 9px 12px; border-bottom: 1px solid #dce0d0; color: #5b6955; font: 550 .58rem/1.3 var(--mono); }
.window-dots { display: flex; gap: 4px; }
.window-dots i { width: 5px; height: 5px; border-radius: 50%; background: #869875; }
.planner-layout { display: grid; grid-template-columns: minmax(85px, 25%) minmax(0, 1fr); min-height: 285px; }
.planner-menu { display: flex; flex-direction: column; padding: 12px 9px; border-right: 1px solid #dce0d0; background: #edf0e4; }
.planner-logo { display: flex; align-items: center; gap: 5px; margin-bottom: 14px; font-size: clamp(.62rem, 1vw, .88rem); font-weight: 820; letter-spacing: -.06em; }
.planner-logo span { display: grid; place-items: center; width: 21px; height: 21px; flex: 0 0 auto; border-radius: 5px; background: #2d4a2f; color: white; }
.planner-menu-item { display: flex; gap: 5px; align-items: center; padding: 6px 5px; border-radius: 5px; color: #53624a; font-size: .62rem; }
.planner-menu-item.current { background: #dce9cb; color: #2c4627; font-weight: 650; }
.planner-profile { display: flex; align-items: center; gap: 6px; margin-top: auto; color: #4b5944; font-size: .63rem; }
.planner-profile span { display: grid; place-items: center; width: 19px; height: 19px; background: #d8e4c8; border-radius: 50%; }
.planner-main { padding: clamp(11px, 2.35vw, 25px); }
.preview-date { color: #53654a; font: 600 .55rem/1.5 var(--mono); letter-spacing: .06em; }
.planner-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 3px; margin: 3px 0 13px; }
.planner-title strong { font-size: clamp(.89rem, 1.7vw, 1.37rem); line-height: 1.2; letter-spacing: -.065em; }
.planner-title span { display: flex; gap: 2px; align-items: center; padding: 4px 6px; border-radius: 5px; background: #284a2f; color: #fff; font-size: .54rem; }
.planner-progress { display: grid; grid-template-columns: 1fr auto; gap: 5px; margin-bottom: 9px; padding: 8px; border-radius: 6px; background: #e5ecd8; color: #355132; font-size: .62rem; font-weight: 650; }
.planner-progress i { grid-column: 1 / -1; height: 4px; border-radius: 8px; background: linear-gradient(90deg, #567c43 33%, #cbd9b9 33%); }
.planner-task { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 5px; align-items: center; margin-top: 5px; padding: 7px; border: 1px solid #dfe4d5; border-radius: 5px; background: #fdfdf8; font-size: clamp(.51rem, 1vw, .7rem); }
.planner-task > span { display: grid; place-items: center; width: 12px; height: 12px; border: 1px solid #899c85; border-radius: 3px; }
.planner-task.done > span { color: white; background: #507248; }
.planner-task.done strong { text-decoration: line-through; color: #566553; }
.planner-task em { padding: 2px 4px; border-radius: 3px; background: #edf0e4; color: #50604b; font-style: normal; font-size: .51rem; }

.compact .project-scene { min-height: clamp(235px, 23vw, 320px); }
.pulse-scene { background: radial-gradient(circle at 80% 4%, #58477f 0%, #33264c 49%, #242033 100%); color: #e7d9ff; }
.pulse-scene::before { content: ''; position: absolute; z-index: -1; inset: 0; background-image: radial-gradient(#cfb8ff43 1px, transparent 1px); background-size: 13px 13px; mask-image: linear-gradient(130deg, #000, transparent 72%); }
.pulse-window { position: absolute; top: 49px; left: 11%; width: 83%; padding: 14px 16px; transform: rotate(-5deg); border: 1px solid #d4b6ff42; border-radius: 10px; background: #191421; color: #f2ebfc; box-shadow: 0 20px 50px #100b1b8c; }
.pulse-head { display: flex; align-items: center; gap: 7px; padding-bottom: 9px; border-bottom: 1px solid #453557; font-size: .87rem; }
.pulse-mark { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 5px; background: #392a50; }
.pulse-mark svg { width: 15px; fill: none; stroke: #d2b7ff; stroke-width: 1.75; }
.pulse-ok { margin-left: auto; color: #bce7bb; font: 500 clamp(.42rem, 1vw, .58rem)/1.3 var(--mono); }
.pulse-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 10px; }
.pulse-metrics > div { display: grid; gap: 2px; padding: 7px 9px; border: 1px solid #47355b; border-radius: 6px; background: #262035; }
.pulse-metrics span { color: #c0b2d6; font-size: .59rem; }
.pulse-metrics strong { font: 620 clamp(.94rem, 2.05vw, 1.69rem)/1.25 var(--mono); }
.pulse-metrics small { color: #c1acd9; font-size: .55em; }
.pulse-chart { width: 100%; height: clamp(62px, 8vw, 108px); margin-top: 11px; overflow: visible; }
.chart-grid { stroke: #564567; stroke-width: .7; fill: none; }
.chart-line { stroke: #c5a4ff; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; fill: none; vector-effect: non-scaling-stroke; }

.field-scene { color: #3d261c; background: radial-gradient(ellipse at 15% 5%, #efb78f, #c68668 58%, #9a5c49 100%); }
.field-scene::before { position: absolute; z-index: -1; content: ''; inset: -25% -5% -50%; background: repeating-linear-gradient(128deg, transparent 0 23px, #482b2222 23px 24px); }
.field-book { position: absolute; min-width: 150px; width: 37%; max-width: 225px; height: 86%; max-height: 268px; border-radius: 2px 4px 4px 2px; border: 1px solid #644e3b73; box-shadow: 6px 10px 24px #512f2475; }
.book-back { top: 15%; left: 48%; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; padding: 13px; transform: rotate(11deg); background: #46362f; color: #f6c8a1; font: 500 .55rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.book-shape { align-self: flex-end; width: 65%; aspect-ratio: 1; border: 1px solid #f2bc82; border-radius: 50% 50% 2px 50%; background: repeating-radial-gradient(circle at 85% 85%, transparent 0 6px, #e8a778 7px 8px); }
.book-front { top: 10%; left: 23%; display: flex; flex-direction: column; padding: clamp(12px, 1.3vw, 18px); transform: rotate(-9deg); background: #f2d7b4; }
.book-header, .book-footer { display: flex; justify-content: space-between; align-items: center; gap: 4px; font: 650 clamp(.42rem, .7vw, .56rem)/1.4 var(--mono); text-transform: uppercase; }
.book-front > strong { margin-top: auto; font: normal clamp(2.4rem, 5vw, 4.45rem)/.97 Georgia, serif; letter-spacing: -.11em; }
.book-front > strong span { color: #9c4830; }
.book-front > p { font: italic clamp(.71rem, 1.35vw, 1.02rem)/1.15 Georgia, serif; margin-top: 5px; }
.book-footer { border-top: 1px solid #8a614975; padding-top: 7px; margin-top: auto; }
.book-footer i { width: 14px; height: 14px; border-radius: 50%; background: #9b492f; }

.about-band { background: #15141a; border-block: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(44px, 8vw, 110px); align-items: center; }
.about-copy > p:not(.eyebrow) { max-width: 43ch; margin-top: 23px; color: var(--muted); text-wrap: pretty; }
.about-stack { display: grid; gap: 7px; margin-top: 21px; color: var(--muted); font-size: .86rem; }
.about-stack > div { display: grid; grid-template-columns: minmax(100px, 145px) 1fr; gap: 10px; }
.about-stack dd { color: var(--accent); font-family: var(--mono); font-size: .82rem; }
.approach { align-self: center; padding: clamp(20px, 3.1vw, 39px); border: 1px solid var(--line); border-radius: 13px; background: #1b1922; }
.approach-label { display: flex; align-items: center; gap: 9px; color: var(--accent); padding-bottom: 15px; }
.approach-label .icon { width: 20px; height: 20px; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: clamp(12px, 2vw, 24px); padding-block: 15px; border-top: 1px solid #373241; }
.steps li:last-child { padding-bottom: 0; }
.steps li > span { padding-top: 5px; color: var(--accent); font: 500 .68rem/1.2 var(--mono); }
.steps h3 { font-weight: 650; font-size: 1.03rem; line-height: 1.35; }
.steps p { margin-top: 4px; color: var(--muted); font-size: .88rem; line-height: 1.55; text-wrap: pretty; }

.contact { padding-block: clamp(55px, 7.2vw, 100px); }
.contact-panel { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: end; gap: clamp(18px, 5vw, 72px); padding: clamp(27px, 5.25vw, 69px); border-radius: 15px; background: linear-gradient(123deg, #d7c7ff 0%, #c6b0ff 65%, #b29ae8 100%); color: #201735; }
.contact-panel .eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; }
.contact-dot { width: 7px; height: 7px; border-radius: 50%; background: #392759; }
.contact h2 { font-size: clamp(2.4rem, 5.1vw, 4.75rem); }
.contact-copy { padding-bottom: 2px; }
.contact-copy p { max-width: 32ch; margin-bottom: 17px; font-weight: 500; text-wrap: pretty; }
.contact-panel :focus-visible { outline-color: #201735; }
.contact-motif { position: absolute; z-index: -1; top: -146px; right: -109px; width: min(45%, 420px); height: auto; fill: none; stroke: #523c7c27; stroke-width: .85; }
.footer { border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; min-height: 82px; padding-block: 12px; }
.footer-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 24px; color: var(--quiet); font-size: .85rem; }
.footer-meta a { color: var(--accent); text-decoration: underline; text-underline-offset: .2em; }
.footer-meta a:hover { color: var(--accent-bright); }
.analytics-notice {
  position: fixed;
  z-index: 8;
  right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  width: min(420px, calc(100% - 32px));
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 12px 40px #0008;
}
.analytics-notice h2 { font-size: 1.05rem; letter-spacing: 0; }
.analytics-notice p { margin-block: 7px; color: var(--muted); font-size: .9rem; }
.analytics-notice > a { color: var(--accent); font-size: .85rem; text-decoration: underline; }
.analytics-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.analytics-actions .button { min-height: 44px; padding-inline: 12px; }
.back-top { display: flex; align-items: center; justify-self: end; gap: 5px; min-height: 44px; color: var(--muted); font-size: .84rem; }
.back-top:hover { color: var(--accent); }

.dialog { width: min(620px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid #665679; border-radius: 15px; background: var(--surface); color: var(--text); box-shadow: 0 18px 80px #000a; }
.dialog::backdrop { background: rgb(9 7 13 / .8); backdrop-filter: blur(6px); }
.dialog-content { position: relative; padding: clamp(22px, 5.5vw, 42px); }
.dialog-content > .section-index { padding-right: 35px; }
.dialog h2 { font-size: clamp(2.5rem, 7.5vw, 3.7rem); font-weight: 680; line-height: 1.02; letter-spacing: -.07em; }
.dialog-content > p:not(.eyebrow) { margin-top: 13px; color: var(--muted); }
.dialog-content > .dialog-intro { color: var(--text) !important; font-size: 1.08rem; font-weight: 560; }
.close-button { position: absolute; top: 12px; right: 12px; display: grid; width: 40px; height: 40px; place-items: center; padding: 0; border-radius: 8px; border: 1px solid var(--line); background: var(--raised); color: var(--text); }
.close-button:hover { background: #342a44; }
.case-facts { display: grid; margin-top: 19px; }
.case-facts > div { display: grid; grid-template-columns: minmax(74px, .26fr) 1fr; gap: 10px; padding-block: 12px; border-top: 1px solid var(--line); }
.case-facts dt { color: var(--accent); font-weight: 650; }
.case-facts dd { color: var(--muted); }
.case-demo { margin-top: 20px; overflow: hidden; padding: 12px 14px; border-radius: 9px; border: 1px solid #4a5842; background: #21281f; }
.demo-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 9px; }
.demo-head h3 { font-size: .95rem; }
.demo-tabs { display: flex; gap: 4px; }
.demo-tabs button { min-height: 36px; padding: 4px 9px; border: 1px solid transparent; border-radius: 5px; background: none; color: #d2e1c2; font-size: .8rem; }
.demo-tabs button:hover { border-color: #a0b08b; }
.demo-tabs button[aria-pressed='true'] { background: #d7e9bc; color: #263222; }
.demo-view label, .demo-week p { display: flex; align-items: center; gap: 7px; min-height: 37px; padding: 6px 0; border-top: 1px solid #48563e; color: #edf0e6; font-size: .84rem; }
.demo-view label { cursor: pointer; }
.demo-view input { width: 17px; height: 17px; margin: 0; accent-color: #c5dfa0; }
.demo-view label span, .demo-week p span { margin-left: auto; color: #cfddc1; font-size: .7rem; }
.demo-week p b { width: 28px; flex: 0 0 auto; color: #cadebb; }
.demo-status { margin-top: 5px; font: 550 .71rem/1.3 var(--mono); color: #d4e9b9; }
.brief-form, .brief-result { display: grid; gap: 12px; margin-top: 17px; }
.brief-form label, .brief-result > label { display: block; color: var(--text); font-size: .89rem; font-weight: 600; }
.optional { color: var(--quiet); font-size: .75rem; margin-left: 4px; font-weight: 400; }
.brief-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.brief-form input[type="text"], .brief-form select, .brief-form textarea, .brief-result textarea { display: block; width: 100%; margin-top: 5px; padding: 9px 11px; border: 1px solid #4e4658; border-radius: 7px; background: #121117; color: var(--text); font-size: 1rem; font-weight: 400; }
.brief-form textarea, .brief-result textarea { resize: vertical; }
.brief-form input::placeholder, .brief-form textarea::placeholder { color: #a59bb1; }
.brief-form .brief-consent { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-weight: 400; }
.brief-consent input { flex: 0 0 18px; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); }
.brief-status { color: #ffc3bf; font-size: .89rem; }
.brief-status:empty { display: none; }
.brief-form button:disabled { opacity: .65; cursor: wait; }
.brief-result textarea { margin-top: -6px; }
.brief-result h3 { color: var(--accent); font-size: 1.2rem; }
.brief-result > .button { justify-self: start; }
.brief-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.copy-status { min-height: 20px; color: var(--accent); font-size: .83rem; }

@media (max-width: 500px) {
  .brief-fields { grid-template-columns: 1fr; }
}

@media (max-width: 970px) {
  .hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .hero h1 { font-size: clamp(3.36rem, 6.94vw, 5.5rem); }
  .project.featured { grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); }
  .planner-window { width: 90%; }
  .planner-scene { min-height: 325px; }
}

@media (max-width: 820px) {
  :root { --header-h: 64px; }
  .header-inner { grid-template-columns: 1fr auto; }
  .desktop-nav, .header-cta { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary { display: grid; place-items: center; width: 43px; height: 43px; list-style: none; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary .icon { width: 21px; height: 21px; }
  .mobile-nav:not([open]) .menu-close, .mobile-nav[open] .menu-open { display: none; }
  .mobile-nav nav { position: absolute; top: calc(100% + 7px); right: 0; z-index: 3; display: grid; min-width: min(245px, 100%); padding: 6px 13px; border: 1px solid var(--line); border-radius: 10px; background: #201b28; box-shadow: 0 12px 30px #0007; }
  .mobile-nav a { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 12px 4px; font-size: .92rem; }
  .mobile-nav a + a { border-top: 1px solid var(--line); }
  .mobile-nav a:hover { color: var(--accent); }
  .hero { grid-template-columns: 1fr; gap: 32px; }
  .hero-copy { padding-bottom: 0; }
  .hero h1 { font-size: clamp(2.8rem, 10.4vw, 5.5rem); }
  .hero-figure { justify-self: start; max-width: 540px; }
  .hero-description { max-width: 410px; }
  .hero-actions { margin-top: 21px; }
  .stack-inner { grid-template-columns: 1fr; align-content: center; gap: 9px; padding-block: 12px; }
  .stack-list { justify-content: flex-start; gap: 7px 13px; }
  .stack-list li { gap: 5px; }
  .service-layout, .service-app .service-layout { grid-template-columns: minmax(0, 1fr); }
  .service-app .service-image, .service-app .service-copy { grid-column: auto; grid-row: auto; }
  .service-copy h3, .service-support .service-copy h3 { max-width: 18ch; }
  .section-head { grid-template-columns: 1fr; gap: 13px; margin-bottom: 24px; }
  .section-note { max-width: 332px; padding-bottom: 0; }
  .project.featured { display: flex; flex-direction: column-reverse; }
  .planner-scene { min-height: clamp(220px, 47vw, 310px); }
  .planner-window { width: 82%; top: 42px; }
  .planner-title strong { font-size: clamp(.92rem, 3.2vw, 1.39rem); }
  .planner-task { font-size: clamp(.51rem, 1.85vw, .72rem); }
  .planner-layout { min-height: 235px; }
  .about-grid { grid-template-columns: 1fr; gap: 33px; }
  .contact-panel { grid-template-columns: 1fr; }
  .contact h2 { font-size: clamp(2.45rem, 7.5vw, 4.2rem); }
  .contact-motif { top: -47px; right: -74px; width: min(62%, 330px); }
}

@media (max-width: 545px) {
  .projects-grid { grid-template-columns: 1fr; gap: 16px; }
  .project.featured { grid-column: auto; }
  .project-copy { padding: 20px; }
  .compact .project-copy { padding-top: 20px; }
  .compact .project-scene { min-height: clamp(202px, 50vw, 269px); }
  .pulse-window { top: 42px; }
  .pulse-metrics strong { font-size: 1.24rem; }
  .pulse-chart { height: 70px; }
  .book-front > strong { font-size: clamp(2.55rem, 10vw, 4.1rem); }
  .footer-inner { gap: 4px 12px; padding-block: 14px; }
  .footer-meta { display: grid; }
}

@media (max-width: 370px) {
  .hero h1 { font-size: 2.57rem; }
  .hero-actions { gap: 6px 14px; }
  .hero-actions .button { padding-inline: 12px; }
  .planner-window { width: 89%; }
  .planner-layout { grid-template-columns: minmax(74px, 24%) minmax(0, 1fr); }
  .planner-menu { padding-inline: 6px; }
  .planner-title span { display: none; }
  .contact h2 { font-size: 2.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
