/* Ketexa — breakpoints follow the Figma frames:
   Desktop 1440 (default, full-bleed above), Laptop 1280 (<=1439), Tablet 768 (<=1023), Mobile 390 (<=639) */
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{background:#d3cebc;font-family:'Manrope',sans-serif;color:#1a1715;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{display:block}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}

:root{
  --gx:max(120px,calc((100% - 1200px)/2));   /* side padding, % = section width */
  --vx:max(120px,calc((100vw - 1200px)/2));  /* same, for children of half-width columns */
  --stage:1440px;                            /* design width used to centre decorations */
  --do:504px;--dh:420px;--dv:80px;           /* dome overhang / height / visible part */
  --dl:-1.96%;--dt:-13.81%;--dw:103.92%;--dhh:122.86%;
}
.page{width:100%;overflow:hidden}
.abs{position:absolute}
.abs>img.fill{position:absolute;max-width:none;width:auto;height:auto}
img.abs{max-width:none}
section{position:relative;overflow:hidden}
section>.abs{margin-left:max(0px,calc((100% - var(--stage))/2))}

/* type */
.h-hero{font-family:'Lexend';font-weight:400;font-size:76px;line-height:84px;letter-spacing:-1.52px;color:#f3f0e6;width:560px}
.h2{font-family:'Lexend';font-weight:400;font-size:56px;line-height:62px;letter-spacing:-1.12px}
.h2.dark{color:#1a1715}.h2.light{color:#f3f0e6}.h2.center{text-align:center}
.lead{font-size:20px;line-height:30px}
.lead.dark{color:#1a1715}
.body-dim-dark{font-size:16px;line-height:24px;color:rgba(26,23,21,.72)}
.body16{font-size:16px;line-height:24px}
.tech-p2{font-size:17px;line-height:27px;color:rgba(243,240,230,.72)}
.careers-body{font-size:17px;line-height:26px;color:rgba(243,240,230,.74)}
.careers-body p+p{margin-top:26px}
.eyebrow{display:flex;gap:10px;align-items:center;font-weight:500;font-size:12px;letter-spacing:1.2px;text-transform:uppercase}
.eyebrow img{width:14px;height:14px}
.eyebrow.gold{color:#d9b36b}.eyebrow.brown{color:#7a5a22}

/* buttons */
.btn{display:inline-flex;align-items:center;border-radius:999px;font-weight:600;font-size:14px;white-space:nowrap;transition:transform .2s,opacity .2s}
.btn:hover{transform:translateY(-1px);opacity:.9}
.btn i{width:38px;height:38px;border-radius:19px;display:flex;align-items:center;justify-content:center}
.btn i img{width:16px;height:16px}
.primary-dark{background:#efebdd;color:#1a1715;gap:14px;padding:6px 6px 6px 28px}
.primary-dark i{background:#1a1715}
.primary-light{background:#1a1715;color:#efebdd;gap:14px;padding:6px 6px 6px 28px}
.primary-light i{background:#efebdd}
.secondary-light{border:1px solid rgba(26,23,21,.4);color:#1a1715;padding:11px 22px}
.buttons{display:flex;gap:12px;align-items:center;padding-top:12px}

/* domes between sections */
.dome{position:absolute;left:calc(-1 * var(--do));width:calc(100% + 2 * var(--do));height:var(--dh);bottom:calc(var(--dv) - var(--dh));pointer-events:none}
.dome picture{display:block}
.dome img{position:absolute;max-width:none;left:var(--dl);top:var(--dt);width:var(--dw);height:var(--dhh)}

/* header */
.header{position:absolute;top:32px;left:0;width:100%;height:60px;padding:0 var(--gx);display:flex;align-items:center;justify-content:space-between;z-index:5}
.header-left{display:flex;align-items:center;gap:56px}
.header nav{display:flex;gap:36px;font-weight:500;font-size:14px;color:rgba(243,240,230,.8)}
.header nav a:hover{color:#fff}
.header-right{display:flex;gap:12px;align-items:center}
.menu-btn{display:none;width:44px;height:44px;border-radius:22px;border:1px solid rgba(243,240,230,.35);align-items:center;justify-content:center}
.menu-btn img{width:20px;height:20px}
.header .mobile-menu{display:none}

/* hero */
.hero{height:700px;display:flex;background:#d3cebc}
.hero-left{width:50%;height:700px;position:relative;overflow:hidden;background:linear-gradient(125.76deg,#1d1917 14.1%,#17181d 57.18%,#1e2a40 85.9%)}
.hero-content{position:absolute;left:var(--vx);top:187px;width:600px;display:flex;flex-direction:column;gap:24px;align-items:flex-start}
.hero-body{font-size:17px;line-height:28px;color:rgba(243,240,230,.62);width:470px}
.hero-right{width:50%;height:700px;position:relative;overflow:hidden;background:#d3cebc}
.ribbon-stage{position:absolute;left:50%;margin-left:-360px;top:0;width:720px;height:700px}
.ribbon{position:absolute;display:flex;align-items:center;justify-content:center}
.ribbon>div{flex:none}
.r1{left:-120px;top:110.53px;width:1023.8px;height:734.4px}.r1>div{width:1000px;height:300px;border-radius:150px;transform:rotate(-28deg);background:linear-gradient(180deg,#0a0d15 0%,#34507d 35%,#0c1220 62%,#1b2c4a 100%)}
.r2{left:-60px;top:93.94px;width:903.5px;height:548.8px}.r2>div{width:900px;height:200px;border-radius:100px;transform:rotate(-24deg);background:linear-gradient(180deg,#0b0f18 0%,#6d8dbd 30%,#0f1626 55%,#2a3f63 85%,#0b0f18 100%)}
.r3{left:-20px;top:102.82px;width:794px;height:390.6px}.r3>div{width:820px;height:90px;border-radius:45px;transform:rotate(-22deg);filter:blur(2px);background:linear-gradient(180deg,#0b0f18 0%,#c6d6ee 35%,#4a6891 50%,#0b0f18 100%)}
.r4{left:-122.9px;top:140px;width:1033.2px;height:494.2px}.r4>div{width:1000px;height:260px;border-radius:130px;transform:rotate(14deg);background:linear-gradient(180deg,#0a0d15 0%,#2c4670 40%,#0a0d15 70%,#2a3e5f 100%)}
.r5{left:-16.93px;top:200px;width:890.2px;height:285.65px}.r5>div{width:900px;height:70px;border-radius:35px;transform:rotate(14deg);filter:blur(1.5px);background:linear-gradient(180deg,#0b0f18 0%,#b8cae6 40%,#34507d 60%,#0b0f18 100%)}

/* about */
.about{background:#d3cebc;padding:88px var(--gx);display:flex;flex-direction:column;gap:32px}
.row{display:flex;gap:24px;align-items:flex-start;width:100%;position:relative}
.col{flex:1 0 0;min-width:1px}
.col.text{display:flex;flex-direction:column;gap:16px}
.diagram{position:relative;height:270px;width:100%;border-radius:28px;overflow:hidden;background:linear-gradient(154.24deg,#181615 12.4%,#171a24 53.8%,#1c2740 87.6%)}
.diagram-tablet,.diagram-mobile{display:none}
.diagram .stage{position:absolute;left:50%;top:0;height:100%}
.dlabel{position:absolute;transform:translateX(-50%);text-align:center;font-weight:600;font-size:14px;line-height:19px;color:#f6f3ea}
.dlabel.sm{font-size:12px;line-height:17px}
.dresult{position:absolute;transform:translateX(-50%);text-align:center;font-family:'Lexend';letter-spacing:-.11px;color:#f6f3ea}
.diagram-wide .dlabel{width:84px}
.diagram-wide .dresult{left:915px;top:108px;width:160px;font-size:22px;line-height:27px}

/* expertise */
.expertise{padding:88px var(--gx);display:flex;flex-direction:column;gap:32px;background:linear-gradient(180deg,#161413 0%,#1b1b22 80%,#1b1b22 100%)}
.cards{display:flex;gap:24px;width:100%;position:relative}
.card{flex:1 0 0;min-width:1px;height:256px;padding:32px;border:1px solid rgba(255,255,255,.12);border-radius:24px;display:flex;flex-direction:column;justify-content:space-between;background:linear-gradient(159deg,rgba(255,255,255,.1) 0%,rgba(255,255,255,.02) 73%)}
.card-top{display:flex;justify-content:space-between;align-items:flex-start}
.num{font-family:'Lexend';font-weight:300;font-size:15px;letter-spacing:1.2px;color:#d9b36b}
.icon{width:48px;height:48px;border-radius:14px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);display:flex;align-items:center;justify-content:center}
.icon img{width:24px;height:24px}
.card-body{display:flex;flex-direction:column;gap:12px}
.card h3{height:28px;font-family:'Lexend';font-weight:400;font-size:20px;line-height:26px;letter-spacing:-.2px;color:#f3f0e6}
.card p{font-size:15px;line-height:24px;color:rgba(243,240,230,.74)}

/* technology */
.tech{display:flex;height:683px}
.tech-left,.tech-right{width:50%;height:683px;position:relative;overflow:hidden}
.tech-left{background:linear-gradient(249deg,#121317 11%,#151c2b 57.8%,#1e2a40 89%)}
.tech-right{background:linear-gradient(249deg,#8fa6c8 11%,#d9c39a 57.8%,#c99a5b 89%)}
.tech-left .fade-top{background:linear-gradient(180deg,#1b1b22 0%,rgba(27,27,34,.55) 45%,rgba(27,27,34,0) 100%)}
.fade-top{position:absolute;left:0;top:0;width:100%;height:340px;background:linear-gradient(180deg,#1b1b22 0%,rgba(27,27,34,.55) 45%,rgba(27,27,34,0) 100%)}
.fade-bottom{position:absolute;left:0;bottom:0;width:100%;height:280px;background:linear-gradient(180deg,rgba(20,21,26,0) 0%,rgba(20,21,26,.85) 50%,#14151a 100%)}
.tech-content{position:absolute;left:var(--vx);top:88px;width:540px;display:flex;flex-direction:column;gap:22px;align-items:flex-start}
.capcard{position:absolute;left:max(40px,calc(50% - 320px));top:88px;width:min(560px,calc(100% - 120px));padding:28px 36px 10px;border-radius:28px;background:rgba(18,23,33,.7);border:1px solid rgba(255,255,255,.25);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);filter:drop-shadow(0 24px 24px rgba(0,0,0,.3))}
.cap-title{font-weight:500;font-size:12px;letter-spacing:1.68px;text-transform:uppercase;color:rgba(255,255,255,.8)}
.cap{display:flex;gap:18px;padding:18px 0;border-bottom:1px solid rgba(255,255,255,.3)}
.cap.last{border-bottom:0}
.cap>span{font-family:'Lexend';font-weight:300;font-size:14px;line-height:26px;color:rgba(255,255,255,.7);width:24px;flex:none}
.cap h4{font-family:'Lexend';font-weight:400;font-size:20px;line-height:26px;letter-spacing:-.1px;color:#fff;margin-bottom:6px}
.cap p{font-size:15px;line-height:22px;color:rgba(255,255,255,.88)}

/* careers */
.careers{padding:88px var(--gx) 128px;background:linear-gradient(232.5deg,#14151a 11%,#17202f 57.8%,#22304a 89%)}
.careers-l{display:flex;flex-direction:column;gap:20px;align-items:flex-start}
.values-col{display:flex;flex-direction:column;gap:20px;align-self:stretch}
.label-row{font-weight:500;font-size:12px;letter-spacing:1.2px;text-transform:uppercase;color:rgba(243,240,230,.6)}
.label-stacked{display:none;padding-top:8px}
.values{flex:1;display:grid;grid-template-columns:1fr 1fr;gap:16px}
.value{padding:28px;border:1px solid rgba(255,255,255,.14);border-radius:24px;display:flex;flex-direction:column;gap:10px;background:linear-gradient(231.6deg,rgba(255,255,255,.1) 13.4%,rgba(255,255,255,.03) 86.6%)}
.value h3{font-family:'Lexend';font-weight:400;font-size:20px;line-height:26px;letter-spacing:-.1px;color:#f3f0e6}
.value p{font-size:15px;line-height:24px;color:rgba(243,240,230,.76)}

/* contact */
.contact{background:#d3cebc;padding:72px var(--gx) 112px;display:flex;flex-direction:column;gap:20px;align-items:center}
.contact>*{position:relative}
.contact .abs,.contact .dome{position:absolute}
.contact-h2{width:800px;max-width:100%}
.contact-body{font-size:17px;line-height:26px;color:rgba(26,23,21,.72);text-align:center;width:560px;max-width:100%}

/* footer */
.footer{background:#161413;padding:64px var(--gx) 32px;display:flex;flex-direction:column;gap:40px}
.brand{display:flex;flex-direction:column;gap:16px;width:360px}
.brand p{font-family:'Lexend';font-weight:300;font-size:28px;line-height:34px;color:rgba(243,240,230,.85);width:342px;max-width:100%}
.divider{height:1px;background:rgba(255,255,255,.12)}
.legal{display:flex;justify-content:space-between;font-size:14px;color:rgba(243,240,230,.62)}

/* ===== Laptop 1280 ===== */
@media (max-width:1439px){
  :root{--gx:80px;--vx:80px;--stage:1280px;--do:448px;--dl:-2.21%;--dw:104.42%}
  .hero-left{background:linear-gradient(122.63deg,#1d1917 14.1%,#17181d 57.18%,#1e2a40 85.9%)}
  .hero-content{top:180px;width:500px}
  .h-hero{font-size:68px;line-height:76px;letter-spacing:-1.36px;width:500px}
  .hero-body{width:440px}
  .expertise .h2{font-size:52px;line-height:58px;letter-spacing:-1.04px}
  .card{background:linear-gradient(157.62deg,rgba(255,255,255,.1) 0%,rgba(255,255,255,.02) 73%)}
  .diagram{background:linear-gradient(152.66deg,#181615 12.4%,#171a24 53.8%,#1c2740 87.6%)}
  .tech-content{width:500px}
  .tech .h2{font-size:50px;line-height:56px;letter-spacing:-1px}
  .tech .lead{font-size:18px;line-height:28px}
  .careers{background:linear-gradient(235.74deg,#14151a 11%,#17202f 57.8%,#22304a 89%)}
}

/* ===== Tablet 768 ===== */
@media (max-width:1023px){
  :root{--gx:48px;--vx:48px;--stage:768px;--do:269px;--dh:320px;--dv:64px;--dl:-3.68%;--dt:-18.13%;--dw:107.36%;--dhh:130%}
  section>.abs{margin-left:calc((100% - var(--stage))/2)}
  .header{top:24px}
  .header nav{display:none}
  .menu-btn{display:flex}
  .secondary-light{border-color:rgba(239,235,221,.35);color:#efebdd}
  .header .mobile-menu{position:absolute;top:68px;left:var(--gx);right:var(--gx);padding:12px;flex-direction:column;border-radius:24px;background:rgba(18,23,33,.92);border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);font-weight:500;font-size:16px;color:#f3f0e6}
  .header.open .mobile-menu{display:flex}
  .mobile-menu a{padding:14px 16px;border-radius:14px}
  .mobile-menu a:hover{background:rgba(255,255,255,.08)}

  .hero{height:auto;flex-direction:column}
  .hero-left{width:100%;height:500px;background:linear-gradient(137.08deg,#1d1917 14.1%,#17181d 57.18%,#1e2a40 85.9%)}
  .hero-glow{left:calc(50% + 44px)!important;top:120px!important}
  .hero-content{top:150px;width:calc(100% - 96px)}
  .h-hero{font-size:64px;line-height:70px;letter-spacing:-1.28px;width:100%}
  .hero-body{font-size:18px;width:min(520px,100%)}
  .hero-right{width:100%;height:380px}
  .ribbon-stage{width:768px;height:380px;margin-left:-384px}
  .r1{left:-129.7px;top:-168.88px}.r2{left:-69.7px;top:-185.47px}.r3{left:-29.7px;top:-176.59px}.r4{left:-132.6px;top:-139.41px}.r5{left:-26.63px;top:-79.41px}

  .about,.expertise{padding-top:72px;padding-bottom:72px}
  .row{flex-direction:column;gap:20px}
  .h2{font-size:44px;line-height:50px;letter-spacing:-.66px}
  .expertise .h2,.tech .h2{font-size:44px;line-height:50px;letter-spacing:-.66px}
  .tech .lead{font-size:20px;line-height:30px}
  .diagram-wide{display:none}
  .diagram-tablet{display:block;height:504px;background:linear-gradient(121.87deg,#181615 12.4%,#171a24 53.8%,#1c2740 87.6%)}
  .diagram-tablet .stage{margin-left:-336px}
  .diagram-tablet .dlabel{font-size:14px}
  .cards{flex-direction:column;gap:16px}
  .card{height:auto;gap:24px;justify-content:flex-start;background:linear-gradient(169.06deg,rgba(255,255,255,.1) 0%,rgba(255,255,255,.02) 73%)}

  .tech{flex-direction:column;height:auto}
  .tech-left,.tech-right{width:100%;height:auto}
  .tech-left{min-height:390px;padding:72px 48px;background:linear-gradient(234.37deg,#121317 11%,#151c2b 57.8%,#1e2a40 89%)}
  .tech-right{padding:72px 48px;background:linear-gradient(246.76deg,#8fa6c8 11%,#d9c39a 57.8%,#c99a5b 89%)}
  .tech-right .fade-top{background:linear-gradient(180deg,#1b2638 0%,rgba(27,38,56,.55) 45%,rgba(27,38,56,0) 100%)}
  .tech-content,.capcard{position:relative;left:auto;top:auto;width:100%}
  .tech-left>.abs{margin-left:0}

  .careers{padding:72px var(--gx) 110px;background:linear-gradient(250.74deg,#14151a 11%,#17202f 57.8%,#22304a 89%)}
  .careers .row{gap:32px}
  .label-wide{display:none}
  .label-stacked{display:block}
  .careers-l{gap:20px}
  .value{background:linear-gradient(216.86deg,rgba(255,255,255,.1) 13.4%,rgba(255,255,255,.03) 86.6%)}

  .contact{padding:72px var(--gx) 96px}
  .contact-h2{letter-spacing:-.88px;width:672px}
  .footer{padding:72px var(--gx) 32px;gap:32px}
  .legal{flex-direction:column;gap:8px}
}

/* ===== Mobile 390 ===== */
@media (max-width:639px){
  :root{--gx:24px;--vx:24px;--stage:390px;--do:136.5px;--dh:240px;--dv:48px;--dl:-7.24%;--dt:-24.17%;--dw:114.48%;--dhh:140%}
  .secondary-light{display:none}
  .header-right{gap:0}
  .hero-left{height:561px;background:linear-gradient(115.96deg,#1d1917 14.1%,#17181d 57.18%,#1e2a40 85.9%)}
  .hero-glow{left:calc(50% - 145px)!important;top:181px!important}
  .hero-content{top:128px;width:calc(100% - 48px);gap:20px}
  .h-hero{font-size:44px;line-height:50px;letter-spacing:-.88px}
  .hero-body{font-size:16px;line-height:25px;width:100%}
  .buttons{flex-direction:column;align-items:flex-start}
  .hero-right{height:260px}
  .ribbon-stage{width:390px;height:260px;margin-left:-195px}
  .r1{left:-113.22px;top:-85.33px;width:614.27px;height:440.61px}.r1>div{width:600px;height:180px;border-radius:90px}
  .r2{left:-77.22px;top:-95.28px;width:542.12px;height:329.26px}.r2>div{width:540px;height:120px;border-radius:60px}
  .r3{left:-53.22px;top:-89.95px;width:476.4px;height:234.37px}.r3>div{width:492px;height:54px;border-radius:27px;filter:blur(1.2px)}
  .r4{left:-114.96px;top:-67.65px;width:619.92px;height:296.52px}.r4>div{width:600px;height:156px;border-radius:78px}
  .r5{left:-51.38px;top:-31.65px;width:534.12px;height:171.39px}.r5>div{width:540px;height:42px;border-radius:21px;filter:blur(.9px)}

  .about,.expertise{padding-top:56px;padding-bottom:56px}
  .h2{font-size:34px;line-height:40px;letter-spacing:-.51px}
  .expertise .h2,.tech .h2{font-size:34px;line-height:40px;letter-spacing:-.51px}
  .lead,.tech .lead{font-size:18px;line-height:27px}
  .expertise .lead{font-size:20px;line-height:30px}
  .diagram-tablet{display:none}
  .diagram-mobile{display:block;height:430px;background:linear-gradient(110.35deg,#181615 12.4%,#171a24 53.8%,#1c2740 87.6%)}
  .diagram-mobile .stage{margin-left:-171px}
  .card{background:linear-gradient(157.21deg,rgba(255,255,255,.1) 0%,rgba(255,255,255,.02) 73%)}

  .tech-left{min-height:432px;padding:56px 24px;background:linear-gradient(251.81deg,#121317 11%,#151c2b 57.8%,#1e2a40 89%)}
  .tech-right{padding:56px 24px;background:linear-gradient(258.65deg,#8fa6c8 11%,#d9c39a 57.8%,#c99a5b 89%)}
  .tech-p2{font-size:16px;line-height:25px}
  .capcard{padding:28px 20px 10px}
  .cap{gap:14px}

  .careers{padding:56px var(--gx) 110px;background:linear-gradient(263.8deg,#14151a 11%,#17202f 57.8%,#22304a 89%)}
  .careers-body{font-size:16px;line-height:25px}
  .values{grid-template-columns:1fr}
  .value{background:linear-gradient(215.72deg,rgba(255,255,255,.1) 13.4%,rgba(255,255,255,.03) 86.6%)}

  .contact{padding:56px var(--gx) 96px}
  .contact-h2{letter-spacing:-.68px;width:100%}
  .contact-body{font-size:16px;line-height:25px;width:100%}
  .footer{padding:56px var(--gx) 32px}
  .brand{width:100%}
  .brand p{font-size:24px;line-height:30px;width:294px}
        }
