:root {
  color-scheme: dark;
  --bg: #041f22;
  --panel: #06292c;
  --panel-deep: #042428;
  --pill: #123b3f;
  --mint: #04e9df;
  --mint-soft: #a0fff4;
  --white: #f6f8f9;
  --muted: #d2e1e1;
  --line: #18bdb8;
  --radius: 17px;
  --gutter: clamp(18px, 4.4vw, 74px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--white); font: 1rem/1.42 "Inter", "Segoe UI", system-ui, sans-serif; }
body:has(dialog[open]) { overflow: hidden; }
[hidden] { display: none !important; }
h1, h2, h3, p, ol, ul { margin: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.1vw, 2.85rem); }
em { color: var(--mint); font-style: normal; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; }
:focus-visible { outline: 2px solid var(--mint-soft); outline-offset: 4px; }
::selection { background: var(--mint); color: var(--bg); }
.container { width: min(calc(100% - 2 * var(--gutter)), 1420px); margin-inline: auto; }
.skip { position: fixed; z-index: 10; top: 12px; left: 12px; padding: 10px 18px; background: var(--mint); color: var(--bg); transform: translateY(-165%); }
.skip:focus { transform: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[data-icon] { display: inline-flex; flex: none; }
.icon { display: block; width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.site-header { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 6px; padding: 8px clamp(13px, 1.75vw, 28px); min-height: 56px; border: 1px solid var(--line); border-radius: var(--radius); background: #05272be8; backdrop-filter: blur(10px); }
.brand { display: inline-flex; gap: 8px; align-items: center; flex-shrink: 0; }
.brand-mark { color: var(--mint); }
.brand-mark .icon { width: clamp(40px, 4.5vw, 65px); height: 28px; stroke-width: 2; }
.wordmark { font-size: clamp(1.45rem, 2.15vw, 2.15rem); font-weight: 750; letter-spacing: -.065em; line-height: 1; }
.wordmark span + span { color: var(--mint); }
.brand-subtitle { margin-left: clamp(6px, 1vw, 18px); padding-left: clamp(13px, 1.4vw, 26px); border-left: 1px solid #a4bebc; font-size: .87rem; line-height: 1.15; }
.nav { display: flex; align-items: center; gap: clamp(12px, 2.3vw, 37px); }
.nav > a { white-space: nowrap; }
.nav > a:not(.button) { position: relative; padding-block: 6px; }
.nav > a:hover, .nav > a[aria-current] { color: var(--mint); }
.nav > a[aria-current]::after { content: ""; position: absolute; height: 2px; inset: auto 0 0; background: var(--mint); }
.nav > .nav-cta:hover { color: var(--bg); }
.menu-toggle { display: none; align-items: center; gap: 7px; color: var(--white); border: 1px solid var(--line); background: var(--panel); border-radius: 9px; padding: 7px 11px; }
.menu-toggle .icon { width: 18px; height: 18px; }
.button { min-height: 44px; display: inline-flex; justify-content: center; align-items: center; gap: 9px; padding: 8px 17px; border: 1px solid transparent; border-radius: 12px; font-weight: 700; line-height: 1.22; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--mint); color: var(--bg); }
.button-primary:hover { background: var(--mint-soft); }
.button-secondary { color: var(--white); border-color: #adc6c6; background: var(--panel-deep); }
.button-secondary:hover { border-color: var(--mint); }
.button[aria-disabled="true"] { cursor: default; transform: none; }
.button .icon, .text-link .icon { width: 17px; height: 17px; }
.nav-cta { min-height: 36px; padding-inline: 13px; }
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero-media { position: absolute; inset: 0 0 0; z-index: -1; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: contain; object-position: right bottom; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 2%, #041f22f7 20%, #041f22bc 35%, #041f2200 58%), linear-gradient(180deg, var(--bg), #041f2200 10%); }
.hero-inner { position: relative; padding: clamp(22px, 2.25vw, 36px) clamp(0px, 2.9vw, 47px) clamp(28px, 2.65vw, 46px); }
.eyebrow { text-transform: uppercase; letter-spacing: .105em; font-size: clamp(.72rem, 1vw, .94rem); font-weight: 750; }
h1 { font-size: clamp(2.45rem, 4.08vw, 4.3rem); line-height: .99; font-weight: 790; margin-top: 10px; }
.hero-description { max-width: min(47%, 540px); margin-top: 12px; font-size: clamp(1rem, 1.32vw, 1.21rem); line-height: 1.32; }
.actions { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 14px; }
.trust { display: flex; align-items: stretch; list-style: none; padding: 0; margin-top: 20px; width: fit-content; }
.trust li { display: flex; align-items: center; gap: 8px; padding-inline: clamp(10px, 1.4vw, 21px); line-height: 1.15; }
.trust li:first-child { padding-left: 0; }
.trust li + li { border-left: 1px solid #adbfbc; }
.trust .icon { width: clamp(23px, 3vw, 37px); height: clamp(23px, 3vw, 37px); color: var(--mint); }
.section { padding-block: clamp(12px, 1.3vw, 23px); scroll-margin-top: 12px; }
.project-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 18px; margin: 0 12px 13px; }
.project-heading .text-link { color: var(--white); }
.text-link { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; color: var(--mint); padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover { color: var(--mint-soft); }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(13px, 1.7vw, 26px); }
.project, .service, .stack-card, .cycle-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.project { overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s ease, transform .2s ease; }
.project:hover { border-color: var(--mint-soft); transform: translateY(-2px); }
.project-cover { position: relative; isolation: isolate; flex: 1; overflow: hidden; padding: 10px clamp(13px, 1.8vw, 27px) 13px; min-height: clamp(143px, 11.3vw, 191px); }
.project-cover img { position: absolute; z-index: -2; inset: 0 0 0 auto; width: 48%; height: 100%; object-fit: cover; object-position: 96% 16%; mask-image: linear-gradient(90deg, transparent, black 24%); }
.project-cover::after { content: ""; z-index: -1; position: absolute; inset: 0; background: linear-gradient(90deg, var(--panel) 49%, #06292cb3 54%, #06292c00 66%); }
.project.sport { --panel: #06282e; }
.project h3 { display: flex; gap: 10px; align-items: center; font-size: clamp(1.42rem, 2.2vw, 2.1rem); }
.project h3 .icon { width: 32px; height: 32px; color: var(--mint); }
.project-summary { max-width: 56%; margin-top: 6px; line-height: 1.28; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; list-style: none; margin-top: 9px; }
.tags li, .badge { background: var(--pill); border-radius: 999px; padding: 4px 9px; font-size: .83rem; }
.project-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 7px 15px; padding: 9px clamp(13px, 1.8vw, 27px); border-top: 1px solid var(--line); background: var(--panel-deep); font-size: .88rem; }
.project-meta, .project-links { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 10px; }
.project-links { gap: 13px; }
.badge { color: var(--mint-soft); }
.section-divider { display: flex; align-items: center; gap: clamp(12px, 2.15vw, 31px); color: var(--white); font-size: .9rem; line-height: 1.2; letter-spacing: .26em; font-weight: 750; text-transform: uppercase; text-align: center; }
.section-divider::before, .section-divider::after { content: ""; height: 2px; background: var(--line); flex: 1; }
.section-title { text-align: center; margin: 7px 0 14px; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.5vw, 23px); }
.service { min-width: 0; padding: 10px 15px 15px; text-align: center; transition: border-color .2s ease, transform .2s ease; }
.service:hover, .stack-card:hover { border-color: var(--mint-soft); transform: translateY(-2px); }
.service img { margin-inline: auto; width: 87px; height: 61px; object-fit: contain; }
.service h3, .stack-card h3 { margin-top: 4px; font-size: clamp(1.09rem, 1.64vw, 1.45rem); }
.service p { width: min(100%, 26ch); margin: 5px auto 0; line-height: 1.28; color: var(--muted); }
.method-layout { display: grid; grid-template-columns: minmax(208px, .31fr) minmax(0, 1fr); gap: clamp(12px, 2vw, 30px); align-items: center; margin-top: 10px; }
.method-intro h2 { font-size: clamp(1.63rem, 2.4vw, 2.55rem); }
.method-intro p { margin-top: 9px; line-height: 1.32; color: var(--muted); }
.method-cycle { --dial: clamp(226px, 24vw, 320px); position: relative; min-height: calc(var(--dial) + 4px); }
.cycle-arrows, .cycle-brand { position: absolute; left: 50%; top: 50%; translate: -50% -50%; }
.cycle-arrows { width: var(--dial); height: var(--dial); color: var(--mint); }
.cycle-brand { width: calc(var(--dial) * .48); aspect-ratio: 1; display: flex; gap: 2px; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; background: var(--panel); }
.cycle-brand .wordmark { font-size: clamp(1.1rem, 1.6vw, 1.6rem); }
.cycle-brand .brand-mark .icon { width: 43px; height: 23px; }
.cycle-brand-caption { font-size: .56rem; line-height: 1.03; letter-spacing: .11em; font-weight: 700; text-transform: uppercase; text-align: center; }
.cycle-steps { list-style: none; padding: 0; }
.cycle-node { position: absolute; z-index: 1; left: calc(50% + var(--dial) * var(--x)); top: calc(50% + var(--dial) * var(--y)); translate: -50% -50%; display: grid; place-items: center; width: calc(var(--dial) * .207); aspect-ratio: 1; border: 1px solid var(--mint-soft); border-radius: 50%; background: var(--panel-deep); transition: background .2s ease; }
.cycle-node span { position: absolute; top: -10px; left: 50%; translate: -50%; display: grid; place-items: center; width: 21px; height: 21px; border: 1px solid var(--mint-soft); border-radius: 50%; background: var(--bg); font-size: .77rem; font-weight: 700; }
.cycle-node .icon { width: clamp(19px, 2.5vw, 32px); height: clamp(19px, 2.5vw, 32px); }
.cycle-steps li:nth-child(1) { --x: 0; --y: -.382; --card-y: 2%; --offset: .49; }
.cycle-steps li:nth-child(2) { --x: .363; --y: -.118; --card-y: 37%; --offset: .50; }
.cycle-steps li:nth-child(3) { --x: .225; --y: .309; --card-y: 71%; --offset: .37; }
.cycle-steps li:nth-child(4) { --x: -.225; --y: .309; --card-y: 71%; --offset: .37; }
.cycle-steps li:nth-child(5) { --x: -.363; --y: -.118; --card-y: 37%; --offset: .50; }
.cycle-card { display: flex; gap: 9px; align-items: flex-start; position: absolute; top: var(--card-y); left: calc(50% + var(--dial) * var(--offset)); width: min(30%, 255px); padding: 7px 11px; border-radius: 13px; }
.cycle-card b { color: var(--mint); font-size: 1.32rem; line-height: 1; }
.cycle-card h3 { font-size: .95rem; letter-spacing: -.01em; }
.cycle-card p { color: var(--muted); font-size: .88rem; line-height: 1.22; margin-top: 3px; }
.cycle-steps li:nth-child(n+4) .cycle-card { left: auto; right: calc(50% + var(--dial) * var(--offset)); }
.cycle-steps li:hover .cycle-node { background: var(--pill); }
.technologies { padding-bottom: clamp(30px, 5vw, 70px); }
.stack-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px clamp(12px, 1.6vw, 25px); }
.stack-card { display: grid; grid-template-columns: 44px 1fr; gap: 7px 13px; align-content: start; padding: 13px clamp(14px, 2vw, 25px); transition: border-color .2s ease, transform .2s ease; }
.stack-card > [data-icon] { grid-row: span 2; align-self: start; color: var(--mint); }
.stack-card > [data-icon] .icon { width: 38px; height: 38px; }
.stack-card p, .stack-note { color: var(--muted); }
.stack-card h3 { margin: 0 0 3px; }
.stack-card ul { grid-column: 2; margin-top: 1px; }
.tech-label { display: inline-flex; align-items: center; gap: 6px; }
.tech-label img { width: 16px; height: 16px; object-fit: contain; }
.tech-proposal { font-size: .75rem; color: var(--mint-soft); }
.stack-note { margin-top: 11px; font-size: .86rem; }
.project-dialog { width: min(92%, 680px); max-height: 88dvh; padding: clamp(24px, 4vw, 42px); background: var(--panel); color: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.project-dialog::backdrop { background: #001416cf; }
.close-dialog { position: absolute; top: 12px; right: 12px; width: 41px; height: 41px; border: 1px solid var(--line); border-radius: 8px; color: var(--white); background: var(--panel-deep); font-size: 1.5rem; line-height: 1; }
.project-dialog h2 { padding-right: 36px; }
.project-dialog h3 { margin-top: 16px; }
.project-dialog p, .project-dialog ul:not(.tags) { margin-top: 8px; color: var(--muted); }
.project-dialog ul:not(.tags) { padding-left: 20px; }
.project-dialog .button { margin-top: 20px; }
.reveal-pending { opacity: 0; transform: translateY(10px); }
[data-reveal] { transition: opacity .35s ease, transform .35s ease; }
.reveal-pending:focus-within, .reveal-pending:target { opacity: 1; transform: none; }

@media (min-width: 941px) and (max-width: 1050px) {
  .method-cycle { min-height: 330px; }
  .cycle-steps li:nth-child(2), .cycle-steps li:nth-child(5) { --card-y: 36%; }
  .cycle-steps li:nth-child(3), .cycle-steps li:nth-child(4) { --card-y: 72%; }
}
@media (max-width: 1120px) {
  .nav { gap: 15px; }
}
@media (max-width: 940px) {
  .site-header { flex-wrap: wrap; gap: 0 14px; }
  .menu-toggle { display: inline-flex; }
  .nav { width: 100%; flex-wrap: wrap; gap: 8px 15px; padding-top: 10px; }
  .nav.is-enhanced { display: none; }
  .nav.is-open { display: flex; }
  .hero-inner { padding-inline: 0; }
  .method-layout { grid-template-columns: minmax(0, 1fr); }
  .method-intro { max-width: 66ch; }
  .method-cycle { --dial: 265px; }
}
@media (max-width: 740px) {
  .hero { display: grid; }
  .hero-inner { padding-block: 25px 6px; }
  .hero-description { max-width: 48ch; }
  h1 { font-size: clamp(2.15rem, 7.7vw, 3.45rem); }
  .hero-media { position: relative; order: 1; aspect-ratio: 2.05; margin-top: 8px; }
  .hero-media img { object-fit: cover; object-position: center; }
  .hero-media::after { background: linear-gradient(var(--bg), #041f2200 16%); }
  .trust { margin-top: 14px; }
  .trust li { padding-inline: 8px; gap: 6px; font-size: .85rem; }
  .project-grid { grid-template-columns: minmax(0, 1fr); }
  .project-heading { margin-inline: 0; }
  .project-cover { min-height: 142px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method-cycle { --dial: 216px; min-height: 245px; }
  .cycle-card { width: min(30%, 180px); }
}
@media (max-width: 740px) {
  .method-cycle { padding-top: 226px; }
  .cycle-arrows, .cycle-brand { top: 110px; }
  .cycle-node { top: calc(110px + var(--dial) * var(--y)); }
  .cycle-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .cycle-card { position: static; min-height: 100%; width: auto; }
  .stack-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 405px) {
  .brand-subtitle { display: none; }
  .trust li { font-size: .8rem; }
  .trust .icon { width: 21px; height: 21px; }
  .project-summary { max-width: 64%; }
  .project-cover::after { background: linear-gradient(90deg,var(--panel) 48%,#06292caf 63%,transparent 80%); }
  .service { padding-inline: 8px; }
  .service p { font-size: .93rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .reveal-pending { opacity: 1; transform: none; }
}





