:root {
  --navy: #071b29;
  --ink: #122b39;
  --muted: #526570;
  --paper: #fff;
  --soft: #f1f5f6;
  --yellow: #f4d35e;
  --line: #d8e1e5;
  --max: 1320px;
  --gutter: clamp(24px, 5.5vw, 88px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 18px/1.7 "Helvetica Neue", Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
::selection { color: var(--navy); background: var(--yellow); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 500; line-height: 1.06; }
h1 { margin-bottom: 30px; font-size: clamp(4.4rem, 8vw, 8rem); letter-spacing: -.065em; }
h2 { margin-bottom: 30px; font-size: clamp(2.65rem, 4.8vw, 4.75rem); letter-spacing: -.05em; }
h3 { margin-bottom: 22px; font-size: clamp(1.85rem, 2.8vw, 2.75rem); letter-spacing: -.035em; line-height: 1.17; }
h1 em, h2 em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.055em; }
p { margin-bottom: 22px; }
:focus-visible { outline: 3px solid #a77400; outline-offset: 6px; }
.site-header :focus-visible, .hero :focus-visible, .contacts :focus-visible, footer :focus-visible { outline-color: var(--yellow); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 16px; background: white; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; font-size: .875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.section-index { color: #627784; font-weight: 400; letter-spacing: .02em; }
.button { position: relative; display: inline-flex; min-height: 60px; align-items: center; justify-content: space-between; gap: 48px; padding: 16px 26px; border: 1px solid transparent; border-radius: 3px; color: var(--navy); background: var(--yellow); font-size: 1rem; font-weight: 600; text-decoration: none; transition: background .25s, box-shadow .25s, transform .35s var(--ease); }
.button > span { font-size: 1.35rem; line-height: 1; transition: transform .35s var(--ease); }
.button:hover { background: #ffe18a; box-shadow: 0 8px 28px #0002; transform: translateY(-3px); }
.button:hover > span { transform: translate(3px, -3px); }
.button:active { transform: translateY(0); }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; display: grid; min-height: 104px; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; padding: 20px var(--gutter); color: white; background: linear-gradient(#071b29c9, #071b2900); transition: background .3s, padding .3s, min-height .3s; }
.site-header.scrolled, .site-header:has(nav.open) { min-height: 84px; padding-block: 12px; background: #071b29f2; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.brand { display: inline-flex; width: fit-content; flex-direction: column; text-decoration: none; }
.brand-name { font-size: 2rem; font-weight: 600; line-height: 1; letter-spacing: -.06em; }
.brand-dot { color: var(--yellow); }
.brand-sub { margin-top: 7px; font-size: .75rem; line-height: 1; letter-spacing: .16em; text-transform: uppercase; }
.site-header nav, footer nav { display: flex; align-items: center; gap: 34px; }
.site-header nav a, footer nav a { position: relative; padding-block: 8px; color: #e3eaee; font-size: .875rem; text-decoration: none; }
.site-header nav a::after, footer nav a::after { position: absolute; right: 0; bottom: 2px; left: 0; height: 1px; background: var(--yellow); content: ""; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.site-header nav a:hover::after, .site-header nav a[aria-current="location"]::after, footer nav a:hover::after { transform: scaleX(1); }
.header-contact { min-height: 46px; justify-self: end; padding: 10px 18px; gap: 32px; font-size: .875rem; }
.menu-button, .site-header nav .mobile-contact { display: none; }
.reading-progress { position: absolute; inset: auto 0 0; height: 2px; pointer-events: none; background: var(--yellow); transform: scaleX(0); transform-origin: left; }

.hero { position: relative; isolation: isolate; display: flex; min-height: min(960px, 100svh); flex-direction: column; justify-content: center; overflow: hidden; color: white; background: var(--navy); }
.hero-visual { position: absolute; z-index: -2; inset: 0; overflow: hidden; }
.hero-visual picture { display: block; width: 100%; height: 100%; }
.hero-image { width: 100%; height: 110%; max-width: none; object-fit: cover; object-position: center 59%; transform: translate3d(0, var(--hero-offset, 0px), 0) scale(1.025); }
.hero::before { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #071b29ed 0%, #071b29b3 42%, #071b2926 100%), linear-gradient(0deg, #071b29ba 0%, transparent 45%); content: ""; }
.hero-copy { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding: 176px var(--gutter) 156px; }
.hero-inner { max-width: 900px; }
.hero .eyebrow { color: var(--yellow); }
.hero .eyebrow::before { width: 28px; height: 1px; background: currentColor; content: ""; }
.hero h1 em { color: var(--yellow); }
.hero-lead { max-width: 390px; margin-bottom: 36px; color: #e2e9ed; font-size: 1.125rem; line-height: 1.65; }
.hero-bottom { position: absolute; right: var(--gutter); bottom: 26px; left: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid #ffffff40; color: #dde6eb; font-size: .8125rem; }
.hero-bottom > span { letter-spacing: .08em; text-transform: uppercase; }
.hero-bottom a { display: flex; gap: 24px; align-items: center; min-height: 44px; text-decoration: none; }
.hero-bottom a span { display: grid; width: 34px; height: 34px; border: 1px solid #ffffff70; border-radius: 50%; place-items: center; transition: transform .3s; }
.hero-bottom a:hover span { transform: translateY(4px); }
.hero-enter { animation: enter .95s var(--ease) both; }
.hero-enter:nth-child(2) { animation-delay: 100ms; }
.hero-enter:nth-child(3) { animation-delay: 190ms; }
.hero-enter:nth-child(4) { animation-delay: 280ms; }
.hero .button.hero-enter { animation-fill-mode: backwards; }
@keyframes enter { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

.about { display: grid; max-width: calc(var(--max) + 2 * var(--gutter)); grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 120px); align-items: center; margin-inline: auto; padding: 130px var(--gutter); }
.about-image { position: relative; overflow: hidden; aspect-ratio: 4 / 4.5; background: var(--navy); }
.about-image::after { position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, #071b29b3); content: ""; }
.about-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about-image:hover img { transform: scale(1.045); }
.image-caption { position: absolute; z-index: 1; right: 28px; bottom: 28px; left: 28px; padding-top: 18px; border-top: 1px solid #ffffff60; color: white; font-size: .875rem; letter-spacing: .025em; }
.about-card p:not(.eyebrow) { color: var(--muted); font-size: 1rem; }
.about-card p:last-child { margin-bottom: 0; }
.about-card h2 { font-size: clamp(2.5rem, 4vw, 4rem); }

.section { padding: 120px var(--gutter); }
.services { background: var(--soft); }
.section-heading { display: flex; max-width: var(--max); align-items: end; justify-content: space-between; gap: 32px; margin: 0 auto 72px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { margin-bottom: 6px; color: var(--muted); font-size: 1rem; }
.service-row { display: grid; max-width: var(--max); grid-template-columns: 1fr 1fr; gap: clamp(50px, 8vw, 120px); align-items: center; margin: 0 auto; padding-block: 50px; border-top: 1px solid var(--line); }
.service-row:last-child { padding-bottom: 0; }
.service-image { overflow: hidden; aspect-ratio: 1.25; background: white; }
.service-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .85s var(--ease); }
.service-row:hover .service-image img { transform: scale(1.04); }
.service-row-reverse .service-image { order: 2; }
.service-copy { max-width: 490px; }
.number { display: flex; align-items: center; gap: 16px; margin-bottom: 30px; color: #58707e; font-size: .875rem; }
.number span { width: 42px; height: 1px; background: #9cafb9; }
.service-copy p { margin-bottom: 0; color: var(--muted); font-size: 1rem; }

.advantages { padding-bottom: 0; overflow: hidden; color: white; background: var(--navy); }
.advantages-intro { display: grid; max-width: var(--max); grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 120px); align-items: center; margin: 0 auto 64px; }
.advantages .eyebrow, .contacts .eyebrow { color: var(--yellow); }
.advantages .section-index, .contacts .section-index { color: #9bb0bc; }
.advantages h2 { margin-bottom: 0; }
.advantages-intro > p { margin-bottom: 0; color: #b8c7d0; font-size: 1rem; }
.features { display: grid; max-width: var(--max); grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 auto 72px; border-top: 1px solid #ffffff29; border-bottom: 1px solid #ffffff29; }
.feature { position: relative; isolation: isolate; padding: 32px 24px 38px; border-right: 1px solid #ffffff29; background: linear-gradient(150deg, #ffffff04, transparent); transition: background .3s, border-color .3s; }
.feature:last-child { border-right: 0; }
.feature::before { position: absolute; z-index: -1; inset: 0; opacity: 0; background: radial-gradient(340px circle at var(--spot-x, 50%) var(--spot-y, 30%), #f4d35e16, transparent 80%); content: ""; transition: opacity .35s; }
.feature:hover { background-color: #ffffff04; }
.feature:hover::before { opacity: 1; }
.feature-number { display: flex; align-items: center; justify-content: space-between; margin-bottom: 56px; color: var(--yellow); font-size: .875rem; }
.feature-number span { color: #9bb0bc; font-size: 1.5rem; transition: transform .35s, color .35s; }
.feature:hover .feature-number span { color: var(--yellow); transform: translate(3px, -3px); }
.feature h3 { min-height: 2.5em; margin-bottom: 20px; font-size: 1.4rem; line-height: 1.25; letter-spacing: -.025em; }
.feature p { margin: 0; color: #b8c7d0; font-size: 1rem; line-height: 1.7; }
.terminal-frame { max-width: var(--max); margin: 0 auto; overflow: hidden; }
.terminal-image { width: 100%; border-radius: 3px 3px 0 0; }

.contacts { position: relative; isolation: isolate; padding: 116px var(--gutter); color: white; background: var(--navy); }
.contact-visual { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contacts::before { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #071b29e0, #071b2966); content: ""; }
.contact-card { max-width: var(--max); margin: 0 auto; }
.contact-card h2 { max-width: 980px; font-size: clamp(2.6rem, 5.4vw, 5.35rem); }
.contact-card h2 em { color: var(--yellow); }
.contact-links { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 90px); margin-top: 68px; }
.contact-links a { padding: 22px 0; border-top: 1px solid #ffffff50; text-decoration: none; transition: border-color .3s; }
.contact-links a:hover { border-color: var(--yellow); }
.contact-label { display: block; margin-bottom: 16px; color: #bdcbd3; font-size: .875rem; }
.contact-value { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: clamp(1.1rem, 2vw, 1.85rem); line-height: 1.4; letter-spacing: -.03em; overflow-wrap: anywhere; }
.link-arrow { color: var(--yellow); transition: transform .3s var(--ease); }
.contact-links a:hover .link-arrow { transform: translate(4px, -4px); }
footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; padding: 40px var(--gutter); border-top: 1px solid #ffffff24; color: white; background: var(--navy); }
footer p { justify-self: end; margin: 0; color: #9bb0bc; font-size: .8125rem; }

/* Content stays visible when scripting or observers are unavailable. */
.reveal { opacity: 1; transform: none; }
.motion-ready .reveal:not(.is-visible) { opacity: 0; transform: translateY(28px); }
.motion-ready .reveal { transition: opacity .85s var(--ease) var(--delay, 0ms), transform .85s var(--ease) var(--delay, 0ms); }

@media (max-width: 1100px) {
  .site-header nav, footer nav { gap: 24px; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature { padding: 30px; }
  .feature:nth-child(2) { border-right: 0; }
  .feature:nth-child(-n+2) { border-bottom: 1px solid #ffffff29; }
  .feature h3 { min-height: 0; }
  .feature-number { margin-bottom: 32px; }
  footer { grid-template-columns: 1fr auto; }
  footer p { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 800px) {
  html { scroll-padding-top: 96px; }
  body { font-size: 17px; }
  .site-header, .site-header.scrolled { min-height: 82px; grid-template-columns: 1fr auto; padding-block: 16px; }
  .header-contact { display: none; }
  .brand-name { font-size: 1.7rem; }
  .brand-sub { font-size: .75rem; letter-spacing: .11em; }
  .menu-button { display: grid; width: 46px; height: 46px; place-content: center; gap: 6px; padding: 0; border: 1px solid #ffffff50; border-radius: 3px; color: white; background: #071b2980; cursor: pointer; }
  .menu-button span:not(.sr-only) { display: block; width: 22px; height: 1px; background: currentColor; transition: transform .25s, opacity .25s; }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-header nav { position: absolute; inset: 100% 0 auto; display: grid; gap: 0; max-height: calc(100dvh - 82px); overflow-y: auto; padding: 20px var(--gutter) 32px; border-top: 1px solid #ffffff24; visibility: hidden; opacity: 0; background: var(--navy); transform: translateY(-10px); transition: opacity .25s, transform .25s, visibility .25s; }
  .site-header nav.open { visibility: visible; opacity: 1; transform: none; }
  .site-header nav a { min-height: 56px; align-content: center; font-size: 1.125rem; }
  .site-header nav .mobile-contact { display: block; color: var(--yellow); }
  .hero { min-height: 800px; min-height: max(760px, 94svh); }
  .hero-copy { padding-top: 162px; padding-bottom: 140px; }
  .hero-image { object-position: 65% center; }
  .hero::before { background: linear-gradient(90deg, #071b29d9, #071b2970), linear-gradient(0deg, #071b29b3, transparent); }
  h1 { font-size: clamp(3.6rem, 11vw, 5.5rem); }
  .about { gap: 48px; padding-block: 88px; }
  .about-card h2 { font-size: 2.6rem; }
  .section { padding-top: 88px; padding-bottom: 88px; }
  .section-heading { align-items: start; flex-direction: column; gap: 24px; margin-bottom: 48px; }
  .service-row { gap: 36px; }
  .service-copy h3 { font-size: 1.95rem; }
  .number { margin-bottom: 20px; }
  .advantages { padding-bottom: 0; }
  .advantages-intro { grid-template-columns: 1fr; gap: 28px; margin-bottom: 48px; }
  .contacts { padding-block: 88px; }
  .contact-links { grid-template-columns: 1fr; gap: 10px; margin-top: 48px; }
  .contact-value { font-size: clamp(1.15rem, 3.7vw, 1.8rem); }
}

@media (max-width: 600px) {
  :root { --gutter: 24px; }
  h1 { font-size: clamp(3.05rem, 10.8vw, 4.2rem); }
  h2 { font-size: clamp(2.45rem, 9vw, 3.4rem); }
  .eyebrow { font-size: .8125rem; gap: 10px; letter-spacing: .1em; }
  .hero { min-height: max(730px, 94svh); }
  .hero-lead { max-width: 320px; font-size: 1rem; }
  .hero-bottom { bottom: 20px; align-items: start; }
  .hero-bottom > span { max-width: 135px; font-size: .75rem; }
  .hero-bottom a { gap: 12px; min-height: 34px; }
  .about { grid-template-columns: 1fr; gap: 40px; padding-block: 72px; }
  .about-image { aspect-ratio: 1.15; }
  .about-card h2 { font-size: clamp(2.4rem, 9vw, 3.3rem); }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .service-row { grid-template-columns: 1fr; gap: 30px; padding-block: 36px; }
  .service-row-reverse .service-image { order: 0; }
  .service-image { aspect-ratio: 1.15; }
  .service-copy h3 { max-width: 400px; font-size: 2rem; }
  .features { grid-template-columns: 1fr; margin-bottom: 48px; }
  .feature { padding: 28px 0; border-right: 0; border-bottom: 1px solid #ffffff29; }
  .feature:last-child { border-bottom: 0; }
  .feature-number { margin-bottom: 22px; }
  .feature h3 { font-size: 1.5rem; margin-bottom: 14px; }
  .advantages { padding-bottom: 0; }
  .terminal-frame { margin-inline: calc(-1 * var(--gutter)); }
  .terminal-image { min-height: 170px; object-fit: cover; }
  .contacts { padding-block: 72px; }
  .contact-card h2 { font-size: clamp(2.45rem, 8.5vw, 3.5rem); }
  footer { grid-template-columns: 1fr; gap: 28px; }
  footer nav { gap: 24px; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .motion-ready .reveal:not(.is-visible) { opacity: 1; transform: none; }
  .hero-image { transform: none; }
}

@media print {
  .site-header, .hero-visual, .hero-bottom, .terminal-frame { display: none; }
  .hero, .about, .section, .contacts { display: block; min-height: 0; padding: 30px 0; color: black; background: white; }
  .hero::before, .contacts::before { display: none; }
  .hero-copy { padding: 0; }
  .hero h1 em, .contact-card h2 em, .hero-lead, .advantages-intro > p, .feature p { color: black; }
  .motion-ready .reveal:not(.is-visible) { opacity: 1; transform: none; }
}
