:root {
  --ink: #07141f;
  --ink-soft: #112838;
  --paper: #f4f6f3;
  --white: #ffffff;
  --mint: #42d6ad;
  --blue: #3176df;
  --line: rgba(7, 20, 31, .13);
  --muted: #5e6b73;
  --shell: min(1180px, calc(100% - 48px));
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Manrope", sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 1000; left: 16px; top: -60px; padding: 12px 18px; background: var(--mint); color: var(--ink); border-radius: 8px; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 16px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(244, 246, 243, .92); backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); }
.nav-wrap { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; width: 138px; }
.brand img { width: 100%; height: auto; mix-blend-mode: multiply; }
.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a { font-size: .88rem; text-decoration: none; font-weight: 700; letter-spacing: -.01em; transition: color .2s; }
.main-nav a:hover { color: var(--blue); }
.main-nav .nav-cta { padding: 12px 20px; color: var(--white); background: var(--ink); border-radius: 999px; }
.main-nav .nav-cta:hover { color: var(--ink); background: var(--mint); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--ink); padding: 12px; cursor: pointer; }
.menu-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; background: var(--white); transition: transform .2s, opacity .2s; }

.hero { min-height: 820px; padding: 145px 0 88px; position: relative; overflow: hidden; background: radial-gradient(circle at 14% 4%, #fff 0, transparent 31%), var(--paper); }
.hero-grid { display: grid; grid-template-columns: 1.03fr .82fr; align-items: center; gap: clamp(50px, 8vw, 108px); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.hero-glow-one { width: 320px; height: 320px; top: 100px; right: -170px; background: rgba(66,214,173,.2); }
.hero-glow-two { width: 220px; height: 220px; bottom: -110px; left: 32%; background: rgba(49,118,223,.14); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: rgba(255,255,255,.68); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .18em; }
.eyebrow.dark { color: var(--muted); }
.eyebrow span { width: 26px; height: 2px; background: var(--mint); }
.hero .eyebrow { color: var(--muted); }
.hero h1, .section h2, .project-band h2, .contact h2 { margin: 0; font-size: clamp(3.25rem, 6vw, 6rem); line-height: .98; letter-spacing: -.065em; font-weight: 700; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-lead { max-width: 610px; margin: 30px 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 0 23px; border-radius: 999px; font-size: .88rem; font-weight: 800; text-decoration: none; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--ink); }
.button-primary:hover { color: var(--ink); background: var(--mint); }
.button-ghost { border: 1px solid var(--line); }
.button-ghost:hover { background: var(--white); }
.hero-meta { display: flex; gap: 34px; margin-top: 60px; }
.hero-meta div { display: flex; gap: 10px; align-items: flex-start; }
.hero-meta strong { color: var(--blue); font-size: .7rem; }
.hero-meta span { color: var(--muted); font-size: .72rem; font-weight: 700; line-height: 1.35; text-transform: uppercase; letter-spacing: .06em; }
.hero-visual { position: relative; }
.image-frame { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 170px 170px 12px 12px; box-shadow: 0 30px 80px rgba(7,20,31,.18); }
.image-frame img { width: 100%; height: 100%; object-fit: cover; }
.image-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; border: 1px solid rgba(255,255,255,.22); border-radius: inherit; }
.floating-card { position: absolute; padding: 14px 18px; background: rgba(255,255,255,.91); border: 1px solid rgba(255,255,255,.8); backdrop-filter: blur(14px); box-shadow: 0 16px 40px rgba(7,20,31,.15); border-radius: 14px; font-size: .76rem; font-weight: 700; }
.floating-top { top: 16%; left: -48px; }
.floating-bottom { right: -30px; bottom: 10%; display: grid; }
.floating-bottom span { color: var(--muted); font-size: .66rem; font-weight: 500; }
.status-dot { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(66,214,173,.18); }

.ticker { overflow: hidden; padding: 21px 0; color: var(--white); background: var(--ink); }
.ticker-track { width: max-content; display: flex; align-items: center; white-space: nowrap; animation: ticker 28s linear infinite; }
.ticker-group { flex: 0 0 max(100vw, 760px); display: flex; align-items: center; justify-content: space-around; gap: 30px; padding: 0 30px; }
.ticker span { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ticker i { color: var(--mint); font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section { padding: 125px 0; }
.section-heading { display: grid; grid-template-columns: 1.1fr .72fr; align-items: end; gap: 80px; margin-bottom: 60px; }
.section-heading h2, .about h2 { font-size: clamp(2.7rem, 5vw, 4.8rem); }
.section-heading > p { margin: 0 0 4px; color: var(--muted); font-size: 1rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { overflow: hidden; background: var(--white); border: 1px solid rgba(7,20,31,.07); border-radius: var(--radius); transition: transform .3s, box-shadow .3s; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(7,20,31,.1); }
.service-image { aspect-ratio: 1.16; overflow: hidden; background: #dfe5e6; }
.service-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.service-card:hover img { transform: scale(1.04); }
.service-body { padding: 28px; }
.service-number { width: 36px; height: 36px; display: grid; place-items: center; margin-bottom: 32px; border: 1px solid var(--line); border-radius: 50%; color: var(--blue); font-size: .72rem; font-weight: 800; }
.service-body h3 { margin: 0; font-size: 1.55rem; letter-spacing: -.04em; }
.service-body p { min-height: 78px; margin: 14px 0 24px; color: var(--muted); font-size: .9rem; }
.service-body a, .service-link, .text-link { color: var(--ink); font-size: .82rem; font-weight: 800; text-decoration: none; }
.service-link { padding: 0 0 5px; border: 0; border-bottom: 1px solid var(--line); background: none; font-family: inherit; cursor: pointer; }
.service-body a span, .service-link span, .text-link span { margin-left: 8px; color: var(--blue); }
.service-link:hover { color: var(--blue); }

.method { color: var(--white); background: var(--ink); }
.method-grid { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(70px, 10vw, 150px); align-items: start; }
.method h2 { font-size: clamp(2.8rem, 5vw, 5rem); }
.method-copy > p:not(.eyebrow) { max-width: 440px; margin: 30px 0; color: rgba(255,255,255,.62); }
.method .text-link { color: var(--white); border-bottom: 1px solid rgba(255,255,255,.25); padding-bottom: 8px; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 54px 1fr; gap: 16px; padding: 27px 0; border-top: 1px solid rgba(255,255,255,.14); }
.steps li:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.steps > li > span { color: var(--mint); font-size: .7rem; font-weight: 800; }
.steps h3 { margin: -5px 0 6px; font-size: 1.2rem; }
.steps p { margin: 0; color: rgba(255,255,255,.56); font-size: .88rem; }

.about-grid { display: grid; grid-template-columns: .82fr 1fr; gap: clamp(60px, 10vw, 140px); align-items: center; }
.about-image { position: relative; }
.about-image > img { width: 100%; aspect-ratio: .88; object-fit: cover; object-position: center; border-radius: var(--radius); }
.image-label { position: absolute; right: -40px; bottom: 38px; display: grid; padding: 20px 26px; color: var(--white); background: var(--blue); border-radius: 15px; transform: rotate(-2deg); }
.image-label span { font-size: .72rem; }
.image-label strong { font-size: 1rem; }
.about-lead { margin: 30px 0 18px; font-size: 1.18rem; font-weight: 600; letter-spacing: -.02em; }
.about-copy > p:not(.eyebrow):not(.about-lead) { color: var(--muted); }
.signature { display: grid; margin-top: 35px; padding-top: 24px; border-top: 1px solid var(--line); }
.signature strong { font-size: .9rem; }
.signature span { color: var(--muted); font-size: .75rem; }

.project-band { padding: 90px 0; color: var(--white); background: var(--blue); }
.project-grid { display: grid; grid-template-columns: .78fr 1fr; gap: clamp(60px, 8vw, 110px); align-items: center; }
.project-band h2 { font-size: clamp(3rem, 5vw, 5rem); }
.project-copy > p:not(.eyebrow) { max-width: 490px; margin-top: 28px; color: rgba(255,255,255,.75); }
.project-image { position: relative; }
.project-image > img { width: 100%; aspect-ratio: 1.45; object-fit: cover; border-radius: var(--radius); box-shadow: 0 25px 70px rgba(4,31,67,.28); }
.project-note { position: absolute; right: 24px; bottom: 24px; display: grid; padding: 14px 18px; color: var(--ink); background: rgba(255,255,255,.92); border-radius: 12px; backdrop-filter: blur(10px); }
.project-note strong { font-size: .78rem; }
.project-note span { color: var(--muted); font-size: .66rem; }

.contact { padding-bottom: 70px; }
.contact-panel { display: grid; grid-template-columns: 1.2fr .62fr; gap: 80px; padding: clamp(38px, 7vw, 84px); color: var(--white); background: var(--ink); border-radius: 34px; overflow: hidden; position: relative; }
.contact-panel::after { content: ""; position: absolute; width: 300px; height: 300px; right: -160px; bottom: -160px; border: 1px solid rgba(66,214,173,.35); border-radius: 50%; box-shadow: 0 0 0 50px rgba(66,214,173,.03), 0 0 0 100px rgba(66,214,173,.02); }
.contact h2 { font-size: clamp(3rem, 5.3vw, 5.4rem); }
.contact-main > p:not(.eyebrow) { max-width: 580px; color: rgba(255,255,255,.62); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button-light { color: var(--ink); background: var(--mint); }
.button-outline { border: 1px solid rgba(255,255,255,.24); }
.button-outline:hover { color: var(--ink); background: var(--white); }
.contact-details { align-self: end; display: grid; gap: 28px; position: relative; z-index: 2; }
.contact-details div { padding-top: 16px; border-top: 1px solid rgba(255,255,255,.16); }
.contact-details span { display: block; margin-bottom: 8px; color: var(--mint); font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.contact-details p, .contact-details a { margin: 0; color: rgba(255,255,255,.82); font-size: .85rem; text-decoration: none; }
.contact-details a:hover { color: var(--mint); }

.site-footer { padding: 35px 0 45px; }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; padding-top: 30px; border-top: 1px solid var(--line); }
.footer-brand { width: 115px; }
.footer-brand img { mix-blend-mode: multiply; }
.footer-grid p { margin: 0; color: var(--muted); font-size: .7rem; }
.footer-grid p:nth-child(2) { text-align: center; }

.service-dialog { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; color: var(--ink); background: var(--paper); overflow-y: auto; }
.service-dialog::backdrop { background: rgba(7,20,31,.55); backdrop-filter: blur(6px); }
.service-dialog[open] { animation: dialog-in .35s ease both; }
.dialog-shell { width: var(--shell); margin: auto; padding: 26px 0 70px; }
.dialog-header { position: sticky; top: 0; z-index: 4; display: flex; align-items: center; justify-content: space-between; padding: 10px 0 20px; background: linear-gradient(var(--paper) 75%, transparent); }
.dialog-brand { width: 110px; }
.dialog-brand img { width: 100%; mix-blend-mode: multiply; }
.dialog-close { display: flex; align-items: center; gap: 10px; padding: 9px 16px 9px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: rgba(255,255,255,.8); font: 700 .74rem/1 "Manrope", sans-serif; cursor: pointer; transition: transform .22s ease, border-color .22s ease, background .22s ease; }
.dialog-close:hover { transform: translateX(-3px); border-color: rgba(66,214,173,.5); }
.dialog-close span { width: 30px; height: 30px; display: grid; place-items: center; color: var(--white); background: var(--ink); border-radius: 50%; font-size: 1rem; font-weight: 600; transition: transform .22s ease; }
.dialog-close:hover span { transform: translateX(-2px); }
.dialog-intro { max-width: 900px; padding: 75px 0 60px; }
.dialog-intro h2 { margin: 5px 0 24px; font-size: clamp(3.4rem, 7vw, 6.8rem); line-height: .94; letter-spacing: -.065em; }
.dialog-intro > p:last-child { max-width: 700px; margin: 0; color: var(--muted); font-size: 1.05rem; }
.dialog-kicker { margin: 0; color: var(--blue); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.dialog-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.detail-card { overflow: hidden; background: var(--white); border-radius: var(--radius); }
.detail-card:nth-child(2) { transform: translateY(42px); }
.detail-card img { width: 100%; aspect-ratio: 1.15; object-fit: cover; background: #dfe5e6; }
.detail-card-copy { padding: 26px; }
.detail-card-copy span { display: block; margin-bottom: 18px; color: var(--blue); font-size: .65rem; font-weight: 800; letter-spacing: .12em; }
.detail-card h3 { margin: 0 0 12px; font-size: 1.25rem; letter-spacing: -.035em; }
.detail-card p { margin: 0; color: var(--muted); font-size: .84rem; }
.dialog-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 105px; padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dialog-cta > div { display: grid; }
.dialog-cta strong { font-size: 1.2rem; }
.dialog-cta div span { color: var(--muted); font-size: .8rem; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(14px); } }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  :root { --shell: min(100% - 32px, 720px); }
  .menu-toggle { display: block; position: relative; z-index: 3; }
  .main-nav { position: fixed; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 24px; background: var(--paper); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .25s; }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .main-nav a { font-size: 1.5rem; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .hero { min-height: auto; padding-bottom: 72px; }
  .hero-grid, .section-heading, .method-grid, .about-grid, .project-grid, .contact-panel { grid-template-columns: 1fr; }
  .hero-visual { width: min(520px, 90%); margin: 10px auto 0; }
  .floating-top { left: -20px; }
  .floating-bottom { right: -20px; }
  .section-heading { gap: 24px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { display: grid; grid-template-columns: .85fr 1fr; }
  .service-image { aspect-ratio: auto; }
  .service-body p { min-height: auto; }
  .method-grid, .project-grid { gap: 60px; }
  .about-grid { gap: 70px; }
  .about-image { width: min(510px, 90%); }
  .contact-panel { gap: 60px; }
  .contact-details { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: auto 1fr; }
  .footer-grid p:nth-child(2) { text-align: right; }
  .footer-grid p:last-child { grid-column: 1 / -1; text-align: center; }
  .dialog-gallery { grid-template-columns: 1fr; }
  .detail-card { display: grid; grid-template-columns: .85fr 1fr; }
  .detail-card:nth-child(2) { transform: none; }
  .detail-card img { height: 100%; aspect-ratio: auto; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 32px); --radius: 20px; }
  .nav-wrap { min-height: 72px; }
  .brand { width: 112px; }
  .hero { padding-top: 115px; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.4rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions .button { width: 100%; }
  .hero-meta { gap: 16px; justify-content: space-between; }
  .hero-meta div { display: grid; gap: 3px; }
  .hero-visual { width: 96%; }
  .image-frame { border-radius: 110px 110px 12px 12px; }
  .floating-card { padding: 10px 12px; }
  .floating-top { top: 13%; left: -8px; }
  .floating-bottom { right: -8px; bottom: 6%; }
  .section { padding: 88px 0; }
  .section h2, .project-band h2, .contact h2 { font-size: clamp(2.6rem, 12vw, 4rem); }
  .service-card { display: block; }
  .service-image { aspect-ratio: 1.2; }
  .service-number { margin-bottom: 24px; }
  .method-grid, .project-grid { gap: 46px; }
  .steps li { grid-template-columns: 38px 1fr; }
  .about-image { width: 94%; }
  .image-label { right: -18px; bottom: 22px; }
  .project-band { padding: 78px 0; }
  .project-image > img { aspect-ratio: 1; }
  .project-note { right: 12px; bottom: 12px; }
  .contact { padding-bottom: 40px; }
  .contact-panel { gap: 45px; padding: 32px 24px; border-radius: 24px; }
  .contact-actions .button { width: 100%; }
  .contact-details { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { margin: auto; }
  .footer-grid p:nth-child(2) { text-align: center; }
  .dialog-intro { padding: 45px 0 38px; }
  .dialog-intro h2 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .detail-card { display: block; }
  .detail-card img { aspect-ratio: 1.15; }
  .dialog-cta { align-items: stretch; flex-direction: column; margin-top: 60px; }
  .dialog-cta .button { width: 100%; }
}

@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; }
}

/* Visual refresh: a darker, richer brand system */
:root {
  --ink: #06131d;
  --ink-soft: #0d2432;
  --paper: #081923;
  --white: #f7fbfa;
  --mint: #4de0b5;
  --blue: #5b8cff;
  --line: rgba(226, 246, 240, .15);
  --muted: #a8b9bd;
}

body { color: var(--white); background: var(--paper); }
.site-header { background: linear-gradient(to bottom, rgba(6,19,29,.82), transparent); }
.site-header.scrolled { background: rgba(6,19,29,.9); box-shadow: 0 1px 0 rgba(255,255,255,.1); }
.brand, .dialog-brand, .footer-brand { padding: 7px 10px; background: #fff; border-radius: 13px; }
.brand img, .dialog-brand img, .footer-brand img { mix-blend-mode: normal; }
.main-nav a { color: rgba(255,255,255,.68); }
.main-nav a:hover, .main-nav a.active { color: var(--white); }
.main-nav a.active:not(.nav-cta)::after { content: ""; display: block; height: 2px; margin-top: 4px; background: var(--mint); border-radius: 99px; }
.main-nav .nav-cta { color: var(--ink); background: var(--mint); }
.main-nav .nav-cta:hover { color: var(--white); background: var(--blue); }

.hero { color: var(--white); background: radial-gradient(circle at 78% 12%, rgba(77,224,181,.2), transparent 28%), radial-gradient(circle at 10% 8%, rgba(91,140,255,.18), transparent 26%), linear-gradient(145deg, #071824 0%, #0c2632 58%, #07141e 100%); }
.hero::after { content: ""; position: absolute; inset: 0; opacity: .24; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, black, transparent 80%); }
.hero-grid { position: relative; z-index: 1; }
.hero .eyebrow, .hero-lead, .hero-meta span { color: var(--muted); }
.hero h1 em { color: var(--mint); }
.button-primary { color: var(--ink); background: var(--mint); }
.button-primary:hover { color: var(--white); background: var(--blue); }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.22); }
.button-ghost:hover { color: var(--ink); background: var(--white); }
.hero-meta { padding: 20px 0; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
.hero-meta strong { color: var(--mint); }
.image-frame { border: 1px solid rgba(255,255,255,.15); box-shadow: 0 35px 90px rgba(0,0,0,.4); }
.floating-card { color: var(--ink); }

.ticker { color: var(--ink); background: var(--mint); }
.ticker i { color: var(--blue); }
.services { background: linear-gradient(180deg, #0a1d28 0%, #0d2633 100%); }
.section-heading h2 { color: var(--white); }
.section-heading > p { color: var(--muted); }
.eyebrow.dark { color: #7fa1a9; }
.service-card { color: var(--white); background: #102b38; border-color: rgba(255,255,255,.1); box-shadow: 0 20px 50px rgba(0,0,0,.16); }
.service-card:hover { box-shadow: 0 28px 70px rgba(0,0,0,.32); }
.service-image { background: #0b202b; }
.service-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,17,25,.35), transparent 60%); pointer-events: none; }
.service-image { position: relative; }
.service-number { color: var(--mint); border-color: rgba(255,255,255,.18); }
.service-body p { color: #afc0c3; }
.service-link { color: var(--white); border-color: rgba(255,255,255,.2); }
.service-link:hover, .service-link span { color: var(--mint); }

.method { background: linear-gradient(135deg, #142e65 0%, #0b2451 55%, #081923 100%); }
.method .eyebrow span { background: var(--mint); }
.steps li { border-color: rgba(255,255,255,.18); }
.steps li:last-child { border-color: rgba(255,255,255,.18); }

.about { color: var(--ink); background: #dcebe7; }
.about .eyebrow.dark { color: #557076; }
.about-copy > p:not(.eyebrow):not(.about-lead), .signature span { color: #536a70; }
.about-image > img { box-shadow: 0 30px 70px rgba(8,25,35,.2); }
.image-label { right: 22px; bottom: 22px; color: var(--ink); background: var(--mint); transform: none; }
.signature { border-color: rgba(7,20,31,.18); }

.project-band { background: linear-gradient(120deg, #2858c7, #163b8f); }
.project-image > img { border: 1px solid rgba(255,255,255,.2); }
.contact { background: #081923; }
.contact-panel { background: linear-gradient(135deg, #102f3b, #081923 72%); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 35px 90px rgba(0,0,0,.24); }

.site-footer { color: var(--white); background: #06131d; }
.footer-grid { border-color: rgba(255,255,255,.12); }
.footer-grid p { color: #91a6ab; }

.service-dialog { color: var(--white); background: #081923; }
.dialog-header { background: linear-gradient(#081923 75%, transparent); }
.dialog-close { color: var(--white); background: #102b38; border-color: rgba(255,255,255,.14); }
.dialog-close span { color: var(--ink); background: var(--mint); }
.dialog-kicker { color: var(--mint); }
.dialog-intro > p:last-child { color: var(--muted); }
.detail-card, .detail-card:nth-child(2) { color: var(--white); background: #102b38; transform: none; }
.detail-card-copy span { color: var(--mint); }
.detail-card p { color: #aabcc0; }
.dialog-cta { border-color: rgba(255,255,255,.14); }
.dialog-cta div span { color: var(--muted); }

.mobile-actions { display: none; }

@media (max-width: 980px) {
  .main-nav { background: #081923; }
  .main-nav a { color: var(--white); }
  .service-card { grid-template-columns: 1fr 1fr; }
  .detail-card { grid-template-columns: 1fr 1fr; }
  .detail-card img { min-height: 300px; }
}

@media (max-width: 620px) {
  body { padding-bottom: 72px; }
  .hero { padding-top: 105px; }
  .hero h1 { font-size: clamp(2.75rem, 13vw, 4rem); }
  .hero-meta { overflow-x: auto; justify-content: flex-start; gap: 28px; }
  .hero-meta div { min-width: 90px; }
  .service-card, .detail-card { display: block; }
  .detail-card img { min-height: 0; }
  .about-image { width: 100%; }
  .image-label { right: 12px; bottom: 12px; }
  .mobile-actions { position: fixed; z-index: 90; right: 10px; bottom: 10px; left: 10px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; padding: 8px; background: rgba(8,25,35,.93); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; backdrop-filter: blur(16px); box-shadow: 0 18px 40px rgba(0,0,0,.35); }
  .mobile-actions a { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--white); border-radius: 12px; font-size: .72rem; text-decoration: none; }
  .mobile-actions a:first-child { flex-direction: column; align-items: flex-start; padding: 4px 12px; line-height: 1.15; }
  .mobile-actions a:first-child span { color: var(--muted); font-size: .6rem; text-transform: uppercase; letter-spacing: .1em; }
  .mobile-actions a:last-child { padding: 0 18px; color: var(--ink); background: var(--mint); font-weight: 800; }
  .service-dialog[open] ~ .mobile-actions { display: none; }
}

/* Desktop composition: compact, aligned and protected from the sticky navigation */
@media (min-width: 981px) {
  html { scroll-padding-top: 104px; }
  section[id] { scroll-margin-top: 0; }
  .site-header { position: sticky; background: #06131d; box-shadow: 0 1px 0 rgba(255,255,255,.1); }
  .nav-wrap { min-height: 84px; }
  .hero { min-height: 710px; height: calc(100vh - 84px); max-height: 840px; padding: 52px 0 62px; display: flex; align-items: center; }
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(390px, .82fr); gap: clamp(70px, 7vw, 112px); }
  .hero h1 { font-size: clamp(4.25rem, 5.1vw, 5.75rem); }
  .hero-lead { margin-top: 24px; }
  .hero-actions { margin-top: 30px; }
  .hero-meta { margin-top: 38px; }
  .hero-visual { max-width: 510px; justify-self: end; }
  .image-frame { max-height: 580px; }
  .section { padding: 105px 0; }
  .section-heading { margin-bottom: 48px; }
  .service-image { aspect-ratio: 1.28; }
  .about-image > img { max-height: 650px; }
}

@media (min-width: 1500px) {
  :root { --shell: min(1240px, calc(100% - 96px)); }
  .hero { min-height: 720px; }
  .hero h1 { font-size: 5.75rem; }
}

/* Navigation depth and partner experience */
.site-header { position: fixed; }
.scroll-progress { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; overflow: hidden; background: rgba(255,255,255,.06); }
.scroll-progress span { width: 100%; height: 100%; display: block; background: linear-gradient(90deg, var(--mint), var(--blue)); transform: scaleX(0); transform-origin: left center; will-change: transform; }
.main-nav a { position: relative; }
.main-nav a:not(.nav-cta)::before { content: ""; position: absolute; right: 0; bottom: -7px; left: 0; height: 1px; background: var(--mint); transform: scaleX(0); transition: transform .25s ease; }
.main-nav a:not(.nav-cta):hover::before { transform: scaleX(1); }
.main-nav a.active:not(.nav-cta)::after { display: none; }
.main-nav a.active:not(.nav-cta)::before { transform: scaleX(1); }
.button span, .service-link span, .text-link span { transition: transform .2s ease; }
.button:hover span, .service-link:hover span, .text-link:hover span { transform: translate(2px, -1px); }
.service-card { position: relative; }
.service-card::before { content: ""; position: absolute; z-index: 2; top: 0; right: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--mint), var(--blue)); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.service-card:hover::before { transform: scaleX(1); }

.partners { padding: 112px 0 105px; overflow: hidden; color: var(--white); background: radial-gradient(circle at 10% 20%, rgba(77,224,181,.13), transparent 28%), linear-gradient(135deg, #071823, #102e3a); border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.partners-heading { display: grid; grid-template-columns: 1fr .65fr; align-items: end; gap: 90px; margin-bottom: 62px; }
.partners-heading h2 { margin: 0; font-size: clamp(3rem, 4.7vw, 4.8rem); line-height: .98; letter-spacing: -.06em; }
.partners-heading > p { margin: 0 0 7px; color: var(--muted); }
.logo-marquee { overflow: hidden; padding: 12px 0 24px; mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); }
.logo-track { width: max-content; display: flex; gap: 18px; padding-left: 18px; animation: partner-scroll 38s linear infinite; }
.logo-marquee:hover .logo-track, .logo-marquee:focus-within .logo-track { animation-play-state: paused; }
.logo-card { width: 220px; height: 126px; flex: 0 0 auto; display: grid; place-items: center; padding: 24px; overflow: hidden; background: #fff; border: 1px solid rgba(255,255,255,.7); border-radius: 20px; box-shadow: 0 16px 35px rgba(0,0,0,.18); transition: transform .25s ease, box-shadow .25s ease; }
.logo-card:hover { transform: translateY(-5px); box-shadow: 0 24px 48px rgba(0,0,0,.28); }
.logo-card img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .25s, opacity .25s, transform .25s; }
.logo-card:hover img { filter: none; opacity: 1; transform: scale(1.04); }
.partners-foot { display: flex; justify-content: space-between; margin-top: 30px; padding-top: 20px; color: #84a2a9; border-top: 1px solid rgba(255,255,255,.12); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
@keyframes partner-scroll { to { transform: translateX(calc(-50% - 9px)); } }

.back-to-top { position: fixed; z-index: 70; right: 26px; bottom: 26px; display: flex; align-items: center; gap: 9px; padding: 7px 13px 7px 7px; color: var(--white); background: rgba(8,25,35,.9); border: 1px solid rgba(255,255,255,.15); border-radius: 999px; backdrop-filter: blur(14px); opacity: 0; visibility: hidden; transform: translateY(12px); transition: .25s ease; cursor: pointer; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top span { width: 34px; height: 34px; display: grid; place-items: center; color: var(--ink); background: var(--mint); border-radius: 50%; font-size: 1rem; }
.back-to-top small { font: 700 .68rem/1 "Manrope", sans-serif; }

@media (min-width: 981px) {
  .site-header { position: sticky; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow, .hero-actions, .hero-meta { justify-content: center; }
  .hero-copy .hero-lead { margin-right: auto; margin-left: auto; }
  .hero-meta { text-align: left; }
}

@media (max-width: 980px) {
  .partners { padding: 88px 0; }
  .partners-heading { grid-template-columns: 1fr; gap: 22px; margin-bottom: 45px; }
  .logo-card { width: 190px; height: 110px; }
}

@media (max-width: 620px) {
  .partners { padding: 76px 0; }
  .partners-heading h2 { font-size: clamp(2.7rem, 12vw, 4rem); }
  .logo-card { width: 168px; height: 98px; padding: 18px; border-radius: 16px; }
  .partners-foot { align-items: flex-start; flex-direction: column; gap: 8px; }
  .back-to-top { display: none; }
}
