@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Russo+One&display=swap');

:root {
  --navy: #10265a;
  --navy-2: #081735;
  --ink: #0d1422;
  --yellow: #f2df1f;
  --paper: #f4f5f2;
  --line: rgba(13, 20, 34, .14);
  --white: #fff;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Manrope", Arial, sans-serif; font-size: 16px; line-height: 1.55; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 10px 14px; transform: translateY(-160%); background: var(--yellow); color: var(--ink); border-radius: 4px; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; color: #fff; transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(8, 23, 53, .94); box-shadow: 0 1px 0 rgba(255,255,255,.12); backdrop-filter: blur(12px); }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; background: var(--yellow); color: var(--navy); font: 16px/1 "Russo One", sans-serif; transform: skew(-8deg); }
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy b { font-size: 15px; text-transform: uppercase; letter-spacing: .03em; }
.brand-copy small { margin-top: 5px; color: rgba(255,255,255,.65); font-size: 11px; letter-spacing: .05em; }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 600; }
.main-nav > a { position: relative; }
.main-nav > a:not(.nav-phone)::after { content: ""; position: absolute; right: 0; bottom: -7px; left: 0; height: 1px; background: var(--yellow); transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.main-nav > a:hover::after, .main-nav > a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-phone { padding: 12px 18px; border: 1px solid rgba(255,255,255,.4); color: var(--yellow); font-size: 16px; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 11px; border: 0; background: transparent; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: #fff; transition: transform .25s, opacity .25s; }

.hero { position: relative; min-height: 760px; height: 100svh; max-height: 980px; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--navy-2); }
.hero::before { content: ""; position: absolute; inset: 0 0 0 53%; background: var(--navy); transform: skewX(-6deg); transform-origin: bottom; }
.hero::after { content: ""; position: absolute; right: -9vw; bottom: -28vw; width: 62vw; height: 62vw; border: 1px solid rgba(242,223,31,.27); border-radius: 50%; box-shadow: 0 0 0 6vw rgba(242,223,31,.025), 0 0 0 12vw rgba(242,223,31,.018); }
.hero-grid { position: absolute; inset: 0; opacity: .08; background-image: linear-gradient(rgba(255,255,255,.3) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.3) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg, #000, transparent 60%); }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 6vw; align-items: center; padding-top: 80px; }
.eyebrow, .kicker { margin: 0 0 24px; color: var(--yellow); font-size: 12px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 34px; height: 2px; background: var(--yellow); }
.hero h1 { margin: 0; font-size: clamp(52px, 6.5vw, 96px); line-height: .96; letter-spacing: -.055em; font-weight: 800; }
.hero h1 em { color: var(--yellow); font-style: normal; }
.hero-lead { max-width: 610px; margin: 30px 0 0; color: rgba(255,255,255,.72); font-size: clamp(17px, 1.5vw, 20px); }
.hero-actions { display: flex; gap: 12px; margin-top: 38px; }
.button { min-height: 54px; display: inline-flex; justify-content: center; align-items: center; padding: 0 24px; border: 1px solid transparent; font-size: 14px; font-weight: 800; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--navy-2); background: var(--yellow); }
.button-primary:hover { background: #fff231; }
.button-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.button-ghost:hover { border-color: #fff; }
.hero-address { display: flex; gap: 13px; align-items: center; margin-top: 40px; color: rgba(255,255,255,.65); font-size: 13px; line-height: 1.4; }
.hero-address b { color: #fff; font-weight: 600; }
.pin { width: 34px; height: 34px; position: relative; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.pin::before { content: ""; position: absolute; top: 9px; left: 12px; width: 8px; height: 8px; border: 2px solid var(--yellow); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.hero-visual { position: relative; min-height: 470px; display: flex; align-items: center; }
.brand-plate { position: relative; z-index: 2; width: 100%; margin: 0; padding: 20px; background: var(--navy); border: 1px solid rgba(255,255,255,.18); box-shadow: 0 30px 70px rgba(0,0,0,.3); transform: rotate(-2deg); }
.brand-plate::before { content: ""; position: absolute; inset: 9px; border: 1px solid rgba(242,223,31,.22); pointer-events: none; }
.brand-plate img { width: 100%; }
.signal-card { position: absolute; z-index: 3; top: 5px; right: -12px; width: 220px; padding: 18px 20px; color: var(--navy-2); background: var(--yellow); transform: rotate(2deg); box-shadow: 0 18px 40px rgba(0,0,0,.2); }
.signal-card span { display: block; margin-bottom: 3px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.signal-card strong { font: 28px/1.2 "Russo One", sans-serif; }
.visual-note { position: absolute; z-index: 3; left: 8px; bottom: 25px; padding: 9px 14px; color: rgba(255,255,255,.8); background: var(--navy-2); border-left: 3px solid var(--yellow); font-size: 12px; font-weight: 700; }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 24px; display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.45); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.scroll-cue span { width: 1px; height: 34px; position: absolute; left: -14px; bottom: -4px; background: linear-gradient(var(--yellow) 50%, rgba(255,255,255,.16) 50%); background-size: 100% 200%; animation: scrollLine 1.6s infinite; }
@keyframes scrollLine { to { background-position: 0 -200%; } }

.section { padding: 120px 0; }
.section-heading { max-width: 720px; margin-bottom: 58px; }
.section-heading-row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.section-heading-row > p { max-width: 410px; margin: 0 0 8px; color: #566071; }
.kicker { margin-bottom: 16px; color: var(--navy); }
.section h2, .final-cta h2 { margin: 0; font-size: clamp(38px, 5vw, 66px); line-height: 1.03; letter-spacing: -.045em; }
.section-heading > p:not(.kicker), .section-heading > div + p { margin-top: 24px; color: #5e6674; font-size: 18px; }

.approach { background: #fff; }
.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.approach-card { min-height: 310px; padding: 35px 34px 32px 0; }
.approach-card + .approach-card { padding-left: 34px; border-left: 1px solid var(--line); }
.card-index { color: var(--navy); font-size: 12px; font-weight: 800; }
.approach-card h3 { max-width: 280px; margin: 75px 0 16px; font-size: 22px; line-height: 1.25; }
.approach-card p { margin: 0; color: #626b79; font-size: 15px; }

.services { background: var(--paper); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 230px; position: relative; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: color .25s, background .25s, transform .25s; }
.service-card span { color: #78808b; font-size: 11px; font-weight: 800; }
.service-card h3 { max-width: 260px; margin: 56px 0 0; font-size: 24px; line-height: 1.2; }
.service-card p { max-width: 280px; color: rgba(255,255,255,.65); font-size: 14px; }
.service-card i { position: absolute; right: 24px; bottom: 20px; font-style: normal; font-size: 22px; opacity: .35; transition: transform .25s, opacity .25s; }
.service-card:hover { color: #fff; background: var(--navy); transform: translateY(-3px); }
.service-card:hover span { color: var(--yellow); }
.service-card:hover i { opacity: 1; transform: translate(3px,-3px); }
.service-card-featured { grid-row: span 2; min-height: 460px; color: #fff; background: var(--navy); }
.service-card-featured::before { content: ""; position: absolute; right: 28px; top: 28px; width: 58px; height: 3px; background: var(--yellow); transform: skewX(-25deg); }
.service-card-featured span { color: var(--yellow); }
.service-card-featured h3 { margin-top: 170px; font-size: 34px; }
.service-card-long h3 { margin-top: 42px; font-size: 21px; }
.service-card-long p { color: #626b79; }
.service-card-long:hover p { color: rgba(255,255,255,.65); }

.process { color: #fff; background: var(--navy-2); }
.process-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10vw; }
.process-intro { position: sticky; top: 130px; align-self: start; }
.process-intro h2 { font-size: clamp(38px, 4.2vw, 60px); }
.text-link { display: inline-flex; gap: 18px; margin-top: 40px; padding-bottom: 8px; color: var(--yellow); border-bottom: 1px solid rgba(242,223,31,.5); font-weight: 700; }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.16); }
.process-list li { display: grid; grid-template-columns: 80px 1fr; gap: 25px; padding: 34px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.process-list li > span { color: var(--yellow); font-size: 12px; font-weight: 800; }
.process-list h3 { margin: 0 0 7px; font-size: 25px; }
.process-list p { margin: 0; color: rgba(255,255,255,.6); }

.portfolio { background: #fff; }
.portfolio-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 190px; gap: 16px; }
.work-card { grid-column: span 4; grid-row: span 2; position: relative; overflow: hidden; color: #fff; background: var(--navy); }
.work-card-wide { grid-column: span 7; }
.work-card-portrait { grid-column: span 5; }
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.75,.25,1); }
.work-card::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(4,17,43,.7)); pointer-events: none; }
.work-card > span { position: absolute; right: 18px; bottom: 16px; z-index: 2; display: grid; place-items: center; width: 38px; height: 38px; color: var(--navy); background: var(--yellow); font-size: 12px; font-weight: 900; }
.work-card:hover img { transform: scale(1.035); }
.work-card:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.work-card-result img { object-position: 50% 58%; }
.portfolio-more { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 16px; padding: 25px 28px; color: #fff; background: var(--navy); font-weight: 800; transition: color .2s, background .2s; }
.portfolio-more b { color: var(--yellow); font-size: 24px; }
.portfolio-more:hover { color: var(--navy); background: var(--yellow); }
.portfolio-more:hover b { color: var(--navy); }

.contacts { padding-top: 0; background: #fff; }
.contacts-card { display: grid; grid-template-columns: 1fr .8fr; padding: 0; color: #fff; background: var(--navy); }
.contacts-copy { padding: 64px; }
.kicker-light { color: var(--yellow); }
.contacts-copy h2 { max-width: 600px; font-size: clamp(38px, 4.6vw, 62px); }
.contacts-copy > p:not(.kicker) { max-width: 560px; color: rgba(255,255,255,.65); font-size: 17px; }
.contact-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin: 36px 0; }
.contact-links a:not(.contact-phone) { color: var(--yellow); font-weight: 700; }
.contact-phone { font: clamp(42px, 5vw, 66px)/1 "Russo One", sans-serif; letter-spacing: -.03em; }
.contacts-copy address { padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.58); font-style: normal; }
.contacts-copy address b { color: #fff; }
.map-card { min-height: 540px; position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 38px; overflow: hidden; color: var(--ink); background: var(--yellow); }
.map-card::after { content: "↗"; position: absolute; top: 26px; right: 30px; font-size: 28px; }
.map-lines { position: absolute; inset: 0; opacity: .35; background: linear-gradient(26deg, transparent 46%, var(--navy) 46%, var(--navy) 46.5%, transparent 46.5%), linear-gradient(112deg, transparent 62%, var(--navy) 62%, var(--navy) 62.7%, transparent 62.7%), linear-gradient(165deg, transparent 30%, var(--navy) 30%, var(--navy) 30.5%, transparent 30.5%); }
.map-pin { position: absolute; top: 40%; left: 48%; width: 44px; height: 44px; border: 10px solid var(--navy); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 8px 8px 18px rgba(16,38,90,.2); }
.map-pin::after { content: ""; position: absolute; inset: 4px; background: var(--yellow); border-radius: 50%; }
.map-card strong, .map-card small { position: relative; z-index: 2; }
.map-card strong { font-size: 24px; }
.map-card small { margin-top: 4px; font-size: 13px; }

.final-cta { padding: 105px 0; color: var(--ink); background: var(--yellow); }
.final-cta-inner { display: grid; grid-template-columns: .6fr 1.3fr auto; gap: 30px; align-items: center; }
.final-cta p { margin: 0; font-size: 14px; font-weight: 800; }
.button-dark { min-width: 200px; color: #fff; background: var(--navy-2); }
.site-footer { color: rgba(255,255,255,.7); background: var(--navy-2); }
.footer-inner { min-height: 130px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; align-items: center; font-size: 13px; }
.footer-inner > div { display: flex; flex-direction: column; }
.footer-inner b { color: #fff; text-transform: uppercase; }
.footer-inner span { margin-top: 4px; }
.footer-inner nav { display: flex; gap: 25px; }
.footer-inner nav a:hover { color: var(--yellow); }
.to-top { justify-self: end; color: var(--yellow); }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: .14s; }
:focus-visible { outline: 3px solid #68a7ff; outline-offset: 4px; }

@media (max-width: 1000px) {
  .main-nav { gap: 18px; }
  .hero-inner { gap: 3vw; }
  .hero-visual { min-height: 380px; }
  .signal-card { right: 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card-featured { grid-row: span 1; min-height: 230px; }
  .service-card-featured h3 { margin-top: 55px; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 330px; }
  .work-card, .work-card-wide, .work-card-portrait { grid-column: auto; grid-row: auto; }
  .work-card-wide { grid-column: span 2; }
  .contacts-copy { padding: 48px; }
  .final-cta-inner { grid-template-columns: 1fr auto; }
  .final-cta-inner p { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { min-height: 70px; }
  .menu-toggle { display: block; position: relative; z-index: 102; cursor: pointer; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { position: fixed; inset: 0; z-index: 101; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 22px; padding: 84px 30px 40px; visibility: hidden; opacity: 0; background: var(--navy-2); transform: translateY(-12px); transition: opacity .25s, transform .25s, visibility .25s; }
  .main-nav.open { visibility: visible; opacity: 1; transform: translateY(0); }
  .main-nav > a { font-size: 30px; }
  .main-nav .nav-phone { margin-top: 18px; font-size: 22px; }
  .hero { min-height: 820px; height: auto; max-height: none; padding: 115px 0 75px; }
  .hero::before { inset: 56% -30% -20% 20%; transform: skewY(-6deg); }
  .hero-inner { grid-template-columns: 1fr; gap: 50px; padding-top: 0; }
  .hero h1 { font-size: clamp(48px, 15vw, 76px); }
  .hero-lead { margin-top: 24px; font-size: 17px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-address { margin-top: 28px; }
  .hero-visual { min-height: auto; padding-top: 34px; }
  .signal-card { top: 0; width: 190px; }
  .signal-card strong { font-size: 23px; }
  .visual-note { bottom: -16px; }
  .scroll-cue { display: none; }
  .section { padding: 82px 0; }
  .section-heading { margin-bottom: 38px; }
  .section-heading-row { display: block; }
  .section-heading-row > p { margin-top: 20px; }
  .approach-grid { grid-template-columns: 1fr; }
  .approach-card { min-height: 230px; padding: 28px 0; }
  .approach-card + .approach-card { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .approach-card h3 { margin-top: 55px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card, .service-card-featured { min-height: 200px; }
  .service-card h3, .service-card-featured h3 { margin-top: 45px; font-size: 24px; }
  .process-layout { grid-template-columns: 1fr; gap: 55px; }
  .process-intro { position: static; }
  .process-list li { grid-template-columns: 48px 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 10px; }
  .work-card, .work-card-wide, .work-card-portrait { grid-column: auto; aspect-ratio: 4 / 3; }
  .work-card-portrait { aspect-ratio: 4 / 5; }
  .portfolio-more { margin-top: 10px; padding: 22px 20px; }
  .contacts-card { grid-template-columns: 1fr; }
  .contacts-copy { padding: 38px 25px; }
  .contact-phone { font-size: 48px; }
  .map-card { min-height: 390px; }
  .final-cta-inner { display: block; }
  .final-cta h2 { margin: 12px 0 30px; }
  .footer-inner { grid-template-columns: 1fr auto; padding: 30px 0; }
  .footer-inner nav { display: none; }
}

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