:root {
  --navy: #0f2e4d;
  --navy-deep: #000d1d;
  --blue: #1d5fa6;
  --aqua: #00a6c7;
  --signal: #52d7e8;
  --graphite: #33373d;
  --ink: #111820;
  --muted: #66727e;
  --line: #d9e0e5;
  --mist: #f1f4f6;
  --paper: #ffffff;
  --display-font: "Bebas Neue", "Arial Narrow", "Helvetica Neue Condensed", Arial, sans-serif;
  --shell: min(1480px, calc(100vw - 96px));
  --radius: 42px;
  --ease: cubic-bezier(.2, .75, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.5; }
body, button, input, textarea { -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
figure, p, h1, h2, h3 { margin: 0; }
h1, h2 { font-family: var(--display-font); font-stretch: condensed; letter-spacing: .02em; text-transform: uppercase; }
.page-top-anchor { display: block; height: 0; scroll-margin-top: 110px; }
.section { padding: 140px max(48px, calc((100vw - 1480px) / 2)); }
.section-dark { padding: 140px max(48px, calc((100vw - 1480px) / 2)); color: #fff; background: var(--navy-deep); }
.shape-cut { border-radius: 0 var(--radius) 0 var(--radius); overflow: hidden; }

.site-header { position: fixed; z-index: 50; top: 0; right: 0; left: 0; height: 94px; background: rgba(0,13,29,.96); border-bottom: 1px solid rgba(255,255,255,.12); box-shadow: 0 10px 30px rgba(0,13,29,.08); backdrop-filter: blur(14px); }
.home-page .site-header { position: fixed; inset: 0 0 auto; background: linear-gradient(180deg, rgba(0,13,29,.72), rgba(0,13,29,.18)); border-bottom-color: rgba(255,255,255,.08); box-shadow: none; backdrop-filter: blur(4px); transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease; }
.home-page .site-header.is-scrolled { background: rgba(0,13,29,.94); box-shadow: 0 10px 30px rgba(0,13,29,.2); backdrop-filter: blur(14px); }
.detail-page { padding-top: 94px; }
.header-shell { width: var(--shell); height: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.brand { position: relative; display: block; width: 132px; height: 49px; overflow: hidden; flex: 0 0 auto; }
.brand-logo { position: absolute; top: -88%; left: 0; width: 100%; max-width: none; height: auto; }
.nav-disclosure { display: contents; }
.nav-toggle { display: none; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(22px, 2.4vw, 44px); margin-left: auto; }
.site-nav a { position: relative; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.site-nav > a::after { position: absolute; right: 0; bottom: -10px; left: 0; height: 2px; background: var(--aqua); content: ""; transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.site-nav > a:hover::after, .site-nav > a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-submenu { position: relative; color: #fff; }
.nav-submenu > summary { position: relative; display: flex; align-items: center; gap: 8px; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; list-style: none; }
.nav-submenu > summary::-webkit-details-marker { display: none; }
.nav-submenu > summary::after { width: 7px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; content: ""; transform: translateY(-2px) rotate(45deg); transition: transform .2s ease; }
.nav-submenu[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.nav-submenu-panel { position: absolute; top: calc(100% + 22px); left: 50%; width: 230px; padding: 12px; display: grid; background: #fff; border: 1px solid #dbe1e6; border-radius: 14px; box-shadow: 0 22px 55px rgba(0,13,29,.22); transform: translateX(-50%); }
.nav-submenu-panel::before { position: absolute; top: -24px; right: 0; left: 0; height: 24px; content: ""; }
.nav-submenu-panel a { padding: 12px 14px; color: var(--navy-deep); border-radius: 9px; font-size: 11px; }
.nav-submenu-panel a:hover, .nav-submenu-panel a[aria-current="page"] { color: var(--blue); background: var(--mist); }

.hero { position: relative; min-height: 820px; padding-top: 94px; color: #fff; background: var(--navy-deep); overflow: hidden; }
.hero-slides, .hero-slide, .hero-overlay, .hero-grid { position: absolute; inset: 0; }
.hero-slide { opacity: 0; background-position: center; background-size: cover; transform: scale(1.025); transition: opacity .8s var(--ease), transform 1.2s var(--ease); }
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-overlay { z-index: 1; background: linear-gradient(90deg, rgba(3, 15, 26, .98) 0%, rgba(3, 15, 26, .86) 43%, rgba(3, 15, 26, .26) 76%, rgba(3, 15, 26, .52) 100%); }
.hero-grid { z-index: 2; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.22) 1px, transparent 1px); background-size: 96px 96px; mask-image: linear-gradient(90deg, #000, transparent 78%); }
.hero-shell { position: relative; z-index: 3; width: var(--shell); min-height: 650px; margin: 0 auto; padding: 120px 0 150px; display: flex; align-items: center; }
.hero-content { width: min(900px, 72vw); }
.eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; color: rgba(255,255,255,.75); font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow span { width: 38px; height: 3px; background: var(--aqua); }
.eyebrow.dark { color: var(--blue); }
.hero h1, .detail-hero h1, .institutional-hero h1 { max-width: 1050px; font-size: clamp(64px, 7.2vw, 132px); font-weight: 800; line-height: .88; }
.hero h1 em, .section-heading h2 em, .intro h2 em, .detail-cta h2 em, .institutional-hero h1 em { color: var(--signal); font-style: normal; }
.hero-copy { max-width: 670px; margin-top: 38px; color: rgba(255,255,255,.78); font-size: clamp(18px, 1.35vw, 23px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }
.button { display: inline-flex; min-height: 58px; padding: 0 28px; align-items: center; justify-content: center; gap: 24px; border: 1px solid transparent; border-radius: 999px; font-size: 13px; font-weight: 800; letter-spacing: .04em; cursor: pointer; transition: transform .25s ease, background .25s ease, color .25s ease; }
.button:hover { transform: translateY(-3px); }
.button-signal { color: var(--navy-deep); background: var(--signal); }
.button-signal:hover { background: #fff; }
.button-dark { color: #fff; background: var(--navy-deep); }
.button-dark:hover { background: var(--blue); }
.hero-footer { position: absolute; z-index: 4; right: max(48px, calc((100vw - 1480px) / 2)); bottom: 38px; left: max(48px, calc((100vw - 1480px) / 2)); display: flex; align-items: flex-end; justify-content: space-between; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.24); }
.hero-footer p { display: flex; gap: 18px; color: rgba(255,255,255,.66); font-size: 13px; letter-spacing: .04em; }
.hero-footer p span { color: var(--signal); font-weight: 800; }
.slide-nav { display: flex; gap: 9px; }
.slide-dot { width: 34px; height: 4px; padding: 0; background: rgba(255,255,255,.34); border: 0; cursor: pointer; transition: width .3s ease, background .3s ease; }
.slide-dot.active { width: 60px; background: var(--signal); }

.intro { display: grid; grid-template-columns: 120px minmax(420px, .9fr) minmax(460px, 1.1fr); gap: 64px; align-items: start; background: #fff; }
.section-index { padding-top: 8px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .18em; writing-mode: vertical-rl; }
.intro h2, .section-heading h2, .detail-cta h2 { font-size: clamp(48px, 5vw, 92px); font-weight: 500; line-height: .95; }
.intro h2 em, .projects-heading h2 em { color: var(--blue); font-style: normal; }
.intro-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 46px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.text-link { display: inline-flex; gap: 28px; align-items: center; margin-top: 44px; padding-bottom: 8px; color: var(--navy); border-bottom: 2px solid var(--aqua); font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.intro-media { position: relative; min-height: 630px; align-self: stretch; background: var(--mist); }
.intro-media img { width: 100%; height: 100%; min-height: 630px; object-fit: cover; }
.intro-media figcaption { position: absolute; right: 0; bottom: 0; left: 0; display: flex; justify-content: space-between; gap: 20px; padding: 22px 26px; color: #fff; background: rgba(6,23,40,.88); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; backdrop-filter: blur(8px); }

.section-heading { display: flex; justify-content: space-between; gap: 60px; align-items: flex-end; padding-bottom: 70px; }
.section-heading > p { max-width: 450px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.section-heading.light > p { color: rgba(255,255,255,.62); }
.solution-list { border-top: 1px solid rgba(255,255,255,.2); }
.solution-row { display: grid; grid-template-columns: 70px 1.1fr .8fr 64px; gap: 30px; align-items: center; min-height: 180px; padding: 30px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.solution-number { align-self: start; color: var(--signal); font-size: 12px; font-weight: 800; }
.solution-row > div > p { margin-bottom: 10px; color: var(--signal); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.solution-row h3 { font-size: clamp(28px, 3vw, 48px); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; }
.solution-row h3 a { transition: color .25s ease; }
.solution-row h3 a:hover { color: var(--signal); }
.solution-row > p { color: rgba(255,255,255,.62); line-height: 1.65; }
.circle-link { width: 58px; height: 58px; display: grid; place-items: center; justify-self: end; color: var(--navy-deep); background: var(--signal); border-radius: 50%; font-size: 20px; transition: transform .25s ease, background .25s ease; }
.circle-link:hover { background: #fff; transform: rotate(45deg); }

.projects { background: var(--mist); }
.projects-heading > p { max-width: 420px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.project-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: -20px 0 34px; padding-bottom: 28px; border-bottom: 1px solid #cfd5da; }
.project-filter { min-height: 42px; padding: 0 20px; color: #59636d; background: transparent; border: 1px solid #b9c0c6; border-radius: 999px; font-size: 12px; font-weight: 800; cursor: pointer; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.project-filter:hover { color: #fff; background: var(--navy-deep); border-color: var(--navy-deep); }
.project-filter.active { color: #fff; background: var(--navy-deep); border-color: var(--navy-deep); }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 52px 26px; }
.project-card[hidden] { display: none; }
.project-image { position: relative; display: block; height: clamp(250px, 22vw, 380px); overflow: hidden; background: var(--line); border-radius: 24px; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project-image span { position: absolute; right: 16px; bottom: 16px; display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; color: #fff; background: #006cff; border-radius: 50%; font-size: 20px; font-weight: 500; transform: translateY(8px); opacity: 0; transition: .3s ease; }
.project-image:hover img { transform: scale(1.035); }
.project-image:hover span { opacity: 1; transform: translateY(0); }
.project-meta { display: flex; justify-content: space-between; gap: 20px; margin-top: 22px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.project-meta b { color: var(--muted); }
.project-card h3 { margin-top: 14px; font-size: clamp(24px, 2vw, 34px); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; }
.project-card h3 a:hover { color: var(--blue); }
.project-card > p { max-width: 580px; margin-top: 18px; color: var(--muted); font-size: 16px; line-height: 1.65; }

.numbers { display: grid; grid-template-columns: repeat(3, 1fr); color: #fff; background: var(--blue); }
.numbers > div { min-height: 310px; padding: 54px max(48px, calc((100vw - 1480px) / 6)); display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid rgba(255,255,255,.25); }
.numbers > div:last-child { border: 0; }
.numbers strong { color: var(--signal); font-size: clamp(70px, 7vw, 126px); font-weight: 500; letter-spacing: -.07em; line-height: 1; }
.numbers span { font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

.contact { display: grid; grid-template-columns: .75fr 1.25fr; gap: 110px; background: #fff; }
.contact-heading h2 { font-size: clamp(48px, 5vw, 88px); font-weight: 500; line-height: .95; }
.contact-heading h2 em { color: var(--blue); font-style: normal; }
.contact-heading > p:last-child { max-width: 450px; margin-top: 34px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 38px 28px; padding: 58px; background: var(--mist); border-radius: var(--radius) 0 var(--radius) 0; }
.contact-field { display: grid; gap: 12px; }
.contact-field-wide { grid-column: 1 / -1; }
.contact-field label { color: var(--navy); font-size: 11px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.contact-field input, .contact-field textarea { width: 100%; padding: 12px 0 16px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid #adb8c1; border-radius: 0; outline: 0; transition: border-color .2s ease; }
.contact-field textarea { min-height: 130px; resize: vertical; }
.contact-field input:focus, .contact-field textarea:focus { border-color: var(--aqua); }
.contact-field input::placeholder, .contact-field textarea::placeholder { color: #89949d; }
.contact-submit { grid-column: 1 / -1; display: grid; gap: 18px; }
.contact-submit p { color: var(--muted); font-size: 12px; }
.contact-submit .button { width: 100%; }
.button-whatsapp { color: var(--navy-deep); background: transparent; border-color: #9ca8b2; }
.button-whatsapp:hover { color: #fff; background: var(--blue); border-color: var(--blue); }
.button-icon { width: 22px; height: 22px; flex: 0 0 auto; }
.contact-status { grid-column: 1 / -1; min-height: 22px; color: var(--blue); font-size: 13px; font-weight: 700; }
.site-footer { padding: 66px max(48px, calc((100vw - 1480px) / 2)); color: #fff; background: var(--navy-deep); }
.footer-logo { position: relative; width: 132px; height: 49px; display: block; overflow: hidden; }
.footer-logo img { position: absolute; top: -88%; left: 0; width: 100%; max-width: none; height: auto; }
.footer-copy { display: flex; justify-content: space-between; gap: 40px; align-items: flex-end; margin-top: 54px; padding-bottom: 42px; }
.footer-copy p { color: rgba(255,255,255,.68); font-size: clamp(22px, 2vw, 34px); }
.footer-copy a { padding-bottom: 7px; border-bottom: 1px solid var(--signal); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.footer-meta { display: flex; justify-content: space-between; gap: 30px; padding-top: 24px; color: rgba(255,255,255,.42); border-top: 1px solid rgba(255,255,255,.16); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.footer-meta a:hover { color: #fff; }

/* Páginas internas */
.page-header { background: #000d1d; }
.detail-hero { min-height: 730px; display: grid; grid-template-columns: .92fr 1.08fr; color: #fff; background: var(--navy-deep); }
.detail-hero-copy { padding: 96px max(48px, calc((100vw - 1480px) / 2)); padding-right: 70px; display: flex; flex-direction: column; justify-content: center; }
.back-link { width: fit-content; margin-bottom: 90px; padding-bottom: 7px; color: rgba(255,255,255,.64); border-bottom: 1px solid rgba(255,255,255,.35); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.detail-hero h1 { font-size: clamp(56px, 6vw, 104px); }
.detail-summary { max-width: 680px; margin-top: 34px; color: rgba(255,255,255,.7); font-size: clamp(18px, 1.35vw, 23px); line-height: 1.6; }
.detail-hero-image { min-height: 730px; }
.detail-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.project-facts { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--signal); }
.project-facts > div { min-height: 170px; display: flex; flex-direction: column; gap: 30px; padding: 32px 38px; border-right: 1px solid rgba(15,46,77,.25); }
.project-facts > div:last-child { border: 0; }
.project-facts span { color: rgba(15,46,77,.68); font-size: 10px; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
.project-facts strong { color: var(--navy); font-size: clamp(18px, 1.6vw, 27px); font-weight: 600; line-height: 1.2; }
.detail-content { display: grid; grid-template-columns: minmax(240px, .55fr) minmax(0, 1.45fr); gap: 110px; }
.detail-content aside { padding-top: 10px; }
.detail-content aside span { color: var(--blue); font-size: 11px; font-weight: 900; letter-spacing: .18em; }
.detail-content aside p { max-width: 260px; margin-top: 24px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.rich-content { max-width: 880px; font-size: 19px; line-height: 1.75; }
.rich-content > * + * { margin-top: 24px; }
.rich-content h2 { margin-top: 62px; color: var(--navy); font-size: clamp(38px, 4vw, 68px); font-weight: 500; line-height: 1; }
.rich-content h2:first-child { margin-top: 0; }
.rich-content h3 { margin-top: 48px; color: var(--navy); font-size: 26px; }
.rich-content p, .rich-content li { color: #4e5b66; }
.rich-content ul, .rich-content ol { margin: 24px 0 0; padding-left: 24px; }
.rich-content li + li { margin-top: 10px; }
.rich-content blockquote { margin: 52px 0; padding: 10px 0 10px 36px; color: var(--navy); border-left: 5px solid var(--aqua); font-size: clamp(25px, 2.5vw, 40px); font-weight: 500; letter-spacing: -.025em; line-height: 1.25; }
.detail-cta { padding: 130px max(48px, calc((100vw - 1480px) / 2)); text-align: center; background: var(--mist); }
.detail-cta > p { margin-bottom: 24px; color: var(--blue); font-size: 11px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.detail-cta .button { margin-top: 46px; }
/* Prévia standalone — página de projeto */
.project-showcase { background: #f7f8fa; }
.project-intro { padding-top: 74px; padding-bottom: 34px; }
.project-intro .eyebrow { margin-bottom: 16px; }
.project-intro h1 { color: #05080c; font-size: clamp(58px, 7vw, 118px); font-weight: 800; line-height: .95; }
.project-intro > p:not(.eyebrow) { margin-top: 18px; color: #57616b; font-size: clamp(17px, 1.35vw, 22px); }
.project-cover { height: clamp(420px, 44vw, 700px); margin-top: 28px; overflow: hidden; border-radius: 28px; }
.project-cover img { width: 100%; height: 100%; object-fit: cover; }
.project-intro .project-facts { position: relative; z-index: 2; margin: 18px 0 0; overflow: hidden; background: #fff; border: 1px solid #e1e5e8; border-radius: 18px; box-shadow: 0 12px 35px rgba(0,13,29,.06); }
.project-intro .project-facts > div { min-height: 112px; gap: 8px; padding: 26px 32px; border-color: #e1e5e8; }
.project-intro .project-facts span { color: #6b7680; }
.project-intro .project-facts strong { color: #101820; font-size: clamp(18px, 1.5vw, 24px); }
.project-story { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-top: 0; padding-bottom: 46px; }
.project-story article { min-height: 290px; padding: 32px; background: #fff; border: 1px solid #e1e5e8; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,13,29,.04); }
.project-story h2 { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; color: #101820; font-size: 23px; font-weight: 700; }
.project-story h2::before { width: 30px; height: 3px; background: #168eea; content: ""; }
.project-story p, .project-story li { color: #56616b; line-height: 1.65; }
.project-story ul { margin: 0; padding-left: 20px; }
.project-story li + li { margin-top: 12px; }
.project-back { padding-top: 24px; padding-bottom: 90px; }
.project-back a { color: #0877cd; font-size: 14px; font-weight: 700; }
.project-back a:hover { text-decoration: underline; }
.project-gallery { padding-top: 46px; padding-bottom: 80px; }
.gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 34px; }
.gallery-heading h2 { color: #080d13; font-size: clamp(48px, 5.5vw, 86px); font-weight: 600; line-height: 1; }
.gallery-heading > p { color: var(--muted); }
.project-gallery-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.gallery-item { position: relative; grid-column: span 2; height: 260px; padding: 0; overflow: hidden; background: #dce3e8; border: 0; border-radius: 16px; cursor: zoom-in; }
.gallery-item-large, .gallery-item:nth-child(-n+2) { grid-column: span 3; height: 430px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-item span { position: absolute; right: 14px; bottom: 14px; width: 42px; height: 42px; display: grid; place-items: center; color: #fff; background: #006cff; border-radius: 50%; font-size: 17px; }
.gallery-dialog { inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: clamp(18px, 3vw, 48px); overflow: hidden; color: #fff; background: rgba(0,13,29,.96); border: 0; overscroll-behavior: contain; }
.gallery-dialog[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; place-items: center; gap: 12px; }
.gallery-dialog::backdrop { background: rgba(0,13,29,.96); backdrop-filter: blur(8px); }
.gallery-dialog img { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; object-position: center; border-radius: 12px; }
.gallery-dialog-close { position: absolute; z-index: 2; top: clamp(14px, 2vw, 28px); right: clamp(14px, 2vw, 28px); width: 46px; height: 46px; color: #fff; background: #006cff; border: 0; border-radius: 50%; font-size: 28px; line-height: 1; cursor: pointer; }
.gallery-dialog-nav { position: absolute; z-index: 2; top: 50%; width: 48px; height: 48px; color: #fff; background: rgba(0,13,29,.8); border: 1px solid rgba(255,255,255,.35); border-radius: 50%; font-size: 22px; cursor: pointer; transform: translateY(-50%); }
.gallery-dialog-previous { left: 18px; }
.gallery-dialog-next { right: 18px; }
.gallery-dialog-caption { width: 100%; color: rgba(255,255,255,.78); text-align: center; }
.project-context-cta { padding: 110px max(48px, calc((100vw - 1480px) / 2)); text-align: center; background: #eef2f5; }
.project-context-cta > p { margin-bottom: 22px; color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.project-context-cta h2 { color: #0b1118; font-size: clamp(54px, 6vw, 96px); font-weight: 500; line-height: .96; }
.project-context-cta h2 em { color: var(--signal); font-style: normal; }
.project-context-cta .button { margin-top: 44px; }

.certifications { background: #f3f6f8; }
.certification-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #cfd7dd; }
.certification-grid article { min-height: 280px; padding: 30px 30px 44px 0; border-right: 1px solid #cfd7dd; }
.certification-grid article + article { padding-left: 30px; }
.certification-grid article:last-child { border: 0; }
.certification-grid span { color: var(--blue); font-size: 12px; font-weight: 900; }
.certification-grid h3 { margin-top: 70px; color: var(--navy); font-size: 28px; font-weight: 600; }
.certification-grid p { margin-top: 18px; color: var(--muted); line-height: 1.65; }

.team-hero { min-height: 620px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 80px; align-items: end; }
.team-hero h1 { font-size: clamp(56px, 6.4vw, 108px); font-weight: 800; line-height: .92; }
.team-hero h1 em { color: var(--signal); font-style: normal; }
.team-hero > p { max-width: 520px; padding-bottom: 10px; color: rgba(255,255,255,.66); font-size: 19px; line-height: 1.7; }
.team-intro { display: grid; grid-template-columns: 1fr .9fr; column-gap: 70px; margin-bottom: 60px; }
.team-intro .eyebrow { grid-column: 1 / -1; }
.team-intro h2 { color: #0b1118; font-size: clamp(48px, 5vw, 82px); font-weight: 500; line-height: .96; }
.team-intro h2 em { color: var(--blue); font-style: normal; }
.template-note { align-self: end; max-width: 560px; padding: 22px 24px; color: #53616c; background: var(--mist); border-left: 3px solid var(--aqua); line-height: 1.65; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 58px 24px; }
.team-portrait { position: relative; height: 430px; display: grid; place-items: center; overflow: hidden; color: rgba(255,255,255,.9); background: linear-gradient(145deg, #0f2e4d, #00a6c7); border-radius: 24px 24px 0 0; }
.team-portrait::before, .team-portrait::after { position: absolute; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; content: ""; }
.team-portrait::before { width: 330px; height: 330px; right: -90px; bottom: -120px; }
.team-portrait::after { width: 200px; height: 200px; top: -60px; left: -50px; }
.team-portrait span { position: relative; z-index: 1; font-size: 64px; font-weight: 800; letter-spacing: -.08em; }
.portrait-two, .portrait-five { background: linear-gradient(145deg, #061728, #1d5fa6); }
.portrait-three, .portrait-six { background: linear-gradient(145deg, #1d5fa6, #52d7e8); }
.team-card > p { margin-top: 20px; color: var(--blue); font-size: 10px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.team-card h3 { margin-top: 9px; color: #101820; font-size: 28px; font-weight: 600; letter-spacing: -.03em; }
.team-card > span { display: block; margin-top: 8px; color: var(--muted); }

.benefit-band { display: grid; grid-template-columns: .35fr 1.65fr; gap: 50px; padding: 50px max(48px, calc((100vw - 1480px) / 2)); background: var(--signal); }
.benefit-band span { color: rgba(15,46,77,.7); font-size: 10px; font-weight: 900; letter-spacing: .18em; }
.benefit-band strong { max-width: 900px; color: var(--navy); font-size: clamp(24px, 2.5vw, 42px); font-weight: 500; letter-spacing: -.025em; line-height: 1.25; }
.gallery-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--navy); }
.gallery-strip figure { position: relative; height: 320px; overflow: hidden; }
.gallery-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-strip figure:hover img { transform: scale(1.04); }
.gallery-strip figcaption { position: absolute; right: 18px; bottom: 18px; left: 18px; padding: 14px 16px; color: #fff; background: rgba(6,23,40,.82); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.institutional-hero { min-height: calc(100vh - 94px); padding: clamp(54px, 7vh, 78px) max(48px, calc((100vw - 1480px) / 2)); display: grid; grid-template-columns: 1fr .9fr; gap: clamp(54px, 6vw, 90px); align-items: center; color: #fff; background: var(--navy-deep); }
.institutional-hero > div { padding: 0; }
.institutional-hero > div > p:last-child { max-width: 670px; margin-top: 36px; color: rgba(255,255,255,.7); font-size: 20px; line-height: 1.65; }
.institutional-cover { height: min(560px, calc(100vh - 220px)); min-height: 420px; }
.institutional-cover img { width: 100%; height: 100%; object-fit: cover; }
.principles { padding-top: 130px; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.2); }
.principle-grid article { min-height: 340px; padding: 34px 34px 50px 0; border-right: 1px solid rgba(255,255,255,.2); }
.principle-grid article + article { padding-left: 34px; }
.principle-grid article:last-child { border: 0; }
.principle-grid span { color: var(--signal); font-size: 12px; font-weight: 900; }
.principle-grid h3 { margin-top: 90px; font-size: 30px; font-weight: 500; letter-spacing: -.03em; }
.principle-grid p { margin-top: 20px; color: rgba(255,255,255,.58); line-height: 1.65; }

@media (max-width: 1100px) {
  :root { --shell: calc(100vw - 56px); }
  .section, .section-dark { padding: 100px 28px; }
  .hero-footer { right: 28px; left: 28px; }
  .intro { grid-template-columns: 60px 1fr; }
  .intro-media { grid-column: 2; min-height: 480px; }
  .intro-media img { min-height: 480px; }
  .contact { grid-template-columns: 1fr; gap: 70px; }
  .detail-hero { grid-template-columns: 1fr; }
  .detail-hero-copy { min-height: 610px; padding: 90px 28px; }
  .detail-hero-image { min-height: 520px; }
  .institutional-hero { min-height: auto; padding: 74px 28px; grid-template-columns: 1fr; }
  .institutional-cover { height: 520px; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .project-story { grid-template-columns: 1fr; }
  .team-hero { grid-template-columns: 1fr; align-items: end; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
  :root { --shell: calc(100vw - 36px); --radius: 28px; }
  body { font-size: 15px; }
  .section, .section-dark { padding: 78px 18px; }
  .site-header { height: 76px; }
  .detail-page { padding-top: 76px; }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header, body.menu-open.home-page .site-header, body.menu-open.home-page .site-header.is-scrolled { background: transparent; border-bottom-color: transparent; box-shadow: none; backdrop-filter: none; }
  .brand { z-index: 52; width: 108px; height: 40px; }
  .nav-disclosure { position: static; display: block; }
  .nav-toggle { position: relative; z-index: 52; width: 48px; height: 48px; padding: 0; display: grid; place-items: center; color: #fff; background: var(--navy); border: 0; border-radius: 50%; cursor: pointer; }
  .nav-toggle span { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .nav-toggle i { position: relative; width: 20px; height: 16px; display: block; }
  .nav-toggle i::before, .nav-toggle i::after { position: absolute; left: 1px; width: 18px; height: 2px; background: #fff; content: ""; transition: top .25s ease, transform .25s ease; }
  .nav-toggle i::before { top: 4px; }
  .nav-toggle i::after { top: 10px; }
  .nav-disclosure.open .nav-toggle i::before, .nav-disclosure.open .nav-toggle i::after { top: 7px; }
  .nav-disclosure.open .nav-toggle i::before { transform: rotate(45deg); }
  .nav-disclosure.open .nav-toggle i::after { transform: rotate(-45deg); }
  .site-nav { position: fixed; z-index: 51; inset: 0; width: 100%; min-height: 100dvh; margin-left: 0; padding: 132px 28px 48px; display: grid; align-content: start; justify-content: stretch; justify-items: start; gap: 8px; overflow-y: auto; background: var(--navy-deep); border: 0; box-shadow: none; opacity: 0; visibility: hidden; transform: scale(.985); pointer-events: none; transition: opacity .25s ease, visibility .25s ease, transform .25s ease; }
  .nav-disclosure.open > .site-nav { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  .site-nav > a, .nav-submenu { width: 100%; }
  .site-nav > a, .nav-submenu > summary { padding: 9px 0; color: rgba(255,255,255,.78); border: 0; font-size: clamp(30px, 9vw, 42px); font-weight: 700; letter-spacing: .01em; line-height: 1.2; text-transform: none; }
  .site-nav > a::after { right: auto; bottom: 2px; width: 100%; height: 3px; display: block; background: var(--signal); }
  .site-nav > a.active { color: #fff; }
  .nav-submenu > summary { justify-content: space-between; }
  .nav-submenu-panel { position: static; width: 100%; padding: 4px 0 10px 20px; background: transparent; border: 0; border-radius: 0; box-shadow: none; transform: none; }
  .nav-submenu-panel::before { display: none; }
  .nav-submenu-panel a { padding: 10px 0; color: rgba(255,255,255,.68); border: 0; font-size: 15px; letter-spacing: .08em; }
  .hero { min-height: 740px; padding-top: 76px; }
  .hero-shell { min-height: 620px; padding: 88px 0 140px; align-items: center; }
  .hero-content { width: 100%; }
  .hero h1, .detail-hero h1, .institutional-hero h1 { font-size: clamp(52px, 16vw, 78px); }
  .hero-copy { margin-top: 28px; font-size: 17px; }
  .button { width: 100%; }
  .hero-footer { right: 18px; bottom: 22px; left: 18px; }
  .hero-footer p { max-width: 230px; }
  .hero-grid { background-size: 60px 60px; }
  .intro { grid-template-columns: 1fr; gap: 48px; }
  .section-index { writing-mode: initial; }
  .intro h2, .section-heading h2, .detail-cta h2 { font-size: 48px; }
  .intro-columns { grid-template-columns: 1fr; }
  .intro-media { grid-column: auto; min-height: 420px; }
  .intro-media img { min-height: 420px; }
  .section-heading { display: grid; gap: 36px; padding-bottom: 48px; }
  .solution-row { grid-template-columns: 38px 1fr 48px; gap: 16px; }
  .solution-row > p { grid-column: 2 / -1; }
  .circle-link { grid-column: 3; grid-row: 1 / 3; width: 46px; height: 46px; }
  .project-grid { grid-template-columns: 1fr; gap: 70px; }
  .project-image { height: 390px; }
  .project-image span { opacity: 1; transform: none; }
  .project-filters { flex-wrap: nowrap; margin-top: 0; overflow-x: auto; scrollbar-width: thin; }
  .project-filter { flex: 0 0 auto; }
  .project-intro { padding-top: 52px; padding-bottom: 20px; }
  .project-intro h1 { font-size: clamp(50px, 15vw, 76px); }
  .project-cover { height: 360px; border-radius: 20px; }
  .project-intro .project-facts { grid-template-columns: 1fr 1fr; }
  .project-intro .project-facts > div { min-height: 108px; padding: 22px 18px; }
  .project-story { gap: 14px; padding-top: 0; padding-bottom: 20px; }
  .project-story article { min-height: 0; padding: 26px 22px; }
  .project-back { padding-top: 18px; padding-bottom: 70px; }
  .gallery-heading { display: grid; gap: 16px; }
  .project-gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item, .gallery-item-large, .gallery-item:nth-child(-n+2) { grid-column: span 1; height: 220px; }
  .gallery-item-large, .gallery-item:nth-child(-n+2) { grid-column: 1 / -1; height: 320px; }
  .project-context-cta { padding: 80px 18px; }
  .project-context-cta .button { width: auto; }
  .gallery-dialog { padding: 12px; padding-top: 64px; }
  .gallery-dialog-close { top: 10px; right: 10px; }
  .gallery-dialog-nav { width: 42px; height: 42px; }
  .gallery-dialog-previous { left: 8px; }
  .gallery-dialog-next { right: 8px; }
  .certification-grid { grid-template-columns: 1fr; }
  .certification-grid article, .certification-grid article + article { min-height: 220px; padding: 28px 0; border-right: 0; border-bottom: 1px solid #cfd7dd; }
  .certification-grid h3 { margin-top: 42px; }
  .team-hero { min-height: 600px; padding-top: 90px; gap: 40px; }
  .team-hero h1 { font-size: clamp(48px, 14vw, 72px); }
  .team-intro { grid-template-columns: 1fr; gap: 28px; }
  .team-grid { grid-template-columns: 1fr; }
  .team-portrait { height: 380px; }
  .numbers { grid-template-columns: 1fr; }
  .numbers > div { min-height: 230px; padding: 40px 28px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.25); }
  .contact-form { grid-template-columns: 1fr; padding: 34px 22px; }
  .contact-field-wide { grid-column: auto; }
  .contact-submit, .contact-status { grid-column: auto; }
  .site-footer { padding: 54px 18px; }
  .footer-copy { display: grid; gap: 36px; }
  .footer-copy a { width: fit-content; }
  .footer-meta { display: grid; gap: 12px; }
  .detail-hero-copy { min-height: 560px; padding: 70px 18px; }
  .detail-hero .back-link { margin-bottom: 70px; }
  .detail-hero-image { min-height: 380px; }
  .project-facts { grid-template-columns: 1fr 1fr; }
  .project-facts > div { min-height: 140px; padding: 26px 20px; border-bottom: 1px solid rgba(15,46,77,.25); }
  .detail-content { grid-template-columns: 1fr; gap: 60px; }
  .rich-content { font-size: 17px; }
  .benefit-band { grid-template-columns: 1fr; padding: 42px 18px; }
  .gallery-strip { grid-template-columns: 1fr; }
  .gallery-strip figure { height: 260px; }
  .institutional-hero { min-height: 0; padding: 70px 18px; gap: 50px; }
  .institutional-cover { height: 420px; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle-grid article, .principle-grid article + article { min-height: 260px; padding: 30px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .principle-grid h3 { margin-top: 52px; }
}

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