/* GB-TRES public layout. Independent of the application/dashboard theme. */
:root {
    --green:#123e32;
    --deep:#092c25;
    --gold:#d8bb77;
    --ink:#193d32;
    --muted:#62736b;
    --paper:#f7f8f3;
    --line:#dde4da;
}

* {
    box-sizing:border-box;
}

html {
    scroll-behavior:smooth;
    scroll-padding-top:calc(var(--sticky-header-height, 104px) + 20px);
}

body {
    margin:0;
    background:var(--paper);
    color:var(--ink);
    font-family:Inter,"Segoe UI",Arial,sans-serif;
    font-size:15px;
    line-height:1.75;
}

a {
    color:inherit;
    text-decoration:none;
}

button {
    font:inherit;
    cursor:pointer;
}

img {
    max-width:100%;
}

p {
    margin:0 0 14px;
}

h1,h2,h3 {
    margin:0;
    line-height:1.25;
}

a:focus-visible,button:focus-visible,summary:focus-visible {
    outline:3px solid #a17c33;
    outline-offset:5px;
}

[hidden] {
    display:none!important;
}

.wrap,.fc-section {
    width:min(1232px,calc(100% - 96px));
    margin-inline:auto;
}

.skip-link {
    position:fixed;
    left:15px;
    top:-100px;
    z-index:60;
    background:white;
    padding:10px;
}

.skip-link:focus {
    top:10px;
}

.utility-bar {
    background:var(--deep);
    color:#d7e4dc;
    font-size:10px;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.utility-inner {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    justify-content:space-between;
    gap:20px;
    padding-block:9px;
}

.utility-contact {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px 22px;
    text-transform:none;
    letter-spacing:.02em;
    font-size:11px;
}

.utility-contact a {
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding-block:3px;
    white-space:nowrap;
    color:#e5eee6;
}

.button.button-login {
    min-height:44px;
    gap:10px;
    padding:12px 24px;
    background:#e1c68c;
    border-color:#c9ab67;
    color:#19382d;
    font-size:13px;
    font-weight:700;
    box-shadow:0 2px 5px #193d3214;
}
.button.button-login:hover { background:#efd8a6; border-color:#ad8b41; }
.button-login i { font-size:14px; }
.utility-contact i { color:var(--gold); font-size:12px; }
.utility-contact a:hover { color:#f1dba7; text-decoration:underline; text-underline-offset:3px; }

@media (max-width:800px) {
    .utility-inner { gap:6px; }
    .utility-contact { width:100%; gap:5px 18px; }
}

.utility-inner>span:first-child:before {
    content:'◆';
    font-size:8px;
    color:var(--gold);
    margin-right:10px;
}

.utility-inner>span:last-child {
    color:#dac694;
}

.site-header {
    position:sticky;
    top:0;
    z-index:30;
    max-height:85dvh;
    overflow-y:auto;
    background:white;
    border-bottom:1px solid var(--line);
}

.back-to-top {
    position:fixed;
    right:24px;
    bottom:calc(24px + env(safe-area-inset-bottom, 0px));
    z-index:35;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:46px;
    height:46px;
    padding:0;
    border:1px solid #c9ab67;
    border-radius:50%;
    background:#123e32;
    color:#eed7a4;
    box-shadow:0 4px 14px #092c2533;
    font-size:17px;
}
.back-to-top:hover { background:#20553f; color:white; }
@media (max-width:650px) {
    .back-to-top { right:16px; bottom:calc(16px + env(safe-area-inset-bottom, 0px)); }
}

.header-inner {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    min-height:104px;
}

.brand {
    display:flex;
    align-items:center;
    gap:14px;
    flex-shrink:0;
}

.brand img {
    object-fit:contain;
    width:57px;
    height:64px;
}

.brand strong {
    display:block;
    font-size:25px;
    letter-spacing:-.035em;
    line-height:1.2;
}

.brand-dot {
    color:#ab8742;
}

.brand small {
    display:block;
    margin-top:5px;
    font-size:10px;
    color:var(--muted);
}

.desktop-nav {
    display:flex;
    gap:24px;
    font-size:12px;
}

.desktop-nav a:hover,.login-link:hover {
    color:#98742e;
}

.account-actions {
    display:flex;
    align-items:center;
    gap:22px;
    font-size:12px;
}

.account-actions form {
    margin:0;
}

.login-link {
    background:none;
    border:0;
    padding:8px 0;
    color:var(--ink);
    font-size:12px;
}

.button,.fc-btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:24px;
    padding:13px 21px;
    background:#e1c68c;
    border:1px solid #e1c68c;
    color:#19382d;
    border-radius:3px;
    font-size:12px;
    font-weight:600;
    transition:background .2s;
}

.button:hover {
    background:#efd8a6;
}

.button-green,.fc-btn {
    background:var(--green);
    color:white;
    border-color:var(--green);
}

.button-green:hover,.fc-btn:hover {
    background:#22533f;
}

.menu-toggle {
    display:none;
    background:none;
    border:1px solid var(--line);
    padding:8px 12px;
    border-radius:3px;
    color:var(--ink);
    font-size:12px;
}

.mobile-nav {
    padding-block:10px 20px;
}

.mobile-nav a {
    display:block;
    padding:10px 0;
    border-top:1px solid var(--line);
    font-size:13px;
}

.hero {
    overflow:hidden;
    background:var(--deep);
    color:white;
}

.hero-grid {
    display:grid;
    grid-template-columns:1.05fr 1fr;
    min-height:570px;
}

.hero-copy {
    padding:64px 45px 64px 0;
    position:relative;
    z-index:1;
}

.eyebrow {
    color:#967331;
    font-size:10px;
    font-weight:600;
    letter-spacing:.18em;
    text-transform:uppercase;
}

.hero .eyebrow {
    color:var(--gold);
    display:flex;
    align-items:center;
    gap:12px;
}

.hero .eyebrow:before {
    content:'';
    width:28px;
    height:1px;
    background:var(--gold);
}

.hero h1 {
    font-size:clamp(62px,6.2vw,88px);
    font-weight:500;
    letter-spacing:-.055em;
    line-height:1.1;
    margin-top:24px;
}

.hero h1 em {
    font-family:Georgia,serif;
    font-weight:400;
    color:#e5cf9b;
    letter-spacing:-.05em;
}

.hero h1>span {
    display:block;
    font-size:21px;
    font-weight:400;
    line-height:1.5;
    letter-spacing:-.015em;
    margin-top:19px;
    color:#f1f4ed;
}

.hero-description {
    font-size:13px;
    line-height:1.95;
    color:#b9cfc2;
    margin-top:22px;
    max-width:475px;
}

.hero-actions {
    display:flex;
    align-items:center;
    gap:25px;
    margin-top:28px;
    font-size:12px;
}

.text-link {
    border-bottom:1px solid #708779;
    padding-block:8px;
    color:#eef2e6;
}

.text-link span {
    margin-left:12px;
}

.hero-visual {
    position:relative;
    margin-right:calc((min(1232px,100vw - 96px) - 100vw)/2);
    min-width:0;
}

.hero-visual>img {
    width:100%;
    height:100%;
    position:absolute;
    inset:0;
    object-fit:cover;
    object-position:54% center;
}

.hero-visual:after {
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,#092c25,rgba(9,44,37,.08) 35%),linear-gradient(0deg,rgba(9,44,37,.9),transparent 65%);
}

.image-caption {
    position:absolute;
    z-index:1;
    bottom:35px;
    left:45px;
    right:30px;
    display:flex;
    align-items:center;
    gap:15px;
    border-top:1px solid #ffffff50;
    padding-top:18px;
}

.image-caption>i {
    color:var(--gold);
    font-size:20px;
}

.image-caption strong {
    display:block;
    font-size:12px;
    font-weight:500;
}

.image-caption small {
    font-size:9px;
    letter-spacing:.1em;
    color:#d2ded8;
}

.policy-strip {
    background:#eaf0e4;
    border-bottom:1px solid #dce3d7;
}

.policy-strip .wrap {
    display:flex;
    align-items:center;
    gap:38px;
    padding-block:19px;
    font-size:11px;
    color:#52674f;
}

.policy-strip i {
    color:#947235;
    margin-right:9px;
}

.error-message {
    background:#fff3e9;
    border:1px solid #e9b888;
    color:#77300e;
    padding:14px;
    margin-bottom:20px;
    border-radius:3px;
}

.fc-section {
    padding-block:62px;
    border-bottom:1px solid var(--line);
}

.fc-section-title {
    font-size:33px;
    font-weight:500;
    letter-spacing:-.035em;
}

.fc-section-subtitle {
    font-size:13px;
    color:var(--muted);
    margin-top:12px;
    max-width:740px;
}

.section-heading {
    display:flex;
    justify-content:space-between;
    align-items:end;
    gap:30px;
    margin-bottom:30px;
}

.section-heading .eyebrow {
    margin-bottom:12px;
}

.guide-link {
    font-size:12px;
    border-bottom:1px solid #b9c7b5;
    padding-bottom:6px;
    white-space:nowrap;
}

.guide-link i {
    margin-right:7px;
}

.process-grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px;
}

.process-card {
    background:#fff;
    padding:30px;
    border:1px solid var(--line);
    border-radius:3px;
}

.process-card h2 {
    font-size:20px;
    font-weight:500;
    letter-spacing:-.02em;
    margin-bottom:24px;
}

.fc-step-list {
    list-style:none;
    padding:0;
    margin:0;
    display:grid;
    gap:20px;
}

.fc-step-item {
    display:grid;
    grid-template-columns:29px 1fr;
    gap:14px;
    color:var(--muted);
    font-size:13px;
}

.fc-step-badge {
    width:29px;
    height:29px;
    display:grid;
    place-items:center;
    background:#eef2e8;
    border:1px solid #d9e1d3;
    border-radius:50%;
    color:#436448;
    font-size:11px;
}

.fc-service-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    margin-top:30px;
    border-top:1px solid var(--line);
    border-left:1px solid var(--line);
}

.fc-service-card {
    display:flex;
    flex-direction:column;
    padding:28px;
    background:#fff;
    border-right:1px solid var(--line);
    border-bottom:1px solid var(--line);
    transition:background .2s;
}

.fc-service-card:hover {
    background:#eef3e8;
}

.fc-service-top {
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.fc-service-code {
    font-size:10px;
    letter-spacing:.14em;
    text-transform:uppercase;
    color:#917c51;
}

.fc-service-arrow {
    font-size:12px;
    color:#537155;
}

.fc-service-main {
    flex:1;
    margin-top:24px;
}

.fc-service-icon {
    display:block;
    font-size:23px;
    color:#386349;
    margin-bottom:21px;
}

.fc-service-title {
    font-size:18px;
    font-weight:600;
    letter-spacing:-.02em;
}

.fc-service-text {
    font-size:13px;
    color:var(--muted);
    line-height:1.85;
    margin-top:10px;
    margin-bottom:0;
}

.fc-service-action {
    margin-top:25px;
    padding-top:15px;
    border-top:1px solid var(--line);
    font-size:10px;
    letter-spacing:.12em;
    text-transform:uppercase;
    color:#34634c;
}

.fc-ticker {
    margin-top:24px;
    border:1px solid var(--line);
    background:#edf1e6;
    padding:13px 0;
    border-radius:3px;
    overflow:hidden;
}

.fc-ticker-track {
    display:flex;
    flex-wrap:nowrap;
    gap:48px;
    width:max-content;
    padding-left:100%;
    animation:announcement-scroll 45s linear infinite;
}

.fc-ticker-item {
    flex-shrink:0;
    white-space:nowrap;
    font-size:12px;
    line-height:1.8;
    overflow-wrap:anywhere;
}

.fc-ticker:hover .fc-ticker-track,
.fc-ticker:focus-within .fc-ticker-track {
    animation-play-state:paused;
}

.fc-ticker:focus-visible {
    outline:3px solid #a17c33;
    outline-offset:3px;
}

@keyframes announcement-scroll {
    from { transform:translateX(0); }
    to { transform:translateX(-100%); }
}

@media (prefers-reduced-motion: reduce) {
    .fc-ticker-track {
        animation:none;
        width:auto;
        padding:0 20px;
        flex-wrap:wrap;
        gap:12px;
    }
    .fc-ticker-item { white-space:normal; flex-shrink:1; }
}

.fc-notice-board {
    margin-top:28px;
    background:white;
    border:1px solid var(--line);
    border-radius:3px;
}

.fc-notice-list {
    list-style:none;
    padding:0;
    margin:0;
}

.fc-notice-item {
    display:grid;
    grid-template-columns:130px 1fr;
    gap:25px;
    padding:25px;
    border-bottom:1px solid var(--line);
}

.fc-notice-item:last-child {
    border-bottom:0;
}

.fc-notice-date {
    color:#92743a;
    font-size:12px;
}

.fc-notice-title {
    font-size:17px;
    font-weight:500;
}

.fc-notice-text {
    font-size:13px;
    margin-top:8px;
    color:var(--muted);
}

.fc-notice-more {
    font-size:12px;
}

.fc-notice-more summary {
    cursor:pointer;
    color:#386349;
}

.fc-notice-more p {
    white-space:pre-line;
    overflow-wrap:anywhere;
    margin-top:15px;
    color:var(--muted);
    line-height:1.9;
}

.empty-notices {
    padding:25px;
    color:var(--muted);
    font-size:13px;
}

.section-action {
    margin-top:20px;
}

.fc-initiative-panel {
    margin-top:30px;
}

.fc-initiative-layout {
    display:grid;
    grid-template-columns:1.3fr 1fr;
    gap:60px;
    padding:35px;
    background:#eaf0e4;
    border:1px solid #dae3d3;
    border-radius:3px;
}

.fc-initiative-kicker {
    color:#8a6a2b;
    font-size:10px;
    letter-spacing:.12em;
    text-transform:uppercase;
}

.fc-initiative-title {
    font-size:27px;
    font-weight:500;
    letter-spacing:-.03em;
}

.fc-initiative-text {
    font-size:13px;
    line-height:1.95;
    color:#566b58;
    margin-top:17px;
}

.fc-initiative-quote {
    margin:24px 0 0;
    border-left:2px solid #b89956;
    padding:5px 0 5px 20px;
    color:#52654f;
    font-family:Georgia,serif;
    font-size:17px;
    font-style:italic;
    line-height:1.65;
}

.fc-initiative-highlights {
    display:grid;
    gap:12px;
}

.fc-highlight-card {
    padding:16px 22px;
    background:#f9faf5;
    border:1px solid #d8e0d0;
    border-radius:3px;
}

.fc-highlight-value {
    font-size:23px;
    letter-spacing:-.03em;
    font-weight:500;
}

.fc-highlight-label {
    font-size:10px;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:var(--muted);
    margin-top:2px;
}

.fc-guideline-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:22px;
    margin-top:25px;
}

.fc-guideline-card {
    padding:28px 24px;
    background:white;
    border:1px solid var(--line);
    border-top:2px solid #c8b078;
    border-radius:3px;
}

.fc-guideline-icon {
    display:block;
    color:#44684c;
    font-size:21px;
    margin-bottom:20px;
}

.fc-guideline-head h3 {
    font-size:17px;
    font-weight:600;
    line-height:1.4;
}

.fc-guideline-card ul {
    padding-left:17px;
    margin:20px 0 0;
    color:var(--muted);
    font-size:12px;
    line-height:1.9;
}

.fc-guideline-card li+li {
    margin-top:13px;
}

.fc-contact-grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px;
    margin-top:26px;
}

.fc-contact-panel {
    padding:28px;
    background:white;
    border:1px solid var(--line);
    border-radius:3px;
}

.fc-contact-panel h3 {
    font-size:19px;
    font-weight:500;
    margin-bottom:16px;
}

.fc-contact-panel p {
    font-size:13px;
    color:var(--muted);
    margin:4px 0;
}

.department-band {
    background:#e9eee4;
    padding:28px 0;
}

.department-band .wrap {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
}

.department-band strong {
    font-size:13px;
    font-weight:600;
}

.department-band p {
    font-size:11px;
    color:var(--muted);
    margin:3px 0 0;
}

.department-wordmark {
    font-size:27px;
    font-weight:600;
    letter-spacing:-.04em;
}

.site-footer {
    background:var(--deep);
    color:#bdcfc3;
}

.footer-grid {
    display:grid;
    grid-template-columns:1fr .8fr 1.2fr;
    gap:65px;
    padding-block:42px;
}

.site-footer h2 {
    font-size:13px;
    font-weight:500;
    color:#e2cc9b;
    margin-bottom:15px;
}

.site-footer p,.site-footer li {
    font-size:12px;
    line-height:1.95;
}

.site-footer ul {
    list-style:none;
    margin:0;
    padding:0;
}

.site-footer a:hover {
    color:white;
    text-decoration:underline;
}

.footer-bottom {
    border-top:1px solid #ffffff25;
    padding-block:23px;
    display:flex;
    justify-content:space-between;
    gap:20px;
    font-size:10px;
}

@media(min-width:1700px) {
    .hero-visual {
        margin-right:-80px;
    }
}

@media(max-width:1150px) {
    .desktop-nav {
        gap:15px;
    }
    .header-inner {
        gap:18px;
    }
    .brand small {
        font-size:9px;
    }
    .brand strong {
        font-size:23px;
    }
    .brand img {
        width:46px;
        height:55px;
    }
    .account-actions {
        gap:15px;
    }
}

@media(max-width:1000px) {
    .wrap,.fc-section {
        width:calc(100% - 48px);
    }
    .desktop-nav {
        display:none;
    }
    .menu-toggle {
        display:block;
    }
    .account-actions {
        margin-left:auto;
    }
    .hero-copy {
        padding:50px 25px 50px 0;
    }
    .hero-visual {
        margin-right:-24px;
    }
    .hero h1>span {
        font-size:18px;
    }
    .image-caption {
        left:28px;
    }
    .fc-initiative-layout {
        gap:28px;
    }
    .fc-guideline-grid {
        grid-template-columns:1fr;
    }
    .fc-guideline-head {
        display:flex;
        align-items:center;
        gap:16px;
    }
    .fc-guideline-icon {
        margin-bottom:0;
    }
    .footer-grid {
        gap:30px;
    }
    .fc-section-title {
        font-size:30px;
    }
}

@media(max-width:650px) {
    .wrap,.fc-section {
        width:calc(100% - 40px);
    }
    .utility-inner {
        font-size:9px;
        letter-spacing:.04em;
    }
    .utility-inner>span:last-child {
        display:none;
    }
    .header-inner {
        flex-wrap:wrap;
        gap:14px;
        padding-block:18px;
        min-height:0;
    }
    .brand {
        flex:1;
    }
    .brand strong {
        font-size:23px;
    }
    .brand small {
        font-size:9px;
    }
    .brand img {
        width:42px;
        height:49px;
    }
    .account-actions {
        order:3;
        width:100%;
        justify-content:flex-end;
        padding-top:12px;
        border-top:1px solid var(--line);
    }
    .button {
        padding:11px 18px;
    }
    .hero-grid {
        display:block;
    }
    .hero-copy {
        padding:40px 0 30px;
    }
    .hero h1 {
        font-size:68px;
    }
    .hero h1>span {
        font-size:20px;
    }
    .hero-description {
        font-size:13px;
    }
    .hero-actions {
        gap:23px;
    }
    .hero-visual {
        height:265px;
        margin:0 -20px;
    }
    .hero-visual:after {
        background:linear-gradient(0deg,rgba(9,44,37,.9),transparent 80%);
    }
    .image-caption {
        left:22px;
        right:22px;
        bottom:22px;
    }
    .image-caption strong {
        font-size:11px;
    }
    .policy-strip .wrap {
        flex-wrap:wrap;
        gap:10px 20px;
        font-size:10px;
        padding-block:16px;
    }
    .fc-section {
        padding-block:42px;
    }
    .section-heading {
        display:block;
    }
    .section-heading .guide-link {
        display:inline-block;
        margin-top:20px;
    }
    .fc-section-title {
        font-size:28px;
    }
    .process-grid {
        grid-template-columns:1fr;
        gap:16px;
    }
    .process-card {
        padding:25px 22px;
    }
    .fc-service-grid {
        grid-template-columns:1fr;
    }
    .fc-service-card {
        padding:25px;
    }
    .fc-service-main {
        margin-top:18px;
    }
    .fc-service-icon {
        margin-bottom:15px;
    }
    .fc-notice-item {
        grid-template-columns:1fr;
        gap:10px;
        padding:22px;
    }
    .fc-initiative-layout {
        grid-template-columns:1fr;
        padding:25px 22px;
        gap:25px;
    }
    .fc-initiative-title {
        font-size:25px;
    }
    .fc-guideline-card {
        padding:25px 22px;
    }
    .fc-guideline-head {
        align-items:flex-start;
    }
    .fc-contact-grid {
        grid-template-columns:1fr;
        gap:16px;
    }
    .department-band .wrap {
        align-items:start;
    }
    .department-band strong {
        font-size:12px;
    }
    .department-wordmark {
        font-size:23px;
        white-space:nowrap;
    }
    .footer-grid {
        grid-template-columns:1fr;
        gap:25px;
        padding-block:32px;
    }
    .footer-bottom {
        flex-direction:column;
        gap:6px;
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior:auto;
    }
    * {
        transition:none!important;
    }
}


/* Full departmental identity alongside the existing government logo. */
.brand { flex-shrink: 1; min-width: 0; }
.brand > a { flex-shrink: 0; }
.brand-text { max-width: 460px; min-width: 0; }
.brand-text > a { display: block; line-height: 1.5; }
.brand-government { font-size: 11px; color: var(--muted); }
.brand .brand-department strong { font-size: 16px; font-weight: 700; letter-spacing: -.015em; line-height: 1.45; margin: 3px 0; }
.brand-system { font-size: 10px; color: var(--muted); }
.brand-text a:hover { color: #94712e; }
@media (max-width: 1200px) {
    .desktop-nav { display: none; }
    .menu-toggle { display: block; }
    .account-actions { margin-left: auto; }
}
@media (max-width: 650px) {
    .brand { flex-basis: calc(100% - 95px); align-items: flex-start; gap: 10px; }
    .brand-government { font-size: 10px; }
    .brand .brand-department strong { font-size: 12px; }
    .brand-system { font-size: 9px; }
}
