:root {
  color-scheme: dark;
  --bg: #0a162f;
  --bg-soft: #0c1d38;
  --panel: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.075);
  --text: #e6faff;
  --muted: #9eb9c3;
  --blue: #0e9fb3;
  --violet: #35bed0;
  --aqua: #7af0e3;
  --page: min(1180px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 85% 8%, rgba(14, 159, 179, 0.18), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.045;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}
.section-shell { width: var(--page); margin-inline: auto; }

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1240px, calc(100vw - 32px));
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  z-index: 15;
  border: 1px solid transparent;
  border-radius: 18px;
  transition: background 220ms ease, border-color 220ms ease, top 220ms ease, backdrop-filter 220ms ease;
}
.site-header.scrolled {
  top: 12px;
  height: 64px;
  background: rgba(10, 22, 47, 0.78);
  border-color: var(--line-soft);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-symbol { display: block; position: relative; width: 38px; height: 38px; overflow: hidden; flex: 0 0 auto; }
.brand-symbol img { position: absolute; left: 0; top: -2px; width: 126px; max-width: none; height: auto; }
.brand-word { color: var(--text); font-size: 1.15rem; font-weight: 600; letter-spacing: -.035em; white-space: nowrap; }
.brand-position { margin-left: 10px; padding-left: 18px; border-left: 1px solid var(--line); color: var(--muted); font-size: .76rem; font-weight: 400; letter-spacing: 0; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 34px; font-size: .9rem; color: #cbd1de; }
.site-nav a { transition: color 180ms ease; }
.site-nav a:hover { color: white; }
.nav-contact { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; }
.nav-contact:hover { border-color: rgba(255,255,255,.35); }
.nav-toggle { display: none; border: 0; background: transparent; padding: 10px; }

.hero {
  min-height: 900px;
  padding-top: 150px;
  padding-bottom: 58px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}
.hero-glow {
  position: absolute;
  width: 760px;
  height: 560px;
  right: -180px;
  top: 30px;
  border-radius: 50%;
  filter: blur(20px);
  background: radial-gradient(circle at 40% 42%, rgba(122, 240, 227, .34), rgba(14, 159, 179, .16) 37%, transparent 68%);
  opacity: .64;
}
.aurora-scene {
  position: absolute;
  z-index: 0;
  right: -10%;
  top: 86px;
  width: 72%;
  height: 470px;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent 0%, #000 19%, #000 92%, transparent 100%);
}
.aurora-wave { position: absolute; left: 0; right: 0; border-radius: 50% 20% 48% 26% / 60% 35% 65% 42%; transform-origin: center; }
.wave-one { top: 96px; height: 185px; transform: rotate(-9deg) skewX(-13deg); background: linear-gradient(105deg, transparent 2%, rgba(14,159,179,.25) 15%, rgba(122,240,227,.95) 47%, rgba(24,166,235,.78) 70%, rgba(14,94,179,.12) 100%); box-shadow: 0 0 55px rgba(46,222,220,.27); }
.wave-two { top: 180px; height: 150px; transform: rotate(6deg) skewX(14deg); background: linear-gradient(92deg, rgba(4,56,107,.12), rgba(12,138,175,.76) 28%, rgba(92,220,247,.72) 55%, rgba(11,72,146,.72) 100%); filter: blur(2px); }
.wave-three { top: 270px; height: 108px; transform: rotate(-5deg) skewX(-17deg); background: linear-gradient(90deg, transparent, rgba(9,83,148,.72) 22%, rgba(20,174,192,.48) 62%, rgba(5,50,112,.15)); filter: blur(4px); }
.narwhal-line { position: absolute; width: 215px; height: 66px; left: 27%; top: 30px; border-top: 1px solid rgba(122,240,227,.16); border-radius: 50%; transform: rotate(-14deg); }
.narwhal-line::after { content: ""; position: absolute; right: -46px; top: -8px; width: 70px; height: 1px; transform: rotate(-20deg); background: linear-gradient(90deg, rgba(122,240,227,.18), transparent); }
.hero-copy { position: relative; z-index: 2; max-width: 670px; }
.eyebrow, .section-kicker {
  position: relative;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .75rem;
  color: var(--muted);
  font-weight: 500;
}
.eyebrow { display: flex; align-items: center; gap: 16px; color: #b8d5de; }
.eyebrow span { width: 48px; height: 1px; background: var(--aqua); box-shadow: 0 0 14px rgba(122, 240, 227, .75); }
.hero h1 {
  position: relative;
  z-index: 2;
  margin: 32px 0 0;
  max-width: 670px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(3.7rem, 6.4vw, 6rem);
  line-height: 1.02;
  letter-spacing: -.058em;
  font-weight: 500;
}
.hero h1 em { color: var(--blue); font-style: normal; font-weight: 400; }
.hero-copy > p { margin: 22px 0 0; max-width: 560px; color: #b8c7d5; font-size: 1.05rem; }
.hero-actions { display: flex; gap: 16px; margin-top: 30px; }
.primary-action, .secondary-action { min-width: 160px; padding: 12px 21px; border-radius: 999px; text-align: center; font-weight: 600; font-size: .88rem; transition: transform 180ms ease; }
.primary-action { color: #06182c; background: linear-gradient(100deg, #48dfdf, #7af0e3); box-shadow: 0 10px 35px rgba(65,224,221,.18); }
.secondary-action { border: 1px solid rgba(230,250,255,.56); }
.primary-action:hover, .secondary-action:hover { transform: translateY(-2px); }
.hero-products { position: relative; z-index: 3; margin-top: 68px; }
.hero-products-heading { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 22px; }
.hero-products-heading h2 { margin: 0; font-family: "Manrope", sans-serif; font-size: 1.58rem; letter-spacing: -.035em; font-weight: 600; }
.hero-products-heading h2 span { display: inline-block; width: 38px; height: 1px; margin-left: 14px; vertical-align: middle; background: var(--aqua); }
.hero-products-heading p { margin: 0; color: var(--muted); font-size: .78rem; letter-spacing: .08em; }
.hero-products .product-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 0; }

.manifesto { padding: 150px 0 170px; }
.manifesto-content { margin-top: 56px; display: grid; grid-template-columns: 1.45fr 1fr; gap: 80px; align-items: start; }
.manifesto h2, .section-heading h2, .portfolio-copy h2, .contact h2 {
  font-family: "Manrope", sans-serif;
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  line-height: 1.04;
  letter-spacing: -.055em;
  font-weight: 500;
}
.manifesto h2 span { color: var(--blue); }
.manifesto-copy { border-left: 1px solid var(--line); padding-left: 34px; }
.manifesto-copy p { margin: 0 0 24px; color: #aeb7c8; font-size: 1.05rem; }

.approach { padding: 120px 0 150px; border-top: 1px solid var(--line-soft); }
.section-heading { display: flex; justify-content: space-between; gap: 80px; align-items: flex-end; }
.section-heading h2 { margin-top: 24px; font-size: clamp(2.4rem, 4vw, 4rem); }
.section-heading > p { max-width: 360px; color: var(--muted); margin: 0; }
.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 72px; }
.approach-card {
  min-height: 350px;
  padding: 28px;
  background: linear-gradient(150deg, rgba(255,255,255,.06), rgba(255,255,255,.018));
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  transition: transform 260ms ease, border-color 260ms ease, background 260ms ease;
}
.approach-card:hover { transform: translateY(-7px); border-color: rgba(113, 166, 255, .34); background: linear-gradient(150deg, rgba(97,169,255,.10), rgba(255,255,255,.02)); }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; color: var(--muted); font-size: .8rem; }
.card-icon { width: 90px; height: 90px; position: relative; }
.card-icon::before, .card-icon::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; }
.icon-create::after { inset: 27px; background: radial-gradient(circle, var(--aqua), transparent 65%); border: 0; box-shadow: 0 0 28px rgba(98,230,223,.35); }
.icon-build::before { border-radius: 12px; transform: rotate(45deg); border-color: rgba(97,169,255,.6); }
.icon-build::after { inset: 25px; border-radius: 7px; transform: rotate(45deg); background: rgba(97,169,255,.2); }
.icon-grow::before { border-radius: 0; border-width: 0 0 1px 1px; transform: skew(-17deg); }
.icon-grow::after { inset: 18px 16px 22px 26px; border-radius: 0; border-width: 1px 1px 0 0; border-color: var(--violet); transform: skew(-17deg); }
.approach-card h3 { font-family: "Manrope", sans-serif; font-size: 2rem; margin: auto 0 12px; letter-spacing: -.03em; font-weight: 500; }
.approach-card p { color: var(--muted); margin: 0; max-width: 290px; }

.portfolio { padding: 100px 0 160px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 100px; align-items: center; }
.portfolio-visual { height: 570px; position: relative; border: 1px solid var(--line-soft); border-radius: 28px; overflow: hidden; background: radial-gradient(circle at 50% 48%, rgba(14, 159, 179, .22), transparent 45%), #08152b; }
.portfolio-visual::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,.2) 1px, transparent 1px); background-size: 30px 30px; opacity: .18; mask-image: radial-gradient(circle, #000, transparent 72%); }
.product-plane { position: absolute; left: 50%; top: 50%; width: 235px; height: 145px; margin: -72px 0 0 -117px; border: 1px solid rgba(255,255,255,.24); border-radius: 22px; background: rgba(16, 24, 41, .75); backdrop-filter: blur(8px); display: grid; place-items: center; font-size: .65rem; letter-spacing: .24em; color: rgba(255,255,255,.65); }
.plane-a { transform: rotate(-20deg) translate(-40px, -100px); }
.plane-b { transform: rotate(7deg) translate(45px, -4px); border-color: rgba(97,169,255,.5); box-shadow: 0 26px 60px rgba(0,0,0,.38); z-index: 2; }
.plane-c { transform: rotate(-6deg) translate(-10px, 112px); }
.core-dot { position: absolute; left: 50%; top: 50%; z-index: 4; width: 16px; height: 16px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 35px var(--aqua); animation: pulse 2.8s ease-in-out infinite; }
.portfolio-copy h2 { margin-top: 24px; font-size: clamp(2.5rem, 4.3vw, 4.2rem); }
.portfolio-copy > p { color: var(--muted); margin: 32px 0; max-width: 500px; font-size: 1.06rem; }
.product-list { display: grid; gap: 12px; margin-top: 34px; }
.product-link { position: relative; overflow: hidden; display: grid; grid-template-columns: 74px 1fr auto; gap: 20px; align-items: center; min-height: 124px; padding: 22px; border: 1px solid rgba(157,211,224,.24); border-radius: 15px; background: linear-gradient(155deg, rgba(255,255,255,.085), rgba(10,63,103,.14)); transition: transform 220ms ease, border-color 220ms ease, background 220ms ease; }
.product-link::after { content: ""; position: absolute; left: -8%; right: -8%; bottom: -58px; height: 92px; border-radius: 50%; background: linear-gradient(90deg, rgba(122,240,227,.18), rgba(29,124,232,.48), rgba(14,159,179,.22)); filter: blur(8px); }
.product-link:first-child::after { background: linear-gradient(90deg, rgba(250,147,188,.36), rgba(151,115,235,.35), rgba(122,240,227,.18)); }
.product-link:hover { transform: translateY(-3px); border-color: rgba(122,240,227,.4); background: rgba(14,159,179,.07); }
.product-mark { position: relative; z-index: 1; width: 74px; height: 74px; display: grid; place-items: center; border-radius: 17px; background: #fff; overflow: hidden; }
.product-mark img { width: 92%; height: 92%; object-fit: contain; }
.product-name { position: relative; z-index: 1; display: block; font-family: "Manrope", sans-serif; font-size: 1.25rem; font-weight: 600; }
.product-description { position: relative; z-index: 1; display: block; margin-top: 4px; color: #aebfcb; font-size: .82rem; }
.product-status { position: relative; z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: transparent; font-size: 0; background: rgba(122,240,227,.10); }
.product-status::after { content: "↗"; color: var(--text); font-size: .9rem; }

.principles { padding: 125px 0 150px; border-top: 1px solid var(--line-soft); }
.principle-list { margin-top: 68px; border-top: 1px solid var(--line); }
.principle { display: grid; grid-template-columns: 70px 1fr 1fr; gap: 30px; align-items: center; padding: 36px 8px; border-bottom: 1px solid var(--line); transition: padding 220ms ease, background 220ms ease; }
.principle:hover { padding-inline: 18px; background: rgba(255,255,255,.018); }
.principle > span { color: var(--blue); font-size: .75rem; }
.principle h3 { font-family: "Manrope", sans-serif; margin: 0; font-weight: 500; font-size: 1.55rem; letter-spacing: -.025em; }
.principle p { color: var(--muted); margin: 0; }

.contact { min-height: 610px; border: 1px solid var(--line-soft); border-radius: 28px; margin-bottom: 34px; padding: 96px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; position: relative; overflow: hidden; background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.012)); }
.contact-glow { position: absolute; right: -15%; top: -35%; width: 720px; height: 720px; border-radius: 50%; background: radial-gradient(circle, rgba(14, 159, 179, .32), rgba(122, 240, 227, .08) 40%, transparent 67%); }
.contact h2 { margin-top: 32px; position: relative; z-index: 2; font-size: clamp(3rem, 6vw, 5.5rem); }
.contact h2 span { color: var(--violet); }
.contact-email { position: relative; z-index: 2; margin-top: 56px; display: inline-flex; align-items: center; gap: 26px; font-size: 1.2rem; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.contact-email span { color: var(--aqua); }
.site-footer { min-height: 150px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; color: var(--muted); font-size: .82rem; }
.site-footer p:nth-child(2) { text-align: center; }
.site-footer p:last-child { text-align: right; }
.footer-brand { width: fit-content; }
.footer-brand .brand-position { display: none; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 720ms cubic-bezier(.2,.75,.2,1), transform 720ms cubic-bezier(.2,.75,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { transform: scale(1.3); box-shadow: 0 0 55px var(--aqua); } }

@media (max-width: 900px) {
  :root { --page: min(100% - 36px, 720px); }
  .site-header { width: calc(100vw - 20px); }
  .nav-toggle { display: block; position: relative; z-index: 2; }
  .nav-toggle span { display: block; width: 23px; height: 1px; background: white; margin: 6px; transition: transform 180ms ease; }
  .nav-toggle.active span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav-toggle.active span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; padding: 24px; flex-direction: column; align-items: stretch; gap: 22px; background: rgba(9,13,22,.96); border: 1px solid var(--line); border-radius: 16px; backdrop-filter: blur(18px); }
  .site-nav.open { display: flex; }
  .nav-contact { text-align: center; }
  .brand-position { display: none; }
  .hero { min-height: 0; padding-top: 145px; }
  .hero h1 { font-size: clamp(3.3rem, 12vw, 5.7rem); }
  .aurora-scene { width: 92%; right: -30%; top: 140px; opacity: .55; }
  .hero-products { margin-top: 130px; }
  .hero-products .product-list { grid-template-columns: 1fr; }
  .manifesto-content, .portfolio { grid-template-columns: 1fr; }
  .manifesto-content { gap: 50px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 28px; }
  .approach-grid { grid-template-columns: 1fr; }
  .approach-card { min-height: 290px; }
  .portfolio { gap: 60px; }
  .portfolio-visual { height: 470px; order: 2; }
  .principle { grid-template-columns: 44px 1fr; }
  .principle p { grid-column: 2; }
  .contact { padding: 60px 38px; min-height: 520px; }
}

@media (max-width: 560px) {
  :root { --page: calc(100% - 32px); }
  body { min-width: 0; }
  .site-header { height: 62px; padding-inline: 10px; }
  .site-header.scrolled { top: 6px; height: 58px; }
  .site-nav { top: calc(100% + 6px); gap: 4px; padding: 10px; }
  .site-nav a { display: flex; align-items: center; min-height: 44px; padding-inline: 12px; }
  .nav-toggle { min-width: 44px; min-height: 44px; }
  .brand-word { font-size: 1rem; }
  .brand-symbol { width: 32px; height: 32px; }
  .brand-symbol img { width: 107px; }
  .hero { min-height: 0; padding: 92px 0 40px; }
  .hero h1 { margin-top: 18px; font-size: clamp(2.2rem, 9.7vw, 3.5rem); }
  .hero-copy > p { margin-top: 14px; font-size: 1rem; }
  .hero-actions { flex-wrap: wrap; gap: 8px; margin-top: 18px; }
  .hero-actions a { display: grid; place-items: center; min-width: 0; min-height: 44px; padding: 9px 14px; }
  .aurora-scene { top: 35px; right: -48%; width: 140%; height: 360px; opacity: .28; }
  .hero-products { margin-top: 34px; scroll-margin-top: 80px; }
  .hero-products-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .hero-products-heading { margin-bottom: 14px; }
  .hero-products .product-list { gap: 10px; }
  .product-link { grid-template-columns: 48px minmax(0, 1fr) 30px; min-height: 96px; gap: 12px; padding: 12px; }
  .product-mark { width: 48px; height: 48px; border-radius: 12px; }
  .product-status { width: 30px; height: 30px; }
  .product-description { font-size: .875rem; }
  .manifesto, .approach, .principles { padding-block: 56px; }
  #about { scroll-margin-top: 70px; }
  .manifesto-content { margin-top: 24px; gap: 24px; }
  .approach-grid, .principle-list { margin-top: 28px; }
  .approach-card { min-height: 0; padding: 20px; }
  .manifesto-copy { padding-left: 22px; }
  .portfolio { padding-block: 80px 110px; }
  .portfolio-visual { height: 390px; }
  .product-plane { width: 180px; height: 115px; margin: -57px 0 0 -90px; }
  .plane-a { transform: rotate(-20deg) translate(-28px, -85px); }
  .plane-c { transform: rotate(-6deg) translate(-8px, 92px); }
  .principle { padding-block: 28px; }
  .contact { width: var(--page); min-height: 0; padding: 36px 20px; border-radius: 22px; }
  .contact h2 { margin-top: 20px; font-size: clamp(2rem, 8vw, 2.8rem); }
  .contact-email { margin-top: 26px; min-height: 44px; font-size: 1rem; }
  .site-footer { padding: 40px 0 60px; grid-template-columns: 1fr; gap: 18px; }
  .site-footer p, .site-footer p:nth-child(2), .site-footer p:last-child { text-align: left; margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
