:root {
    --blue: #005278;
    --navy: #001d5a;
    --ink: #102033;
    --muted: #5e6b78;
    --soft: #eef5f8;
    --line: #d9e6ec;
    --white: #fff;
    --shadow: 0 20px 50px rgba(0, 32, 96, .13);
    --rail-width: 96px;
    --header-height: 72px;
    --subnav-height: 62px;
    --fixed-nav-offset: var(--header-height);
    --ui-font: Aptos, 'Segoe UI', Arial, sans-serif
}
 * {
    box-sizing: border-box
}
img,
svg,
video {
    max-width: 100%;
    height: auto
}
html {
    scroll-behavior: smooth;
    overflow-x: clip
}
body {
    margin: 0;
    font-family: Georgia,
    'Times New Roman',
    serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.6;
    overflow-x: hidden
}
p,
li,
a {
    overflow-wrap: anywhere
}
sup {
    font-size: .56em;
    line-height: 0;
    vertical-align: super
}
.rail {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--rail-width);
    background: var(--blue);
    z-index: -1;
    overflow: hidden
}
.rail img {
    width: 100% ;
    height: 100% ;
    object-fit: cover
}
.site-header {
    position: fixed;
    top: 0;
    left: var(--rail-width);
    right: 0;
    z-index: 1000;
    min-height: var(--header-height);
    margin-left: 0;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    padding: 12px clamp(18px, 4vw, 58px);
    min-width: 0;
    overflow: visible
}
.brand {
    display: block;
    min-width: 0;
    flex: 0 0 auto
}
.brand-wordmark {
    display: inline-block;
    color: var(--navy);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(28px, 3.2vw, 44px);
    line-height: 1;
    white-space: nowrap
}
.site-header nav {
    display: flex;
    gap: clamp(12px, 1.8vw, 26px);
    margin-left: 0;
    white-space: normal;
    flex-wrap: wrap;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent
}
.site-header a {
    color: var(--navy);
    text-decoration: none
}
.site-header nav a {
    font-family: var(--ui-font);
    font-size: clamp(14px, 1vw, 16px);
    font-weight: 650;
    letter-spacing: .02em;
    line-height: 1.15;
    padding: 8px 0;
    border-radius: 0;
    border-bottom: 3px solid transparent;
    text-transform: none
}
.site-header nav a:hover,
.site-header nav a.active,
.site-header nav a.active-section {
    border-color: var(--blue);
    background: transparent;
    box-shadow: none
}
.site-header nav a.active,
.site-header nav a.active-section {
    color: var(--blue);
}
.site-search {
    position: relative;
    flex: 0 0 auto;
}
.site-search-button,
.site-search-close {
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--navy);
    font-family: var(--ui-font);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}
.site-search-button {
    padding: 10px 14px;
    border-radius: 999px;
}
.site-search-button:hover,
.site-search-button[aria-expanded="true"] {
    border-color: var(--blue);
    background: #f6fafc;
}
.site-search-panel {
    position: fixed;
    top: calc(var(--header-height) + 12px);
    right: clamp(18px, 4vw, 58px);
    z-index: 1200;
    width: min(520px, calc(100vw - var(--rail-width) - 36px));
    max-height: calc(100vh - var(--header-height) - 28px);
    overflow: auto;
    background: rgba(255,255,255,.98);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 24px 70px rgba(0,32,96,.18);
    backdrop-filter: blur(12px);
}
.site-search-panel-inner {
    padding: 18px;
}
.site-search-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}
.site-search-label {
    font-family: var(--ui-font);
    font-size: 15px;
    font-weight: 800;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: .08em;
}
.site-search-close {
    padding: 8px 10px;
    border-radius: 8px;
}
.site-search-input {
    width: 100%;
    border: 1px solid #c9dbe3;
    border-radius: 12px;
    padding: 13px 14px;
    font: 17px var(--ui-font);
    color: var(--ink);
    background: var(--white);
}
.site-search-status {
    margin: 12px 0;
    color: var(--muted);
    font-family: var(--ui-font);
    font-size: 14px;
}
.site-search-results {
    display: grid;
    gap: 10px;
}
.site-search-result {
    display: block;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--ink);
    text-decoration: none;
    background: #f8fbfd;
}
.site-search-result:hover {
    border-color: var(--blue);
    background: var(--white);
}
.site-search-result strong,
.site-search-result span {
    display: block;
    font-family: var(--ui-font);
}
.site-search-result strong {
    color: var(--navy);
    font-size: 16px;
}
.site-search-result span {
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
    margin-top: 2px;
}
.site-search-result p {
    margin: 8px 0 0;
    color: #26384a;
    font-size: 15px;
    line-height: 1.45;
    text-align: left;
}
.landing-page .site-header {
    justify-content: space-between;
}
.landing-page .site-header nav {
    margin-left: 0;
    justify-content: center;
    flex: 1 1 auto;
}
.menu {
    display: none;
    background: var(--navy);
    color: white;
    border: 0;
    border-radius: 8px;
    padding: 8px 12px
}
main, footer {
    margin-left: var(--rail-width);
    min-width: 0
}
main {
    padding-top: var(--header-height)
}
body:has(.page-nav) main {
    padding-top: calc(var(--header-height) + var(--subnav-height))
}
.section {
    padding: 80px clamp(18px, 4.5vw, 72px);
    border-bottom: 1px solid var(--line)
}
.section > .eyebrow,
.section > h1,
.section > h2,
.section > .lead,
.section > .domain-line,
.section > .form-intro,
.section > .actions,
.hero-copy {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.section > .grid,
.section > .toolbar,
.section > .stats,
.section > .glossary-index-panel,
.section > .opportunity-form,
.section > #requirementsForm,
.section > .bibliography-list {
    margin-left: auto;
    margin-right: auto;
}
.actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.hero {
    min-height: 74vh;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 34px;
    background: linear-gradient(135deg, #fff 0% , #f8fbfd 100% )
}
.diagram-landing {
    min-height: calc(100vh - var(--header-height));
    display: grid;
    align-items: center;
    background:
        linear-gradient(120deg, rgba(255,255,255,.96), rgba(246,250,252,.94)),
        url("assets/brand-header.png") right 8vw bottom 4vh / min(44vw, 620px) auto no-repeat;
}
.diagram-shell {
    width: min(1220px, 100%);
    margin: 0 auto;
}
.diagram-intro {
    max-width: 980px;
    margin: 0 auto 26px;
    text-align: center;
}
.diagram-intro .lead {
    margin-left: auto;
    margin-right: auto;
}
.nassi-layout {
    display: grid;
    grid-template-columns: 1fr;
    width: min(1080px, 100%);
    margin: 0 auto;
    border: 2px solid #12385a;
    background: #12385a;
    box-shadow: 0 24px 58px rgba(0, 32, 96, .16);
}
.nassi-row,
.nassi-branch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px;
}
.nassi-block {
    display: grid;
    align-content: start;
    min-height: 138px;
    padding: 20px 22px;
    color: #102033;
    text-decoration: none;
    background: #ffffff;
    outline-offset: -5px;
    transition: transform .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.nassi-block:hover,
.nassi-block:focus-visible,
.nassi-block.is-active {
    transform: translateY(-2px);
    background: #fffaf0;
    box-shadow: inset 0 0 0 4px rgba(0, 82, 120, .18);
}
.nassi-block strong {
    display: block;
    margin: 7px 0 9px;
    color: var(--navy);
    font-size: clamp(21px, 2.1vw, 31px);
    line-height: 1.08;
    font-weight: 500;
}
.nassi-block small {
    display: block;
    color: #27394b;
    font-family: var(--ui-font);
    font-size: clamp(14px, 1.2vw, 16px);
    line-height: 1.45;
}
.nassi-kicker {
    color: #006a68;
    font-family: var(--ui-font);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.nassi-overview {
    min-height: 128px;
    background: #f7fbfc;
}
.nassi-terminal {
    background: #f8f4ea;
}
.branch-primary {
    background: linear-gradient(135deg, #ffffff 0%, #edf7f5 100%);
}
.branch-secondary {
    background: linear-gradient(135deg, #ffffff 0%, #f6f0df 100%);
}
.diagram-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}
.diagram-return {
    position: fixed;
    right: clamp(14px, 3vw, 28px);
    bottom: 20px;
    z-index: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 15px;
    border: 1px solid rgba(0, 82, 120, .24);
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 12px 32px rgba(0, 32, 96, .14);
    color: var(--navy);
    font-family: var(--ui-font);
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
    backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity .2s ease, transform .2s ease;
}
.diagram-return.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: none;
}
.eyebrow {
    font-family: var(--ui-font);
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 12px;
    color: var(--blue);
    font-weight: 700
}
.hero .eyebrow {
    text-transform: none;
    letter-spacing: .04em;
    font-size: 15px;
}
h1, h2, h3 {
    color: var(--navy);
    line-height: 1.08;
    margin: .2em 0 .45em;
    overflow-wrap: anywhere
}
h1 {
    font-size: clamp(46px, 7vw, 96px);
    font-weight: 400
}
h2 {
    font-size: clamp(34px, 4vw, 56px);
    font-weight: 400
}
h3 {
    font-size: 24px
}
.lead {
    font-size: 22px;
    max-width: 860px;
    color: #26384a;
    overflow-wrap: anywhere
}
.domain-line {
    max-width: 900px;
    font-size: 20px;
    line-height: 1.65;
    color: #26384a;
    text-align: center;
}
.consultation-lead {
    max-width: 920px;
    line-height: 1.6;
}
#consultation-style .consultation-lead {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    text-align-last: center;
    hyphens: manual;
}
.section p,
.glossary-section p,
article p,
.lead,
.domain-line,
.consultation-lead,
.form-intro,
.card p,
.notice p,
.step p,
.bibliography-list p {
    text-align: justify;
    text-align-last: left;
    hyphens: auto;
}
.eyebrow,
.hero-principles p,
.actions,
.site-footer p,
.page-nav p,
.chapter-nav p {
    text-align: center;
    text-align-last: center;
    hyphens: manual;
}
.hero-copy {
    max-width: 980px
}
.hero-principles {
    margin: 28px auto 0;
    padding: 18px clamp(18px, 4vw, 42px);
    max-width: 840px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255,255,255,.64);
}
.hero-principles h2 {
    margin: 0 0 10px;
    font-family: var(--ui-font);
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 750;
    letter-spacing: .02em;
}
.hero-principles p {
    margin: 0;
    font-family: var(--ui-font);
    font-size: clamp(15px, 1.7vw, 19px);
    line-height: 1.7;
    color: #26384a;
}
.privacy-page .section {
    padding-left: clamp(22px, 6vw, 120px);
    padding-right: clamp(22px, 6vw, 120px);
}
.privacy-page .section > .eyebrow,
.privacy-page .section > h1,
.privacy-page .section > h2,
.privacy-page .section > .lead,
.privacy-page .section > p {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    text-align-last: left;
}
.privacy-page .section > p {
    line-height: 1.72;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0 0;
    padding: 14px 20px;
    border-radius: 999px;
    background: var(--navy);
    color: #fff;
    text-decoration: none;
    font-family: var(--ui-font);
    border: 0;
    cursor: pointer;
    font-size: 17px;
    font-weight: 650;
    letter-spacing: .01em
}
.button.secondary {
    background: #e8f2f6;
    color: var(--navy)
}
.hero-card, .portrait-card, .quote, .contact-card, .cards article, .two article, .opportunity-form, .card, .notice,.step {
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    border-radius: 12px;
    padding: 28px
}
.hero-card {
    overflow: hidden
}
.hero-card img {
    display: block;
    width: 100% ;
    height: auto;
    object-fit: contain
}
.grid {
    display: grid;
    gap: 22px;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto
}
.cards {
    grid-template-columns: repeat(2, minmax(0, 1fr))
}
.cards article {
    min-height: 210px
}
.cards article.audit-assurance-card p {
    text-align: left;
    text-align-last: left;
    hyphens: manual
}
.cards article.audit-assurance-card strong {
    color: var(--navy)
}
.compact-grid {
    gap: 18px
}
.business-investment-section {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto
}
.business-investment-copy {
    max-width: 980px
}
.business-investment-rows {
    display: grid;
    gap: 16px;
    margin-top: 34px
}
.business-investment-rows article {
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 22px 28px
}
.business-investment-rows h3 {
    margin: 0;
    overflow-wrap: normal
}
.business-investment-rows p {
    margin: 0;
    text-align: left;
    text-align-last: left;
    hyphens: manual
}
.payment-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}
.payment-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.payment-card .button {
    width: 100%;
    margin-top: auto;
}
.payment-meta {
    margin: 0;
    color: var(--muted);
    font-family: var(--ui-font);
    font-size: 14px;
    text-align: left;
    text-align-last: left;
}
.fee-panel {
    max-width: 980px;
    margin: 28px auto 0;
}
.fee-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}
.fee-options article {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 22px;
    background: #f8fbfd;
}
.bank-details {
    max-width: 900px;
    margin: 22px auto 0;
}
.section-actions {
    justify-content: flex-start;
    margin-top: 24px
}
.split {
    display: grid;
    grid-template-columns: 1fr .8fr;
    gap: 42px;
    align-items: center;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto
}
.split.reverse {
    grid-template-columns: .9fr .7fr
}
.quote {
    font-size: clamp(21px, 2.1vw, 28px);
    color: var(--navy);
    font-style: italic;
    line-height: 1.32
}
.quote span {
    display: block;
    margin-top: 18px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 15px;
    font-style: normal;
    font-variant: small-caps;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--blue);
    text-align: right
}
.memberships {
    font-weight: 700;
    color: var(--blue)
}
.signature {
    max-width: 320px;
    width: 70% ;
    margin-top: 18px
}
.portrait-card {
    min-height: 270px;
    display: grid;
    place-content: center;
    background: linear-gradient(160deg, #fff, #eef7fb)
}
.two {
    grid-template-columns: repeat(2, minmax(0, 1fr))
}
.contact {
    background: #f6fafc
}
.form-intro {
    max-width: 900px;
    font-size: 19px
}
.opportunity-form {
    max-width: 1100px;
    margin-top: 28px
}
.opportunity-form fieldset {
    border: 1px solid var(--line);
    border-radius: 12px;
    margin: 0 0 22px;
    padding: 22px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px
}
.opportunity-form legend {
    font-size: 22px;
    color: var(--navy);
    padding: 0 8px
}
.opportunity-form label {
    font-family: Arial,
    sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    display: grid;
    gap: 7px
}
.opportunity-form input, .opportunity-form select, .opportunity-form textarea {
    width: 100% ;
    border: 1px solid #c9dbe3;
    border-radius: 12px;
    padding: 12px 13px;
    font: 16px Arial,
    sans-serif;
    color: var(--ink);
    background: white
}
.opportunity-form textarea {
    resize: vertical
}
.opportunity-form textarea, .opportunity-form.checkbox {
    grid-column: 1 / -1
}
.checkbox {
    display: flex!important;
    grid-template-columns: auto 1fr!important;
    align-items: start;
    font-weight: 500!important;
    color: var(--ink)!important
}
.checkbox input {
    width: auto;
    margin-top: 5px
}
.form-status {
    font-family: Arial,
    sans-serif;
    font-weight: 700;
    color: var(--blue)
}
.contact-card {
    max-width: 720px
}
.contact-card.compact {
    margin-top: 28px;
    box-shadow: none
}
.small {
    font-size: 13px;
    color: var(--muted)
}
footer {
    padding: 32px 7vw;
    color: var(--muted);
    font-family: Arial,
    sans-serif
}
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease,
    transform .6s ease
}
.reveal.visible {
    opacity: 1;
    transform: none
}
@media(max-width: 1100px) {
    :root {
        --header-height: 108px;
        --subnav-height: 120px;
    }
    .site-header {
        gap: 14px
    }
    .site-header nav {
        display: flex;
        position: static;
        box-shadow: none;
        flex-direction: row
    }
    .site-header nav.open {
        display: flex
    }
    .menu {
        display: none
    }
    .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}
@media(max-width: 760px) {
    :root {
        --rail-width: 22px;
        --header-height: 132px;
        --subnav-height: 150px;
    }
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }
    .rail {
        width: var(--rail-width)
    }
    .site-header {
        left: var(--rail-width);
        right: 0;
        width: auto;
        margin-left: 0;
        padding: 12px 10px;
        overflow: hidden;
    }
    .site-header nav {
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 14px;
        overflow-x: auto;
        max-width: 100%;
        padding-bottom: 4px;
        scrollbar-width: none;
    }
    .site-header nav::-webkit-scrollbar {
        display: none;
    }
    .site-header nav a {
        flex: 0 0 auto;
        font-size: 13px;
        white-space: nowrap;
    }
    main,
    footer {
        margin-left: var(--rail-width);
        width: calc(100vw - var(--rail-width));
        max-width: calc(100vw - var(--rail-width));
    }
    .section {
        padding: 58px 6vw
    }
    .split,
    .split.reverse {
        grid-template-columns: 1fr
    }
    .cards,
    .two,
    .payment-grid,
    .fee-options {
        grid-template-columns: 1fr
    }
    .business-investment-rows article {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 20px
    }
    .opportunity-form fieldset {
        grid-template-columns: 1fr;
        padding: 16px
    }
    .hero-card,
    .portrait-card,
    .quote,
    .contact-card,
    .cards article,
    .two article,
    .opportunity-form {
        border-radius: 12px;
        padding: 20px
    }
    h1 {
        font-size: clamp(38px, 10vw, 48px);
        line-height: 1.08;
        max-width: 100%;
    }
    .lead {
        font-size: 19px
    }
    .quote {
        font-size: 21px
    }
    .site-header {
        padding: 18px 10px
    }
    .diagram-landing {
        min-height: auto;
        background:
            linear-gradient(120deg, rgba(255,255,255,.97), rgba(246,250,252,.96)),
            url("assets/brand-header.png") center bottom 2vh / 86vw auto no-repeat;
    }
    .nassi-layout {
        border-width: 1px;
    }
    .nassi-row,
    .nassi-branch {
        grid-template-columns: 1fr;
        gap: 1px;
    }
    .nassi-block {
        min-height: 0;
        padding: 18px;
    }
    .nassi-block:hover,
    .nassi-block:focus-visible,
    .nassi-block.is-active {
        transform: none;
    }
    .diagram-return {
        right: 12px;
        bottom: 12px;
        max-width: calc(100vw - var(--rail-width) - 24px);
    }
}
.split.reverse#director {
  grid-template-columns: minmax(0, .95fr) minmax(280px, .55fr);
  align-items: stretch;
}

#director > div:first-child,
.director-identity {
  min-height: 330px;
}

.director-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  padding: 24px;
  border-left: 1px solid var(--line);
}

.director-identity .signature {
  display: block;
  width: min(260px, 82%);
  max-width: 260px;
  height: auto;
  margin: 0 auto;
}

.director-photo-link {
  display: inline-block;
  text-decoration: none;
}

.director-photo {
  width: clamp(190px, 21vw, 260px);
  height: clamp(190px, 21vw, 260px);
  object-fit: cover;
  object-position: center center;
  border: 1px solid rgba(7, 42, 96, 0.18);
  border-radius: 50%;
  box-shadow: 0 18px 40px rgba(7, 42, 96, 0.16);
  background: rgba(255, 255, 255, 0.6);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.director-photo:hover {
  transform: translateY(-3px);
  opacity: 0.92;
}

@media (max-width: 880px) {
  .split.reverse#director {
    grid-template-columns: 1fr;
  }

  #director > div:first-child,
  .director-identity {
    min-height: 0;
  }

  .director-identity {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 24px 0 0;
  }
}

.page-watermark {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background-image: url("assets/iso-watermark.png");
  background-repeat: repeat-y;
  background-position: center top;
  background-size: min(70vw, 900px) auto;

  opacity: 0.035;
}

.page-watermark::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/brand-header.png");
  background-repeat: no-repeat;
  background-position: right 8vw bottom 8vh;
  background-size: min(54vw, 760px) auto;
  opacity: 0.055;
}

@media (max-width: 800px) {
  .page-watermark {
    background-size: 95vw auto;
    opacity: 0.025;
  }

  .page-watermark::after {
    background-position: center bottom 6vh;
    background-size: 82vw auto;
    opacity: 0.035;
  }
}

body {
  position: relative;
  background: rgba(255, 255, 255, 0.96);
   
}

.category-section {
  display: none;
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.category-section.active {
  display: block;
}

/* Requirements intake form */
#requirementsForm {
  max-width: 1100px;
  margin-top: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 12px;
  padding: 28px;
}

.form-stage {
  padding: 8px 0 30px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-height) + var(--subnav-height) + 28px);
}

.form-stage + .form-stage {
  padding-top: 30px;
}

.form-stage:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.form-stage > h2 {
  font-size: clamp(26px, 2.6vw, 36px);
  margin: 0 0 10px;
}

#requirementsForm label {
  display: block;
  margin-top: 18px;
  margin-bottom: 7px;
  font-family: Arial, sans-serif;
  font-weight: 700;
  color: var(--navy);
}

#requirementsForm input,
#requirementsForm select,
#requirementsForm textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #c9dbe3;
  border-radius: 12px;
  padding: 12px 13px;
  font: 16px Arial, sans-serif;
  color: var(--ink);
  background: white;
}

#requirementsForm textarea {
  min-height: 96px;
  resize: vertical;
}

#requirementsForm .consent-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 500;
}

#requirementsForm .consent-label input {
  width: auto;
  margin-top: 5px;
}

.category-section {
  display: none;
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: 14px;
  background: #f6fafc;
  border: 1px solid var(--line);
}

.category-section.active {
  display: block;
}

.site-footer {
    text-align: center;
    padding: 2rem clamp(18px, 4vw, 56px) 2.25rem;
    border-top: 1px solid rgba(7, 42, 96, 0.08);
    background: linear-gradient(180deg, rgba(246,250,252,.72), rgba(255,255,255,.96));

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-brand {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: .85rem;
}

.footer-brand .brand-wordmark {
    font-size: clamp(24px, 2.4vw, 34px);
}

.site-footer p {
    margin: 0;
    text-align: center;

    font-family: var(--ui-font);
    font-size: 15px;
    letter-spacing: 0.03em;

    color: var(--muted);
}

/* Secondary in-page navigation for unique pages */
.page-nav {
    position: fixed;
    top: var(--header-height);
    left: var(--rail-width);
    right: 0;
    z-index: 997;
    min-height: var(--subnav-height);
    margin-left: 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.page-nav .nav-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 8px 10px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 12px clamp(14px, 3vw, 44px);
    white-space: normal;
    font-family: var(--ui-font);
    font-size: 15px;
    text-transform: none;
    letter-spacing: .02em;
}
.page-nav-label,
.index-label {
    color: var(--blue);
    font-family: var(--ui-font);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.page-nav-label {
    flex: 0 0 auto;
    text-align: center;
    margin: 0 8px 0 0;
}
.page-nav a {
    color: var(--navy);
    text-decoration: none;
    overflow-wrap: anywhere;
    padding: 8px 11px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 650;
    line-height: 1.1;
}
.page-nav a:hover {
    background: #f6fafc;
    border-color: var(--line);
    text-decoration: none;
}
.page-nav a.active {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

.chapter-nav {
    position: fixed;
    right: 18px;
    top: calc(var(--header-height) + var(--subnav-height) + 24px);
    z-index: 80;
    width: 220px;
    max-height: calc(100vh - var(--header-height) - var(--subnav-height) - 48px);
    overflow-y: auto;
    padding: 16px 14px;
    background: rgba(255, 255, 255, .88);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 14px 36px rgba(0, 32, 96, .1);
    backdrop-filter: blur(10px);
}

body:not(:has(.page-nav)) .chapter-nav {
    top: calc(var(--header-height) + 24px);
    max-height: calc(100vh - var(--header-height) - 48px);
}

.chapter-nav-title {
    margin: 0 0 12px;
    color: var(--blue);
    font-family: var(--ui-font);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.chapter-nav ol {
    counter-reset: chapter;
    list-style: none;
    margin: 0;
    padding: 0;
}

.chapter-nav li {
    counter-increment: chapter;
    margin: 0;
}

.chapter-nav a {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 8px;
    align-items: baseline;
    color: var(--muted);
    font-family: var(--ui-font);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.25;
    padding: 8px 6px;
    border-left: 3px solid transparent;
    text-decoration: none;
}

.chapter-nav a::before {
    content: counter(chapter, decimal-leading-zero);
    color: var(--blue);
    font-size: 11px;
    letter-spacing: .04em;
}

.chapter-nav a:hover,
.chapter-nav a.active {
    color: var(--navy);
    background: #f6fafc;
    border-left-color: var(--blue);
}

body.has-chapter-nav main,
body.has-chapter-nav footer {
    margin-right: 250px;
}

@media(max-width: 1280px) {
    .chapter-nav {
        right: 10px;
        width: 188px;
        padding: 14px 10px;
    }
    .chapter-nav a {
        grid-template-columns: 24px 1fr;
        gap: 6px;
        font-size: 12px;
        padding: 7px 5px;
    }
    body.has-chapter-nav main,
    body.has-chapter-nav footer {
        margin-right: 208px;
    }
}

.page-hero {
    min-height: 52vh;
    padding-top: 96px;
    padding-bottom: 72px;
}

.section, .glossary-section {
    scroll-margin-top: calc(var(--header-height) + var(--subnav-height) + 24px);
}

.framework-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

.card,
.step,
.notice {
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    border-radius: 12px;
    padding: 24px;
}
.card strong {
    display: block;
    color: var(--navy);
    font-size: 18px;
    margin-bottom: 8px;
}
.steps {
    counter-reset: step;
    display: grid;
    gap: 22px;
    margin-top: 28px;
}
.method-section > div:first-child,
.method-section .steps {
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
}
.step {
    counter-increment: step;
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 18px;
    align-items: start;
}
.step::before {
    content: counter(step);
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    font-family: Arial, sans-serif;
    font-weight: 700;
}
.notice {
    border-left: 6px solid var(--blue);
    margin-top: 28px;
    background: #f6fafc;
}

@media(max-width: 1100px) {
    .framework-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media(max-width: 900px) {
    .chapter-nav {
        display: none;
    }
    body.has-chapter-nav main,
    body.has-chapter-nav footer {
        margin-right: 0;
    }
}
@media(max-width: 760px) {
    .page-nav {
        left: var(--rail-width);
        overflow: hidden;
    }
    .page-nav .nav-inner {
        justify-content: flex-start;
        flex-wrap: nowrap;
        max-width: 100%;
        overflow-x: auto;
        padding: 10px 6vw;
        scrollbar-width: none;
    }
    .page-nav .nav-inner::-webkit-scrollbar {
        display: none;
    }
    .page-nav a {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 8px 10px;
    }
    .framework-grid { grid-template-columns: 1fr; }
    .step { grid-template-columns: 1fr; }
    .page-hero { min-height: auto; padding-top: 64px; }
}

@media(max-width: 520px) {
    .section {
        padding-left: 7vw;
        padding-right: 7vw;
    }
    main .section {
        width: 100%;
        max-width: calc(100vw - var(--rail-width));
        box-sizing: border-box;
    }
    .section > h1 {
        font-size: clamp(32px, 9vw, 40px);
        max-width: 13ch;
        text-wrap: balance;
    }
    .section > .form-intro,
    .section > .lead,
    .hero-copy {
        max-width: 100%;
    }
    .section > .form-intro,
    .section > .lead {
        max-width: 24ch;
    }
    .section p,
    .glossary-section p,
    article p,
    .lead,
    .domain-line,
    .consultation-lead,
    .form-intro,
    .card p,
    .notice p,
    .step p,
    .bibliography-list p {
        text-align: left;
        text-align-last: left;
    }
    #requirementsForm {
        padding: 18px;
        border-radius: 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .form-stage > h2 {
        font-size: clamp(24px, 7vw, 30px);
    }
}

.toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
    gap: 14px;
    margin: 26px 0 14px;
}

.toolbar input,
.toolbar select {
    width: 100%;
    border: 1px solid #c9dbe3;
    border-radius: 12px;
    padding: 12px 13px;
    font: 16px Arial, sans-serif;
    color: var(--ink);
    background: white;
}

.stats {
    margin: 12px 0 22px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: var(--muted);
}

.glossary-index-panel {
    max-width: 1120px;
    margin-top: 24px;
    padding: 22px;
    background: #f6fafc;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.glossary-notice {
    max-width: 920px;
    margin: 26px 0 0;
    padding: 18px 20px;
    background: #f6fafc;
    border: 1px solid var(--line);
    border-left: 6px solid var(--blue);
    border-radius: 12px;
}

.glossary-notice p:last-child {
    margin-bottom: 0;
}

.category-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.category-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 12px;
    min-width: 0;
    padding: 10px 12px;
    color: var(--navy);
    text-decoration: none;
    font-family: var(--ui-font);
    font-size: 15px;
    background: var(--white);
    overflow-wrap: anywhere;
}

.category-nav span {
    color: var(--blue);
    font-weight: 700;
}

.glossary-section {
    padding: 72px clamp(18px, 4.5vw, 72px);
    border-bottom: 1px solid var(--line);
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: baseline;
}

.section-head span,
.section-note {
    color: var(--muted);
    font-family: Arial, sans-serif;
}

.term-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 24px auto 0;
    max-width: 1180px;
}

.term-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 22px;
}

.term-card h3 {
    font-size: 20px;
}

.hidden {
    display: none !important;
}

.bibliography-section {
    max-width: 1180px;
}

.bibliography-list {
    counter-reset: ieee-reference;
    list-style: none;
    margin: 34px 0 0;
    padding: 0;
}

.bibliography-list li {
    counter-increment: ieee-reference;
    position: relative;
    margin: 0 0 16px;
    padding-left: 58px;
    font-size: 17px;
    line-height: 1.55;
}

.bibliography-list li::before {
    content: "[" counter(ieee-reference) "]";
    position: absolute;
    left: 0;
    top: 0;
    min-width: 42px;
    color: var(--navy);
    font-family: Arial, sans-serif;
    font-weight: 700;
}

.bibliography-list cite {
    font-style: italic;
}

@media(max-width: 1100px) {
    .term-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media(max-width: 760px) {
    .toolbar,
    .term-grid {
        grid-template-columns: 1fr;
    }

    .glossary-section {
        padding: 58px 6vw;
    }

    .bibliography-list li {
        padding-left: 46px;
        font-size: 16px;
    }
}
