:root {
  --ink: #0b1531;
  --navy: #101b3d;
  --blue: #315ee8;
  --blue-2: #438dec;
  --cyan: #57c6dc;
  --paper: #f7f9fd;
  --white: #ffffff;
  --line: #dfe5ef;
  --muted: #5d6980;
  --soft: #eaf0fb;
  --success: #15947a;
  --max: 1240px;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(11, 21, 49, .12);
  --font: "Manrope", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 200; }
.skip-link:focus { top: 12px; }

h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(3.1rem, 6.2vw, 6.15rem); font-weight: 650; }
h2 { font-size: clamp(2.25rem, 4vw, 4.1rem); font-weight: 620; }
h3 { font-size: 1.22rem; font-weight: 700; }
p { color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--blue); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 690px; }
.kicker { font-size: .82rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--blue); }
.section { padding: 112px 0; }
.section-soft { background: var(--paper); border-block: 1px solid #eef1f7; }
.section-dark { background: var(--navy); color: white; }
.section-dark p { color: #aeb9d1; }
.section-head { display: grid; grid-template-columns: 1fr minmax(280px, 510px); align-items: end; gap: 48px; margin-bottom: 58px; }
.section-head.single { display: block; max-width: 760px; }
.section-head.single .lead { margin-top: 22px; }
.section-head h2 { max-width: 800px; }
.section-rule { border-top: 1px solid var(--line); }

.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(223,229,239,.85); backdrop-filter: blur(18px); }
.nav-inner { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 1.1rem; font-weight: 800; letter-spacing: -.03em; }
.brand-mark { width: 35px; height: 35px; display: grid; place-items: center; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand:hover .brand-mark img { animation: mark-pulse .7s cubic-bezier(.2,.8,.2,1); }
@keyframes mark-pulse { 0%,100% { transform: scale(1) rotate(0); } 38% { transform: scale(.88) rotate(-7deg); } 68% { transform: scale(1.08) rotate(4deg); } }
.nav-links { list-style: none; display: flex; align-items: center; gap: 34px; }
.nav-links a { color: #4e5a70; font-size: .88rem; font-weight: 650; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -29px; height: 2px; background: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; border: 0; background: transparent; color: var(--ink); font-size: 1.5rem; cursor: pointer; }

.btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 21px; border-radius: 10px; border: 1px solid transparent; font-weight: 750; font-size: .88rem; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: var(--blue); box-shadow: 0 12px 28px rgba(49,94,232,.22); }
.btn-primary:hover { background: #244fd7; box-shadow: 0 16px 34px rgba(49,94,232,.3); }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-light:hover { border-color: #aebbd0; }
.btn-dark { background: var(--ink); color: white; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-size: .9rem; font-weight: 800; }
.text-link:hover { gap: 13px; }

.hero { position: relative; overflow: hidden; padding: 58px 0 64px; }
.hero::before { content: ""; position: absolute; width: 620px; height: 620px; right: -280px; top: -230px; border-radius: 50%; background: radial-gradient(circle, rgba(87,198,220,.16), transparent 68%); }
.hero-stage { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr); gap: 58px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { max-width: 780px; font-size: clamp(3rem, 5.2vw, 5.35rem); }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-copy > .lead { margin-top: 26px; max-width: 650px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-aside { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 38px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.hero-metric strong { display: block; font-size: 1.55rem; letter-spacing: -.04em; }
.hero-metric span { color: var(--muted); font-size: .82rem; }
.hero-particles { position: relative; min-height: 620px; overflow: hidden; background: transparent; isolation: isolate; cursor: crosshair; }
.hero-particles::before, .particle-aurora { display: none; }
#logoParticleCanvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.particle-fallback { position: absolute; z-index: 1; left: 50%; top: 50%; width: 70%; height: 70%; object-fit: contain; translate: -50% -50%; filter: drop-shadow(0 22px 34px rgba(49,94,232,.18)); transition: opacity .25s ease; }
.hero-particles.is-live .particle-fallback { opacity: 0; }

.trust-strip { padding: 26px 0; border-bottom: 1px solid var(--line); }
.trust-inner { display: flex; align-items: center; gap: 38px; }
.trust-label { flex: 0 0 auto; font-size: .72rem; font-weight: 800; color: #8994a8; letter-spacing: .12em; text-transform: uppercase; }
.trust-list { display: flex; flex-wrap: wrap; gap: 12px 32px; color: #445168; font-size: .9rem; font-weight: 700; }

.photo-ribbon { width: min(1500px, calc(100% - 48px)); margin: 40px auto 0; display: grid; grid-template-columns: 1.18fr .82fr .82fr; gap: 14px; }
.photo-ribbon-card { position: relative; min-height: 290px; overflow: hidden; border-radius: 18px; background: var(--soft); }
.photo-ribbon-card.wide { min-height: 360px; }
.photo-ribbon-card img { width: 100%; height: 100%; object-fit: cover; }
.photo-ribbon-card.wide img { object-position: center 35%; }
.photo-ribbon-card::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(8,18,42,.72)); }
.photo-ribbon-card figcaption { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 18px; color: #fff; font-size: .82rem; }
.photo-ribbon-card figcaption span { display: block; margin-bottom: 3px; color: #9ce0ee; font-size: .66rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service-card { min-height: 300px; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; }
.service-card:nth-child(3n) { border-right: 0; }
.service-card:nth-last-child(-n+3) { border-bottom: 0; }
.service-card:hover { background: #fbfcff; }
.service-no { font-size: .72rem; color: var(--blue); font-weight: 850; letter-spacing: .14em; }
.service-card h3 { font-size: 1.45rem; margin: 54px 0 13px; }
.service-card p { font-size: .93rem; }
.service-card .text-link { margin-top: auto; padding-top: 28px; }

.split { display: grid; grid-template-columns: .92fr 1.08fr; gap: 80px; align-items: center; }
.split.reverse { grid-template-columns: 1.08fr .92fr; }
.split-copy h2 { margin-bottom: 24px; }
.split-copy > p { margin-bottom: 28px; }
.image-frame { position: relative; }
.image-frame > img { width: 100%; height: 580px; object-fit: cover; border-radius: var(--radius); }
.image-frame.landscape > img { height: 500px; }
.image-note { position: absolute; right: -22px; bottom: 28px; max-width: 250px; padding: 21px; border-radius: 14px; color: #fff; background: var(--blue); box-shadow: var(--shadow); }
.image-note strong { font-size: 1.65rem; display: block; line-height: 1.2; }
.image-note span { font-size: .8rem; opacity: .8; }
.check-list { list-style: none; display: grid; gap: 15px; }
.check-list li { position: relative; padding-left: 31px; color: #36435a; font-size: .94rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 21px; height: 21px; border-radius: 50%; background: #e8f7f3; color: var(--success); display: grid; place-items: center; font-size: .72rem; font-weight: 900; }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.process-item { padding: 0 30px; border-left: 1px solid rgba(255,255,255,.16); }
.process-item:first-child { padding-left: 0; border-left: 0; }
.process-no { color: #75cfe1; font-size: .74rem; font-weight: 800; letter-spacing: .15em; }
.process-item h3 { margin: 52px 0 13px; color: #fff; }
.process-item p { font-size: .9rem; }

.work-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; }
.work-card { position: relative; min-height: 420px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; background: var(--ink); color: #fff; }
.work-card.featured { grid-row: span 2; min-height: 760px; }
.work-card .work-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.work-card:hover .work-image { transform: scale(1.035); }
.work-card .work-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,18,42,.08) 24%, rgba(8,18,42,.92) 100%); }
.work-card > *:not(.work-image):not(.work-shade) { position: relative; }
.work-card .tag { align-self: flex-start; margin-bottom: auto; border: 1px solid currentColor; border-radius: 999px; padding: 6px 11px; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.work-card h3 { font-size: clamp(1.6rem, 3vw, 2.7rem); margin-bottom: 16px; }
.work-card p { color: #d5deed; max-width: 520px; }

.roles { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 35px; }
.role { border: 1px solid var(--line); border-radius: 999px; padding: 9px 15px; color: #526077; font-size: .83rem; font-weight: 650; background: white; }
.cta { position: relative; overflow: hidden; background: var(--blue); color: #fff; border-radius: 28px; padding: 72px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 42px; }
.cta::after { content: ""; position: absolute; width: 430px; height: 430px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; right: -150px; top: -270px; box-shadow: 0 0 0 70px rgba(255,255,255,.04); }
.cta > * { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(2.2rem, 4.5vw, 4.4rem); max-width: 760px; }
.cta p { color: rgba(255,255,255,.78); max-width: 620px; margin-top: 18px; }
.cta .btn { background: #fff; color: var(--ink); min-width: 180px; }

.page-hero { padding: 90px 0 72px; background: var(--paper); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 75px; }
.page-hero h1 { font-size: clamp(3rem, 5.5vw, 5.7rem); }
.page-hero .lead { margin-top: 26px; }
.page-hero img { width: 100%; height: 430px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.page-intro { max-width: 900px; }

.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.detail-card { border: 1px solid var(--line); border-radius: 18px; padding: 34px; background: #fff; }
.detail-card h3 { font-size: 1.45rem; margin: 35px 0 14px; }
.detail-card ul { margin-top: 22px; list-style: none; display: grid; gap: 8px; color: #4f5c72; font-size: .9rem; }
.detail-card li::before { content: "—"; color: var(--blue); margin-right: 10px; }
.model-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.model-card { padding: 28px; border-radius: 18px; border: 1px solid var(--line); background: white; }
.model-card strong { display: block; color: var(--blue); margin-bottom: 26px; font-size: .82rem; }
.model-card h3 { margin-bottom: 12px; }
.model-card p { font-size: .88rem; }

.gallery { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: 270px 270px; gap: 18px; }
.gallery figure { overflow: hidden; border-radius: 18px; position: relative; }
.gallery figure:first-child { grid-row: 1 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; left: 15px; bottom: 15px; color: #fff; background: rgba(11,21,49,.82); padding: 7px 11px; border-radius: 7px; font-size: .72rem; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value { padding: 33px; border: 1px solid var(--line); border-radius: 18px; }
.value .service-no { display: block; margin-bottom: 50px; }
.value h3 { margin-bottom: 12px; }

.contact-layout { display: grid; grid-template-columns: 1.08fr .92fr; gap: 70px; align-items: start; }
.form-shell { padding: 40px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 20px 60px rgba(11,21,49,.08); }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; margin-bottom: 7px; color: #3f4c62; font-size: .78rem; font-weight: 750; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid #ced7e6; border-radius: 9px; background: #fbfcfe; color: var(--ink); padding: 13px 14px; font-size: .92rem; }
.custom-select { position: relative; }
.select-btn { width: 100%; min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid #ced7e6; border-radius: 9px; background: #fbfcfe; color: var(--ink); padding: 13px 18px 13px 14px; font: inherit; font-size: .92rem; text-align: left; cursor: pointer; }
.select-btn:hover { border-color: #aebbd0; }
.select-btn:focus-visible, .custom-select.open .select-btn { outline: 3px solid rgba(49,94,232,.12); border-color: var(--blue); }
.select-chevron { flex: 0 0 auto; width: 8px; height: 8px; border-right: 2px solid #526077; border-bottom: 2px solid #526077; transform: translateY(-2px) rotate(45deg); transition: transform .2s, border-color .2s; }
.custom-select.open .select-chevron { border-color: var(--blue); transform: translateY(2px) rotate(225deg); }
.select-menu { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 8px); display: grid; gap: 3px; max-height: 290px; overflow-y: auto; margin: 0; padding: 7px; list-style: none; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 22px 52px rgba(11,21,49,.16); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .16s ease, transform .16s ease, visibility .16s; }
.custom-select.open .select-menu { opacity: 1; visibility: visible; transform: none; }
.select-menu li { padding: 11px 12px; border-radius: 8px; color: #445168; font-size: .88rem; cursor: pointer; outline: none; }
.select-menu li:hover, .select-menu li:focus-visible { background: #f0f4ff; color: var(--blue); }
.select-menu li.selected { background: #e9efff; color: var(--blue); font-weight: 750; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid rgba(49,94,232,.12); border-color: var(--blue); }
.form-note { font-size: .8rem; }
.contact-panel { background: var(--navy); color: #fff; padding: 40px; border-radius: var(--radius); }
.contact-panel > p { color: #aeb9d1; margin: 15px 0 34px; }
.contact-list { display: grid; gap: 0; }
.contact-item { padding: 20px 0; border-top: 1px solid rgba(255,255,255,.13); }
.contact-item span { display: block; color: #8e9ab3; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }
.contact-item a, .contact-item address { color: white; font-size: .95rem; font-style: normal; }
.contact-photo { margin-top: 20px; height: 220px; width: 100%; object-fit: cover; border-radius: 14px; opacity: .9; }

.footer { background: #091229; color: #fff; padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.55fr 1fr 1fr 1fr; gap: 45px; }
.footer .brand-mark { background: #fff; border-radius: 8px; padding: 4px; }
.footer-about p { color: #919db4; max-width: 330px; font-size: .88rem; margin-top: 20px; }
.footer h4 { font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; color: #77849e; margin-bottom: 19px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer li, .footer a { color: #b7c1d3; font-size: .86rem; }
.footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 55px; padding-top: 23px; display: flex; justify-content: space-between; color: #6f7c95; font-size: .78rem; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } .work-card .work-image { transition: none; } }

@media (max-width: 980px) {
  .nav-links { position: fixed; inset: 80px 0 auto; background: #fff; border-bottom: 1px solid var(--line); padding: 24px; display: none; flex-direction: column; align-items: flex-start; }
  .nav-links.open { display: flex; }
  .nav-links a.active::after { display: none; }
  .nav-toggle { display: block; }
  .nav-actions .btn-light { display: none; }
  .hero-stage, .page-hero-grid, .split, .split.reverse, .contact-layout, .section-head { grid-template-columns: 1fr; }
  .hero-stage { gap: 40px; }
  .hero-copy { max-width: 820px; }
  .hero-particles { min-height: 540px; }
  .section-head { gap: 20px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(3n) { border-right: 1px solid var(--line); }
  .service-card:nth-child(2n) { border-right: 0; }
  .service-card:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .service-card:nth-last-child(-n+2) { border-bottom: 0; }
  .process, .model-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 0; }
  .process-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card.featured { grid-row: auto; min-height: 530px; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .photo-ribbon { grid-template-columns: 1fr 1fr; }
  .photo-ribbon-card.wide { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2; }
}

@media (max-width: 660px) {
  .container { width: min(100% - 32px, var(--max)); }
  .nav-inner { height: 70px; }
  .nav-links { top: 70px; }
  .nav-actions .btn-primary { display: none; }
  .hero { padding-top: 60px; }
  .hero h1, .page-hero h1 { font-size: clamp(2.65rem, 13vw, 4.2rem); }
  .hero-aside { grid-template-columns: 1fr 1fr; }
  .hero-particles { min-height: 440px; }
  .hero-particles::before { inset: 2%; }
  .trust-inner { align-items: flex-start; flex-direction: column; gap: 15px; }
  .section { padding: 78px 0; }
  .service-grid, .detail-grid, .model-grid, .values-grid, .form-row { grid-template-columns: 1fr; }
  .photo-ribbon { width: calc(100% - 24px); grid-template-columns: 1fr; }
  .photo-ribbon-card, .photo-ribbon-card.wide { grid-column: auto; min-height: 290px; }
  .service-card { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .service-card:last-child { border-bottom: 0 !important; }
  .split { gap: 45px; }
  .image-frame > img, .image-frame.landscape > img { height: 420px; }
  .image-note { right: 12px; bottom: 12px; }
  .process { grid-template-columns: 1fr; gap: 30px; }
  .process-item, .process-item:nth-child(3) { padding: 0 0 28px; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .process-item h3 { margin-top: 22px; }
  .work-card, .work-card.featured { min-height: 440px; }
  .cta { padding: 42px 27px; grid-template-columns: 1fr; }
  .page-hero { padding: 62px 0; }
  .page-hero-grid { gap: 38px; }
  .page-hero img { height: 330px; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: repeat(3, 300px); }
  .gallery figure:first-child { grid-row: auto; }
  .form-shell, .contact-panel { padding: 27px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}
