:root {
  color-scheme: light;
  --ink: #071426;
  --muted: #566579;
  --line: #dbe3ec;
  --surface: #fff;
  --surface-soft: #f3f7fb;
  --accent: #1769ff;
  --accent-dark: #0d4ed1;
  --night: #071426;
  --night-soft: #0d1d32;
  --container: 1180px;
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 36px;
  --shadow: 0 28px 80px rgba(20, 45, 82, .13);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; overflow-x: hidden; background: var(--surface); color: var(--ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.6; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #72a0ff; outline-offset: 4px; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--ink); color: #fff; transform: translateY(-170%); transition: transform 160ms ease; }
.skip-link:focus { transform: translateY(0); }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(219, 227, 236, .82); background: rgba(255, 255, 255, .9); backdrop-filter: blur(18px); }
.header-inner, .footer-inner { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 11px; font-size: 19px; font-weight: 800; letter-spacing: -.04em; }
.brand img { width: 32px; height: 32px; }
.brand > span > span { color: var(--accent); }
.main-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; font-size: 14px; font-weight: 700; }
.main-nav a, .language-switch { transition: color 160ms ease, background-color 160ms ease; }
.main-nav a:hover, .language-switch:hover { color: var(--accent); }
.main-nav .nav-cta { min-height: 42px; display: inline-flex; align-items: center; border-radius: 999px; padding: 9px 18px; background: var(--ink); color: #fff; }
.main-nav .nav-cta:hover { background: var(--accent); color: #fff; }
.language-switch { display: grid; min-width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 850; }

.hero { position: relative; overflow: hidden; padding: 98px 0 112px; }
.hero::before { position: absolute; top: -260px; left: -300px; z-index: -1; width: 660px; height: 660px; border-radius: 50%; background: #eaf1ff; content: ""; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(410px, .96fr); align-items: center; gap: 68px; }
.eyebrow { margin: 0 0 18px; color: var(--accent); font-size: 12px; font-weight: 850; letter-spacing: .13em; line-height: 1.4; text-transform: uppercase; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(23, 105, 255, .1); vertical-align: 1px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; }
h1 { max-width: 730px; margin-bottom: 28px; font-size: clamp(48px, 5.8vw, 78px); letter-spacing: -.067em; }
h2 { margin-bottom: 24px; font-size: clamp(37px, 4.4vw, 58px); letter-spacing: -.056em; }
h3 { margin-bottom: 14px; font-size: 25px; letter-spacing: -.035em; }
.hero-lead { max-width: 640px; margin-bottom: 36px; color: var(--muted); font-size: clamp(18px, 2vw, 21px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 12px; border: 1px solid transparent; border-radius: 999px; padding: 13px 24px; cursor: pointer; font-weight: 780; line-height: 1.2; transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: #fff; box-shadow: 0 14px 34px rgba(23, 105, 255, .24); }
.button-primary:hover { background: var(--accent-dark); }
.button-secondary { border-color: var(--line); background: #fff; }
.button-secondary:hover { border-color: var(--ink); }
.hero-facts { display: flex; gap: 0; margin: 52px 0 0; padding: 0; list-style: none; }
.hero-facts li { display: grid; min-width: 122px; gap: 2px; border-left: 1px solid var(--line); padding: 0 22px; }
.hero-facts li:first-child { border-left: 0; padding-left: 0; }
.hero-facts strong { font-size: 17px; }
.hero-facts span { color: var(--muted); font-size: 12px; }
.hero-visual { position: relative; min-height: 540px; overflow: hidden; border: 1px solid #cbd8e8; border-radius: var(--radius-lg); background: linear-gradient(145deg, #f9fcff 4%, #dbe8ff 100%); box-shadow: var(--shadow); }
.visual-grid { position: absolute; inset: 0; opacity: .44; background-image: linear-gradient(rgba(23, 105, 255, .14) 1px, transparent 1px), linear-gradient(90deg, rgba(23, 105, 255, .14) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom, #000 30%, transparent 98%); }
.orbit { position: absolute; top: 46%; left: 50%; border: 1px solid rgba(23, 105, 255, .3); border-radius: 50%; transform: translate(-50%, -50%) rotate(-18deg); }
.orbit-one { width: 340px; height: 340px; }
.orbit-two { width: 500px; height: 220px; }
.orbit-dot { position: absolute; width: 10px; height: 10px; border: 3px solid #fff; border-radius: 50%; background: var(--accent); box-shadow: 0 6px 15px rgba(23, 105, 255, .35); }
.dot-one { top: 28%; left: 16%; }
.dot-two { right: 14%; bottom: 28%; }
.visual-mark { position: absolute; top: 45%; left: 50%; display: grid; width: 148px; height: 148px; place-items: center; border: 1px solid rgba(255, 255, 255, .9); border-radius: 38px; background: rgba(255, 255, 255, .92); box-shadow: 0 26px 60px rgba(33, 67, 125, .2); transform: translate(-50%, -50%) rotate(8deg); }
.visual-mark img { width: 126px; height: 126px; }
.visual-chip { position: absolute; display: flex; min-width: 164px; align-items: center; gap: 16px; border: 1px solid rgba(255, 255, 255, .95); border-radius: 18px; padding: 16px 18px; background: rgba(255, 255, 255, .88); box-shadow: 0 18px 40px rgba(33, 67, 125, .14); backdrop-filter: blur(10px); }
.visual-chip span { color: var(--accent); font-size: 11px; font-weight: 850; }
.visual-chip strong { font-size: 16px; }
.chip-web { top: 90px; left: 36px; }
.chip-mobile { right: 34px; bottom: 106px; }
.visual-caption { position: absolute; bottom: 30px; left: 34px; margin: 0; color: #4c6382; font-size: 12px; font-weight: 750; letter-spacing: .04em; line-height: 1.45; text-transform: uppercase; }

.section { padding: 118px 0; }
.section-heading { margin-bottom: 58px; }
.split-heading { display: grid; grid-template-columns: 1.08fr .92fr; align-items: end; gap: 80px; }
.split-heading h2 { margin-bottom: 0; }
.split-heading > p { max-width: 450px; margin: 0 0 6px; color: var(--muted); font-size: 18px; }
.services { border-top: 1px solid var(--line); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.service-card { display: grid; min-height: 282px; grid-template-columns: auto 1fr; align-items: start; gap: 32px; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 34px; background: #fff; transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.service-card:hover { border-color: #b9c9dd; box-shadow: 0 20px 50px rgba(22, 44, 77, .08); transform: translateY(-3px); }
.service-number { color: var(--accent); font-size: 12px; font-weight: 850; }
.service-card p { max-width: 440px; margin-bottom: 22px; color: var(--muted); font-size: 17px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.tag-list li, .archive-label { border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; color: var(--muted); font-size: 11px; font-weight: 750; }

.work { background: var(--surface-soft); }
.portfolio-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.project-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; transition: box-shadow 180ms ease, transform 180ms ease; }
.project-card:hover { box-shadow: 0 22px 58px rgba(22, 44, 77, .1); transform: translateY(-4px); }
.project-featured { grid-column: 1 / -1; }
.project-image { display: block; height: 350px; overflow: hidden; background: #e7edf3; }
.project-featured .project-image { height: 440px; }
.project-image img { width: 100%; height: 100%; object-fit: contain; transition: transform 350ms ease; }
.project-image:hover img { transform: scale(1.025); }
.project-content { display: grid; min-height: 210px; grid-template-columns: 1fr 1fr; align-items: start; gap: 24px; padding: 28px 30px 30px; }
.project-content > p { margin: 3px 0 0; color: var(--muted); }
.project-content .archive-label { width: fit-content; grid-column: 2; }
.project-type { margin-bottom: 8px; color: var(--accent); font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.project-content h3 { margin-bottom: 0; }

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; }
.about-copy { max-width: 680px; padding-top: 28px; color: var(--muted); font-size: 18px; }
.about-lead { color: var(--ink); font-size: clamp(22px, 2.5vw, 29px); line-height: 1.48; }
.text-link { display: inline-flex; gap: 12px; margin-top: 18px; color: var(--ink); font-weight: 800; }
.text-link:hover { color: var(--accent); }

.contact-section { padding: 118px 0; background: var(--night); color: #fff; }
.contact-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 90px; }
.eyebrow-light { color: #8db1ff; }
.contact-copy h2 { font-size: clamp(44px, 5vw, 66px); }
.contact-copy > p:not(.eyebrow):not(.response-note) { max-width: 510px; color: #b8c4d5; font-size: 18px; }
.contact-links { display: grid; gap: 10px; margin-top: 36px; }
.contact-links a { width: fit-content; color: #e2ebf8; font-weight: 750; }
.contact-links a:hover { color: #fff; }
.response-note { margin-top: 28px; color: #7f91aa; font-size: 13px; }
.contact-form { position: relative; display: grid; gap: 22px; border: 1px solid #263a56; border-radius: var(--radius-md); padding: 34px; background: var(--night-soft); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: grid; gap: 8px; }
.form-field label { color: #dce6f4; font-size: 13px; font-weight: 750; }
.form-field input, .form-field textarea { width: 100%; border: 1px solid #324966; border-radius: var(--radius-sm); padding: 13px 15px; background: #09172a; color: #fff; transition: border-color 160ms ease, box-shadow 160ms ease; }
.form-field input { min-height: 52px; }
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { border-color: #79a4ff; box-shadow: 0 0 0 4px rgba(121, 164, 255, .13); outline: 0; }
.form-field textarea::placeholder { color: #71839b; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 11px; align-items: start; color: #aebcce; font-size: 13px; line-height: 1.5; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); }
.consent a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.form-actions { display: flex; align-items: center; gap: 18px; }
.button-light { flex: 0 0 auto; background: #fff; color: var(--night); }
.button-light:hover { background: #dce8ff; }
.button[disabled] { cursor: wait; opacity: .65; transform: none; }
.form-status { min-height: 24px; margin: 0; color: #b8c4d5; font-size: 13px; }
.form-status.is-success { color: #8fe6b3; }
.form-status.is-error { color: #ffaaa7; }

.site-footer { border-top: 1px solid var(--line); background: #fff; }
.footer-inner { min-height: 108px; }
.footer-meta { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: 13px; }
.footer-meta a:hover { color: var(--accent); }
.footer-meta p { margin: 0; }
.metrics-pixel { position: absolute; left: -10000px; width: 1px; height: 1px; }

.legal-page { min-height: 100vh; background: var(--surface-soft); }
.legal-header { border-bottom: 1px solid var(--line); background: #fff; }
.legal-main { padding: 80px 0 110px; }
.legal-card { max-width: 820px; border: 1px solid var(--line); border-radius: var(--radius-md); padding: clamp(28px, 5vw, 64px); background: #fff; box-shadow: 0 20px 60px rgba(22, 44, 77, .07); }
.legal-card h1 { font-size: clamp(38px, 5vw, 58px); }
.legal-card h2 { margin-top: 42px; font-size: 25px; letter-spacing: -.035em; }
.legal-card p, .legal-card li { color: var(--muted); }
.legal-card a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.back-link { color: var(--muted); font-size: 14px; font-weight: 750; }
.back-link:hover { color: var(--accent); }
.error-page { display: grid; min-height: 100vh; place-items: center; padding: 24px; background: var(--surface-soft); }
.error-card { max-width: 650px; text-align: center; }
.error-code { margin: 0; color: var(--accent); font-size: 14px; font-weight: 850; letter-spacing: .18em; }

@media (max-width: 980px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid, .contact-grid { gap: 62px; }
  .hero-visual { min-height: 440px; }
  .split-heading { grid-template-columns: 1fr; gap: 20px; }
  .split-heading > p { max-width: 650px; }
  .about-grid { gap: 8px; }
  .about-copy { padding-top: 0; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .header-inner { min-height: 68px; gap: 12px; }
  .main-nav { gap: 12px; }
  .main-nav a:not(.nav-cta) { display: none; }
  .main-nav .nav-cta { padding-inline: 14px; font-size: 12px; }
  .language-switch { min-width: 38px; height: 38px; }
  .hero { padding: 72px 0 80px; }
  h1 { font-size: clamp(44px, 13vw, 62px); }
  .hero-visual { min-height: 370px; }
  .orbit-one { width: 250px; height: 250px; }
  .orbit-two { width: 350px; height: 165px; }
  .visual-mark { width: 112px; height: 112px; border-radius: 30px; }
  .visual-mark img { width: 96px; height: 96px; }
  .visual-chip { min-width: 132px; padding: 13px 14px; }
  .chip-web { top: 46px; left: 18px; }
  .chip-mobile { right: 18px; bottom: 70px; }
  .visual-caption { display: none; }
  .section, .contact-section { padding: 82px 0; }
  .service-grid, .portfolio-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; gap: 22px; padding: 26px; }
  .project-featured { grid-column: auto; }
  .project-image, .project-featured .project-image { height: 310px; }
  .project-content { min-height: 0; grid-template-columns: 1fr; padding: 25px; }
  .project-content .archive-label { grid-column: 1; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .form-actions { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 480px) {
  .brand { font-size: 17px; }
  .main-nav .nav-cta { max-width: 104px; text-align: center; line-height: 1.2; }
  .hero-actions, .hero-actions .button, .button-light { width: 100%; }
  .hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero-facts li { min-width: 0; padding: 0 10px; }
  .hero-visual { min-height: 330px; border-radius: 26px; }
  .visual-chip { min-width: auto; gap: 8px; }
  .visual-chip strong { font-size: 13px; }
  .project-image, .project-featured .project-image { height: 260px; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: 14px; }
  .footer-meta { width: 100%; justify-content: space-between; gap: 14px; }
}

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