/* Approved AI-native visual direction: ink, cobalt, teal, and layered blue. */
:root{--ink:#142239;--muted:#637389;--coral:#149db0;--cyan:#8fe9ef;--line:#dce8ef;--paper:#f9fcff}
body{background:var(--paper);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}
h1,h2,h3{font-family:inherit}
em,.index,.culture-index{color:#247fa7}
.container,.hero.container{width:min(1280px,calc(100% - 80px));max-width:1280px}
.section{padding-top:108px;padding-bottom:108px}
.section .section-top{margin-bottom:48px}
.section .eyebrow{color:#52718b;font-size:12px;letter-spacing:.12em}
.section .section-aside{color:#8295a8}
.section h2{font-size:clamp(32px,3vw,48px);font-weight:730;letter-spacing:-.045em;line-height:1.34}

/* Spread the header across the same measure as the hero. */
.nav-wrap{position:absolute;top:0;left:0;right:0;z-index:30;display:block;border-bottom:1px solid #dce7ed;background:#ffffffd9;backdrop-filter:blur(18px)}
.nav{width:min(1280px,calc(100% - 80px));height:84px;margin:auto;padding:0;gap:44px;border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none}
.nav .brand{margin-right:auto}
.nav .brand img{width:147px;height:auto}
.nav .brand{gap:15px}
.brand-name{font-size:14px;font-weight:750;letter-spacing:.02em;white-space:nowrap;color:#1b2b42}
.nav nav{gap:32px;font-size:13px;color:#344a60}
.nav nav a{transition:color .2s}
.nav nav a:hover,.text-link:hover{color:#177a96}
.nav-cta.button.cyan{min-height:42px;padding:9px 20px;border-radius:999px;background:#142239;border-color:#142239;color:white;box-shadow:none;font-size:13px}
.nav-cta.button.cyan:hover{background:#244d6c}
.nav-cta span{font-size:18px}

/* A real layout and an art-only crop of the approved concept image. */
.hero.container{min-height:760px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.03fr);gap:16px;align-items:center;justify-content:normal;padding-top:136px;padding-bottom:90px;text-align:left;position:relative;isolation:isolate}
.hero.container:before{content:"";position:absolute;z-index:-2;top:0;bottom:0;left:50%;width:100vw;transform:translateX(-50%);background:radial-gradient(ellipse at 77% 48%,#d3ebf3 0%,#f0f8fc 33%,transparent 67%),repeating-linear-gradient(90deg,transparent 0 86px,#dbe8f027 87px 88px);pointer-events:none}
.hero-copy{width:100%;max-width:650px;margin:0;z-index:2}
.hero .eyebrow{justify-content:flex-start;gap:18px;color:#526c85;font-size:11px;font-weight:650;letter-spacing:.29em}
.hero .eyebrow i{display:block;width:48px;flex:0 0 48px;background:#a5c9d5}
.hero h1{max-width:700px;margin:40px 0 26px;font-size:clamp(44px,4.35vw,68px);font-weight:780;line-height:1.19;letter-spacing:-.055em;white-space:normal}
.hero h1 br{display:block}
.hero h1 em{font-style:normal;color:#119ba9}
.hero .lead{max-width:630px;margin:0;color:#56697f;font-size:17px;line-height:1.95;text-wrap:pretty}
.hero .lead br{display:block}
.hero-actions{justify-content:flex-start;margin-top:36px;gap:14px}
.hero-actions .button,.hero-actions .text-link{min-height:50px;height:50px;padding:12px 22px;border-radius:999px;font-size:13px;font-weight:650;gap:14px}
.hero-actions .button{background:#142239;border-color:#142239}
.hero-actions .button:hover{background:#244d6c}
.hero-actions .text-link{border:1px solid #b8cbd8;background:#ffffffbd;color:#1e3750}
.hero-actions .text-link:hover{border-color:#6bb7c6;background:#f1fbfe}
.hero-signature{display:flex;align-items:center;gap:13px;margin-top:62px;color:#8ba3b3;font:10px ui-monospace,SFMono-Regular,monospace;letter-spacing:.22em}
.hero-signature:before{content:"";width:32px;height:1px;background:#a9c3d4}
.hero-art{align-self:center;min-width:0;height:350px;min-height:350px;background-repeat:no-repeat;background-size:auto 690px;background-position:right -45px top -50px;mask-image:linear-gradient(to right,transparent 0%,#000 10%);pointer-events:none}

/* Internal AI practice is the trust proof directly after the opening. */
.culture-intro{background:linear-gradient(165deg,#eef8fe,#e6f3fa 55%,#f6fbff);border-top:1px solid #dceaf1;border-bottom:1px solid #dceaf1;position:relative;overflow:hidden}
.culture-intro:before{content:"";position:absolute;inset:0;opacity:.34;background-image:linear-gradient(#bed9e640 1px,transparent 1px),linear-gradient(90deg,#bed9e640 1px,transparent 1px);background-size:82px 82px;mask-image:linear-gradient(to right,transparent,#000 30%,transparent)}
.culture-intro>.container{position:relative}
.culture-intro-grid{grid-template-columns:1fr .88fr;align-items:center;gap:8vw;margin-bottom:46px}
.culture-intro h2{font-size:clamp(31px,3.25vw,48px);line-height:1.3}
.culture-intro h2 em{color:#256795}
.culture-intro-copy{padding-left:34px;border-left:1px solid #bcd4e1}
.culture-intro-copy p:first-child{font-size:17px;font-weight:600;color:#294761}
.culture-intro-copy p{color:#60778a;font-size:14px;line-height:1.85;margin-bottom:10px}
.culture-practice-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.culture-practice-grid article{display:grid;grid-template-columns:42px minmax(0,1fr) 14px;gap:12px;min-height:158px;padding:24px 19px;border:1px solid #d5e5ef;border-radius:12px;background:#fffffff0;box-shadow:0 12px 30px #2c69820b}
.practice-icon{width:42px;height:42px;display:grid;place-items:center;border:1px solid #d1e2ed;border-radius:10px;background:#f5fbff;color:#29759c;font-size:26px;line-height:1}
.culture-practice-grid h3{margin:3px 0 12px;font-size:17px;line-height:1.45}
.culture-practice-grid p{font-size:12px;line-height:1.8;color:#61758a}
.practice-arrow{color:#7899ab}

/* Technical experience: a deeper blue chapter, with clear claims. */
.problem.container{width:100%;max-width:none;padding-inline:max(40px,calc((100vw - 1280px)/2));background:radial-gradient(circle at 88% 15%,#294c67,#132d45 56%,#10283e);color:#f4fbff;position:relative;overflow:hidden}
.problem.container:before{content:"";position:absolute;inset:0;opacity:.13;background-image:linear-gradient(110deg,transparent 48%,#8ad8e5 49%,transparent 50%);background-size:140px 140px;pointer-events:none}
.problem>*{position:relative}
.problem .eyebrow,.problem .section-aside{color:#a9c3d1}
.problem .split-heading{align-items:end}
.problem .split-heading h2 em{color:#80d8e3}
.problem .split-heading>p{color:#b8c9d4}
.problem .problem-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.problem-grid article{min-width:0;padding:25px 22px;border:1px solid #8ab1c830;border-radius:12px;background:#ffffff0b}
.problem-grid .index{color:#77d6e5}
.problem-grid h3{font-size:17px;line-height:1.55}
.problem-grid p{font-size:12px;color:#b4c8d3;line-height:1.9}

/* Culture, cooperation, and company story share one quieter scale. */
.culture-values{background:#f9fcff;border-color:#e1ecf2}
.culture-values-head h2{max-width:720px}
.culture-values-grid{gap:16px}
.culture-values-grid article{padding:24px;border:1px solid #dfeaf0;border-radius:12px;background:white;box-shadow:0 8px 30px #20496308}
.culture-index{margin-bottom:24px;color:#258dab}
.culture-values-grid h3{font-size:19px}
.culture-values-grid p{color:#607286;font-size:13px}
#services{background:#edf6fb;border-color:#dceaf0}
#services .split-heading{margin-bottom:56px}
#services .split-heading h2{font-size:clamp(34px,3vw,46px)}
.tf-service-row{gap:44px;padding:44px 0;border-color:#cbdde7}
.tf-service-number,.tf-service-heading>p{color:#217e9b}
.tf-service-heading h3{font-size:25px}
.tf-service-description{font-size:15px;color:#293d52}
.tf-service-details li{background:#ffffff9e;border-color:#d1e0e9;color:#607286}
.culture-about{background:#f9fcff}
.culture-about h2 em{color:#247fa7}
.culture-about-copy p{color:#617489}
footer{background:#f4f9fc;border-top:1px solid #dce9ef}

/* The existing booking flow stays intact while matching the new palette. */
#booking-area{padding-top:80px}
.tf-booking{--navy:#142239;--cyan:#8fe9ef;--coral:#158faf;background:#eff6fa;border-color:#dce9ef}
.tf-booking-main{border-color:#dae8ef}
.tf-intro-note{border-left-color:#48a9bc}
.tf-booking .tf-submit:hover:not(:disabled){background:#244d6c}
.tf-feedback{color:#a43e4b}

@media(max-width:1150px){
  .hero.container{grid-template-columns:minmax(0,1fr) minmax(0,.85fr)}
  .hero h1{font-size:clamp(38px,4.9vw,56px)}
  .hero-art{background-size:auto 600px;background-position:right -82px top -42px}
  .culture-practice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .problem .problem-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:800px){
  .container,.hero.container{width:calc(100% - 40px);max-width:none}
  .section{padding-top:72px;padding-bottom:72px}
  .nav-wrap{top:0;left:0;right:0}
  .nav{width:calc(100% - 40px);height:68px}
  .nav .brand img{width:124px}
  .brand-name{font-size:12px}
  .nav nav{top:64px;border-color:#dce8ee}
  .nav nav.open{flex-direction:column;align-items:flex-start;gap:15px}
  .hero.container{grid-template-columns:1fr;min-height:0;gap:0;padding-top:135px;padding-bottom:45px}
  .hero h1{font-size:clamp(36px,8.2vw,56px);margin:25px 0 22px}
  .hero .lead{font-size:15px;line-height:1.85}
  .hero-actions{margin-top:28px}
  .hero-signature{margin-top:32px}
  .hero-art{height:auto;min-height:0;aspect-ratio:1.68;margin:16px -20px 0;background-size:179% auto;background-position:right 0 top -7vw;mask-image:linear-gradient(to bottom,#000 84%,transparent)}
  .culture-intro-grid,.culture-about-grid,.culture-values-head{grid-template-columns:1fr;gap:22px}
  .culture-intro-copy{padding-left:19px}
  .culture-practice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .problem.container{padding-inline:20px}
  .problem .problem-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  #services .split-heading{margin-bottom:30px}
}
@media(max-width:560px){
  .hero h1{font-size:clamp(34px,9.3vw,46px);line-height:1.24}
  .hero .lead br{display:none}
  .hero .eyebrow{font-size:9px;letter-spacing:.19em}
  .hero .eyebrow i{flex-basis:20px;width:20px}
  .hero-actions{gap:9px}
  .hero-actions .button,.hero-actions .text-link{height:46px;min-height:46px;padding:10px 15px;font-size:12px;gap:7px}
  .hero-art{height:auto;min-height:0;background-size:179% auto;background-position:right 0 top -7vw}
  .culture-practice-grid{grid-template-columns:1fr;gap:10px}
  .culture-practice-grid article{min-height:104px;padding:17px}
  .culture-practice-grid h3{margin:2px 0 5px}
  .problem .problem-grid{grid-template-columns:1fr}
  .problem-grid article{padding:18px}
  .culture-values-grid{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.nav nav a{transition:none}}

/* Cinematic company introduction: full-bleed background with readable live text. */
body.home .nav-wrap{background:transparent;border-bottom:1px solid #ffffff21;backdrop-filter:none}
body.home .nav .brand img{filter:invert(1)}
body.home .brand-name{color:#f4fbff}
body.home .nav nav{color:#edf6fa}
body.home .nav nav a:hover{color:#89dfe9}
body.home .nav-cta.button.cyan{background:#ffffff1a;border-color:#ffffff66;color:#fff;backdrop-filter:blur(10px)}
body.home .nav-cta.button.cyan:hover{background:#ffffff2e}

body.home .hero.hero-cinematic{display:block;width:100%;max-width:none;min-height:780px;height:min(880px,100svh);margin:0;padding:0;position:relative;isolation:isolate;overflow:hidden;text-align:left;background:#070e18;color:#fff}
.hero-cinematic .hero-backdrop{position:absolute;inset:0;z-index:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center center}
.hero-cinematic:after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#060b14f5 0%,#07111de8 30%,#07111dac 53%,#07111d30 85%),linear-gradient(0deg,#060b14b0,transparent 24%);pointer-events:none}
.hero-cinematic .hero-inner{width:min(1280px,calc(100% - 80px));max-width:1280px;height:100%;min-height:inherit;display:flex;align-items:center;margin-inline:auto;padding:105px 0 62px;position:relative;z-index:2}
.hero-cinematic .hero-copy{max-width:770px;width:100%;margin:0}
.hero-cinematic .eyebrow{justify-content:flex-start;gap:19px;color:#a4c5d4;font-size:12px;letter-spacing:.26em;font-weight:650}
.hero-cinematic .eyebrow i{display:block;flex:0 0 56px;width:56px;background:#b1d7e17a}
.hero-cinematic h1{max-width:780px;margin:34px 0 27px;color:#fff;white-space:normal;font-weight:750;line-height:1.22;letter-spacing:-.047em}
.hero-cinematic h1 span{display:block}
.hero-cinematic h1 .hero-company{width:fit-content;margin-bottom:9px;font-size:clamp(44px,4.4vw,65px);background:linear-gradient(95deg,#e5fbf6 0%,#9de4df 50%,#85c6f6 100%);background-clip:text;-webkit-background-clip:text;color:transparent}
.hero-cinematic h1 .hero-position{font-size:clamp(42px,4.25vw,62px);text-wrap:balance}
.hero-cinematic h1 em{color:#83dbe6;font-style:normal}
.hero-cinematic .lead{max-width:645px;margin:0;color:#d4e0ea;font-size:17px;line-height:1.9;font-weight:420;text-wrap:pretty}
.hero-cinematic .lead br{display:block}
.hero-cinematic .hero-actions{justify-content:flex-start;gap:14px;margin-top:36px}
.hero-cinematic .hero-actions .button,.hero-cinematic .hero-actions .text-link{height:51px;min-height:51px;padding:11px 23px;border-radius:999px;font-size:14px}
.hero-cinematic .hero-actions .button{background:#e8f8fa;border-color:#e8f8fa;color:#102438}
.hero-cinematic .hero-actions .button:hover{background:#fff;border-color:#fff}
.hero-cinematic .hero-actions .text-link{background:#ffffff10;border-color:#c8e5ee8a;color:#fff;backdrop-filter:blur(8px)}
.hero-cinematic .hero-actions .text-link:hover{background:#ffffff24;border-color:#fff;color:#fff}
.hero-cinematic .hero-signature{position:absolute;left:0;bottom:48px;margin:0;color:#a2bdcd;font-size:10px}
.hero-cinematic .hero-signature:before{background:#93c8d599}

@media(max-width:800px){
  body.home .nav-wrap{border-bottom-color:#ffffff2c}
  body.home .nav nav{background:#0b1929;border-color:#446477;color:#fff}
  body.home .menu{color:#fff}
  body.home .hero.hero-cinematic{height:auto;min-height:100svh}
  .hero-cinematic .hero-backdrop{object-position:64% center}
  .hero-cinematic:after{background:linear-gradient(90deg,#06101aed 0%,#07111dc9 68%,#07111d90 100%),linear-gradient(0deg,#060b14d9,transparent 38%)}
  .hero-cinematic .hero-inner{width:calc(100% - 40px);min-height:100svh;padding:135px 0 105px}
  .hero-cinematic .hero-copy{max-width:620px}
  .hero-cinematic h1{margin:27px 0 23px}
  .hero-cinematic h1 .hero-company{font-size:clamp(42px,8vw,58px)}
  .hero-cinematic h1 .hero-position{font-size:clamp(38px,7.4vw,54px)}
  .hero-cinematic .lead{font-size:15px}
  .hero-cinematic .hero-signature{bottom:36px}
}
@media(max-width:560px){
  .hero-cinematic .hero-backdrop{object-position:63% center}
  .hero-cinematic:after{background:linear-gradient(90deg,#06101af2 0%,#07111dd9 72%,#07111d9e 100%),linear-gradient(0deg,#060b14db,transparent 42%)}
  .hero-cinematic .hero-inner{padding-top:118px;padding-bottom:96px}
  .hero-cinematic .eyebrow{font-size:9px;letter-spacing:.14em}
  .hero-cinematic .eyebrow i{flex-basis:30px;width:30px}
  .hero-cinematic h1 .hero-company{font-size:42px}
  .hero-cinematic h1 .hero-position{font-size:clamp(34px,8.8vw,43px);line-height:1.3}
  .hero-cinematic .lead{font-size:14px;line-height:1.85}
  .hero-cinematic .lead br{display:none}
  .hero-cinematic .hero-actions{gap:10px;flex-wrap:wrap;margin-top:28px}
  .hero-cinematic .hero-actions .button,.hero-cinematic .hero-actions .text-link{height:47px;min-height:47px;padding:10px 17px;font-size:12px}
}

/* Ontology homepage hero: live, editable type over the supplied photograph. */
body.home .nav{width:min(1512px,calc(100% - 160px));max-width:1512px}
body.home .hero.hero-cinematic{height:100svh;min-height:760px}
.hero-cinematic:after{background:linear-gradient(90deg,#060b14a8 0%,#07111d8c 36%,#07111d40 66%,#07111d12 100%),linear-gradient(0deg,#060b1470,transparent 28%)}
.hero-cinematic .hero-inner{width:min(1512px,calc(100% - 160px));max-width:1512px;align-items:flex-start;padding:clamp(170px,22vh,230px) 0 70px}
.hero-cinematic .hero-copy{max-width:900px}
.hero-cinematic .eyebrow,.hero-cinematic .hero-signature{display:none}
.hero-cinematic h1{max-width:900px;margin:0 0 35px;line-height:1.2}
.hero-cinematic h1 .hero-company{margin-bottom:18px;font-size:clamp(54px,5.2vw,84px);font-weight:800}
.hero-cinematic h1 .hero-position{max-width:900px;font-size:clamp(35px,3.02vw,50px);font-weight:750;line-height:1.33;letter-spacing:-.045em;text-wrap:unset}
.hero-cinematic h1 .hero-position em{display:block;color:#fff}
.hero-cinematic .lead{max-width:770px;color:#dce8f3;font-size:20px;line-height:1.75;font-weight:420}

@media(max-width:800px){
  body.home .nav{width:calc(100% - 40px)}
  body.home .hero.hero-cinematic{height:auto;min-height:100svh}
  .hero-cinematic .hero-backdrop{object-position:60% center}
  .hero-cinematic:after{background:linear-gradient(90deg,#06101ae8 0%,#07111dbb 48%,#07111d57 100%),linear-gradient(0deg,#060b14b8,transparent 38%)}
  .hero-cinematic .hero-inner{width:calc(100% - 40px);min-height:100svh;align-items:center;padding:122px 0 94px}
  .hero-cinematic h1{margin-bottom:30px}
  .hero-cinematic h1 .hero-company{font-size:clamp(48px,8vw,64px)}
  .hero-cinematic h1 .hero-position{font-size:clamp(32px,5.2vw,42px);text-wrap:balance}
  .hero-cinematic .lead{font-size:16px;line-height:1.8}
}
@media(max-width:560px){
  .hero-cinematic .hero-inner{padding:92px 0 52px}
  .hero-cinematic .hero-backdrop{object-position:72% center}
  .hero-cinematic h1 .hero-company{font-size:clamp(43px,11vw,54px)}
  .hero-cinematic h1 .hero-position{font-size:clamp(2.125rem,8.8vw,2.6875rem);line-height:1.3;text-wrap:balance}
  .hero-cinematic h1 .hero-position em{display:inline}
  .hero-cinematic .lead{font-size:14px;line-height:1.82}
}
