:root {
  color-scheme: light;
  --ink: #101a2b;
  --navy: #071022;
  --navy-soft: #0d1930;
  --white: #ffffff;
  --paper: #f4f7fb;
  --muted: #596578;
  --muted-light: #b8c3d3;
  --line: #d9e1ec;
  --electric: #0966d3;
  --electric-hover: #0756b7;
  --cyan: #20d1ef;
  --violet: #a53bff;
  --focus: #7041bd;
  --content-width: 1200px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: var(--white); font-size: 16px; line-height: 1.6; }
body, button, input, select, textarea { font-family: Inter, "Segoe UI", Arial, sans-serif; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.site-header :focus-visible, .hero :focus-visible, .process-section :focus-visible, .contact-copy :focus-visible, .site-footer :focus-visible { outline-color: #82e5ff; }
[hidden] { display: none !important; }

.skip-link { position: fixed; z-index: 20; top: 8px; left: 8px; padding: 12px 16px; color: var(--navy); background: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.site-header { position: sticky; z-index: 10; top: 0; color: var(--white); background: rgba(7, 16, 34, .97); border-bottom: 1px solid rgba(204, 220, 243, .12); }
.header-inner { width: min(var(--content-width), calc(100% - 48px)); min-height: 82px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; flex: 0 0 auto; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand-copy { display: grid; gap: 1px; line-height: 1.2; }
.brand-copy strong { font-size: 16px; font-weight: 700; }
.brand-copy span { color: #bac8dc; font-size: 12px; }
.primary-nav { display: flex; align-items: center; gap: 30px; }
.primary-nav a { min-height: 44px; display: inline-flex; align-items: center; color: #e0e8f4; font-size: 14px; text-decoration: none; transition: color .18s ease, background-color .18s ease; }
.primary-nav a:hover { color: var(--cyan); }
.primary-nav .nav-contact { padding: 0 17px; color: var(--white); background: var(--electric); border-radius: 4px; font-weight: 650; }
.primary-nav .nav-contact:hover { color: var(--white); background: var(--electric-hover); }
.menu-toggle { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; padding: 0; color: var(--white); background: transparent; border: 1px solid rgba(219, 231, 247, .32); border-radius: 4px; cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.menu-toggle .close-icon { display: none; }
.menu-toggle[aria-expanded="true"] .menu-icon { display: none; }
.menu-toggle[aria-expanded="true"] .close-icon { display: block; }

.hero { position: relative; overflow: hidden; color: var(--white); background: var(--navy); }
.hero-inner { width: min(var(--content-width), calc(100% - 48px)); min-height: 610px; margin: 0 auto; padding: 78px 0 74px; display: grid; grid-template-columns: minmax(0, .91fr) minmax(430px, 1.09fr); align-items: center; gap: 54px; }
.hero-copy { max-width: 570px; }
.eyebrow { margin: 0 0 16px; display: flex; align-items: center; gap: 10px; color: #a9bad1; font-size: 13px; font-weight: 650; }
.eyebrow-mark { width: 8px; height: 8px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 0 4px rgba(32, 209, 239, .12); }
.eyebrow-dark { color: #525f73; }
.hero h1 { margin: 0; font-size: 68px; line-height: 1.04; font-weight: 750; letter-spacing: 0; }
.hero-lead { margin: 17px 0 0; color: #dce7f6; font-size: 32px; line-height: 1.25; font-weight: 600; }
.hero-description { max-width: 500px; margin: 20px 0 0; color: #b9c8dc; font-size: 17px; line-height: 1.7; }
.hero-actions { margin-top: 30px; display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 19px; border: 1px solid transparent; border-radius: 4px; font-size: 15px; font-weight: 650; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: background-color .18s ease, border-color .18s ease, color .18s ease; }
.button-primary { color: var(--white); background: var(--electric); }
.button-primary:hover { background: var(--electric-hover); }
.button-primary span { font-size: 19px; line-height: 1; }
.text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; color: #dce7f6; font-size: 14px; text-decoration: none; }
.text-link:hover { color: var(--cyan); }
.hero-origin { margin: 27px 0 0; color: #a9bad1; font-size: 13px; }
.hero-origin strong { color: var(--white); font-weight: 650; }
.hero-visual { min-width: 0; margin: 0; }
.hero-visual img { width: 100%; height: auto; aspect-ratio: 1000 / 370; object-fit: cover; border: 1px solid rgba(88, 160, 255, .48); border-radius: 6px; box-shadow: 0 22px 70px rgba(0, 0, 0, .27); }
.hero-visual figcaption { margin-top: 12px; color: #9aacc4; font-size: 12px; text-align: right; }
.hero-foot { min-height: 54px; padding: 0 max(24px, calc((100vw - var(--content-width)) / 2)); display: flex; align-items: center; gap: 16px; color: #a9bad1; background: #0b1730; border-top: 1px solid rgba(204, 220, 243, .11); font-size: 12px; }
.hero-foot i { width: 4px; height: 4px; background: var(--violet); border-radius: 50%; }

.section-pad { padding: 104px max(24px, calc((100vw - var(--content-width)) / 2)); }
.social-section { color: var(--ink); background: var(--white); }
.section-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr); align-items: start; gap: 88px; }
.section-intro h2, .section-heading h2, .contact-copy h2 { max-width: 680px; margin: 0; font-size: 42px; line-height: 1.18; letter-spacing: 0; font-weight: 700; }
.social-detail { padding-top: 27px; color: #4a5669; font-size: 17px; }
.social-detail p { margin: 0 0 17px; }
.social-detail strong { color: var(--ink); }
.arrow-link { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; color: #075fc8; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.arrow-link:hover { color: #4831c9; }
.status-line { margin-top: 52px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 12px 28px; border-top: 1px solid var(--line); }
.status-item { display: inline-flex; align-items: center; gap: 9px; color: #334155; font-size: 14px; font-weight: 600; }
.status-dot { width: 9px; height: 9px; display: inline-block; border-radius: 50%; }
.status-new { background: #168bff; }
.status-progress { background: #d7970b; }
.status-done { background: #00a783; }

.process-section { color: var(--white); background: var(--navy-soft); }
.section-heading { max-width: 760px; }
.section-heading h2 { font-size: 40px; }
.section-heading > p:last-child { max-width: 670px; margin: 18px 0 0; color: #b7c5d9; font-size: 16px; }
.process-list { margin: 55px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; border-top: 1px solid rgba(204, 220, 243, .22); }
.process-list li { min-width: 0; padding: 21px 20px 0 0; display: flex; align-items: flex-start; gap: 15px; }
.step-index { flex: 0 0 auto; color: var(--cyan); font-size: 14px; font-weight: 700; }
.process-list h3 { margin: 0; color: var(--white); font-size: 17px; line-height: 1.35; }
.process-list p { margin: 9px 0 0; color: #b5c2d5; font-size: 14px; line-height: 1.6; }

.work-section { background: var(--paper); }
.section-heading-row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 48px; }
.section-heading-row > div { max-width: 670px; }
.section-heading-row h2 { font-size: 38px; }
.section-heading-row > p { max-width: 380px; margin: 0 0 4px; color: #596578; font-size: 15px; }
.project-grid { margin-top: 42px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.project-item { min-width: 0; background: var(--white); border: 1px solid #e0e6ef; border-radius: 6px; overflow: hidden; }
.project-item > img { width: 100%; height: auto; aspect-ratio: 16 / 8.7; object-fit: cover; background: #dce5ef; }
.project-copy { padding: 22px 24px 25px; }
.project-type { margin: 0 0 8px; color: #535f73; font-size: 12px; font-weight: 700; }
.project-copy h3 { margin: 0; color: var(--ink); font-size: 22px; line-height: 1.3; }
.project-copy > p:not(.project-type) { margin: 10px 0 12px; color: #566276; font-size: 14px; }
.project-copy .arrow-link { font-size: 14px; }
.other-services { margin-top: 44px; padding-top: 23px; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; border-top: 1px solid #d8e0ea; }
.other-services > p { margin: 2px 0 0; color: #566276; font-size: 14px; font-weight: 650; }
.other-services > div { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px 24px; }
.other-services a { min-height: 40px; display: inline-flex; align-items: center; color: #075fc8; font-size: 14px; font-weight: 650; text-underline-offset: 4px; }

.contact-section { color: var(--white); background: var(--navy); }
.contact-layout { display: grid; grid-template-columns: minmax(270px, .72fr) minmax(0, 1.28fr); align-items: start; gap: 84px; }
.contact-copy { position: sticky; top: 112px; }
.contact-copy h2 { font-size: 42px; }
.contact-copy > p:not(.eyebrow) { max-width: 430px; margin: 18px 0 0; color: #b9c8dc; font-size: 16px; }
.email-list { margin-top: 36px; border-top: 1px solid rgba(204, 220, 243, .2); }
.email-row { min-height: 74px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid rgba(204, 220, 243, .2); }
.email-row > div { display: grid; gap: 2px; }
.email-row span { color: #aebed4; font-size: 12px; }
.email-row a { color: var(--white); font-size: 15px; font-weight: 650; text-decoration: none; }
.email-row a:hover { color: var(--cyan); }
.copy-email { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; color: #dce7f6; background: transparent; border: 1px solid rgba(220, 231, 246, .3); border-radius: 4px; cursor: pointer; }
.copy-email:hover { color: var(--white); background: #132340; }
.copy-email svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.copy-status { min-height: 24px; margin: 9px 0 0; color: #a9dfff; font-size: 13px; }
.copy-fallback-email { width: 100%; min-height: 44px; padding: 9px 11px; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 3px; font-size: 14px; }
.contact-form { padding: 27px; color: var(--ink); background: #fff; border-radius: 6px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 16px; }
.field { min-width: 0; display: grid; align-content: start; gap: 7px; }
.field-wide { grid-column: 1 / -1; }
.field label, .copy-fallback label { color: #243044; font-size: 13px; font-weight: 700; }
.field label span:not(.optional) { color: #b3261e; }
.optional { color: #69768a; font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 12px; color: #142033; background: #fff; border: 1px solid #aeb9c8; border-radius: 3px; font-size: 15px; }
.field textarea { min-height: 114px; line-height: 1.5; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #778397; opacity: 1; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #586b84; }
.field-hint { color: #647187; font-size: 12px; line-height: 1.45; }
.form-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.button-secondary { color: #14335b; background: var(--white); border-color: #8c9bb0; }
.button-secondary:hover { background: #edf4fc; border-color: #536b8b; }
.form-instruction { margin: 15px 0 0; color: #253349; font-size: 13px; font-weight: 650; }
.form-note { margin: 8px 0 0; color: #58667a; font-size: 12px; line-height: 1.55; }
.form-status { min-height: 22px; margin: 10px 0 0; color: #075d48; font-size: 13px; font-weight: 650; }
.form-status.is-error { color: #a32019; }
.copy-fallback { margin-top: 8px; display: grid; gap: 8px; }
.copy-fallback textarea { width: 100%; padding: 10px; color: #1b2739; background: #f6f8fb; border: 1px solid #aeb9c8; border-radius: 3px; font-size: 13px; line-height: 1.5; resize: vertical; }
.copy-fallback p { margin: 0; color: #4e5c70; font-size: 12px; }

.site-footer { min-height: 106px; padding: 24px max(24px, calc((100vw - var(--content-width)) / 2)); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px 24px; color: #e6edf7; background: #050b17; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; font-size: 14px; font-weight: 700; text-decoration: none; }
.footer-brand img { width: 42px; height: 42px; object-fit: contain; }
.site-footer > p { margin: 0; color: #aab8cc; font-size: 13px; }
.site-footer > a:nth-of-type(2) { color: var(--cyan); font-size: 14px; font-weight: 650; text-decoration: none; }
.site-footer small { grid-column: 1 / -1; color: #91a0b4; font-size: 11px; }

@media (max-width: 1000px) {
  .primary-nav { gap: 18px; }
  .hero-inner { min-height: 580px; grid-template-columns: minmax(0, .9fr) minmax(350px, 1.1fr); gap: 32px; }
  .hero h1 { font-size: 60px; }
  .hero-lead { font-size: 28px; }
  .section-grid { gap: 48px; }
  .contact-layout { gap: 48px; }
}

@media (max-width: 850px) {
  html { scroll-padding-top: 76px; }
  .header-inner { width: calc(100% - 36px); min-height: 72px; }
  .brand img { width: 46px; height: 46px; }
  .menu-toggle { display: inline-flex; }
  .primary-nav { position: absolute; top: 71px; right: 0; left: 0; padding: 10px 18px 18px; display: none; align-items: stretch; gap: 2px; background: var(--navy); border-bottom: 1px solid rgba(204, 220, 243, .2); }
  .primary-nav.is-open { display: flex; flex-direction: column; }
  .primary-nav a { min-height: 48px; padding: 0 12px; }
  .primary-nav .nav-contact { justify-content: center; margin-top: 6px; }
  .hero-inner { width: calc(100% - 40px); min-height: auto; padding: 66px 0 52px; grid-template-columns: 1fr; gap: 38px; }
  .hero h1 { font-size: 54px; }
  .hero-lead { font-size: 27px; }
  .hero-description { max-width: 590px; font-size: 16px; }
  .hero-visual { width: 100%; }
  .hero-visual figcaption { text-align: left; }
  .hero-foot { min-height: 48px; padding: 0 20px; justify-content: center; gap: 12px; font-size: 11px; }
  .section-pad { padding: 74px 20px; }
  .section-grid { grid-template-columns: 1fr; gap: 18px; }
  .section-intro h2, .contact-copy h2 { font-size: 34px; }
  .social-detail { padding-top: 0; font-size: 16px; }
  .status-line { margin-top: 34px; }
  .section-heading h2 { font-size: 34px; }
  .section-heading-row { display: block; }
  .section-heading-row h2 { font-size: 34px; }
  .section-heading-row > p { margin-top: 16px; }
  .process-list { margin-top: 36px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-list li { min-height: 130px; padding-right: 12px; }
  .project-grid { grid-template-columns: 1fr; gap: 18px; }
  .project-item > img { aspect-ratio: 16 / 8; }
  .other-services { display: block; }
  .other-services > div { justify-content: flex-start; margin-top: 8px; gap: 6px 18px; }
  .contact-layout { grid-template-columns: 1fr; gap: 33px; }
  .contact-copy { position: static; }
  .contact-copy > p:not(.eyebrow) { max-width: 600px; }
  .email-list { margin-top: 22px; }
  .contact-form { padding: 21px; }
  .site-footer { grid-template-columns: 1fr auto; padding: 22px 20px; }
  .site-footer > p { grid-column: 1 / -1; grid-row: 2; }
  .site-footer small { grid-row: 3; }
}

@media (max-width: 480px) {
  .hero-inner { width: calc(100% - 36px); padding-top: 52px; }
  .hero h1 { font-size: 46px; }
  .hero-lead { font-size: 24px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 8px; }
  .hero-actions .button { width: 100%; }
  .hero-foot { gap: 8px; font-size: 10px; }
  .section-pad { padding: 64px 18px; }
  .section-intro h2, .contact-copy h2 { font-size: 30px; }
  .section-heading h2, .section-heading-row h2 { font-size: 30px; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li { min-height: 0; padding-bottom: 21px; }
  .project-copy { padding: 19px; }
  .contact-form { padding: 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .form-actions .button { width: 100%; }
  .site-footer { grid-template-columns: 1fr; gap: 10px; }
  .site-footer > p, .site-footer small { grid-column: auto; grid-row: auto; }
  .site-footer > a:nth-of-type(2) { min-height: 42px; display: inline-flex; align-items: center; }
}

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