:root {
  --ink: #0b1320;
  --ink-soft: #172235;
  --yellow: #ffd43b;
  --yellow-deep: #f1bc00;
  --paper: #f4f6f8;
  --white: #ffffff;
  --muted: #667085;
  --line: #dfe4ea;
  --radius: 18px;
  --shadow: 0 24px 60px rgba(7, 16, 29, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 999; padding: 10px 16px; background: var(--yellow); }
.skip-link:focus { top: 12px; }

.site-header { position: absolute; z-index: 10; width: 100%; top: 0; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.14); }
.nav-wrap { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; line-height: 1; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; color: var(--ink); background: var(--yellow); font-size: 1.35rem; font-weight: 900; clip-path: polygon(0 0, 86% 0, 100% 32%, 100% 100%, 14% 100%, 0 68%); }
.brand-copy { display: grid; gap: 5px; }
.brand-copy strong { letter-spacing: .075em; font-size: 1.03rem; }
.brand-copy small { font-family: "Roboto Mono", monospace; font-size: .67rem; letter-spacing: .12em; opacity: .76; }
nav { display: flex; align-items: center; gap: 28px; font-size: .9rem; font-weight: 600; }
nav a { transition: color .2s ease; }
nav a:hover, nav a:focus-visible { color: var(--yellow); }
.nav-phone { padding: 11px 17px; border: 1px solid rgba(255,255,255,.35); border-radius: 8px; font-family: "Roboto Mono", monospace; }

.hero { min-height: 780px; display: grid; align-items: center; color: var(--white); background: var(--ink); overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .23; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(90deg,#000,transparent 78%); }
.hero::after { content: ""; position: absolute; width: 430px; height: 36px; background: var(--yellow); left: -90px; bottom: 42px; transform: skewX(-35deg); opacity: .95; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 70px; align-items: center; padding-top: 110px; }
.hero-copy { padding-block: 72px; }
.eyebrow { margin: 0 0 15px; font-family: "Roboto Mono", monospace; font-size: .78rem; line-height: 1.4; letter-spacing: .15em; text-transform: uppercase; font-weight: 600; color: var(--yellow-deep); }
.hero .eyebrow, .work .eyebrow { color: var(--yellow); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 730px; margin-bottom: 25px; font-size: clamp(2.65rem, 5.4vw, 5.1rem); line-height: .98; letter-spacing: -.055em; font-weight: 800; }
h1 span { color: var(--yellow); }
.hero-lead { max-width: 670px; margin-bottom: 32px; color: #cbd4df; font-size: 1.08rem; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; border-radius: 8px; font-weight: 800; line-height: 1.2; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--yellow); }
.button-primary:hover { background: #ffe16f; }
.button-secondary { color: var(--white); border: 1px solid rgba(255,255,255,.33); }
.button-secondary:hover { border-color: var(--white); }
.quick-points { display: flex; flex-wrap: wrap; gap: 22px; list-style: none; padding: 0; margin: 34px 0 0; color: #aeb9c8; font-family: "Roboto Mono", monospace; font-size: .75rem; text-transform: uppercase; letter-spacing: .09em; }
.quick-points li::before { content: "+"; color: var(--yellow); margin-right: 8px; }
.hero-visual { position: relative; height: 580px; margin-top: 48px; }
.hero-visual::before { content: ""; position: absolute; inset: -16px 30px 16px -16px; border: 1px solid rgba(255,212,59,.42); z-index: -1; }
.hero-visual img { height: 100%; object-fit: cover; filter: saturate(.88) contrast(1.04); }
.hero-badge { position: absolute; right: -20px; bottom: 30px; display: grid; min-width: 205px; padding: 18px 22px; color: var(--ink); background: var(--yellow); box-shadow: var(--shadow); }
.hero-badge strong { font-size: 1.12rem; }
.hero-badge span { font-size: .82rem; }

.section { padding: 110px 0; }
.section-heading { display: grid; grid-template-columns: 1fr .65fr; gap: 60px; align-items: end; margin-bottom: 48px; }
.section-heading h2, .about h2, .cta-box h2 { margin-bottom: 0; font-size: clamp(2.15rem, 4vw, 3.55rem); line-height: 1.07; letter-spacing: -.045em; }
.section-heading > p { margin-bottom: 3px; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.service-card { position: relative; min-height: 330px; padding: 33px 28px; background: var(--white); border-right: 1px solid var(--line); overflow: hidden; }
.service-card:last-child { border-right: 0; }
.service-card::after { content: ""; position: absolute; height: 5px; inset: auto 0 0; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.service-card:hover::after { transform: scaleX(1); }
.service-featured { background: var(--yellow); }
.service-featured::after { background: var(--ink); transform: scaleX(1); }
.service-number { position: absolute; right: 22px; top: 21px; font-family: "Roboto Mono", monospace; color: #9aa3af; font-size: .78rem; }
.service-featured .service-number { color: rgba(11,19,32,.55); }
.service-icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 45px; border: 1px solid var(--line); border-radius: 50%; font-size: 1.7rem; font-weight: 800; }
.service-featured .service-icon { border-color: rgba(11,19,32,.35); }
.service-card h3 { margin-bottom: 14px; font-size: 1.2rem; line-height: 1.3; }
.service-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.service-featured p { color: rgba(11,19,32,.72); }

.work { color: var(--white); background: var(--ink-soft); }
.section-heading.light > p { color: #9eabbc; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 280px; gap: 14px; }
.work-grid figure { position: relative; margin: 0; overflow: hidden; background: #202d40; }
.work-grid .work-main { grid-column: span 2; grid-row: span 2; }
.work-grid img { height: 100%; object-fit: cover; transition: transform .45s ease, filter .45s ease; }
.work-grid figure:hover img { transform: scale(1.035); filter: brightness(.76); }
.work-grid figcaption { position: absolute; inset: auto 0 0; display: grid; padding: 46px 22px 18px; background: linear-gradient(transparent, rgba(5,11,19,.9)); }
.work-grid figcaption strong { font-size: .96rem; }
.work-grid figcaption span { color: #bdc6d2; font-size: .78rem; }

.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: center; }
.about-image { height: 590px; position: relative; box-shadow: var(--shadow); }
.about-image::after { content: ""; position: absolute; width: 95px; height: 95px; right: -18px; top: -18px; background: repeating-linear-gradient(135deg,var(--yellow) 0 7px,transparent 7px 14px); z-index: -1; }
.about-image img { height: 100%; object-fit: cover; }
.about-copy > p:not(.eyebrow) { max-width: 650px; margin: 25px 0 34px; color: var(--muted); font-size: 1.03rem; }
.process { display: grid; gap: 0; border-top: 1px solid #ccd3da; }
.process > div { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; padding: 20px 0; border-bottom: 1px solid #ccd3da; }
.process span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--yellow); font-family: "Roboto Mono", monospace; font-size: .8rem; }
.process p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.process strong { display: block; margin-bottom: 3px; color: var(--ink); font-size: 1rem; }

.cta-section { padding: 85px 0; background: var(--yellow); }
.cta-box { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: center; }
.cta-box .eyebrow { color: rgba(11,19,32,.62); }
.cta-box > div > p:last-child { margin: 19px 0 0; color: rgba(11,19,32,.72); }
.cta-contact { display: grid; justify-items: start; gap: 14px; padding-left: 45px; border-left: 1px solid rgba(11,19,32,.25); }
.cta-phone { display: grid; font-family: "Roboto Mono", monospace; font-size: 1.55rem; line-height: 1.3; font-weight: 600; }
.cta-phone small { font-family: "Manrope", sans-serif; text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; opacity: .65; }
.button-dark { color: var(--white); background: var(--ink); }
.button-dark:hover { background: #1d2a3c; }
.email-link { border-bottom: 1px solid rgba(11,19,32,.45); font-size: .9rem; }

footer { padding: 46px 0; color: #b4bdc9; background: #070d16; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; align-items: center; font-size: .82rem; }
.brand-footer { color: var(--white); }
.footer-grid p { margin: 0; line-height: 1.65; }
.copyright { text-align: right; }
.mobile-contact { display: none; }

@media (max-width: 980px) {
  nav a:not(.nav-phone) { display: none; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr .72fr; gap: 35px; }
  .hero-visual { height: 510px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card:nth-child(2) { border-right: 0; }
  .service-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .about-grid { gap: 45px; }
  .about-image { height: 520px; }
}

@media (max-width: 720px) {
  body { padding-bottom: 62px; }
  .container { width: min(100% - 28px, 1160px); }
  .site-header { position: absolute; }
  .nav-wrap { height: 74px; }
  nav { display: none; }
  .brand-mark { width: 38px; height: 38px; }
  .hero-grid { display: flex; flex-direction: column; gap: 0; padding-top: 95px; }
  .hero-copy { padding: 54px 0 40px; }
  h1 { font-size: clamp(2.7rem, 13vw, 4rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .quick-points { gap: 12px 18px; margin-top: 25px; }
  .hero-visual { width: 100%; height: 410px; margin: 0 0 65px; }
  .hero-badge { right: -7px; bottom: -18px; }
  .hero::after { bottom: 20px; height: 22px; }
  .section { padding: 76px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 32px; }
  .section-heading h2, .about h2, .cta-box h2 { font-size: 2.25rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 290px; border-right: 0; border-bottom: 1px solid var(--line); }
  .service-card:last-child { border-bottom: 0; }
  .service-icon { margin-bottom: 35px; }
  .work-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 250px; }
  .work-grid .work-main { grid-column: span 2; grid-row: auto; }
  .work-grid figure:last-child { grid-column: span 2; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-image { height: 440px; }
  .about-copy { order: -1; }
  .cta-box { grid-template-columns: 1fr; gap: 38px; }
  .cta-contact { padding: 30px 0 0; border-left: 0; border-top: 1px solid rgba(11,19,32,.25); }
  .footer-grid { grid-template-columns: 1fr; }
  .copyright { text-align: left; }
  .mobile-contact { position: fixed; z-index: 20; inset: auto 0 0; height: 62px; display: grid; grid-template-columns: 1fr 1fr; box-shadow: 0 -8px 24px rgba(5,11,19,.16); }
  .mobile-contact a { display: grid; place-items: center; font-weight: 800; color: var(--white); background: var(--ink); }
  .mobile-contact a:last-child { color: var(--ink); background: var(--yellow); }
}

@media (max-width: 440px) {
  .work-grid { display: grid; grid-template-columns: 1fr; grid-auto-rows: 250px; }
  .work-grid .work-main, .work-grid figure:last-child { grid-column: auto; }
  .cta-phone { font-size: 1.35rem; }
}

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