@layer reset, base, layout, components, pages, responsive;

@layer reset {
    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body { margin: 0; }
    img, svg { display: block; max-width: 100%; }
    a { color: inherit; text-decoration: none; }
    button, input, textarea, select { font: inherit; }
    button { color: inherit; }
}

@layer base {
    :root {
        --ink: #13233a; --ink-soft: #5d6c7c; --paper: #f3f6fa; --surface: #ffffff; --surface-2: #e8eef5;
        --line: #d3dce6; --teal: #005ea8; --teal-2: #003e73; --navy: #001b33; --navy-2: #062c4c;
        --cyan: #8fc5ec; --gold: #c5a44a; --red: #c41230; --orange: #d97b2f; --yellow: #d7ad32; --green: #2d9a65;
        --shadow: 0 22px 65px rgba(4, 31, 38, .1); --radius: 22px; --container: 1240px;
        --serif: Georgia, 'Times New Roman', serif; --sans: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
    }
    html[data-theme='dark'] {
        --ink: #edf4fb; --ink-soft: #aabacd; --paper: #071522; --surface: #0d2235; --surface-2: #122c43;
        --line: #29445e; --teal: #6bb7ee; --teal-2: #9bd1f7; --shadow: 0 25px 70px rgba(0, 0, 0, .25);
    }
    body { min-width: 320px; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.65; -webkit-font-smoothing: antialiased; }
    body.nav-open { overflow: hidden; }
    h1, h2, h3, p { margin-top: 0; }
    h1, h2 { font-family: var(--serif); font-weight: 500; line-height: 1.02; letter-spacing: -.035em; }
    h2 { margin-bottom: 20px; font-size: clamp(2.35rem, 5vw, 4.9rem); }
    h3 { line-height: 1.2; }
    p { color: var(--ink-soft); }
    .icon { width: 21px; height: 21px; flex: 0 0 auto; }
    .container { width: min(calc(100% - 44px), var(--container)); margin-inline: auto; }
    .container.narrow { max-width: 900px; }
    .section { padding-block: 112px; scroll-margin-top: 130px; }
    .skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 10px 15px; color: white; background: var(--teal); transform: translateY(-150%); }
    .skip-link:focus { transform: none; }
    .reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
    .reveal.visible { opacity: 1; transform: none; }
    .kicker { display: inline-flex; align-items: center; gap: 9px; color: var(--teal); font-size: .68rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
    .kicker.light { color: var(--cyan); }
    .kicker i { width: 22px; height: 2px; background: var(--gold); }
    .lead { color: var(--ink); font-size: clamp(1.05rem, 1.8vw, 1.3rem); line-height: 1.75; }
}

@layer layout {
    .status-bar { position: relative; z-index: 210; color: #c7d4e3; background: #000d1a; font-size: .65rem; }
    .status-inner { min-height: 36px; display: flex; align-items: center; gap: 18px; }
    .status-level { display: inline-flex; align-items: center; gap: 7px; color: white; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
    .status-level i, .level-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(45,154,101,.15); }
    .status-level.level-yellow i, .level-dot.level-yellow { background: var(--yellow); box-shadow: 0 0 0 4px rgba(215,173,50,.15); }
    .status-level.level-orange i, .level-dot.level-orange { background: var(--orange); box-shadow: 0 0 0 4px rgba(217,123,47,.15); }
    .status-level.level-red i, .level-dot.level-red { background: var(--red); box-shadow: 0 0 0 4px rgba(187,59,66,.18); }
    .status-inner > span:nth-child(2) { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .status-inner > a { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: #8fc5ec; font-weight: 750; }
    .status-inner > a .icon { width: 14px; }
    .site-header { position: sticky; z-index: 200; top: 0; color: var(--ink); background: color-mix(in srgb, var(--paper) 88%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent); backdrop-filter: blur(18px); transition: box-shadow .2s, background .2s; }
    .site-header.scrolled { box-shadow: 0 8px 30px rgba(0, 27, 51, .1); }
    .header-inner { min-height: 82px; display: flex; align-items: center; gap: 28px; }
    .brand { min-width: 260px; display: flex; align-items: center; gap: 12px; }
    .brand img { width: 54px; height: 54px; }
    .brand span { display: flex; flex-direction: column; line-height: 1.05; }
    .brand strong { color: var(--ink-soft); font-size: .59rem; letter-spacing: .1em; text-transform: uppercase; }
    .brand b { margin-top: 4px; font-family: var(--serif); font-size: 1.22rem; font-weight: 600; }
    .main-nav { display: flex; align-items: stretch; align-self: stretch; margin-left: auto; }
    .main-nav a { position: relative; display: grid; place-items: center; padding: 0 11px; color: var(--ink-soft); font-size: .68rem; font-weight: 750; }
    .main-nav a::after { content: ''; position: absolute; right: 12px; bottom: 0; left: 12px; height: 3px; background: var(--teal); transform: scaleX(0); transition: transform .2s; }
    .main-nav a:hover, .main-nav a.active { color: var(--ink); }
    .main-nav a.active::after { transform: scaleX(1); }
    .header-actions { display: flex; gap: 7px; }
    .theme-toggle, .nav-toggle { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); cursor: pointer; }
    .nav-toggle { display: none; }
    .theme-toggle .theme-moon, html[data-theme='dark'] .theme-toggle .theme-sun { display: none; }
    html[data-theme='dark'] .theme-toggle .theme-moon { display: block; }
    .site-footer { padding-top: 75px; color: #afbdcc; background: #00101f; }
    .footer-grid { display: grid; grid-template-columns: 1.8fr repeat(3, 1fr); gap: 50px; padding-bottom: 55px; }
    .footer-brand { display: flex; gap: 19px; }
    .footer-brand img { width: 86px; height: 86px; }
    .footer-brand span { color: var(--gold); font-size: .6rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
    .footer-brand strong { display: block; margin-top: 4px; color: white; font-family: var(--serif); font-size: 1.38rem; line-height: 1.05; }
    .footer-brand p { max-width: 340px; margin: 12px 0 0; color: #7d91a6; font-size: .71rem; }
    .footer-grid h2 { margin-bottom: 17px; color: white; font-family: var(--sans); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
    .footer-grid > div:not(:first-child) a { display: block; margin-block: 8px; color: #94a6b8; font-size: .72rem; }
    .footer-grid > div:not(:first-child) a:hover { color: var(--cyan); }
    .footer-contact p { color: #94a6b8; font-size: .72rem; }
    .footer-contact a { display: flex !important; gap: 7px; align-items: center; overflow-wrap: anywhere; }
    .footer-contact .icon { width: 16px; }
    .footer-bottom { min-height: 58px; display: flex; align-items: center; gap: 24px; border-top: 1px solid #1c3852; color: #688098; font-size: .6rem; }
    .footer-bottom span:nth-child(2) { margin-left: auto; text-transform: uppercase; letter-spacing: .1em; }
    .footer-bottom a { color: #829bb2; }
}

@layer components {
    .button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 11px 20px; border: 1px solid transparent; border-radius: 5px; font-size: .7rem; font-weight: 850; letter-spacing: .02em; transition: transform .2s, background .2s, border-color .2s; }
    .button:hover { transform: translateY(-2px); }
    .button.primary { color: white; background: var(--teal); box-shadow: 0 12px 28px rgba(0,94,168,.28); }
    .button.primary:hover { background: #004f8f; }
    .button.secondary { color: var(--teal); border-color: var(--line); background: var(--surface); }
    .button.ghost { color: white; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.04); }
    .button.light { color: var(--navy); background: #edf7f5; }
    .text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--teal); font-size: .72rem; font-weight: 850; }
    .text-link .icon { width: 17px; transition: transform .2s; }
    .text-link:hover .icon { transform: translateX(4px); }
    .section-head { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 48px; }
    .section-head h2 { margin: 8px 0 0; }
    .section-head > p { max-width: 520px; margin: 0 0 9px; }
    .section-head > a { flex: 0 0 auto; }
    .page-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 475px; display: flex; align-items: center; color: white; background: radial-gradient(circle at 78% 30%, #0b5b9a, transparent 28rem), linear-gradient(130deg,#001120,#082d4d 70%,#06233c); }
    .page-hero::after { content: ''; position: absolute; z-index: -1; inset: 0; opacity: .11; background: repeating-linear-gradient(125deg, transparent 0 75px, #8fc5ec 76px 77px); }
    .page-hero-grid { position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(rgba(255,255,255,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px); background-size: 70px 70px; mask-image: linear-gradient(90deg,black,transparent 75%); }
    .page-hero-inner { padding-block: 80px; }
    .page-hero h1 { max-width: 940px; margin: 15px 0 22px; color: white; font-size: clamp(3.2rem, 7vw, 6.8rem); }
    .page-hero p { max-width: 730px; margin: 0; color: #becbdd; font-size: 1.06rem; }
    .subnav { position: sticky; z-index: 100; top: 82px; border-bottom: 1px solid var(--line); background: color-mix(in srgb,var(--surface) 92%,transparent); backdrop-filter: blur(15px); }
    .subnav .container { display: flex; overflow-x: auto; scrollbar-width: none; }
    .subnav a { min-height: 54px; display: grid; place-items: center; padding: 0 21px; color: var(--ink-soft); border-right: 1px solid var(--line); white-space: nowrap; font-size: .67rem; font-weight: 800; }
    .subnav a:first-child { border-left: 1px solid var(--line); }
    .subnav a:hover { color: var(--teal); background: var(--surface-2); }
    .check-list { display: grid; gap: 11px; padding: 0; list-style: none; }
    .check-list li { position: relative; padding-left: 30px; color: var(--ink-soft); }
    .check-list li::before { content: '✓'; position: absolute; top: 1px; left: 0; width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--teal); font-size: .65rem; font-weight: 900; }
    .check-list.light li { color: #c2cfdd; }
    .info-note { display: flex; gap: 14px; align-items: flex-start; margin-top: 28px; padding: 19px; border-left: 3px solid var(--gold); background: var(--surface-2); }
    .info-note .icon { color: var(--teal); }
    .info-note p { margin: 0; font-size: .78rem; }
    .split-content, .split-feature, .authority-layout, .headquarters-layout, .prohibition-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
    .legal-card { padding: 40px; border: 1px solid var(--line); border-top: 4px solid var(--gold); background: var(--surface); box-shadow: var(--shadow); }
    .legal-card > span { color: var(--teal); font-size: .63rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
    .legal-card blockquote { margin: 24px 0; color: var(--ink); font-family: var(--serif); font-size: clamp(1.5rem,3vw,2.25rem); line-height: 1.25; }
    .legal-card p { margin: 0; font-size: .78rem; }
    .legal-card.danger { border-top-color: var(--red); }
    .application-band { padding-block: 75px; color: white; background: linear-gradient(110deg,#003e73,#062c4c); }
    .application-inner { display: flex; justify-content: space-between; align-items: center; gap: 45px; }
    .application-inner h2 { margin: 8px 0 10px; color: white; font-size: clamp(2.1rem,4vw,3.8rem); }
    .application-inner p { max-width: 700px; margin: 0; color: #b8d1d2; }
}

@layer pages {
    .hero { position: relative; isolation: isolate; overflow: hidden; min-height: 750px; color: white; background: radial-gradient(circle at 73% 35%, #0b5b9a, transparent 27rem), linear-gradient(118deg,#000d1a 5%,#062a49 62%,#083b65); }
    .hero-grid { position: absolute; z-index: -1; inset: 0; opacity: .2; background-image: linear-gradient(rgba(143,197,236,.11) 1px,transparent 1px),linear-gradient(90deg,rgba(143,197,236,.11) 1px,transparent 1px); background-size: 75px 75px; mask-image: linear-gradient(90deg,black,transparent 78%); }
    .hero-glow { position: absolute; z-index: -1; width: 580px; height: 580px; right: 3%; top: 5%; border: 1px solid rgba(118,184,232,.16); border-radius: 50%; box-shadow: 0 0 0 70px rgba(118,184,232,.035),0 0 0 140px rgba(118,184,232,.022); }
    .hero-inner { min-height: 700px; display: grid; grid-template-columns: 1.08fr .92fr; gap: 50px; align-items: center; padding-block: 65px; }
    .hero-copy h1 { max-width: 820px; margin: 17px 0 23px; color: white; font-size: clamp(4rem,7.2vw,7.3rem); }
    .hero-copy > p { max-width: 680px; color: #becbdd; font-size: 1.05rem; }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 31px; }
    .hero-facts { display: flex; gap: 42px; margin-top: 48px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.13); }
    .hero-facts strong, .hero-facts span { display: block; }
    .hero-facts strong { color: var(--gold); font-family: var(--serif); font-size: 1.65rem; }
    .hero-facts span { color: #8298ad; font-size: .59rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
    .hero-visual { position: relative; min-height: 520px; display: grid; place-items: center; }
    .radar { position: relative; width: min(430px,80vw); aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(118,184,232,.28); border-radius: 50%; }
    .radar::before, .radar::after, .radar > i { content: ''; position: absolute; inset: 13%; border: 1px solid rgba(118,184,232,.2); border-radius: 50%; }
    .radar::after { inset: 27%; }
    .radar > i:nth-child(1) { inset: 41%; }
    .radar > i:nth-child(2) { inset: 0 50%; width: 1px; border: 0; border-radius: 0; background: rgba(118,184,232,.18); }
    .radar > i:nth-child(3) { inset: 50% 0; height: 1px; border: 0; border-radius: 0; background: rgba(118,184,232,.18); }
    .radar > span { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg,transparent 0 70%,rgba(118,184,232,.13) 88%,transparent); animation: scan 6s linear infinite; }
    .radar img { position: relative; z-index: 2; width: 230px; filter: drop-shadow(0 28px 42px rgba(0,0,0,.35)); }
    @keyframes scan { to { transform: rotate(360deg); } }
    .visual-card { position: absolute; z-index: 3; min-width: 145px; padding: 13px 16px; border: 1px solid rgba(118,184,232,.34); border-radius: 10px; background: rgba(2,22,40,.86); backdrop-filter: blur(12px); }
    .visual-card span, .visual-card strong { display: block; }
    .visual-card span { color: #8ba3bb; font-size: .53rem; letter-spacing: .1em; text-transform: uppercase; }
    .visual-card strong { color: var(--cyan); font-family: var(--serif); font-size: 1.6rem; }
    .visual-card.one { top: 15%; right: 0; }
    .visual-card.two { bottom: 14%; left: 1%; }
    .hero-bottom { border-top: 1px solid rgba(255,255,255,.1); background: rgba(2,14,18,.35); }
    .hero-bottom .container { min-height: 50px; display: flex; align-items: center; gap: 19px; color: #7f96ad; font-size: .58rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
    .hero-bottom i { flex: 1; height: 1px; background: rgba(255,255,255,.1); }
    .priority-alert { border-bottom: 1px solid var(--line); background: var(--surface); }
    .priority-inner { min-height: 98px; display: grid; grid-template-columns: auto 1fr auto; gap: 17px; align-items: center; }
    .priority-inner > .icon { width: 28px; height: 28px; color: var(--teal); }
    .priority-inner span { display: block; color: var(--teal); font-size: .57rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
    .priority-inner strong { font-size: .83rem; }
    .priority-inner p { margin: 2px 0 0; font-size: .7rem; }
    .priority-inner > a { display: flex; align-items: center; gap: 7px; color: var(--teal); font-size: .66rem; font-weight: 850; }
    .service-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
    .service-card { position: relative; min-height: 355px; display: flex; flex-direction: column; align-items: flex-start; padding: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 12px 35px rgba(4,31,38,.04); transition: transform .25s, border-color .25s, box-shadow .25s; }
    .service-card:hover { transform: translateY(-7px); border-color: var(--teal); box-shadow: var(--shadow); }
    .service-number { position: absolute; top: 22px; right: 25px; color: color-mix(in srgb,var(--ink-soft) 45%,transparent); font-family: var(--serif); font-size: 2.1rem; }
    .service-icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 35px; border-radius: 50%; color: var(--teal); background: var(--surface-2); }
    .service-icon .icon { width: 25px; height: 25px; }
    .service-card h3 { margin: 0 0 12px; font-family: var(--serif); font-size: 1.55rem; }
    .service-card p { font-size: .77rem; }
    .service-card b { display: flex; align-items: center; gap: 6px; margin-top: auto; color: var(--teal); font-size: .63rem; }
    .service-card b .icon { width: 15px; }
    .journey-section { color: white; background: linear-gradient(115deg,#06172b,#0b3b68); }
    .journey-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 100px; align-items: center; }
    .journey-copy h2 { margin: 9px 0 23px; color: white; }
    .journey-copy p { color: #b2c0cf; }
    .journey-copy .text-link { color: var(--cyan); }
    .journey-track { position: relative; display: grid; gap: 20px; }
    .journey-track::before { content: ''; position: absolute; top: 12%; bottom: 12%; left: 29px; width: 1px; background: linear-gradient(var(--cyan),var(--gold)); }
    .journey-track article { position: relative; display: grid; grid-template-columns: 60px 1fr; gap: 24px; align-items: center; padding: 25px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.035); }
    .journey-track article > span { z-index: 2; width: 60px; height: 60px; display: grid; place-items: center; border: 1px solid rgba(118,184,232,.38); border-radius: 50%; color: var(--gold); background: #082d4d; font-family: var(--serif); font-size: 1.3rem; }
    .journey-track small { color: #6f999c; font-size: .58rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
    .journey-track h3 { margin: 3px 0; color: white; font-family: var(--serif); font-size: 1.5rem; }
    .journey-track p { margin: 0; font-size: .7rem; }
    .division-strip { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); background: var(--surface); }
    .division-strip article { min-height: 290px; padding: 30px; border-right: 1px solid var(--line); }
    .division-strip article:last-child { border-right: 0; }
    .division-strip b { color: var(--teal); font-family: var(--serif); font-size: 2.2rem; }
    .division-strip h3 { margin: 38px 0 13px; font-size: 1rem; }
    .division-strip p { font-size: .71rem; }
    .updates-section { background: var(--surface-2); }
    .notice-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
    .notice-card { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
    .notice-card > img { width: 100%; height: 190px; object-fit: cover; }
    .notice-card > div { padding: 28px; }
    .notice-card span { color: var(--teal); font-size: .57rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
    .notice-card h3 { margin: 10px 0; font-family: var(--serif); font-size: 1.5rem; }
    .notice-card p { font-size: .73rem; }
    .notice-card a { display: inline-flex; align-items: center; gap: 7px; color: var(--teal); font-size: .65rem; font-weight: 850; }
    .notice-card a .icon { width: 15px; }
    .feature-seal { min-height: 520px; display: grid; place-items: center; padding: 70px; border-radius: 28px; background: radial-gradient(circle,#0d5c9d,#06172b 68%); }
    .feature-seal img { width: 300px; filter: drop-shadow(0 25px 40px rgba(0,0,0,.25)); }
    .feature-seal span { color: #79acaf; font-size: .6rem; font-weight: 850; letter-spacing: .2em; text-transform: uppercase; }
    .principle-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: 35px; }
    .principle-grid article { padding: 20px; border: 1px solid var(--line); background: var(--surface); }
    .principle-grid strong { color: var(--gold); font-family: var(--serif); }
    .principle-grid h3 { margin: 12px 0 6px; font-size: .88rem; }
    .principle-grid p { margin: 0; font-size: .68rem; }
    .organization-section { color: white; background: linear-gradient(135deg,#06172b,#0a3459); }
    .organization-section h2 { color: white; }
    .organization-section .section-head p { color: #aac0c2; }
    .organization-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
    .organization-grid article { position: relative; min-height: 390px; padding: 38px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: rgba(255,255,255,.035); }
    .org-code { position: absolute; top: 20px; right: 28px; color: rgba(255,255,255,.06); font-family: var(--serif); font-size: 6rem; line-height: 1; }
    .organization-grid article > span { color: var(--cyan); font-size: .58rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
    .organization-grid h3 { max-width: 390px; margin: 85px 0 20px; color: white; font-family: var(--serif); font-size: 2rem; }
    .organization-grid ul { display: grid; gap: 8px; margin: 0; padding-left: 18px; color: #a8c0c2; font-size: .75rem; }
    .cooperation-section { background: var(--surface-2); }
    .agency-row { display: flex; align-items: center; gap: 25px; padding: 28px; overflow-x: auto; border: 1px solid var(--line); background: var(--surface); }
    .agency-row span { flex: 0 0 auto; color: var(--teal); font-family: var(--serif); font-size: 1.4rem; font-weight: 700; }
    .agency-row i { flex: 1 0 25px; height: 1px; background: var(--line); }
    .status-comparison { overflow-x: auto; border: 1px solid var(--line); background: var(--surface); }
    .status-comparison > div { min-width: 690px; display: grid; grid-template-columns: 1.2fr repeat(3,1fr); border-bottom: 1px solid var(--line); }
    .status-comparison > div:last-child { border-bottom: 0; }
    .status-comparison span, .status-comparison strong, .status-comparison b { min-height: 64px; display: grid; place-items: center; padding: 12px; border-right: 1px solid var(--line); }
    .status-comparison span { justify-items: start; padding-left: 22px; color: var(--ink-soft); font-size: .68rem; font-weight: 800; }
    .status-comparison strong { color: var(--ink); background: var(--surface-2); font-family: var(--serif); }
    .status-comparison b { color: var(--teal); }
    .status-comparison b.no { color: #8da0a3; font-weight: 500; }
    .status-comparison .icon { width: 20px; }
    .immigration-stage { background: var(--surface); }
    .immigration-stage.alternate { background: var(--surface-2); }
    .stage-layout { display: grid; grid-template-columns: .32fr 1fr; gap: 80px; }
    .stage-index { position: sticky; top: 170px; align-self: start; display: flex; flex-direction: column; }
    .stage-index span { color: var(--teal); font-family: var(--serif); font-size: clamp(6rem,13vw,11rem); line-height: .8; opacity: .15; }
    .stage-index strong { margin-top: 25px; color: var(--teal); font-size: .62rem; letter-spacing: .15em; text-transform: uppercase; }
    .stage-content { max-width: 820px; }
    .stage-content h2 { margin-top: 10px; }
    .stage-content > h3 { margin-top: 42px; font-size: 1rem; }
    .fact-row { display: grid; grid-template-columns: repeat(3,1fr); margin-block: 38px; border: 1px solid var(--line); }
    .fact-row > div { padding: 22px; border-right: 1px solid var(--line); }
    .fact-row > div:last-child { border-right: 0; }
    .fact-row span, .fact-row strong, .fact-row small { display: block; }
    .fact-row span { color: var(--ink-soft); font-size: .55rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
    .fact-row strong { margin: 6px 0 2px; color: var(--teal); font-family: var(--serif); font-size: 1.35rem; }
    .fact-row small { color: var(--ink-soft); font-size: .58rem; }
    .oath { margin-top: 30px; border: 1px solid var(--line); background: var(--surface); }
    .oath summary { padding: 17px 20px; color: var(--teal); font-size: .7rem; font-weight: 850; cursor: pointer; }
    .oath blockquote { margin: 0; padding: 25px; border-top: 1px solid var(--line); color: var(--ink-soft); font-family: var(--serif); font-size: 1.05rem; line-height: 1.7; }
    .accordion-list { display: grid; gap: 9px; }
    .accordion { border: 1px solid var(--line); background: var(--surface); }
    .accordion button { width: 100%; min-height: 66px; display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; border: 0; background: transparent; text-align: left; cursor: pointer; }
    .accordion button span { font-size: .78rem; font-weight: 800; }
    .accordion button b { color: var(--teal); font-size: 1.4rem; transition: transform .2s; }
    .accordion > div { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s; }
    .accordion > div p { overflow: hidden; margin: 0; padding-inline: 20px; font-size: .75rem; }
    .accordion.open > div { grid-template-rows: 1fr; }
    .accordion.open > div p { padding-bottom: 22px; }
    .accordion.open button b { transform: rotate(45deg); }
    .process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
    .process-grid article { position: relative; padding: 28px; border-top: 3px solid var(--teal); background: var(--surface); box-shadow: var(--shadow); }
    .process-grid article > span { position: absolute; top: 20px; right: 22px; color: var(--line); font-family: var(--serif); font-size: 2rem; }
    .process-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 35px; color: var(--teal); background: var(--surface-2); }
    .process-grid h3 { font-family: var(--serif); font-size: 1.25rem; }
    .process-grid p { margin: 0; font-size: .7rem; }
    .border-checklist, .merchant-section { color: white; background: linear-gradient(115deg,#06172b,#0a3b67); }
    .border-checklist h2, .merchant-section h2 { color: white; }
    .border-checklist p, .merchant-section p { color: #adc5c7; }
    .document-stack { display: grid; gap: 12px; }
    .document-stack > div { display: grid; grid-template-columns: auto 1fr; gap: 4px 15px; padding: 23px; border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.04); }
    .document-stack .icon { grid-row: 1/3; align-self: center; width: 28px; height: 28px; color: var(--cyan); }
    .document-stack span { color: #779a9d; font-size: .55rem; text-transform: uppercase; }
    .document-stack strong { color: white; font-family: var(--serif); }
    .closure-section { background: var(--surface-2); }
    .closure-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
    .closure-grid article { padding: 31px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
    .closure-grid .level-dot { display: block; margin-bottom: 28px; }
    .level-dot.exception { background: var(--teal); box-shadow: 0 0 0 4px rgba(0,94,168,.16); }
    .closure-grid small { color: var(--ink-soft); font-size: .56rem; font-weight: 850; letter-spacing: .12em; }
    .closure-grid h3 { margin: 7px 0 11px; font-family: var(--serif); font-size: 1.5rem; }
    .closure-grid p { margin: 0; font-size: .7rem; }
    .threshold-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 13px; }
    .threshold-grid article { min-height: 260px; padding: 28px; border: 1px solid var(--line); background: var(--surface); }
    .threshold-grid span { color: var(--teal); font-family: var(--serif); font-size: 2.8rem; }
    .threshold-grid h3 { margin: 48px 0 10px; }
    .threshold-grid p { margin: 0; font-size: .7rem; }
    .calculator-section { color: white; background: linear-gradient(125deg,#061426,#0a3963); }
    .calculator-layout { display: grid; grid-template-columns: 1fr .8fr; gap: 90px; align-items: center; }
    .calculator-layout h2 { margin-top: 8px; color: white; }
    .calculator-layout > div > p { color: #afc5c7; }
    .tariff-table { margin-top: 30px; border-top: 1px solid rgba(255,255,255,.13); }
    .tariff-table div { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.13); font-size: .7rem; }
    .tariff-table span { color: #9bb6b8; }
    .tariff-table strong { color: var(--cyan); }
    .customs-calculator { padding: 34px; border: 1px solid rgba(255,255,255,.15); border-radius: 20px; background: rgba(255,255,255,.055); }
    .customs-calculator > span { color: var(--gold); font-size: .6rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
    .customs-calculator > label:not(.toggle-line) { display: grid; gap: 7px; margin-top: 25px; color: #9bb5b7; font-size: .64rem; font-weight: 800; }
    .customs-calculator input[type=number] { width: 100%; height: 58px; padding: 0 17px; border: 1px solid rgba(255,255,255,.18); border-radius: 7px; color: white; background: #082743; font-size: 1.25rem; }
    .toggle-line { display: flex; align-items: center; gap: 11px; margin-top: 19px; color: #aac0c2; font-size: .66rem; cursor: pointer; }
    .toggle-line input { position: absolute; opacity: 0; }
    .toggle-line i { width: 38px; height: 21px; padding: 3px; border-radius: 30px; background: #314b64; }
    .toggle-line i::before { content: ''; display: block; width: 15px; height: 15px; border-radius: 50%; background: white; transition: transform .2s; }
    .toggle-line input:checked + i { background: var(--teal); }
    .toggle-line input:checked + i::before { transform: translateX(17px); }
    .calculator-result { margin-top: 27px; padding: 23px; border-radius: 12px; background: #eaf7f4; }
    .calculator-result small, .calculator-result strong, .calculator-result span { display: block; }
    .calculator-result small { color: #587076; font-size: .58rem; text-transform: uppercase; }
    .calculator-result strong { color: #004f8f; font-family: var(--serif); font-size: 2.6rem; }
    .calculator-result span { color: #365069; font-size: .65rem; font-weight: 800; }
    .customs-calculator > p { margin: 15px 0 0; color: #789a9d; font-size: .59rem; }
    .resource-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }
    .resource-grid article { min-height: 310px; padding: 31px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
    .resource-grid article > span { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; color: var(--teal); background: var(--surface-2); font-family: var(--serif); font-size: 1.6rem; }
    .resource-grid article.uranium > span { color: white; background: var(--teal); box-shadow: 0 0 0 9px rgba(0,94,168,.12); }
    .resource-grid h3 { margin: 70px 0 12px; font-family: var(--serif); font-size: 1.7rem; }
    .resource-grid p { margin: 0; font-size: .72rem; }
    .merchant-card { padding: 36px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); }
    .merchant-card > span { color: var(--gold); font-size: .58rem; text-transform: uppercase; }
    .merchant-card > strong { display: block; margin-top: 7px; color: white; font-family: var(--serif); font-size: 2rem; }
    .merchant-card .button { margin-top: 15px; }
    .prohibition-list { border-top: 1px solid var(--line); }
    .prohibition-list > div { display: grid; grid-template-columns: 45px 1fr; gap: 2px 15px; padding: 20px 0; border-bottom: 1px solid var(--line); }
    .prohibition-list span { grid-row: 1/3; color: var(--red); font-family: var(--serif); font-size: 1.2rem; }
    .prohibition-list strong { font-size: .82rem; }
    .prohibition-list small { color: var(--ink-soft); font-size: .64rem; }
    .bureau-layout { display: grid; grid-template-columns: .34fr 1fr; gap: 80px; align-items: start; }
    .bureau-layout.reverse { grid-template-columns: .34fr 1fr; }
    .bureau-code { position: sticky; top: 160px; padding: 35px; border: 1px solid var(--line); background: var(--surface); }
    .bureau-code span { color: var(--teal); font-family: var(--serif); font-size: clamp(4rem,8vw,7rem); line-height: 1; }
    .bureau-code small { display: block; margin-top: 12px; color: var(--ink-soft); font-size: .58rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
    .capability-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: 35px; }
    .capability-grid article { padding: 23px; border: 1px solid var(--line); background: var(--surface); }
    .capability-grid h3 { font-size: .86rem; }
    .capability-grid p { margin: 0; font-size: .68rem; }
    .ctd-section { color: white; background: linear-gradient(130deg,#061426,#0a365e); }
    .ctd-section h2 { color: white; }
    .ctd-section .lead { color: #b7cbcd; }
    .ctd-section .bureau-code { border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.04); }
    .ctd-section .bureau-code span { color: var(--cyan); }
    .ctd-section .bureau-code small { color: #7f9fa2; }
    .infrastructure-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 13px; }
    .infrastructure-grid article { min-height: 245px; display: flex; flex-direction: column; padding: 27px; border: 1px solid var(--line); background: var(--surface); }
    .infrastructure-grid article > span { color: var(--line); font-family: var(--serif); font-size: 2rem; }
    .infrastructure-grid .icon { width: 36px; height: 36px; margin: auto 0 25px; color: var(--teal); }
    .infrastructure-grid h3 { margin: 0; font-family: var(--serif); }
    .levels-section { color: white; background: #071522; }
    .levels-section h2 { color: white; }
    .levels-section .section-head p { color: #9fb7b9; }
    .levels-list { display: grid; gap: 9px; }
    .levels-list article { display: grid; grid-template-columns: 160px 1fr; gap: 30px; padding: 27px; border: 1px solid rgba(255,255,255,.11); border-left: 5px solid var(--green); background: rgba(255,255,255,.035); }
    .levels-list article.level-yellow { border-left-color: var(--yellow); }
    .levels-list article.level-orange { border-left-color: var(--orange); }
    .levels-list article.level-red { border-left-color: var(--red); }
    .levels-list article > span { align-self: center; color: var(--green); font-family: var(--serif); font-size: 2rem; }
    .levels-list article.level-yellow > span { color: var(--yellow); }
    .levels-list article.level-orange > span { color: var(--orange); }
    .levels-list article.level-red > span { color: var(--red); }
    .levels-list small { color: #78989b; font-size: .55rem; text-transform: uppercase; }
    .levels-list h3 { margin: 2px 0 5px; color: white; }
    .levels-list p { margin: 0; color: #9cb5b7; font-size: .7rem; }
    .level-disclaimer { margin-top: 18px; padding: 21px; border: 1px solid rgba(255,255,255,.1); color: #8ba7a9; font-size: .67rem; }
    .alert-list { display: grid; gap: 10px; }
    .alert-list article { display: grid; grid-template-columns: 130px 1fr auto; gap: 22px; align-items: center; padding: 22px; border: 1px solid var(--line); background: var(--surface); }
    .alert-list article > span { color: var(--orange); font-size: .58rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
    .alert-list h3 { margin: 0 0 5px; font-family: var(--serif); }
    .alert-list p { margin: 0; font-size: .68rem; }
    .alert-list a { color: var(--teal); }
    .featured-alerts { margin-bottom: 35px; }
    .all-notices { margin-top: 20px; }
    .article-hero { padding-block: 95px; color: white; background: linear-gradient(120deg,#071522,#0a416f); }
    .article-hero a { color: var(--cyan); font-size: .68rem; font-weight: 800; }
    .article-hero span { display: block; margin-top: 45px; color: var(--gold); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; }
    .article-hero h1 { margin: 12px 0 20px; color: white; font-size: clamp(3rem,6vw,5.5rem); }
    .article-hero p { max-width: 760px; color: #b4c9cb; font-size: 1.05rem; }
    .article-layout { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 70px; align-items: start; }
    .article-body > img { width: 100%; max-height: 520px; object-fit: cover; margin-bottom: 35px; border-radius: 16px; }
    .article-body > p { color: var(--ink); font-size: .96rem; line-height: 1.9; }
    .article-aside { position: sticky; top: 130px; padding: 27px; border: 1px solid var(--line); background: var(--surface); text-align: center; }
    .article-aside img { width: 110px; margin: 0 auto 18px; }
    .article-aside strong { display: block; font-family: var(--serif); font-size: 1.25rem; }
    .article-aside p { font-size: .68rem; }
    .article-aside a { display: inline-flex; gap: 6px; align-items: center; color: var(--teal); font-size: .64rem; font-weight: 800; }
    .contact-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 15px; }
    .contact-card { min-height: 315px; padding: 31px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
    .contact-card > div { width: 50px; height: 50px; display: grid; place-items: center; margin-bottom: 35px; color: var(--teal); background: var(--surface-2); }
    .contact-card > span { color: var(--teal); font-size: .56rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
    .contact-card h3 { margin: 7px 0 11px; font-family: var(--serif); font-size: 1.6rem; }
    .contact-card p { font-size: .72rem; }
    .contact-card a { display: inline-flex; align-items: center; gap: 7px; color: var(--teal); overflow-wrap: anywhere; font-size: .68rem; font-weight: 800; }
    .contact-card a .icon { width: 15px; }
    .headquarters-section { background: var(--surface-2); }
    .hq-visual { position: relative; min-height: 480px; display: grid; place-items: center; overflow: hidden; border-radius: 25px; background: linear-gradient(135deg,#061426,#0a426f); }
    .hq-grid { position: absolute; inset: 0; opacity: .35; background-image: linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px); background-size: 45px 45px; }
    .hq-visual img { position: relative; width: 240px; }
    .hq-visual span { position: absolute; bottom: 25px; color: #73a4a7; font-size: .58rem; letter-spacing: .15em; text-transform: uppercase; }
    .contact-detail { padding-block: 19px; border-bottom: 1px solid var(--line); }
    .contact-detail span, .contact-detail strong { display: block; }
    .contact-detail span { color: var(--teal); font-size: .56rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
    .contact-detail strong { margin-top: 6px; font-size: .8rem; }
    .visitor-note { display: flex; gap: 12px; margin-top: 24px; color: var(--teal); }
    .visitor-note p { margin: 0; font-size: .68rem; }
}

@layer responsive {
    @media (max-width: 1120px) {
        .main-nav a { padding-inline: 8px; font-size: .62rem; }
        .brand { min-width: 230px; }
        .service-grid, .process-grid, .threshold-grid, .infrastructure-grid { grid-template-columns: repeat(2,1fr); }
        .footer-grid { grid-template-columns: 1.6fr repeat(2,1fr); }
        .footer-grid > div:last-child { grid-column: 2/4; }
    }
    @media (max-width: 920px) {
        .header-inner { min-height: 72px; }
        .brand img { width: 48px; height: 48px; }
        .main-nav { position: fixed; z-index: 199; inset: 108px 0 auto; max-height: calc(100vh - 108px); display: grid; align-content: start; padding: 18px; overflow-y: auto; border-top: 1px solid #28465f; color: white; background: rgba(2,17,32,.98); transform: translateY(-125%); transition: transform .25s; }
        .main-nav.open { transform: none; }
        .main-nav a { min-height: 48px; display: flex; padding: 0 13px; color: #b5c8ca; border-bottom: 1px solid rgba(255,255,255,.07); }
        .main-nav a.active { color: var(--cyan); }
        .main-nav a::after { display: none; }
        .header-actions { margin-left: auto; }
        .nav-toggle { display: grid; }
        .subnav { top: 72px; }
        .hero-inner { grid-template-columns: 1fr; padding-top: 85px; }
        .hero-visual { min-height: 470px; }
        .journey-layout, .calculator-layout { grid-template-columns: 1fr; gap: 65px; }
        .split-feature, .split-content, .authority-layout, .headquarters-layout, .prohibition-layout { grid-template-columns: 1fr; gap: 55px; }
        .stage-layout, .bureau-layout, .bureau-layout.reverse { grid-template-columns: 1fr; gap: 35px; }
        .stage-index, .bureau-code { position: static; }
        .stage-index { flex-direction: row; align-items: center; gap: 20px; }
        .stage-index span { font-size: 5rem; }
        .stage-index strong { margin: 0; }
        .feature-seal { min-height: 420px; }
        .organization-grid { grid-template-columns: 1fr; }
        .division-strip { grid-template-columns: 1fr 1fr; }
        .division-strip article:nth-child(2) { border-right: 0; }
        .division-strip article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
        .article-layout { grid-template-columns: 1fr; }
        .article-aside { position: static; }
    }
    @media (max-width: 720px) {
        .container { width: min(calc(100% - 28px), var(--container)); }
        .section { padding-block: 78px; }
        .status-inner { min-height: 42px; }
        .status-inner > span:nth-child(2), .status-inner > a { display: none; }
        .brand { min-width: 0; }
        .brand span { display: none; }
        .main-nav { top: 114px; max-height: calc(100vh - 114px); }
        .section-head { align-items: flex-start; flex-direction: column; gap: 15px; margin-bottom: 35px; }
        .page-hero { min-height: 400px; }
        .page-hero-inner { padding-block: 60px; }
        .page-hero h1 { font-size: clamp(2.8rem,14vw,4.2rem); }
        .page-hero p { font-size: .9rem; }
        .subnav a { padding-inline: 16px; }
        .hero { min-height: 0; }
        .hero-inner { min-height: 0; padding-block: 78px 45px; }
        .hero-copy h1 { font-size: clamp(3.4rem,16vw,5.2rem); }
        .hero-facts { gap: 20px; }
        .hero-facts > div { flex: 1; }
        .hero-visual { min-height: 390px; }
        .radar img { width: 180px; }
        .visual-card { min-width: 125px; }
        .hero-bottom { display: none; }
        .priority-inner { grid-template-columns: auto 1fr; }
        .priority-inner > a { display: none; }
        .service-grid, .process-grid, .threshold-grid, .resource-grid, .infrastructure-grid, .closure-grid, .contact-grid, .notice-grid { grid-template-columns: 1fr; }
        .journey-track article { grid-template-columns: 50px 1fr; }
        .journey-track article > span { width: 50px; height: 50px; }
        .journey-track::before { left: 24px; }
        .division-strip { grid-template-columns: 1fr; }
        .division-strip article { border-right: 0; border-bottom: 1px solid var(--line); }
        .division-strip article:last-child { border-bottom: 0; }
        .principle-grid, .capability-grid { grid-template-columns: 1fr; }
        .organization-grid article { min-height: 340px; padding: 28px; }
        .org-code { font-size: 4.7rem; }
        .organization-grid h3 { margin-top: 70px; font-size: 1.65rem; }
        .fact-row { grid-template-columns: 1fr; }
        .fact-row > div { border-right: 0; border-bottom: 1px solid var(--line); }
        .fact-row > div:last-child { border-bottom: 0; }
        .application-inner { align-items: flex-start; flex-direction: column; }
        .application-inner .button { width: 100%; overflow-wrap: anywhere; }
        .levels-list article { grid-template-columns: 1fr; gap: 8px; }
        .alert-list article { grid-template-columns: 1fr auto; }
        .alert-list article > span { grid-column: 1/-1; }
        .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px; }
        .footer-brand { grid-column: 1/-1; }
        .footer-grid > div:last-child { grid-column: 1/-1; }
        .footer-bottom { align-items: flex-start; flex-direction: column; gap: 7px; padding-block: 18px; }
        .footer-bottom span:nth-child(2) { margin-left: 0; }
    }
    @media (max-width: 440px) {
        .theme-toggle, .nav-toggle { width: 39px; height: 39px; }
        .hero-facts { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
        .hero-facts strong { font-size: 1.3rem; }
        .hero-facts span { font-size: .49rem; }
        .hero-visual { min-height: 330px; }
        .visual-card { display: none; }
        .service-card { min-height: 320px; }
        .footer-grid { grid-template-columns: 1fr; }
        .footer-grid > div, .footer-grid > div:last-child { grid-column: auto; }
        .footer-brand { flex-direction: column; }
    }
    @media (prefers-reduced-motion: reduce) {
        *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
        .reveal { opacity: 1; transform: none; }
    }
}

@layer pages {
    .crossing-status-strip { padding-block: 42px; border-bottom: 1px solid var(--line); background: var(--surface); }
    .crossing-strip-head { display: flex; justify-content: space-between; align-items: end; gap: 35px; margin-bottom: 22px; }
    .crossing-strip-head h2 { margin: 7px 0 0; font-family: var(--sans); font-size: clamp(1.45rem, 2.8vw, 2.15rem); font-weight: 750; letter-spacing: -.025em; }
    .crossing-status-summary { min-height: 42px; display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--surface-2); font-size: .67rem; font-weight: 850; white-space: nowrap; }
    .crossing-status-summary i, .crossing-card-line i { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 15%, transparent); }
    .status-open { --crossing-color: #2e8540; }
    .status-restricted { --crossing-color: #cf8500; }
    .status-closed { --crossing-color: #c41230; }
    .crossing-status-summary.status-open, .crossing-status-summary.status-restricted, .crossing-status-summary.status-closed { color: var(--crossing-color); }
    .crossing-compact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
    .crossing-compact-card { position: relative; min-height: 190px; display: flex; flex-direction: column; padding: 22px; overflow: hidden; border: 1px solid var(--line); border-top: 4px solid var(--crossing-color); border-radius: 13px; background: var(--paper); transition: transform .2s, border-color .2s, box-shadow .2s; }
    .crossing-compact-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--crossing-color) 55%, var(--line)); box-shadow: 0 13px 35px rgba(0, 27, 51, .08); }
    .crossing-card-line { display: flex; align-items: center; gap: 9px; color: var(--crossing-color); font-size: .57rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
    .crossing-compact-card strong { margin-top: 18px; color: var(--ink); font-family: var(--serif); font-size: 1.25rem; line-height: 1.15; }
    .crossing-compact-card small { margin-top: 6px; color: var(--ink-soft); font-size: .64rem; font-weight: 750; }
    .crossing-compact-card small b { margin-inline: 5px; color: var(--crossing-color); }
    .crossing-compact-card p { margin: auto 0 0; padding-top: 15px; font-size: .67rem; line-height: 1.45; }
    .crossing-all-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; color: var(--teal); font-size: .65rem; font-weight: 850; }
    .crossing-all-link .icon { width: 16px; }
    .crossing-status-section { background: linear-gradient(180deg, var(--surface-2), var(--paper)); }
    .crossing-board-head { align-items: center; }
    .crossing-board-head .crossing-status-summary { flex: 0 0 auto; }
    .crossing-status-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
    .crossing-status-card { position: relative; min-height: 390px; display: flex; flex-direction: column; padding: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: 0 15px 45px rgba(0, 27, 51, .06); }
    .crossing-status-card::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--crossing-color); }
    .crossing-status-card::after { content: ''; position: absolute; right: -70px; bottom: -70px; width: 190px; height: 190px; border: 26px solid color-mix(in srgb, var(--crossing-color) 9%, transparent); border-radius: 50%; pointer-events: none; }
    .crossing-status-card > header { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
    .crossing-status-badge { padding: 6px 10px; color: var(--crossing-color); border: 1px solid color-mix(in srgb, var(--crossing-color) 35%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--crossing-color) 8%, transparent); font-size: .58rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
    .crossing-route { display: flex; align-items: center; gap: 10px; margin-top: 54px; color: var(--ink-soft); font-size: .64rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
    .crossing-route b { color: var(--crossing-color); font-size: 1.1rem; }
    .crossing-status-card h3 { margin: 10px 0 14px; color: var(--ink); font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.35rem); }
    .crossing-status-card > p { max-width: 90%; margin-bottom: 35px; font-size: .76rem; }
    .crossing-status-card > footer { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 15px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .56rem; }
    .crossing-status-card > footer time { color: var(--ink); font-weight: 800; }
    .crossing-status-note { max-width: 850px; margin: 24px 0 0; font-size: .68rem; }
}

@layer responsive {
    @media (max-width: 920px) {
        .crossing-compact-grid, .crossing-status-grid { grid-template-columns: 1fr; }
        .crossing-compact-card { min-height: 165px; }
        .crossing-status-card { min-height: 335px; }
    }
    @media (max-width: 720px) {
        .crossing-strip-head { align-items: flex-start; flex-direction: column; gap: 14px; }
        .crossing-status-summary { white-space: normal; }
        .crossing-board-head .crossing-status-summary { align-self: flex-start; }
        .crossing-status-card { min-height: 315px; padding: 24px; }
        .crossing-route { margin-top: 38px; }
        .crossing-status-card > footer { flex-direction: column; gap: 3px; }
    }
}


@layer base {
    html, body { max-width: 100%; overflow-x: clip; }
}

@layer pages {
    #auftrag { overflow: clip; }
    .split-feature { grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: clamp(44px, 5vw, 80px); }
    .split-feature > * { min-width: 0; }
    .feature-seal { min-width: 0; padding: clamp(38px, 5vw, 70px); overflow: hidden; }
    .feature-seal img {
        width: min(250px, 72%);
        height: auto;
        aspect-ratio: 1;
        object-fit: contain;
        image-rendering: auto;
        filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .16));
    }
    .feature-seal span { color: var(--cyan); }
    .principle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .principle-grid article { min-width: 0; overflow: hidden; }
    .principle-grid h3, .principle-grid p { overflow-wrap: anywhere; }
}

@layer responsive {
    @media (max-width: 1120px) {
        .split-feature { grid-template-columns: minmax(0, 1fr); gap: 55px; }
        .feature-seal { min-height: 450px; }
    }
    @media (max-width: 720px) {
        .feature-seal { min-height: 360px; padding: 34px 24px; }
        .feature-seal img { width: min(230px, 72%); }
        .principle-grid { grid-template-columns: minmax(0, 1fr); }
    }
    @media (max-width: 440px) {
        .feature-seal { min-height: 320px; border-radius: 20px; }
        .feature-seal img { width: min(210px, 72%); }
    }
}

@layer pages {
    .home-v2-hero { position: relative; isolation: isolate; overflow: clip; min-height: 780px; color: white; background: linear-gradient(125deg,#000d1a 0%,#041c33 48%,#06345c 100%); }
    .home-v2-grid { position: absolute; z-index: -4; inset: 0; opacity: .42; background-image: linear-gradient(rgba(143,197,236,.065) 1px,transparent 1px),linear-gradient(90deg,rgba(143,197,236,.065) 1px,transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(105deg,black,transparent 86%); }
    .home-v2-glow { position: absolute; z-index: -3; border-radius: 50%; pointer-events: none; }
    .home-v2-glow-one { width: 680px; height: 680px; right: -160px; top: -180px; background: radial-gradient(circle,rgba(0,94,168,.33),transparent 68%); }
    .home-v2-glow-two { width: 470px; height: 470px; left: 18%; bottom: -300px; background: radial-gradient(circle,rgba(196,18,48,.14),transparent 68%); }
    .home-v2-hero-layout { min-height: 720px; display: grid; grid-template-columns: minmax(0,1.08fr) minmax(430px,.92fr); gap: clamp(60px,7vw,110px); align-items: center; padding-block: 80px; }
    .home-v2-hero-layout > * { min-width: 0; }
    .home-v2-overline { display: inline-flex; align-items: center; gap: 11px; color: #8fc5ec; font-size: .62rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
    .home-v2-overline i { width: 27px; height: 2px; background: linear-gradient(90deg,#c41230,#c5a44a); }
    .home-v2-hero-copy h1 { max-width: 820px; margin: 21px 0 27px; color: white; font-size: clamp(4.4rem,7.4vw,8rem); line-height: .91; letter-spacing: -.065em; text-wrap: balance; }
    .home-v2-hero-copy > p { max-width: 720px; color: #b7c7d6; font-size: clamp(1rem,1.5vw,1.18rem); line-height: 1.8; }
    .home-v2-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
    .home-v2-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); max-width: 720px; margin-top: 52px; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
    .home-v2-metrics > div { padding: 19px 20px 19px 0; border-right: 1px solid rgba(255,255,255,.1); }
    .home-v2-metrics > div:not(:first-child) { padding-left: 20px; }
    .home-v2-metrics > div:last-child { border-right: 0; }
    .home-v2-metrics strong,.home-v2-metrics span { display: block; }
    .home-v2-metrics strong { color: white; font-family: var(--serif); font-size: 1.5rem; }
    .home-v2-metrics span { margin-top: 2px; color: #6f8ba5; font-size: .52rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
    .home-v2-operations { position: relative; overflow: hidden; padding: 21px; border: 1px solid rgba(143,197,236,.2); border-radius: 27px; background: linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.025)); box-shadow: 0 35px 90px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.08); backdrop-filter: blur(16px); }
    .home-v2-operations::before { content: ''; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg,transparent,#8fc5ec,#c41230,transparent); }
    .home-v2-operations > header { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 1px 3px 18px; border-bottom: 1px solid rgba(255,255,255,.1); }
    .home-v2-operations > header span,.home-v2-operations > header strong { display: block; }
    .home-v2-operations > header span { color: #6f8ba5; font-size: .49rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
    .home-v2-operations > header strong { margin-top: 3px; font-size: .7rem; }
    .home-v2-operations > header b { display: flex; align-items: center; gap: 7px; color: #9ccdf0; font-size: .54rem; letter-spacing: .1em; text-transform: uppercase; }
    .home-v2-operations > header b i { width: 7px; height: 7px; border-radius: 50%; background: #70bcec; box-shadow: 0 0 0 5px rgba(112,188,236,.1),0 0 15px #70bcec; animation: home-v2-pulse 2.2s ease-in-out infinite; }
    .home-v2-seal-zone { display: grid; grid-template-columns: 180px minmax(0,1fr); gap: 24px; align-items: center; padding: 28px 3px; }
    .home-v2-seal-rings { position: relative; width: 180px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(143,197,236,.17); border-radius: 50%; }
    .home-v2-seal-rings::before,.home-v2-seal-rings i { content: ''; position: absolute; inset: 12%; border: 1px dashed rgba(143,197,236,.17); border-radius: 50%; animation: home-v2-rotate 18s linear infinite; }
    .home-v2-seal-rings i:nth-child(2) { inset: 27%; border-style: solid; border-color: rgba(196,18,48,.19); animation-direction: reverse; animation-duration: 13s; }
    .home-v2-seal-rings > span { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(transparent 0 68%,rgba(143,197,236,.12) 86%,transparent); animation: home-v2-rotate 7s linear infinite; }
    .home-v2-seal-rings img { position: relative; z-index: 2; width: 118px; filter: drop-shadow(0 12px 17px rgba(0,0,0,.2)); animation: home-v2-float 5.5s ease-in-out infinite; }
    .home-v2-security-level span,.home-v2-security-level strong,.home-v2-security-level small { display: block; }
    .home-v2-security-level span { color: #6f8ba5; font-size: .48rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
    .home-v2-security-level strong { margin: 9px 0 3px; color: #8fc5ec; font-family: var(--serif); font-size: 2.3rem; line-height: 1; }
    .home-v2-security-level small { color: #9cb1c4; font-size: .58rem; line-height: 1.5; }
    .home-v2-crossing-list { display: grid; gap: 7px; }
    .home-v2-crossing-list > a { --crossing-color:#2e8540; display: grid; grid-template-columns: auto 1fr auto; gap: 11px; align-items: center; min-height: 58px; padding: 10px 13px; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; background: rgba(0,0,0,.13); transition: border-color .2s,background .2s,transform .2s; }
    .home-v2-crossing-list > a:hover { transform: translateX(3px); border-color: color-mix(in srgb,var(--crossing-color) 50%,transparent); background: rgba(255,255,255,.045); }
    .home-v2-crossing-list > a.status-restricted { --crossing-color:#cf8500; }
    .home-v2-crossing-list > a.status-closed { --crossing-color:#c41230; }
    .home-v2-crossing-list > a > i { width: 7px; height: 7px; border-radius: 50%; background: var(--crossing-color); box-shadow: 0 0 0 4px color-mix(in srgb,var(--crossing-color) 13%,transparent); }
    .home-v2-crossing-list strong,.home-v2-crossing-list span { display: block; }
    .home-v2-crossing-list strong { font-size: .62rem; }
    .home-v2-crossing-list span { color: #718ba2; font-size: .5rem; }
    .home-v2-crossing-list b { color: var(--crossing-color); font-size: .52rem; letter-spacing: .05em; text-transform: uppercase; }
    .home-v2-operations > footer { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-top: 17px; padding: 17px 3px 2px; border-top: 1px solid rgba(255,255,255,.1); color: #66839c; font-size: .5rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
    .home-v2-operations > footer a { display: flex; align-items: center; gap: 6px; color: #8fc5ec; }
    .home-v2-operations > footer .icon { width: 13px; }
    .home-v2-hero-footer { border-top: 1px solid rgba(255,255,255,.09); background: rgba(0,0,0,.12); }
    .home-v2-hero-footer .container { min-height: 55px; display: flex; align-items: center; gap: 20px; color: #718ba2; font-size: .51rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
    .home-v2-hero-footer i { flex: 1; height: 1px; background: rgba(255,255,255,.09); }
    .home-v2-alert { border-bottom: 1px solid var(--line); background: var(--surface); }
    .home-v2-alert .container { min-height: 104px; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; }
    .home-v2-alert-icon { width: 46px; height: 46px; display: grid; place-items: center; color: var(--teal); border-radius: 13px; background: var(--surface-2); }
    .home-v2-alert span { display: block; color: var(--teal); font-size: .53rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
    .home-v2-alert strong { font-size: .78rem; }
    .home-v2-alert p { margin: 2px 0 0; font-size: .67rem; }
    .home-v2-alert > .container > a { display: flex; align-items: center; gap: 7px; color: var(--teal); font-size: .61rem; font-weight: 850; }
    .home-v2-alert > .container > a .icon { width: 15px; }
    .home-v2-section-layout { display: grid; grid-template-columns: minmax(280px,.65fr) minmax(0,1.35fr); gap: clamp(60px,8vw,125px); align-items: start; }
    .home-v2-sticky-head { position: sticky; top: 150px; }
    .home-v2-sticky-head h2 { margin: 11px 0 25px; font-size: clamp(3rem,5vw,5.4rem); }
    .home-v2-sticky-head p { max-width: 450px; }
    .home-v2-sticky-head .text-link { margin-top: 16px; }
    .home-v2-service-bento { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
    .home-v2-service-card { position: relative; min-width: 0; min-height: 340px; display: flex; flex-direction: column; align-items: flex-start; padding: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: 21px; background: var(--surface); box-shadow: 0 10px 35px rgba(0,27,51,.045); transition: transform .25s,border-color .25s,box-shadow .25s; }
    .home-v2-service-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb,var(--teal) 45%,var(--line)); box-shadow: var(--shadow); }
    .home-v2-service-card > span { color: var(--teal); font-size: .54rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
    .home-v2-service-icon { width: 51px; height: 51px; display: grid; place-items: center; margin: 39px 0 29px; color: var(--teal); border-radius: 14px; background: var(--surface-2); }
    .home-v2-service-card h3 { max-width: 85%; margin: 0 0 12px; font-family: var(--serif); font-size: 1.8rem; }
    .home-v2-service-card p { max-width: 88%; font-size: .72rem; }
    .home-v2-service-card > b { display: inline-flex; align-items: center; gap: 7px; margin-top: auto; color: var(--teal); font-size: .61rem; }
    .home-v2-service-card > b .icon { width: 15px; }
    .home-v2-card-number { position: absolute; right: -8px; bottom: -29px; color: color-mix(in srgb,var(--teal) 6%,transparent); font-family: var(--serif); font-size: 9rem; font-style: normal; line-height: 1; pointer-events: none; }
    .home-v2-service-wide { min-height: 385px; }
    .home-v2-service-wide:nth-child(1) { background: linear-gradient(145deg,var(--surface),color-mix(in srgb,var(--surface-2) 65%,var(--surface))); }
    .home-v2-borders { border-block: 1px solid var(--line); background: var(--surface-2); }
    .home-v2-section-head { display: flex; justify-content: space-between; align-items: end; gap: 45px; margin-bottom: 48px; }
    .home-v2-section-head h2 { margin: 9px 0 0; }
    .home-v2-section-head > p { max-width: 520px; margin: 0 0 8px; }
    .home-v2-section-head > a,.home-v2-section-head > .crossing-status-summary { flex: 0 0 auto; }
    .home-v2-border-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
    .home-v2-border-card { --crossing-color:#2e8540; position: relative; min-width: 0; min-height: 365px; display: flex; flex-direction: column; padding: 27px; overflow: hidden; border: 1px solid var(--line); border-top: 4px solid var(--crossing-color); border-radius: 18px; background: var(--surface); box-shadow: 0 12px 35px rgba(0,27,51,.05); }
    .home-v2-border-card.status-restricted { --crossing-color:#cf8500; }
    .home-v2-border-card.status-closed { --crossing-color:#c41230; }
    .home-v2-border-card::after { content: ''; position: absolute; width: 180px; height: 180px; right: -80px; bottom: -80px; border: 25px solid color-mix(in srgb,var(--crossing-color) 8%,transparent); border-radius: 50%; }
    .home-v2-border-card > header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
    .home-v2-border-card > header span { display: flex; align-items: center; gap: 8px; color: var(--crossing-color); font-size: .55rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
    .home-v2-border-card > header span i { width: 7px; height: 7px; border-radius: 50%; background: var(--crossing-color); box-shadow: 0 0 0 4px color-mix(in srgb,var(--crossing-color) 13%,transparent); }
    .home-v2-border-card > header small { color: var(--ink-soft); font-size: .51rem; font-weight: 800; }
    .home-v2-route { display: flex; align-items: center; gap: 9px; margin-top: 52px; color: var(--ink-soft); font-size: .59rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
    .home-v2-route b { color: var(--crossing-color); font-size: 1rem; }
    .home-v2-border-card h3 { margin: 9px 0 14px; font-family: var(--serif); font-size: 1.75rem; }
    .home-v2-border-card > p { max-width: 88%; font-size: .7rem; }
    .home-v2-border-card > footer { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 17px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .52rem; }
    .home-v2-border-card > footer a { width: 31px; height: 31px; display: grid; place-items: center; color: var(--crossing-color); border: 1px solid var(--line); border-radius: 50%; }
    .home-v2-border-card > footer .icon { width: 14px; }
    .home-v2-all-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 25px; color: var(--teal); font-size: .63rem; font-weight: 850; }
    .home-v2-all-link .icon { width: 15px; }
    .home-v2-pathway { position: relative; isolation: isolate; overflow: clip; color: white; background: linear-gradient(125deg,#00101f,#072f52); }
    .home-v2-pathway-grid { position: absolute; z-index: -1; inset: 0; opacity: .45; background-image: linear-gradient(rgba(143,197,236,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(143,197,236,.055) 1px,transparent 1px); background-size: 68px 68px; mask-image: linear-gradient(90deg,black,transparent); }
    .home-v2-pathway .home-v2-section-head h2 { color: white; }
    .home-v2-pathway .home-v2-section-head > p { color: #adbfce; }
    .home-v2-timeline { position: relative; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
    .home-v2-timeline::before { content: ''; position: absolute; top: 30px; right: 16%; left: 16%; height: 1px; background: linear-gradient(90deg,#8fc5ec,#c5a44a,#c41230); }
    .home-v2-timeline article { position: relative; min-width: 0; min-height: 330px; display: flex; flex-direction: column; padding: 28px; border: 1px solid rgba(255,255,255,.11); border-radius: 17px; background: rgba(255,255,255,.035); backdrop-filter: blur(8px); }
    .home-v2-timeline article > span { position: relative; z-index: 2; width: 61px; height: 61px; display: grid; place-items: center; margin-bottom: 45px; color: #c5a44a; border: 1px solid rgba(143,197,236,.28); border-radius: 50%; background: #062541; font-family: var(--serif); font-size: 1.25rem; }
    .home-v2-timeline small { color: #7491a9; font-size: .52rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
    .home-v2-timeline h3 { margin: 7px 0 10px; color: white; font-family: var(--serif); font-size: 1.75rem; }
    .home-v2-timeline p { color: #9eb2c3; font-size: .69rem; }
    .home-v2-timeline a { display: flex; align-items: center; gap: 7px; margin-top: auto; color: #8fc5ec; font-size: .59rem; font-weight: 850; }
    .home-v2-timeline .icon { width: 14px; }
    .home-v2-agency-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border: 1px solid var(--line); border-radius: 21px; overflow: hidden; background: var(--surface); }
    .home-v2-agency-grid article { position: relative; min-width: 0; min-height: 390px; display: flex; flex-direction: column; padding: 28px; overflow: hidden; border-right: 1px solid var(--line); transition: background .25s; }
    .home-v2-agency-grid article:last-child { border-right: 0; }
    .home-v2-agency-grid article:hover { background: var(--surface-2); }
    .home-v2-agency-code { color: var(--teal); font-family: var(--serif); font-size: 2.3rem; }
    .home-v2-agency-grid article > span { margin-top: 36px; color: var(--ink-soft); font-size: .51rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
    .home-v2-agency-grid h3 { margin: 9px 0 15px; font-family: var(--serif); font-size: 1.3rem; overflow-wrap: anywhere; }
    .home-v2-agency-grid p { font-size: .68rem; }
    .home-v2-agency-grid a { display: flex; align-items: center; gap: 7px; margin-top: auto; color: var(--teal); font-size: .59rem; font-weight: 850; }
    .home-v2-agency-grid .icon { width: 14px; }
    .home-v2-updates { background: var(--surface-2); }
    .home-v2-notice-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
    .home-v2-notice { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); transition: transform .25s,box-shadow .25s; }
    .home-v2-notice:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
    .home-v2-notice-visual { position: relative; height: 180px; display: flex; justify-content: space-between; align-items: flex-start; padding: 23px; overflow: hidden; color: white; background: linear-gradient(135deg,#041b31,#0a4b7f); }
    .home-v2-notice-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
    .home-v2-notice-visual span { position: relative; z-index: 2; color: #8fc5ec; font-family: var(--serif); font-size: 2.4rem; }
    .home-v2-notice-visual b { position: relative; z-index: 2; font-size: .58rem; letter-spacing: .13em; }
    .home-v2-notice-visual i { position: absolute; width: 190px; height: 190px; right: -65px; bottom: -85px; border: 28px solid rgba(143,197,236,.09); border-radius: 50%; }
    .home-v2-notice > div:last-child { padding: 26px; }
    .home-v2-notice > div:last-child > span { color: var(--teal); font-size: .52rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
    .home-v2-notice h3 { margin: 10px 0 12px; font-family: var(--serif); font-size: 1.42rem; }
    .home-v2-notice p { font-size: .69rem; }
    .home-v2-notice a { display: flex; align-items: center; gap: 7px; margin-top: 23px; color: var(--teal); font-size: .59rem; font-weight: 850; }
    .home-v2-notice a .icon { width: 14px; }
    .home-v2-cta { position: relative; overflow: hidden; color: white; background: linear-gradient(105deg,#003e73,#062c4c); }
    .home-v2-cta::after { content: 'DHS'; position: absolute; right: 3%; bottom: -70px; color: rgba(255,255,255,.035); font-family: var(--serif); font-size: 14rem; font-weight: 700; line-height: 1; }
    .home-v2-cta .container { position: relative; z-index: 2; min-height: 340px; display: flex; justify-content: space-between; align-items: center; gap: 60px; padding-block: 65px; }
    .home-v2-cta h2 { margin: 10px 0 14px; color: white; font-size: clamp(2.8rem,5vw,5.2rem); }
    .home-v2-cta p { max-width: 720px; margin: 0; color: #bed0df; }
    .home-v2-cta .container > div:last-child { flex: 0 0 auto; display: flex; gap: 9px; }
    @keyframes home-v2-rotate { to { transform: rotate(360deg); } }
    @keyframes home-v2-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
    @keyframes home-v2-pulse { 0%,100% { opacity:.55; } 50% { opacity:1; } }
}

@layer responsive {
    @media (max-width: 1120px) {
        .home-v2-hero-layout { grid-template-columns: minmax(0,1fr); }
        .home-v2-hero-copy { max-width: 900px; }
        .home-v2-operations { width: min(720px,100%); }
        .home-v2-section-layout { grid-template-columns: minmax(0,1fr); gap: 55px; }
        .home-v2-sticky-head { position: static; }
        .home-v2-sticky-head p { max-width: 650px; }
        .home-v2-agency-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
        .home-v2-agency-grid article:nth-child(2) { border-right: 0; }
        .home-v2-agency-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    }
    @media (max-width: 920px) {
        .home-v2-border-grid,.home-v2-notice-grid { grid-template-columns: minmax(0,1fr); }
        .home-v2-border-card { min-height: 315px; }
        .home-v2-timeline { grid-template-columns: minmax(0,1fr); }
        .home-v2-timeline::before { top: 10%; bottom: 10%; left: 58px; width: 1px; height: auto; }
        .home-v2-timeline article { min-height: 285px; }
    }
    @media (max-width: 720px) {
        .home-v2-hero-layout { min-height: 0; padding-block: 75px 55px; }
        .home-v2-hero-copy h1 { font-size: clamp(3.7rem,17vw,5.6rem); }
        .home-v2-overline { font-size: .52rem; }
        .home-v2-metrics { margin-top: 38px; }
        .home-v2-metrics > div { padding: 16px 8px 16px 0; }
        .home-v2-metrics > div:not(:first-child) { padding-left: 10px; }
        .home-v2-metrics strong { font-size: 1.15rem; }
        .home-v2-metrics span { font-size: .44rem; }
        .home-v2-operations { padding: 17px; border-radius: 21px; }
        .home-v2-seal-zone { grid-template-columns: 135px minmax(0,1fr); gap: 16px; }
        .home-v2-seal-rings { width: 135px; }
        .home-v2-seal-rings img { width: 90px; }
        .home-v2-security-level strong { font-size: 1.75rem; }
        .home-v2-operations > footer > span { display: none; }
        .home-v2-operations > footer { justify-content: flex-end; }
        .home-v2-hero-footer { display: none; }
        .home-v2-alert .container { grid-template-columns: auto 1fr; padding-block: 18px; }
        .home-v2-alert > .container > a { display: none; }
        .home-v2-service-bento { grid-template-columns: minmax(0,1fr); }
        .home-v2-service-card,.home-v2-service-wide { min-height: 320px; }
        .home-v2-section-head { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 35px; }
        .home-v2-section-head > .crossing-status-summary { align-self: flex-start; }
        .home-v2-agency-grid { grid-template-columns: minmax(0,1fr); }
        .home-v2-agency-grid article { min-height: 325px; border-right: 0; border-bottom: 1px solid var(--line); }
        .home-v2-agency-grid article:last-child { border-bottom: 0; }
        .home-v2-cta .container { min-height: 0; align-items: flex-start; flex-direction: column; gap: 32px; }
        .home-v2-cta .container > div:last-child { width: 100%; flex-direction: column; }
        .home-v2-cta .button { width: 100%; }
    }
    @media (max-width: 440px) {
        .home-v2-actions { flex-direction: column; }
        .home-v2-actions .button { width: 100%; }
        .home-v2-seal-zone { grid-template-columns: 1fr; justify-items: center; text-align: center; }
        .home-v2-crossing-list > a { grid-template-columns: auto 1fr; }
        .home-v2-crossing-list > a > b { grid-column: 2; }
        .home-v2-alert-icon { display: none; }
        .home-v2-alert .container { grid-template-columns: 1fr; }
        .home-v2-service-card { padding: 25px; }
        .home-v2-border-card { padding: 24px; }
    }
}


@layer pages {
    .home-v2-hero-layout { grid-template-columns: minmax(0,1.16fr) minmax(360px,.84fr); gap: clamp(60px,6vw,90px); }
    .home-v2-hero-copy h1 { font-size: clamp(4.2rem,5.7vw,6.5rem); line-height: .92; }
    .home-v2-hero-copy h1 span { display: block; white-space: nowrap; }
    .home-v3-briefing { min-width: 0; padding-left: clamp(35px,4vw,58px); border-left: 1px solid rgba(143,197,236,.25); }
    .home-v3-briefing > header { padding-bottom: 19px; border-bottom: 1px solid rgba(255,255,255,.13); }
    .home-v3-briefing > header span,.home-v3-briefing > header strong { display: block; }
    .home-v3-briefing > header span { color: #7f9ab2; font-size: .52rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
    .home-v3-briefing > header strong { margin-top: 4px; font-size: .76rem; }
    .home-v3-security { display: grid; grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr); gap: 25px; align-items: end; padding: 30px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
    .home-v3-security span,.home-v3-security strong { display: block; }
    .home-v3-security span { color: #7692aa; font-size: .49rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
    .home-v3-security strong { margin-top: 7px; color: #8fc5ec; font-family: var(--serif); font-size: 2.4rem; line-height: 1; }
    .home-v3-security p { margin: 0; color: #a6b8c8; font-size: .62rem; line-height: 1.55; }
    .home-v3-crossings > header { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 24px 0 11px; }
    .home-v3-crossings > header > span { color: #7f9ab2; font-size: .52rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
    .home-v3-crossings > header a { display: flex; align-items: center; gap: 5px; color: #8fc5ec; font-size: .49rem; font-weight: 800; }
    .home-v3-crossings > header .icon { width: 12px; }
    .home-v3-crossings > a { --crossing-color:#2e8540; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; min-height: 62px; border-bottom: 1px solid rgba(255,255,255,.1); transition: padding .2s,background .2s; }
    .home-v3-crossings > a:hover { padding-inline: 9px; background: rgba(255,255,255,.035); }
    .home-v3-crossings > a.status-restricted { --crossing-color:#cf8500; }
    .home-v3-crossings > a.status-closed { --crossing-color:#c41230; }
    .home-v3-crossings > a > i { width: 7px; height: 7px; border-radius: 50%; background: var(--crossing-color); }
    .home-v3-crossings strong,.home-v3-crossings span { display: block; }
    .home-v3-crossings strong { font-size: .62rem; }
    .home-v3-crossings span { color: #718ba2; font-size: .49rem; }
    .home-v3-crossings b { color: var(--crossing-color); font-size: .5rem; letter-spacing: .05em; text-transform: uppercase; }
    .home-v3-briefing > footer { display: flex; align-items: center; gap: 13px; padding-top: 23px; }
    .home-v3-briefing > footer img { width: 48px; height: 48px; }
    .home-v3-briefing > footer span,.home-v3-briefing > footer strong { display: block; }
    .home-v3-briefing > footer span { color: #6f8ba5; font-size: .46rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
    .home-v3-briefing > footer strong { margin-top: 2px; font-size: .58rem; }
    .immigration-overview { color: white; background: linear-gradient(125deg,#00101f,#062b4c); }
    .immigration-overview-head { display: flex; justify-content: space-between; align-items: end; gap: 55px; margin-bottom: 50px; }
    .immigration-overview-head h2 { margin: 9px 0 0; color: white; }
    .immigration-overview-head > p { max-width: 560px; margin: 0 0 8px; color: #aabccc; }
    .immigration-status-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
    .immigration-status-card { --tier-color:#6caedb; position: relative; min-width: 0; min-height: 545px; display: flex; flex-direction: column; padding: 28px; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-top: 3px solid var(--tier-color); border-radius: 18px; background: rgba(255,255,255,.035); transition: transform .25s,border-color .25s,background .25s; }
    .immigration-status-card.status-greencard { --tier-color:#c5a44a; }
    .immigration-status-card.status-citizen { --tier-color:#c41230; background: rgba(255,255,255,.06); }
    .immigration-status-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb,var(--tier-color) 50%,transparent); background: rgba(255,255,255,.065); }
    .immigration-status-card > header { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
    .immigration-status-card > header span { color: var(--tier-color); font-family: var(--serif); font-size: 1.55rem; }
    .immigration-status-card > header small { color: #7c96ad; font-size: .5rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
    .immigration-status-card h3 { margin: 42px 0 10px; color: white; font-family: var(--serif); font-size: 2.15rem; }
    .immigration-status-card > p { min-height: 70px; color: #9db0c1; font-size: .7rem; }
    .immigration-status-card ul { display: grid; margin: 25px 0 30px; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.1); }
    .immigration-status-card li { min-height: 53px; display: flex; justify-content: space-between; align-items: center; gap: 15px; border-bottom: 1px solid rgba(255,255,255,.1); }
    .immigration-status-card li span { color: #93a8ba; font-size: .6rem; font-weight: 750; }
    .immigration-status-card li b { display: flex; align-items: center; gap: 5px; color: #8fc5ec; font-size: .56rem; }
    .immigration-status-card li.no b { color: #667f95; font-weight: 650; }
    .immigration-status-card li .icon { width: 14px; }
    .immigration-status-card > footer { display: grid; grid-template-columns: 1fr auto; margin-top: auto; }
    .immigration-status-card > footer strong,.immigration-status-card > footer span { display: block; grid-column: 1; }
    .immigration-status-card > footer strong { color: white; font-family: var(--serif); font-size: 1.15rem; }
    .immigration-status-card > footer span { color: #728ba1; font-size: .51rem; }
    .immigration-status-card > footer a { grid-column: 2; grid-row: 1/3; align-self: center; width: 38px; height: 38px; display: grid; place-items: center; color: var(--tier-color); border: 1px solid rgba(255,255,255,.14); border-radius: 50%; }
    .immigration-status-card > footer .icon { width: 15px; }
    .contact-directory-section { background: var(--paper); }
    .contact-directory-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
    .contact-directory-grid .contact-card { min-width: 0; }
    .career-hero { position: relative; isolation: isolate; overflow: clip; color: white; background: linear-gradient(125deg,#00101f,#07375f); }
    .career-hero-grid { position: absolute; z-index: -1; inset: 0; opacity: .45; background-image: linear-gradient(rgba(143,197,236,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(143,197,236,.06) 1px,transparent 1px); background-size: 70px 70px; mask-image: linear-gradient(100deg,black,transparent); }
    .career-hero-layout { min-height: 680px; display: grid; grid-template-columns: minmax(0,1.2fr) minmax(330px,.8fr); gap: 90px; align-items: center; padding-block: 80px; }
    .career-hero h1 { margin: 16px 0 24px; color: white; font-size: clamp(4.2rem,7vw,7.2rem); }
    .career-hero-layout > div > p { max-width: 720px; color: #b5c7d6; font-size: 1.05rem; }
    .career-hero-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 31px; }
    .career-hero-facts { padding-left: 40px; border-left: 1px solid rgba(143,197,236,.25); }
    .career-hero-facts > header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 19px; border-bottom: 1px solid rgba(255,255,255,.12); }
    .career-hero-facts > header span { color: #7894ab; font-size: .52rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
    .career-hero-facts > header strong { color: #8fc5ec; font-family: var(--serif); font-size: 1.5rem; }
    .career-hero-facts > div { padding: 25px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
    .career-hero-facts > div strong,.career-hero-facts > div span { display: block; }
    .career-hero-facts > div strong { font-family: var(--serif); font-size: 2.25rem; }
    .career-hero-facts > div span { color: #7894ab; font-size: .52rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
    .career-hero-facts > footer { padding-top: 23px; }
    .career-hero-facts > footer span,.career-hero-facts > footer a { display: block; }
    .career-hero-facts > footer span { color: #7894ab; font-size: .49rem; text-transform: uppercase; }
    .career-hero-facts > footer a { margin-top: 4px; color: #8fc5ec; font-size: .66rem; font-weight: 800; }
    .career-paths { background: var(--surface-2); }
    .career-path-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--surface); }
    .career-path-grid article { position: relative; min-width: 0; min-height: 390px; display: flex; flex-direction: column; padding: 28px; border-right: 1px solid var(--line); }
    .career-path-grid article:last-child { border-right: 0; }
    .career-path-grid article > span { color: var(--teal); font-family: var(--serif); font-size: 2rem; }
    .career-path-grid article > div { width: 45px; height: 45px; display: grid; place-items: center; margin: 38px 0 25px; color: var(--teal); border-radius: 12px; background: var(--surface-2); }
    .career-path-grid h3 { margin: 0 0 13px; font-family: var(--serif); font-size: 1.3rem; }
    .career-path-grid p { font-size: .68rem; }
    .career-path-grid small { margin-top: auto; color: var(--ink-soft); font-size: .5rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
    .career-requirements { color: white; background: linear-gradient(125deg,#00101f,#062c4c); }
    .career-requirements-layout { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 100px; align-items: center; }
    .career-requirements h2 { margin-top: 10px; color: white; }
    .career-requirements-layout > div:first-child p { color: #a9bdcd; }
    .career-checks { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
    .career-checks article { min-width: 0; min-height: 180px; display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 23px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.035); }
    .career-checks article > span { color: #8fc5ec; font-family: var(--serif); font-size: 1.15rem; }
    .career-checks h3 { margin: 2px 0 8px; color: white; font-size: .82rem; }
    .career-checks p { margin: 0; color: #90a8ba; font-size: .64rem; }
    .career-process-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
    .career-process-grid article { min-width: 0; min-height: 270px; padding: 27px; border-top: 3px solid var(--teal); background: var(--surface); box-shadow: var(--shadow); }
    .career-process-grid span { color: var(--teal); font-family: var(--serif); font-size: 2rem; }
    .career-process-grid h3 { margin: 45px 0 12px; font-family: var(--serif); font-size: 1.25rem; }
    .career-process-grid p { font-size: .68rem; }
}

@layer responsive {
    @media (max-width: 1080px) {
        .header-inner { min-height: 72px; }
        .brand img { width: 48px; height: 48px; }
        .main-nav { position: fixed; z-index: 199; inset: 108px 0 auto; max-height: calc(100vh - 108px); display: grid; align-content: start; padding: 18px; overflow-y: auto; border-top: 1px solid #28465f; color: white; background: rgba(2,17,32,.98); transform: translateY(-125%); transition: transform .25s; }
        .main-nav.open { transform: none; }
        .main-nav a { min-height: 48px; display: flex; padding: 0 13px; color: #b5c8ca; border-bottom: 1px solid rgba(255,255,255,.07); }
        .main-nav a.active { color: var(--cyan); }
        .main-nav a::after { display: none; }
        .header-actions { margin-left: auto; }
        .nav-toggle { display: grid; }
        .subnav { top: 72px; }
        .home-v2-hero-layout { grid-template-columns: minmax(0,1fr); }
        .home-v3-briefing { width: min(760px,100%); padding: 38px 0 0; border-top: 1px solid rgba(143,197,236,.25); border-left: 0; }
        .immigration-status-grid { grid-template-columns: minmax(0,1fr); }
        .immigration-status-card { min-height: 470px; }
        .contact-directory-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
        .career-hero-layout,.career-requirements-layout { grid-template-columns: minmax(0,1fr); gap: 60px; }
        .career-hero-facts { width: min(700px,100%); padding: 35px 0 0; border-top: 1px solid rgba(143,197,236,.25); border-left: 0; }
        .career-path-grid,.career-process-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
        .career-path-grid article:nth-child(2) { border-right: 0; }
        .career-path-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    }
    @media (max-width: 720px) {
        .main-nav { top: 114px; max-height: calc(100vh - 114px); }
        .home-v2-hero-copy h1 span { white-space: normal; }
        .home-v3-security { grid-template-columns: minmax(0,1fr); gap: 12px; }
        .home-v3-crossings > header { align-items: flex-start; flex-direction: column; }
        .immigration-overview-head { align-items: flex-start; flex-direction: column; gap: 18px; }
        .immigration-status-card { min-height: 0; }
        .contact-directory-grid { grid-template-columns: minmax(0,1fr); }
        .career-hero-layout { min-height: 0; padding-block: 75px; }
        .career-hero h1 { font-size: clamp(3.6rem,16vw,5rem); }
        .career-path-grid,.career-process-grid,.career-checks { grid-template-columns: minmax(0,1fr); }
        .career-path-grid article { min-height: 330px; border-right: 0; border-bottom: 1px solid var(--line); }
        .career-path-grid article:last-child { border-bottom: 0; }
        .career-process-grid article { min-height: 235px; }
    }
    @media (max-width: 440px) {
        .home-v3-crossings > a { grid-template-columns: auto 1fr; }
        .home-v3-crossings > a b { grid-column: 2; }
        .home-v3-briefing > footer img { width: 42px; height: 42px; }
        .career-hero-actions { flex-direction: column; }
        .career-hero-actions .button { width: 100%; }
    }
}

