:root {
  --bg:#071525;
  --bg-deep:#05101d;
  --surface:#0d2238;
  --surface-strong:#112b45;
  --text:#f3f8fc;
  --muted:#a9bed0;
  --accent:#55c7ff;
  --line:rgba(120,200,255,.18);
  --shell:min(1240px,calc(100vw - 64px));
}

* { box-sizing:border-box; }
html { scroll-behavior:smooth; background:var(--bg); }
body { margin:0; overflow-x:hidden; background:var(--bg); color:var(--text); font-family:Inter,Arial,sans-serif; -webkit-font-smoothing:antialiased; }
body.menu-open { overflow:hidden; }
a { color:inherit; }
button { font:inherit; }
.skip-link { position:fixed; z-index:300; top:8px; left:8px; padding:10px 14px; transform:translateY(-160%); background:var(--accent); color:var(--bg-deep); }
.skip-link:focus { transform:none; }

.site-header { position:absolute; z-index:120; top:0; left:0; right:0; width:var(--shell); min-height:98px; display:flex; align-items:center; justify-content:space-between; gap:28px; margin:0 auto; }
.brand { font-size:1.1rem; font-weight:600; letter-spacing:.02em; text-decoration:none; }
.header-controls { display:flex; align-items:center; gap:24px; }
.language-switch { display:flex; align-items:center; gap:7px; color:#617c91; }
.language-switch button { border:0; background:none; color:#b9cddd; font-size:.68rem; font-weight:700; letter-spacing:.13em; text-transform:uppercase; }
.language-switch button:hover,.language-switch button[aria-pressed="true"] { color:var(--accent); }
.language-switch button { padding:8px 3px; cursor:pointer; }
.menu-toggle { position:relative; z-index:3; width:52px; height:52px; display:grid; place-content:center; gap:5px; padding:0; border:1px solid rgba(255,255,255,.42); border-radius:3px; background:rgba(5,16,29,.62); color:#fff; cursor:pointer; }
.menu-toggle span { display:block; width:22px; height:1px; background:currentColor; transition:transform .25s ease,opacity .2s ease; }
.site-header.is-menu-open .menu-toggle span:nth-child(1) { transform:translateY(6px) rotate(45deg); }
.site-header.is-menu-open .menu-toggle span:nth-child(2) { opacity:0; }
.site-header.is-menu-open .menu-toggle span:nth-child(3) { transform:translateY(-6px) rotate(-45deg); }
.menu-backdrop { position:fixed; z-index:1; inset:0; visibility:hidden; background:rgba(1,7,13,.55); opacity:0; transition:opacity .25s ease,visibility .25s ease; }
.burger-menu { position:fixed; z-index:2; top:0; right:0; width:min(430px,100vw); height:100svh; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:24px; padding:110px 54px 54px; border-left:1px solid var(--line); background:rgba(6,18,31,.98); transform:translateX(102%); transition:transform .3s ease; }
.burger-menu a { color:#f1f7fb; font-size:clamp(1.45rem,3vw,2.5rem); font-weight:600; letter-spacing:-.03em; text-decoration:none; }
.burger-menu a:hover { color:var(--accent); }
.site-header.is-menu-open .menu-backdrop { visibility:visible; opacity:1; }
.site-header.is-menu-open .burger-menu { transform:none; }

.hero { min-height:100svh; position:relative; display:flex; overflow:hidden; isolation:isolate; background:radial-gradient(circle at 80% 47%,rgba(85,199,255,.11),transparent 31%),#050b12; }
.hero-inner { min-height:100svh; position:relative; z-index:1; display:flex; align-items:center; padding:120px 0 80px; }
.hero-copy { width:57%; max-width:820px; display:flex; flex-direction:column; align-items:flex-start; }
.eyebrow { margin:0 0 28px; color:var(--accent); font-size:.7rem; font-weight:800; letter-spacing:.16em; text-transform:uppercase; }
.hero-eyebrow { margin:0 0 42px; color:#9caebe; font-size:1rem; letter-spacing:.18em; text-transform:uppercase; }
h1,h2,h3,p { text-wrap:pretty; }
h1 { margin:0; font-size:clamp(4rem,6.2vw,7rem); font-weight:600; line-height:.96; letter-spacing:.025em; text-transform:uppercase; text-shadow:0 2px 26px rgba(0,0,0,.4); }
h1 span { display:block; }
h1 span + span { margin-top:12px; }
.hero-rule { width:108px; height:1px; margin:54px 0 34px; background:#91a3b1; }
.hero-roles { margin:0; color:#d0dce5; font-size:.94rem; letter-spacing:.15em; text-transform:uppercase; }
.hero-roles i { margin:0 10px; color:#617487; font-style:normal; }
.hero-actions { display:flex; flex-wrap:wrap; gap:18px; margin-top:52px; }
.button { min-width:205px; min-height:58px; display:inline-flex; align-items:center; justify-content:center; padding:0 26px; border:1px solid #718292; border-radius:3px; background:rgba(3,10,17,.28); color:#fff; font-size:.72rem; font-weight:600; letter-spacing:.12em; text-decoration:none; text-transform:uppercase; backdrop-filter:blur(4px); transition:transform .2s ease,background .2s ease,color .2s ease; }
.button:hover { transform:translateY(-2px); background:#fff; color:#07111b; }
.button-primary { border-color:#fff; background:#fff; color:#07111b; }
.portrait-zone { position:absolute; z-index:-1; top:110px; right:2%; bottom:0; width:50%; margin:0; overflow:hidden; }
.portrait-zone::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,#050b12 0%,rgba(5,11,18,.72) 10%,transparent 36%),linear-gradient(0deg,rgba(5,11,18,.52),transparent 25%); pointer-events:none; }
.portrait-zone img { width:100%; height:100%; display:block; object-fit:contain; object-position:center bottom; filter:contrast(1.04) saturate(.9); }
.hero h1 { font-size:clamp(2.8rem,4.6vw,5rem); line-height:1.05; }

.section { padding:clamp(90px,10vw,150px) 0; border-top:1px solid var(--line); }
.shell { width:var(--shell); margin:auto; }
.section-heading { max-width:1000px; margin-bottom:60px; }
h2 { margin:0; font-size:clamp(2.8rem,5vw,5.7rem); line-height:.96; letter-spacing:-.052em; }
.section-intro { max-width:790px; margin:28px 0 0; color:var(--muted); font-size:1.05rem; line-height:1.65; }

.capability-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.capability-card { min-height:285px; display:grid; grid-template-rows:auto 1fr auto; padding:34px; border:1px solid var(--line); border-radius:20px; background:linear-gradient(145deg,rgba(17,43,69,.96),rgba(10,30,49,.96)); }
.line-icon { width:54px; height:54px; display:grid; place-items:center; border:1px solid rgba(85,199,255,.45); border-radius:15px; background:rgba(85,199,255,.08); color:var(--accent); font-size:1.35rem; }
.capability-card h3 { align-self:end; margin:38px 0 14px; font-size:clamp(1.45rem,2.2vw,2.25rem); line-height:1; letter-spacing:-.035em; }
.capability-card p { margin:0; color:var(--muted); line-height:1.6; }

.section-projects { background:linear-gradient(180deg,#091a2b,#061321); }
.project-list { border-top:1px solid var(--line); }
.about-copy { max-width:980px; color:var(--muted); font-size:clamp(1rem,1.5vw,1.2rem); line-height:1.8; }
.about-copy p { margin:28px 0 0; }
.projects-heading { padding-top:150px; padding-bottom:40px; }
.projects-page h1 { font-size:clamp(2.8rem,7vw,5rem); }
.projects-page .section-projects { padding-top:0; }
.project-card { padding:38px 0; border-bottom:1px solid var(--line); }
.project-meta { display:flex; justify-content:space-between; gap:20px; margin-bottom:26px; color:#7da1ba; font-size:.67rem; font-weight:750; letter-spacing:.13em; text-transform:uppercase; }
.project-body { display:grid; grid-template-columns:minmax(0,1fr) minmax(420px,.85fr); gap:60px; align-items:end; }
.project-body h3 { max-width:720px; margin:0 0 16px; font-size:clamp(1.9rem,3vw,3.4rem); line-height:1; letter-spacing:-.045em; }
.project-body p { max-width:720px; margin:0; color:var(--muted); line-height:1.65; }
.metric-list,.scope-list { display:grid; grid-template-columns:repeat(2,1fr); gap:1px; margin:0; padding:1px; list-style:none; background:var(--line); }
.metric-list li,.scope-list li { min-height:94px; display:flex; flex-direction:column; justify-content:center; padding:18px; background:var(--surface); }
.metric-list strong { color:var(--accent); font-size:clamp(1.25rem,2vw,1.8rem); line-height:1; }
.metric-icon svg { box-sizing:border-box; flex-shrink:0; width:52px; height:52px; padding:14px; border:1px solid rgba(255,255,255,.42); border-radius:3px; background:rgba(5,16,29,.62); color:#fff; stroke-width:1; }
.metric-list span { margin-top:8px; color:#95adbe; font-size:.68rem; line-height:1.35; letter-spacing:.08em; text-transform:uppercase; }
.video-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px; }
.video-card { padding:20px; border:1px solid var(--line); background:var(--surface); }
.video-frame { aspect-ratio:16 / 9; background:#000; }
.video-frame iframe { display:block; width:100%; height:100%; border:0; }
.video-card h2 { margin:18px 0 8px; font-size:1.2rem; }
.video-card p,.page-intro { color:var(--muted); line-height:1.55; }
.scope-list { grid-template-columns:repeat(3,1fr); }
.scope-list li { min-height:70px; color:#c1d2df; font-size:.72rem; font-weight:700; letter-spacing:.06em; text-align:center; }

.section-engagement { background:radial-gradient(circle at 84% 20%,rgba(85,199,255,.09),transparent 28rem),var(--bg); }
.engagement-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.engagement-card { min-height:300px; display:flex; flex-direction:column; padding:30px; border:1px solid var(--line); border-radius:18px; background:rgba(13,34,56,.72); }
.engagement-card > span { color:var(--accent); font-size:.7rem; font-weight:800; letter-spacing:.15em; }
.engagement-card h3 { margin:auto 0 16px; font-size:1.6rem; letter-spacing:-.035em; }
.engagement-card p { margin:0; color:var(--muted); line-height:1.55; }

.contact { padding:clamp(100px,12vw,170px) 0; border-top:1px solid var(--line); background:#050f1b; }
.contact h2 { max-width:850px; }
.contact-links { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:54px; }
.contact-links a { min-height:112px; display:flex; align-items:center; gap:16px; padding:24px; border:1px solid var(--line); border-radius:16px; background:var(--surface); color:#c5d6e2; text-decoration:none; }
.contact-links a:hover { border-color:rgba(85,199,255,.5); color:var(--accent); }
.contact-links a span { width:42px; height:42px; display:grid; place-items:center; border:1px solid rgba(85,199,255,.42); border-radius:12px; color:var(--accent); font-weight:800; }
footer { min-height:110px; display:flex; align-items:center; justify-content:space-between; padding:0 32px; border-top:1px solid var(--line); color:#6f8799; font-size:.65rem; letter-spacing:.11em; }

.reveal { opacity:0; transform:translateY(18px); transition:opacity .6s ease,transform .6s ease; }
.reveal.is-visible { opacity:1; transform:none; }
a:focus-visible,button:focus-visible { outline:2px solid var(--accent); outline-offset:5px; }

@media (max-width:960px) {
  :root { --shell:calc(100vw - 36px); }
  .portrait-zone { right:0; width:54%; }
  .hero-copy { width:64%; }
  .project-body { grid-template-columns:1fr; gap:30px; }
  .engagement-grid { grid-template-columns:1fr; }
  .engagement-card { min-height:230px; }
  .contact-links { grid-template-columns:1fr; }
}

@media (max-width:640px) {
  .site-header { min-height:76px; }
  .brand { font-size:.92rem; }
  .header-controls { gap:12px; }
  .language-switch button { font-size:.62rem; }
  .menu-toggle { width:46px; height:46px; }
  .burger-menu { padding:100px 24px 34px; }
  .portrait-zone { top:86px; right:0; bottom:auto; width:86%; height:48vh; opacity:.88; }
  .portrait-zone::after { background:linear-gradient(90deg,#050b12 0%,rgba(5,11,18,.3) 40%,transparent),linear-gradient(0deg,#050b12 0%,transparent 48%); }
  .portrait-zone img { object-position:right top; }
  .hero-inner { align-items:flex-end; padding:270px 0 42px; }
  .hero-copy { width:100%; }
  .hero-eyebrow { margin-bottom:18px; font-size:.75rem; }
  h1 { font-size:clamp(2.85rem,13.5vw,4.8rem); line-height:.95; letter-spacing:.01em; }
  .hero h1 { font-size:clamp(2.1rem,9.5vw,3.4rem); line-height:1.05; }
  h1 span + span { margin-top:6px; }
  .hero-rule { width:72px; margin:25px 0 22px; }
  .hero-roles { font-size:.66rem; line-height:1.6; }
  .hero-actions { gap:10px; margin-top:28px; }
  .button { min-width:0; min-height:50px; flex:1 1 145px; padding:0 13px; font-size:.62rem; }
  .button-primary { flex-basis:100%; }
  h2 { font-size:clamp(2.6rem,12vw,4rem); }
  .capability-grid { grid-template-columns:1fr; }
  .capability-card { min-height:250px; padding:27px; }
  .section-heading { margin-bottom:42px; }
  .project-card { padding:32px 0; }
  .project-meta { flex-direction:column; gap:8px; }
  .metric-list { grid-template-columns:1fr 1fr; }
  .video-grid { grid-template-columns:1fr; gap:18px; }
  .scope-list { grid-template-columns:1fr; }
  .scope-list li { min-height:58px; }
  footer { min-height:140px; flex-direction:column; justify-content:center; gap:16px; }
}

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