@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: dark;
  --bg: #080b10;
  --panel: #0c1118;
  --panel-raised: #111923;
  --ink: #f1f5f8;
  --ink-soft: #bac6d0;
  --muted: #91a1af;
  --line: rgba(167, 193, 212, .18);
  --blue: #1687ff;
  --blue-deep: #0867d8;
  --cyan: #62ddff;
  --font-body: 'Manrope', 'Segoe UI', sans-serif;
  --font-code: 'DM Mono', Consolas, monospace;
  --gutter: clamp(1.25rem, 6vw, 6.25rem);
  --max: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; background: var(--bg); }
body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 76% 5%, rgba(12, 94, 195, .2), transparent 31rem),
    radial-gradient(ellipse at 7% 56%, rgba(0, 174, 218, .1), transparent 34rem),
    linear-gradient(150deg, #080b10 0%, #0b1118 48%, #080b10 100%);
  background-attachment: fixed;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: '';
  opacity: .14;
  background-image: linear-gradient(rgba(139, 173, 202, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(139, 173, 202, .12) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
.skip-link { position: absolute; z-index: 20; top: .75rem; left: .75rem; padding: .7rem 1rem; color: #06121c; background: var(--cyan); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.section-wrap { width: min(100%, var(--max)); margin-inline: auto; padding-inline: var(--gutter); }

/* A precise graphite shell with a blue-cyan light catching the edge. */
.site-panel {
  position: relative;
  isolation: isolate;
  width: min(1512px, calc(100% - 56px));
  margin: clamp(1rem, 3vw, 2.5rem) auto;
  overflow: hidden;
  border: 1px solid rgba(140, 202, 244, .35);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(13, 18, 25, .98), rgba(10, 15, 21, .98));
  box-shadow: 0 36px 100px rgba(0, 0, 0, .66), 0 0 28px rgba(0, 117, 230, .11), inset 0 1px 0 rgba(220, 244, 255, .09);
}
.site-panel::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  content: '';
  background: linear-gradient(130deg, rgba(182, 239, 255, .92), rgba(41, 183, 255, .72) 18%, rgba(12, 79, 205, .46) 48%, rgba(21, 137, 255, .72) 76%, rgba(192, 248, 255, .86));
  background-size: 220% 220%;
  animation: frame-light 14s ease-in-out infinite alternate;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}
.site-panel > header, .site-panel > main, .site-panel > footer { position: relative; z-index: 1; }
@keyframes frame-light { from { background-position: 0% 15%; } to { background-position: 100% 85%; } }

.site-header {
  display: flex;
  align-items: center;
  width: min(100%, var(--max));
  min-height: 94px;
  margin: auto;
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line);
}
.wordmark { position: relative; display: inline-flex; align-items: center; width: 150px; height: 82px; text-decoration: none; }
.wordmark-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: radial-gradient(ellipse, rgba(195, 220, 242, .88), rgba(114, 160, 202, .32) 38%, transparent 72%);
}
.site-tabs { display: flex; align-items: center; gap: .45rem; margin-left: auto; }
.site-tabs a { min-height: 42px; display: inline-flex; align-items: center; padding: .5rem .95rem; border: 1px solid transparent; color: #aab8c5; font-size: .82rem; font-weight: 700; text-decoration: none; transition: color .18s ease, background-color .18s ease, border-color .18s ease; }
.site-tabs a:hover { color: #f1f5f8; background: rgba(31, 70, 105, .28); }
.site-tabs a.is-active { color: #eaf6ff; border-color: rgba(74, 164, 238, .28); background: linear-gradient(130deg, rgba(12, 73, 132, .42), rgba(14, 123, 194, .15)); box-shadow: inset 0 1px 0 rgba(207, 240, 255, .08); }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
  min-height: 650px;
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(4rem, 7vw, 6rem);
}
.hero-copy { position: relative; z-index: 1; max-width: 690px; }
.hero-copy::before {
  position: absolute;
  z-index: -1;
  top: -18%;
  left: -20%;
  width: 92%;
  height: 128%;
  border-radius: 50%;
  pointer-events: none;
  content: '';
  background: radial-gradient(ellipse, rgba(14, 111, 239, .17), rgba(0, 183, 255, .07) 39%, transparent 72%);
  filter: blur(22px);
}
.hero-copy::after {
  position: absolute;
  top: 9%;
  bottom: 8%;
  left: calc(var(--gutter) * -.38);
  width: 2px;
  border-radius: 2px;
  pointer-events: none;
  content: '';
  background: linear-gradient(180deg, transparent, rgba(74, 173, 255, .8) 24%, rgba(55, 216, 255, .9) 54%, rgba(16, 104, 221, .45) 78%, transparent);
  box-shadow: 0 0 14px rgba(30, 151, 255, .42), 0 0 30px rgba(0, 146, 255, .18);
}
.eyebrow {
  margin: 0 0 1.45rem;
  color: #a7b7c5;
  font-family: var(--font-code);
  font-size: .75rem;
  line-height: 1.55;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.status-dot { display: inline-block; width: 7px; height: 7px; margin: 0 .5rem .08rem 0; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px rgba(98, 221, 255, .65); }
.eyebrow-separator { padding-inline: .35rem; color: #718493; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 10ch; margin-bottom: 1.5rem; font-size: clamp(3.75rem, 8vw, 7.5rem); font-weight: 700; line-height: .96; letter-spacing: -.078em; }
h1 em, .approach h2 em, .contact h2 em { color: #58aaff; font-style: normal; }
.hero-intro { max-width: 500px; margin-bottom: 2rem; color: var(--ink-soft); font-size: clamp(1rem, 1.4vw, 1.14rem); line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 1.1rem; padding: .78rem 1.15rem; text-decoration: none; font-size: .82rem; font-weight: 800; transition: background-color .18s ease, color .18s ease, transform .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: linear-gradient(110deg, #0758d6, #087ef4 62%, #08a7eb); box-shadow: 0 8px 26px rgba(0, 104, 224, .26); }
.button-primary:hover { background: linear-gradient(110deg, #0b69ed, #1298ff 62%, #16b9ef); }
.button-primary span { font-size: 1.05rem; }
.text-link { color: #e7eef4; font-size: .82rem; font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.text-link span { padding-left: .2rem; color: var(--cyan); }
.hero-note { display: flex; align-items: center; gap: .7rem; margin-top: 4rem; color: var(--muted); font-family: var(--font-code); font-size: .68rem; letter-spacing: .04em; }
.note-rule { width: 28px; height: 1px; background: var(--cyan); box-shadow: 0 0 9px rgba(98, 221, 255, .6); }
.hero-brand { position: relative; justify-self: end; width: min(100%, 470px); }
.hero-brand::before { position: absolute; inset: 7% -12%; z-index: -1; border-radius: 50%; content: ''; background: radial-gradient(ellipse, rgba(0, 119, 255, .2), rgba(0, 201, 255, .07) 43%, transparent 72%); filter: blur(18px); }
.brand-frame { position: relative; padding: 1.5rem; border: 1px solid rgba(119, 184, 231, .16); border-radius: 50%; background: transparent; }
.brand-frame img { display: block; width: 100%; height: auto; background: transparent; }

.manifesto { padding-top: clamp(5rem, 9vw, 8rem); padding-bottom: clamp(5rem, 9vw, 8rem); border-top: 1px solid var(--line); }
.eyebrow-blue { color: #68b7ff; }
.manifesto-grid { display: grid; grid-template-columns: 1fr .74fr; align-items: end; gap: 3rem; }
.manifesto h2, .section-heading h2, .approach h2, .contact h2 { margin: 0; font-size: clamp(2.7rem, 5.5vw, 5rem); font-weight: 700; line-height: 1.04; letter-spacing: -.065em; }
.manifesto h2 span { color: #5daeff; }
.manifesto-copy { max-width: 480px; padding-bottom: .25rem; }
.manifesto-copy p { margin-bottom: 1.5rem; color: var(--ink-soft); line-height: 1.85; }

.expertises { color: var(--ink); background: linear-gradient(140deg, #0b1118, #0d141c 58%, #0a1016); border-block: 1px solid rgba(108, 151, 185, .2); }
.expertise-inner { padding-top: clamp(5rem, 8vw, 7.5rem); padding-bottom: 2rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 4rem; }
.eyebrow-light { color: #a8c9e8; }
.section-aside { max-width: 310px; margin: 0 0 .4rem; color: #b7c4ce; font-size: .92rem; line-height: 1.8; }
.service-row { display: grid; grid-template-columns: 60px 1fr 1.05fr 35px; min-height: 138px; align-items: center; gap: 1.5rem; padding: 1.75rem 0; border-top: 1px solid rgba(163, 189, 208, .22); }
.service-row:last-child { border-bottom: 1px solid rgba(163, 189, 208, .22); }
.service-number, .step-index { color: #95bce1; font-family: var(--font-code); font-size: .76rem; letter-spacing: .06em; }
.service-row h3 { margin: 0; font-size: clamp(1.2rem, 2.2vw, 1.8rem); line-height: 1.2; letter-spacing: -.04em; }
.service-row p { max-width: 390px; margin: 0; color: #c1cbd4; font-size: .9rem; line-height: 1.75; }
.service-mark { color: #60d9ff; font-size: 1.25rem; text-align: right; }
.expertise-foot { display: flex; justify-content: space-between; padding-top: 1.3rem; color: #a5b3bf; font-family: var(--font-code); font-size: .72rem; letter-spacing: .09em; }
.expertise-foot span span { color: #64d9ff; }

.approach { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2.5rem, 6vw, 6rem); padding-top: clamp(5rem, 9vw, 8rem); padding-bottom: clamp(5rem, 9vw, 8rem); }
.approach-heading { align-self: start; }
.approach-heading .eyebrow { margin-bottom: 1.8rem; }
.approach h2 { max-width: 12ch; font-size: clamp(2.7rem, 4.6vw, 4.4rem); text-wrap: balance; }
.approach-steps { padding-top: .6rem; }
.step { position: relative; margin-bottom: 1.65rem; padding: 0 0 1.65rem 1.25rem; border-left: 1px solid rgba(177, 207, 225, .35); }
.step::before { position: absolute; top: .32rem; left: -4px; width: 7px; height: 7px; border-radius: 50%; content: ''; background: var(--cyan); box-shadow: 0 0 10px rgba(98, 221, 255, .58); }
.step:last-child { margin-bottom: 0; }
.step-index { display: block; margin-bottom: .65rem; color: #73baff; }
.step h3 { margin-bottom: .5rem; font-size: 1.14rem; letter-spacing: -.035em; }
.step p { max-width: 440px; margin-bottom: 0; color: #bdc9d2; font-size: .9rem; line-height: 1.8; }

.collaboration {
  display: grid;
  grid-template-columns: minmax(190px, .7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
  padding-top: clamp(4.5rem, 8vw, 7rem);
  padding-bottom: clamp(4.5rem, 8vw, 7rem);
  border-top: 1px solid var(--line);
  background: linear-gradient(110deg, rgba(17, 25, 35, .58), rgba(17, 25, 35, 0) 72%);
}
.collaboration-mark {
  width: min(100%, 210px);
  margin: 0 auto;
  padding: .35rem;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(224, 177, 82, .42);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(28, 22, 30, .58), rgba(12, 17, 24, .12) 72%);
  box-shadow: inset 0 1px 0 rgba(255, 242, 207, .16), 0 0 36px rgba(224, 177, 82, .07);
}
.collaboration-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.collaboration-copy { max-width: 720px; }
.collaboration-copy .eyebrow { margin-bottom: 1.1rem; }
.collaboration-copy h2 { margin: 0 0 1.1rem; font-size: clamp(2.5rem, 5vw, 4.3rem); font-weight: 700; line-height: 1.04; letter-spacing: -.065em; text-wrap: balance; }
.collaboration-copy h2 span { color: #e4c078; }
.collaboration-copy > p:not(.eyebrow) { max-width: 590px; margin-bottom: 1.2rem; color: var(--ink-soft); line-height: 1.8; }
.collaboration-link { display: inline-flex; min-height: 44px; align-items: center; gap: .45rem; color: #f1f5f8; font-size: .86rem; font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.collaboration-link span { color: var(--cyan); }
.collaboration-handle { display: block; margin-top: .5rem; color: var(--muted); font-family: var(--font-code); font-size: .74rem; }

.contact { position: relative; display: flex; min-height: 405px; align-items: center; justify-content: space-between; gap: 3rem; overflow: hidden; padding-top: 4.2rem; padding-bottom: 4.2rem; color: #fff; background: radial-gradient(ellipse at 84% 20%, rgba(0, 162, 255, .22), transparent 35%), linear-gradient(120deg, #0a2135, #0b3150 60%, #0b2940); border: 1px solid rgba(84, 175, 244, .25); }
.contact::before { position: absolute; top: -50%; right: 4%; width: 520px; height: 520px; border: 1px solid rgba(105, 208, 255, .12); border-radius: 50%; content: ''; box-shadow: 0 0 0 34px rgba(62, 165, 226, .035), 0 0 0 70px rgba(62, 165, 226, .025); }
.contact .eyebrow { color: #acd9f8; }
.contact h2 { position: relative; font-size: clamp(2.8rem, 5.8vw, 5rem); }
.contact h2 em { color: #89eaff; }
.contact-main > p:not(.eyebrow) { max-width: 490px; margin: 1.2rem 0 1.7rem; color: #d3e6f4; font-size: .94rem; line-height: 1.8; }
.button-white { color: #10202b; background: #eaf7ff; }
.button-white span { color: #075fc2; }
.button-white:hover { background: #c9efff; }
.contact-aside { position: relative; display: grid; width: 260px; height: 260px; flex: 0 0 260px; place-items: center; transform: rotate(7deg); border: 1px solid rgba(208, 240, 255, .32); }
.contact-aside::before, .contact-aside::after { position: absolute; content: ''; background: rgba(208, 240, 255, .24); }
.contact-aside::before { width: 1px; height: 100%; }
.contact-aside::after { width: 100%; height: 1px; }
.contact-ap { font-size: 7rem; font-weight: 800; line-height: 1; letter-spacing: -.12em; }
.contact-code { position: absolute; right: .8rem; bottom: .8rem; color: #d7efff; font-family: var(--font-code); font-size: .6rem; }

.site-footer { display: grid; min-height: 110px; grid-template-columns: 1fr 1fr auto auto; align-items: center; gap: 2rem; border-top: 1px solid var(--line); }
.footer-brand { font-size: .95rem; font-weight: 800; letter-spacing: -.04em; text-decoration: none; }
.footer-brand span { color: #52aaff; }
.site-footer p { margin: 0; color: #aebbc5; font-size: .8rem; }
.back-top { color: #e5eef4; font-size: .8rem; font-weight: 700; text-decoration: none; }
.back-top span { margin-left: .3rem; color: var(--cyan); }
.site-footer small { color: #aebbc5; font-size: .8rem; white-space: nowrap; }

@media (max-width: 900px) {
  .hero { min-height: 560px; grid-template-columns: 1fr .8fr; gap: 2rem; }
  .manifesto-grid { grid-template-columns: 1fr .9fr; gap: 2rem; }
  .approach { gap: 3rem; }
  .collaboration { grid-template-columns: minmax(170px, .65fr) minmax(0, 1.35fr); gap: 2.5rem; }
  .collaboration-mark { width: min(100%, 190px); }
  .contact-aside { width: 210px; height: 210px; flex-basis: 210px; }
  .contact-ap { font-size: 5.5rem; }
  .site-footer { gap: 1rem; }
}
@media (max-width: 650px) {
  .site-panel { width: calc(100% - 16px); margin: 8px auto; border-radius: 13px; }
  .site-header { min-height: 78px; padding-block: 0; }
  .wordmark { width: 128px; height: 72px; }
  .site-tabs { gap: .2rem; }
  .site-tabs a { min-height: 40px; padding-inline: .62rem; font-size: .72rem; }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 2rem; padding-top: 4rem; padding-bottom: 4.5rem; }
  .eyebrow { font-size: .68rem; }
  h1 { max-width: 9ch; font-size: clamp(3.5rem, 16vw, 5.25rem); }
  .hero-intro { max-width: 440px; }
  .hero-note { margin-top: 2.5rem; }
  .hero-copy::after { left: -.7rem; }
  .hero-brand { justify-self: center; width: min(84%, 350px); }
  .brand-frame { padding: .8rem; }
  .manifesto-grid, .approach { grid-template-columns: 1fr; }
  .manifesto-grid { gap: 1.5rem; }
  .manifesto h2, .section-heading h2 { font-size: clamp(2.8rem, 12vw, 4.2rem); }
  .section-heading { display: block; margin-bottom: 2.2rem; }
  .section-aside { margin-top: 1.3rem; }
  .service-row { grid-template-columns: 34px 1fr 24px; gap: .65rem; padding: 1.3rem 0; }
  .service-row h3 { font-size: 1.2rem; }
  .service-row p { grid-column: 2 / 3; font-size: .9rem; }
  .service-mark { grid-column: 3; grid-row: 1; }
  .expertise-foot { font-size: .65rem; letter-spacing: .03em; }
  .approach { gap: 2.5rem; }
  .approach h2 { max-width: 13ch; font-size: clamp(2.8rem, 12vw, 4.2rem); }
  .collaboration { grid-template-columns: 1fr; gap: 1.8rem; padding-top: 4rem; padding-bottom: 4rem; text-align: center; }
  .collaboration-mark { width: min(58vw, 170px); }
  .collaboration-copy { margin-inline: auto; }
  .collaboration-copy h2 { font-size: clamp(2.4rem, 10vw, 3.4rem); }
  .collaboration-copy > p:not(.eyebrow) { margin-inline: auto; }
  .contact { min-height: 0; padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .contact-aside { display: none; }
  .contact h2 { font-size: clamp(2.8rem, 12vw, 4.2rem); }
  .site-footer { min-height: 145px; grid-template-columns: 1fr auto; gap: .4rem 1rem; padding-top: 1.4rem; padding-bottom: 1.4rem; }
  .site-footer p { grid-row: 2; }
  .site-footer small { grid-column: 1; grid-row: 3; }
  .back-top { grid-column: 2; grid-row: 1 / 3; }
}
@media (max-width: 380px) {
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .expertise-foot { letter-spacing: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
