:root {
  --ink: #071829;
  --ink-2: #0d263d;
  --ink-3: #153958;
  --green: #16ad67;
  --green-bright: #56de98;
  --blue: #3978ff;
  --paper: #f3f5f2;
  --white: #ffffff;
  --text: #102235;
  --muted: #5f6d78;
  --line: #d9dfdc;
  --max: 1220px;
  --shadow: 0 24px 70px rgba(7, 24, 41, .12);
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: clip; scroll-behavior: smooth; }
body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  color: var(--text);
  background: var(--paper);
  font-family: "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(calc(100% - 44px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; background: #fff; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(217, 223, 220, .9);
  background: rgba(241, 244, 241, .96);
  backdrop-filter: blur(18px);
}
.nav { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-lockup { width: 330px; height: auto; }
.brand-type { display: grid; line-height: 1; }
.brand-type strong { color: var(--ink); font-size: 1.04rem; letter-spacing: -.04em; white-space: nowrap; }
.brand-type span { margin-top: 5px; color: #62707a; font-size: .5rem; font-weight: 800; letter-spacing: .16em; white-space: nowrap; }
.nav nav { display: flex; align-items: center; gap: 28px; color: #52616d; font-size: .93rem; font-weight: 650; }
.nav nav a:hover { color: var(--ink); }
.nav-contact { padding: 10px 16px; border: 1px solid #cbd3cf; border-radius: 999px; background: #fff; color: var(--ink) !important; }

.hero { position: relative; overflow: hidden; background: var(--paper); }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(7, 24, 41, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 24, 41, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 92%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.12fr .88fr; gap: 82px; align-items: center; padding-block: 116px 104px; }
.kicker { display: flex; align-items: center; gap: 11px; margin: 0 0 21px; color: #527261; font-size: .75rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.kicker > span { width: 24px; height: 3px; border-radius: 99px; background: var(--green); }
.kicker.light { color: #a9c7b8; }
.kicker.light > span { background: var(--green-bright); }
.hero h1 { margin: 0; max-width: 820px; color: var(--ink); font-size: clamp(3.5rem, 6.4vw, 6.65rem); font-weight: 800; letter-spacing: -.072em; line-height: .91; }
.lede { max-width: 730px; margin: 32px 0 0; color: #596873; font-size: clamp(1.08rem, 1.6vw, 1.28rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 21px; border: 1px solid transparent; border-radius: 10px; font-weight: 760; transition: transform .18s ease, background .18s ease; }
.button:hover, .text-link:hover, .product-card a:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--ink); box-shadow: 0 14px 34px rgba(7, 24, 41, .14); }
.button-primary:hover { background: var(--ink-2); }
.text-link { display: inline-flex; gap: 7px; color: var(--ink); font-weight: 760; border-bottom: 1px solid #9eaaa4; }

.build-card { color: #fff; background: linear-gradient(145deg, var(--ink), var(--ink-2)); border: 1px solid rgba(255, 255, 255, .08); border-radius: 26px; box-shadow: var(--shadow); overflow: hidden; }
.build-card-head { display: flex; align-items: center; justify-content: space-between; padding: 19px 22px; border-bottom: 1px solid rgba(255, 255, 255, .1); color: #8ea1b1; font-size: .69rem; font-weight: 800; letter-spacing: .12em; }
.build-brand { margin: 24px 24px 8px; padding: 16px; background: #f1f4f1; border-radius: 16px; overflow: hidden; }
.build-brand img { width: 100%; height: auto; }
.live-dot { display: inline-flex; align-items: center; gap: 7px; color: #a5c9b7; }
.live-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 0 5px rgba(86, 222, 152, .1); }
.build-quote { margin: 0; padding: 32px 30px 28px; color: #f6faf8; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.55rem, 2.5vw, 2.15rem); line-height: 1.25; letter-spacing: -.025em; }
.build-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255, 255, 255, .1); }
.build-grid > div { min-height: 128px; padding: 20px; border-right: 1px solid rgba(255, 255, 255, .1); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.build-grid > div:nth-child(2n) { border-right: 0; }
.build-grid > div:last-child { border-bottom: 0; }
.build-grid > .build-grid-final { grid-column: 1 / -1; min-height: 108px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-right: 0; border-bottom: 0; text-align: center; }
.build-grid span { display: block; margin-bottom: 19px; color: var(--green-bright); font-size: .7rem; font-weight: 850; }
.build-grid strong { display: block; font-size: 1rem; }
.build-grid small { display: block; margin-top: 4px; color: #9faebb; font-size: .8rem; }

.section { padding-block: 108px; }
.section-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 90px; align-items: end; margin-bottom: 50px; }
.section-heading h2, .studio h2, .contact-panel h2 { margin: 0; font-size: clamp(2.6rem, 5vw, 5.15rem); line-height: .98; letter-spacing: -.06em; }
.section-heading > p { max-width: 520px; margin: 0; color: var(--muted); font-size: 1.08rem; line-height: 1.72; }
.section-heading.compact { grid-template-columns: 1.25fr .75fr; }

.portfolio {
  position: relative;
  background-color: #f5f8f6;
  background-image: linear-gradient(rgba(7,24,41,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(7,24,41,.035) 1px,transparent 1px);
  background-size: 48px 48px;
}
.story-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.story-card { position: relative; min-height: 460px; display: flex; flex-direction: column; padding: 34px; border: 1px solid rgba(7,24,41,.12); border-radius: 26px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.story-card:hover { transform: translateY(-4px); box-shadow: 0 28px 60px rgba(7,24,41,.13); }
.story-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 92% 8%,currentColor 0,transparent 34%); opacity: .12; }
.story-card::after { content: ""; position: absolute; top: 84px; right: -20%; width: 62%; height: 1px; background: linear-gradient(90deg,transparent,currentColor,transparent); opacity: .35; transform: rotate(-19deg); }
.story-wide { grid-column: span 7; }
.story-narrow { grid-column: span 5; }
.story-green { color: #56de98; background: linear-gradient(145deg,#0b2d2a,#071d25 68%); border-color: rgba(86,222,152,.22); }
.story-blue { color: #72a2ff; background: linear-gradient(145deg,#102d55,#081b30 72%); border-color: rgba(114,162,255,.24); }
.story-violet { color: #a99aff; background: linear-gradient(145deg,#211d4b,#0b1b32 72%); border-color: rgba(169,154,255,.24); }
.story-light { color: #3978ff; background: rgba(255,255,255,.92); }
.story-meta { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 18px; color: currentColor; font-size: .7rem; font-weight: 850; letter-spacing: .14em; }
.story-category { position: relative; z-index: 1; margin: 62px 0 10px; color: currentColor !important; font-size: .72rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.story-card h3 { position: relative; z-index: 1; max-width: 680px; margin: 0; color: #fff; font-size: clamp(2rem,3.8vw,3.55rem); line-height: 1.02; letter-spacing: -.055em; }
.story-card > p:not(.story-category) { position: relative; z-index: 1; max-width: 620px; margin: 20px 0 0; color: #b7c5cf; font-size: 1rem; line-height: 1.68; }
.story-light h3 { color: var(--ink); }
.story-light > p:not(.story-category) { color: var(--muted); }
.story-edge { position: relative; z-index: 1; display: grid; gap: 7px; margin-top: auto; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); }
.story-light .story-edge { border-top-color: var(--line); }
.story-edge span { color: currentColor; font-size: .68rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.story-edge strong { max-width: 660px; color: #f7fbf9; font-size: .96rem; line-height: 1.5; }
.story-light .story-edge strong { color: var(--ink); }
.story-card a { position: relative; z-index: 2; display: inline-flex; gap: 8px; align-items: center; width: fit-content; margin-top: 24px; color: #fff; font-weight: 780; }

.studio { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.studio::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 12% 22%,rgba(86,222,152,.13),transparent 28%),radial-gradient(circle at 88% 74%,rgba(57,120,255,.15),transparent 32%),linear-gradient(135deg,transparent 49.8%,rgba(255,255,255,.045) 50%,transparent 50.2%); }
.studio-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.studio-intro { position: sticky; top: 112px; align-self: start; }
.studio-lede { margin: 0; color: #d9e2e7; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.5rem, 2.5vw, 2.15rem); line-height: 1.42; }
.studio-points { margin-top: 50px; border-top: 1px solid rgba(255, 255, 255, .12); }
.studio-points > div { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding-block: 24px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.studio-points span { color: var(--green-bright); font-size: .72rem; font-weight: 850; }
.studio-points p { margin: 0; color: #aab8c3; }
.studio-points strong { color: #fff; }

.capabilities { position: relative; background: #edf2ef; overflow: hidden; }
.capabilities::before { content: "G10"; position: absolute; right: -4vw; top: 20px; color: rgba(7,24,41,.035); font-size: min(34vw,34rem); font-weight: 900; line-height: 1; letter-spacing: -.14em; }
.capability-heading { position: relative; z-index: 1; }
.capability-system { position: relative; display: grid; grid-template-columns: repeat(12,1fr); gap: 14px; padding: 14px; border: 1px solid rgba(7,24,41,.13); border-radius: 30px; background: linear-gradient(145deg,rgba(255,255,255,.74),rgba(231,239,235,.78)); box-shadow: 0 30px 80px rgba(7,24,41,.1); overflow: hidden; }
.capability-system::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(7,24,41,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(7,24,41,.04) 1px,transparent 1px); background-size: 32px 32px; }
.capability-card { position: relative; z-index: 1; grid-column: span 4; min-height: 270px; padding: 28px; border: 1px solid rgba(7,24,41,.11); border-radius: 19px; background: rgba(255,255,255,.88); overflow: hidden; }
.capability-card::after { content: ""; position: absolute; left: 28px; right: 28px; bottom: 0; height: 3px; background: linear-gradient(90deg,var(--green),var(--blue)); opacity: .32; transition: opacity .22s ease; }
.capability-card:hover::after { opacity: .9; }
.capability-card > span { color: #5e776a; font-size: .68rem; font-weight: 850; letter-spacing: .14em; }
.capability-card h3 { margin: 70px 0 12px; color: var(--ink); font-size: clamp(1.55rem,2.5vw,2.15rem); line-height: 1.05; letter-spacing: -.045em; }
.capability-card p { margin: 0; color: var(--muted); line-height: 1.62; }
.cap-search,.cap-transfer { background: linear-gradient(145deg,#0d2b43,#071829); }
.cap-search > span,.cap-transfer > span { color: var(--green-bright); }
.cap-search h3,.cap-transfer h3 { color: #fff; }
.cap-search p,.cap-transfer p { color: #aebdc8; }
.capability-core { position: absolute; z-index: 0; left: 50%; top: 50%; width: 250px; height: 250px; display: grid; place-content: center; border: 1px solid rgba(57,120,255,.16); border-radius: 50%; color: rgba(7,24,41,.07); text-align: center; transform: translate(-50%,-50%); }
.capability-core::before,.capability-core::after { content: ""; position: absolute; inset: 20px; border: 1px solid rgba(22,173,103,.13); border-radius: 50%; }
.capability-core::after { inset: 52px; border-color: rgba(57,120,255,.14); }
.capability-core span { font-size: 5rem; font-weight: 900; letter-spacing: -.12em; line-height: .8; }
.capability-core small { margin-top: 14px; font-size: .58rem; font-weight: 850; letter-spacing: .15em; }

.contact-section { padding-block: 24px 92px; background: var(--paper); }
.contact-panel { position: relative; padding: 62px; color: #fff; border-radius: 26px; background: linear-gradient(130deg, var(--ink-2), var(--ink-3)); overflow: hidden; }
.contact-panel::after { content: "G10"; position: absolute; right: -20px; bottom: -70px; color: rgba(255, 255, 255, .035); font-size: 16rem; font-weight: 900; line-height: 1; letter-spacing: -.12em; }
.contact-panel > * { position: relative; z-index: 1; }
.contact-panel h2 { max-width: 820px; }
.contact-panel h1 { max-width: 100%; overflow-wrap: anywhere; }
.contact-panel > p:not(.kicker) { max-width: 660px; margin: 22px 0 30px; color: #b7c5d0; font-size: 1.06rem; }
.button-light { color: var(--ink); background: #fff; }

footer { padding-block: 34px; color: #7b8881; background: #f1f4f1; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 32px; align-items: center; }
.footer-grid p { margin: 0; font-size: .82rem; }
.footer-grid p:last-child { text-align: right; }

@media (max-width: 980px) {
  .hero-grid, .section-heading, .section-heading.compact, .studio-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-grid { padding-block: 86px 78px; }
  .build-card { max-width: 700px; }
  .studio-intro { position: static; }
  .section-heading > p { max-width: 680px; }
  .story-wide,.story-narrow { grid-column: span 12; }
  .capability-card { grid-column: span 6; }
}

@media (max-width: 700px) {
  .wrap { width: min(calc(100% - 28px), var(--max)); }
  .nav { min-height: 92px; gap: 12px; }
  .brand-lockup { width: min(330px, calc(100vw - 128px)); max-width: none; height: auto; }
  .brand-type span { display: none; }
  .nav nav { gap: 8px; }
  .nav nav a:not(.nav-contact) { display: none; }
  .nav-contact { padding: 9px 14px; }
  .hero-grid { padding-block: 66px 60px; }
  .hero h1 { font-size: clamp(3.25rem, 15vw, 5rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .text-link { width: fit-content; }
  .build-card { border-radius: 19px; }
  .build-brand { margin: 18px 18px 6px; padding: 12px; border-radius: 13px; }
  .build-quote { padding: 26px 22px; }
  .build-grid { grid-template-columns: 1fr; }
  .build-grid > div { min-height: 0; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .1) !important; }
  .build-grid > div:last-child { border-bottom: 0 !important; }
  .section { padding-block: 76px; }
  .section-heading { margin-bottom: 34px; }
  .story-card { min-height: 430px; padding: 24px; }
  .story-category { margin-top: 44px; }
  .studio-grid { gap: 38px; }
  .capability-system { padding: 9px; border-radius: 22px; }
  .capability-card { grid-column: span 12; min-height: 240px; padding: 24px; }
  .capability-card h3 { margin-top: 52px; }
  .capability-core { display: none; }
  .contact-section { padding-bottom: 60px; }
  .contact-panel { padding: 36px 24px; border-radius: 20px; }
  .contact-panel::after { font-size: 10rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
  .footer-grid p:last-child { text-align: left; }
}

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

/* Living Blueprint hero, adapted from the approved visual study. */
.hero {
  isolation: isolate;
  color: var(--white);
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);
  background-size:48px 48px;
}
.hero::before {
  background: radial-gradient(circle at 78% 42%,rgba(57,120,255,.12),transparent 34%),radial-gradient(circle at 18% 28%,rgba(86,222,152,.08),transparent 30%);
  mask-image:none;
}
.hero-grid{z-index:2}
.hero h1{color:var(--white)}
.hero .kicker{color:var(--green-bright)}
.hero .lede{color:#afbec8}
.hero .button-primary{color:var(--ink);background:var(--white)}
.hero .button-primary:hover{background:#e8f0ec}
.hero .text-link{color:var(--white);border-color:#64798a}
.build-card{background:linear-gradient(145deg,rgba(10,29,49,.97),rgba(5,21,36,.97));border-color:rgba(255,255,255,.16)}
.random-tracer,.random-route{position:absolute;z-index:1;display:block;pointer-events:none;will-change:transform,opacity}
.random-route{inset:0;width:100%;height:100%;overflow:visible}
.random-route path{fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:16 100;will-change:stroke-dashoffset,opacity}
.random-route .route-green{stroke:#dffff0;filter:drop-shadow(0 0 4px #56de98) drop-shadow(0 0 8px rgba(86,222,152,.7))}
.random-route .route-blue{stroke:#edf3ff;filter:drop-shadow(0 0 4px #3978ff) drop-shadow(0 0 8px rgba(57,120,255,.7))}
.random-tracer.is-horizontal{height:1px}
.random-tracer.is-vertical{width:1px}
.random-tracer.is-horizontal.is-green{background:linear-gradient(90deg,transparent,rgba(86,222,152,.35),#56de98 72%,#effff7 88%,transparent);box-shadow:0 0 8px rgba(86,222,152,.9),0 0 18px rgba(86,222,152,.36)}
.random-tracer.is-horizontal.is-blue{background:linear-gradient(90deg,transparent,rgba(57,120,255,.35),#3978ff 72%,#edf3ff 88%,transparent);box-shadow:0 0 8px rgba(57,120,255,.9),0 0 18px rgba(57,120,255,.34)}
.random-tracer.is-vertical.is-green{background:linear-gradient(180deg,transparent,rgba(86,222,152,.35),#56de98 72%,#effff7 88%,transparent);box-shadow:0 0 8px rgba(86,222,152,.9),0 0 18px rgba(86,222,152,.36)}
.random-tracer.is-vertical.is-blue{background:linear-gradient(180deg,transparent,rgba(57,120,255,.35),#3978ff 72%,#edf3ff 88%,transparent);box-shadow:0 0 8px rgba(57,120,255,.9),0 0 18px rgba(57,120,255,.34)}
.random-tracer.is-horizontal.is-reverse{background:linear-gradient(90deg,transparent,#effff7 12%,#56de98 28%,rgba(86,222,152,.35),transparent)}
.random-tracer.is-horizontal.is-blue.is-reverse{background:linear-gradient(90deg,transparent,#edf3ff 12%,#3978ff 28%,rgba(57,120,255,.35),transparent)}
.random-tracer.is-vertical.is-reverse{background:linear-gradient(180deg,transparent,#effff7 12%,#56de98 28%,rgba(86,222,152,.35),transparent)}
.random-tracer.is-vertical.is-blue.is-reverse{background:linear-gradient(180deg,transparent,#edf3ff 12%,#3978ff 28%,rgba(57,120,255,.35),transparent)}
@media(prefers-reduced-motion:reduce){.random-tracer,.random-route{display:none}}
