:root {
  --navy: #070c14;
  --navy-soft: #0b1320;
  --ink: #0f172a;
  --blue: #3b82f6;
  --blue-deep: #0174c3;
  --green: #00d6a3;
  --pale: #c7d9ff;
  --muted: #9aa7bd;
  --line: rgba(122, 163, 220, 0.23);
  --white: #f7f9fd;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

.siteHeader {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 76px);
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.brand { display: inline-flex; align-items: center; gap: 16px; min-width: 0; }
.brandSymbol {
  display: inline-grid;
  place-items: center;
  color: var(--white);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans CJK JP", sans-serif;
  font-size: 31px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.brandName {
  color: var(--white);
  font-size: 19px;
  font-weight: 690;
  letter-spacing: -.015em;
  line-height: 1;
  white-space: nowrap;
}
.siteHeader nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 42px); font-size: 13px; }
.siteHeader nav > a:not(.navCta) { color: #d6e0ef; transition: color .2s ease; }
.siteHeader nav > a:not(.navCta):hover { color: var(--green); }
.navCta, .primaryButton, .contactButton, .formSubmit {
  background: var(--blue);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  font-weight: 650;
  box-shadow: 0 12px 40px rgba(17, 90, 215, .22);
  transition: transform .2s ease, background .2s ease;
}
.navCta { padding: 11px 16px; }
.navCta:hover, .primaryButton:hover, .contactButton:hover, .formSubmit:hover { transform: translateY(-2px); background: #5393f7; }

.hero {
  min-height: 920px;
  height: min(1000px, 100svh);
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: center;
  border-left: 10px solid var(--blue);
}
.heroPhoto {
  position: absolute;
  inset: 0;
  background: url('/maku-hero.jpg') 68% 55% / cover no-repeat;
}
.heroWash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,12,20,.98) 0%, rgba(7,12,20,.94) 42%, rgba(7,12,20,.45) 67%, rgba(7,12,20,.16) 100%),
    linear-gradient(0deg, rgba(7,12,20,.58), transparent 42%);
}
.heroContent {
  position: relative;
  z-index: 2;
  width: min(690px, 58vw);
  margin-left: clamp(28px, 7vw, 110px);
  padding-top: 54px;
}
.eyebrow {
  margin: 0 0 26px;
  color: var(--pale);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  font-size: clamp(58px, 6.7vw, 103px);
  line-height: .97;
  letter-spacing: -.052em;
  font-weight: 430;
}
.hero h1 span, .capabilityContent h2 span { color: var(--green); }
.heroIntro {
  max-width: 580px;
  margin: 34px 0 0;
  color: #d4ddeb;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.52;
}
.heroActions { display: flex; align-items: center; gap: 28px; margin-top: 36px; }
.primaryButton { padding: 14px 22px; }
.textLink { color: var(--pale); font-size: 14px; }
.textLink span { color: var(--green); margin-left: 7px; }

.clarityPanel {
  position: absolute;
  z-index: 3;
  right: clamp(28px, 5vw, 80px);
  bottom: 68px;
  width: min(430px, 37vw);
  padding: 25px 26px 23px;
  border: 1px solid rgba(74,139,232,.45);
  border-radius: 15px;
  background: rgba(4,10,18,.82);
  backdrop-filter: blur(15px);
  box-shadow: 0 24px 80px rgba(0,0,0,.28);
}
.panelLabel { margin: 0 0 22px; color: var(--pale); font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
.clarityGrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 28px; align-items: stretch; }
.clarityCard { display: grid; grid-template-rows: 14px 25px 14px; gap: 4px; align-items: start; min-width: 0; }
.clarityCard p { display: flex; align-items: center; min-height: 14px; gap: 8px; margin: 0; color: var(--muted); font-size: 9px; line-height: 1; text-transform: uppercase; }
.clarityCard i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.clarityCard i.green { background: var(--green); }
.clarityCard strong { display: flex; align-items: center; min-width: 0; font-size: 19px; font-weight: 510; line-height: 1; }
.clarityCard small { color: var(--pale); font-size: 10px; line-height: 1.2; }
.heroRail { position: absolute; z-index: 3; right: 28px; bottom: 20px; margin: 0; color: var(--pale); font-size: 9px; text-transform: uppercase; }

.capabilities {
  min-height: 900px;
  display: grid;
  grid-template-columns: minmax(380px, 46%) 1fr;
  background: var(--navy);
}
.capabilityPhoto {
  position: relative;
  min-height: 760px;
  background:
    linear-gradient(90deg, rgba(7,12,20,.1), rgba(7,12,20,.68) 90%),
    linear-gradient(0deg, rgba(7,12,20,.7), transparent 44%),
    url('/maku-analyst.jpg') 50% 50% / cover no-repeat;
}
.photoLabel {
  position: absolute;
  left: 8%;
  bottom: 8%;
  display: grid;
  gap: 6px;
  padding-left: 17px;
  border-left: 3px solid var(--green);
}
.photoLabel span { color: var(--pale); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.photoLabel strong { font-size: 18px; font-weight: 500; }
.capabilityContent { padding: clamp(90px, 10vw, 150px) clamp(34px, 8vw, 126px) 90px clamp(40px, 6vw, 94px); }
.capabilityContent h2, .sectionHeading h2, .contactCopy h2 {
  margin: 0;
  font-size: clamp(44px, 5vw, 76px);
  line-height: 1.04;
  letter-spacing: -.045em;
  font-weight: 430;
}
.sectionIntro { max-width: 560px; color: #cbd5e5; font-size: 18px; line-height: 1.55; margin: 24px 0 54px; }
.featureList { display: grid; gap: 28px; }
.feature { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; align-items: start; }
.featureNumber { margin: 0; width: 39px; height: 28px; display: grid; place-items: center; border-radius: 999px; color: var(--navy); background: var(--blue); font: 650 10px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.featureNumber.green { background: var(--green); }
.feature h3 { display: flex; align-items: center; min-height: 28px; margin: 0 0 8px; font-size: 20px; font-weight: 520; line-height: 1.2; }
.feature p { margin: 0; max-width: 430px; color: #b9c5d7; font-size: 14px; line-height: 1.55; }

.processSection { padding: 120px clamp(26px, 7vw, 110px) 135px; background: #0a111d; border-top: 1px solid var(--line); }
.sectionHeading { max-width: 800px; }
.sectionHeading h2 { font-size: clamp(42px, 5vw, 72px); }
.sectionHeading > p:last-child { color: var(--muted); font-size: 18px; }
.processFlow { list-style: none; margin: 78px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.processFlow li { position: relative; min-height: 290px; padding: 38px; display: flex; flex-direction: column; align-items: stretch; background: linear-gradient(145deg, rgba(24,43,70,.35), rgba(7,12,20,.2)); }
.processFlow li + li { border-left: 1px solid var(--line); }
.processTop { min-height: 32px; display: flex; align-items: center; gap: 14px; }
.processTop > span { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: var(--navy); font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.processFlow li:last-child .processTop > span { background: var(--green); }
.processFlow small { color: var(--pale); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.processFlow strong { display: block; min-height: 58px; margin-top: 23px; font-size: 21px; font-weight: 520; line-height: 1.3; }
.processFlow p { margin: 15px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.contactSection {
  min-height: 690px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(48px, 7vw, 110px);
  padding: 90px clamp(26px, 7vw, 110px);
  background: linear-gradient(110deg, #0e4ba8 0%, #236cdc 48%, #3b82f6 100%);
}
.contactGlow { position: absolute; right: 16%; width: 420px; height: 420px; border-radius: 50%; background: rgba(0,214,163,.24); filter: blur(90px); }
.contactCopy { position: relative; max-width: 680px; }
.contactCopy .eyebrow { color: #eaf2ff; margin-bottom: 22px; }
.contactCopy h2 { font-size: clamp(46px, 5vw, 78px); }
.contactCopy > p:last-child { max-width: 690px; color: #eaf2ff; font-size: 17px; line-height: 1.55; }
.contactButton { position: relative; flex: 0 0 auto; min-width: 320px; padding: 19px 22px; display: grid; grid-template-columns: minmax(0, 1fr) 22px; align-items: center; gap: 18px; background: var(--navy); line-height: 1.3; }
.contactButton:hover { background: #111c2c; }
.contactButton span { color: var(--green); font-size: 20px; }

.contactForm {
  position: relative;
  flex: 0 1 520px;
  width: min(100%, 520px);
  display: grid;
  gap: 17px;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 16px;
  background: rgba(7,12,20,.9);
  box-shadow: 0 28px 80px rgba(4,10,18,.28);
}
.formGrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contactForm label { display: grid; gap: 8px; min-width: 0; }
.contactForm label > span { color: #dce8fa; font-size: 11px; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; }
.contactForm label small { margin-left: 6px; color: var(--muted); font-size: 9px; font-weight: 500; }
.contactForm input, .contactForm textarea {
  width: 100%;
  border: 1px solid rgba(122,163,220,.3);
  border-radius: 8px;
  background: #0c1624;
  color: var(--white);
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contactForm input { height: 47px; padding: 0 13px; }
.contactForm textarea { min-height: 118px; padding: 12px 13px; resize: vertical; line-height: 1.5; }
.contactForm input:focus, .contactForm textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,214,163,.12); }
.captchaRow { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px; }
.captchaRefresh {
  min-height: 47px;
  padding: 0 16px;
  border: 1px solid rgba(214,228,238,.28);
  border-radius: 7px;
  background: rgba(255,255,255,.04);
  color: var(--pale);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.captchaRefresh:hover, .captchaRefresh:focus-visible { border-color: var(--green); color: var(--white); }
.captchaHelp { margin: -6px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.formTrap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.formSubmit {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 18px;
  color: var(--white);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.formSubmit span { color: #dffcf4; font-size: 20px; }
.formSubmit:disabled { cursor: wait; opacity: .68; transform: none; }
.formFinePrint, .formStatus { margin: 0; font-size: 11px; line-height: 1.45; }
.formFinePrint { color: var(--muted); }
.formStatus { min-height: 16px; color: #dffcf4; }
.formStatus.isError { color: #ffd2d2; }

footer { min-height: 130px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 30px clamp(26px, 7vw, 110px); border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
footer .brand { color: var(--white); }
footer > a { color: var(--pale); }

@media (max-width: 980px) {
  .hero { min-height: 960px; height: auto; align-items: start; padding-top: 180px; }
  .heroContent { width: min(700px, calc(100% - 56px)); margin-left: 28px; }
  .heroPhoto { background-position: 72% 50%; }
  .heroWash { background: linear-gradient(90deg, rgba(7,12,20,.97) 0%, rgba(7,12,20,.86) 60%, rgba(7,12,20,.3) 100%), linear-gradient(0deg, rgba(7,12,20,.8), transparent 45%); }
  .clarityPanel { left: 28px; right: auto; width: min(500px, calc(100% - 56px)); }
  .capabilities { grid-template-columns: 40% 1fr; }
  .capabilityContent { padding-left: 42px; padding-right: 32px; }
  .processFlow { grid-template-columns: 1fr; }
  .processFlow li { min-height: auto; }
  .processFlow li + li { border-left: 0; border-top: 1px solid var(--line); }
  .contactSection { align-items: flex-start; flex-direction: column; }
  .contactForm { flex-basis: auto; }
}

@media (max-width: 680px) {
  .siteHeader { height: 78px; padding: 0 20px; }
  .siteHeader nav > a:not(.navCta) { display: none; }
  .navCta { padding: 10px 13px; }
  .hero { border-left-width: 6px; min-height: 890px; padding-top: 140px; }
  .heroContent { margin-left: 20px; width: calc(100% - 40px); }
  .hero h1 { font-size: clamp(48px, 14.5vw, 70px); }
  .heroIntro { font-size: 16px; max-width: 92%; }
  .heroActions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .heroPhoto { background-position: 68% 50%; }
  .heroWash { background: linear-gradient(90deg, rgba(7,12,20,.95), rgba(7,12,20,.66)), linear-gradient(0deg, rgba(7,12,20,.94), transparent 55%); }
  .clarityPanel { left: 20px; bottom: 50px; width: calc(100% - 40px); padding: 20px; }
  .clarityGrid { gap: 18px; }
  .heroRail { display: none; }
  .capabilities { display: block; }
  .capabilityPhoto { min-height: 560px; background-position: 50% 50%; }
  .capabilityContent { padding: 78px 22px 86px; }
  .capabilityContent h2 { font-size: 48px; }
  .feature { grid-template-columns: 43px 1fr; gap: 14px; }
  .processSection { padding: 82px 22px 90px; }
  .processFlow { margin-top: 48px; }
  .processFlow li { padding: 28px 22px; }
  .processFlow strong { min-height: 0; }
  .contactSection { min-height: 520px; padding: 80px 22px; gap: 32px; }
  .contactCopy h2 { font-size: 49px; }
  .contactButton { width: 100%; min-width: 0; font-size: 13px; }
  .contactForm { width: 100%; padding: 22px; }
  .formGrid { grid-template-columns: 1fr; }
  .captchaRow { grid-template-columns: 1fr; }
  .captchaRefresh { width: 100%; }
  .brand { gap: 11px; }
  .brandSymbol { font-size: 25px; }
  .brandName { font-size: 15px; }
  footer { align-items: flex-start; flex-direction: column; }
}

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