@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/visa_agency_uk_theme/static/legacy/fonts/playfair-display-v37-latin-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/visa_agency_uk_theme/static/legacy/fonts/playfair-display-v37-latin-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/visa_agency_uk_theme/static/legacy/fonts/playfair-display-v37-latin-700.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 200;
    font-display: swap;
    src: url('/visa_agency_uk_theme/static/legacy/fonts/inter-v13-latin-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('/visa_agency_uk_theme/static/legacy/fonts/inter-v13-latin-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/visa_agency_uk_theme/static/legacy/fonts/inter-v13-latin-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/visa_agency_uk_theme/static/legacy/fonts/inter-v13-latin-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/visa_agency_uk_theme/static/legacy/fonts/inter-v13-latin-600.woff2') format('woff2');
}
:root {
    --song-navy: #1a2c42;
    --song-paper: #fdfbf7;
    --song-stone: #f4f1eb;
    --song-gold: #c5a059;
    --song-white: #ffffff;
    --song-ink: #172033;
    --song-muted: #64748b;
    --song-muted-soft: #94a3b8;
    --song-prose: #475569;
    --song-white-muted: rgba(255, 255, 255, 0.7);
    --song-white-subtle: rgba(255, 255, 255, 0.5);
    --song-white-border: rgba(255, 255, 255, 0.1);
    --song-gold-surface: rgba(197, 160, 89, 0.05);
    --song-gold-panel: rgba(197, 160, 89, 0.15);
    --song-gold-border: rgba(197, 160, 89, 0.3);
    --song-hover-stroke-thin: 1px;
    --song-border: rgba(15, 23, 42, 0.08);
    --song-border-dark: rgba(15, 23, 42, 0.15);
    --song-border-strong: rgba(15, 23, 42, 0.22);
    --song-gold-hover-inset: inset 0 0 0 1px rgba(197, 160, 89, 0.45);
    --song-gold-focus-ring-2: 0 0 0 2px rgba(197, 160, 89, 0.18);
    --song-gold-focus-ring-3: 0 0 0 3px rgba(197, 160, 89, 0.18);
    --song-radius-none: 0;
    --song-radius-sm: 2px;
    --song-radius-content: 6px;
    --song-shadow-none: none;
    --song-shadow-thin: 0 1px 2px rgba(15, 23, 42, 0.04);
    --song-shadow-panel: 0 12px 24px rgba(15, 23, 42, 0.08);
    --song-space-1: 0.25rem;
    --song-space-2: 0.5rem;
    --song-space-3: 0.75rem;
    --song-space-4: 1rem;
    --song-space-5: 1.25rem;
    --song-space-6: 1.5rem;
    --song-space-8: 2rem;
    --song-space-10: 2.5rem;
    --song-space-12: 3rem;
    --song-space-16: 4rem;
    --song-space-20: 5rem;
    --song-shell-max: 1280px;
    --song-content-max: 1140px;
    --song-reading-max: 896px;
    --song-policy-max: 860px;
    --song-container-x: clamp(1rem, 4vw, 2rem);
    --song-status-info-bg: #f8fafc;
    --song-status-info-border: #dbe3ec;
    --song-status-info-text: #334155;
    --song-status-warning-bg: #fff8e6;
    --song-status-warning-border: #ead7a8;
    --song-status-warning-text: #6f5416;
    --song-status-danger-bg: #fff5f2;
    --song-status-danger-border: #e7b8ad;
    --song-status-danger-text: #7f271a;
    --song-status-success-bg: #f3faf4;
    --song-status-success-border: #bcd8c2;
    --song-status-success-text: #245f35;

    /* Keep apply aliases independent from --song-* compatibility aliases.
       Core components map --song-* back to --apply-*; pointing both sets at
       each other makes the browser invalidate the complete token cycle. */
    --apply-white: #ffffff;
    --apply-paper: #fdfbf7;
    --apply-primary: #1a2c42;
    --apply-accent: #c5a059;
    --apply-muted: #64748b;
    --apply-muted-soft: #94a3b8;
    --apply-stone: #f4f1eb;
    --apply-border: rgba(15, 23, 42, 0.08);
    --apply-border-dark: rgba(15, 23, 42, 0.15);
    --apply-border-strong: rgba(15, 23, 42, 0.22);
    --apply-radius-none: 0;
    --apply-radius-content: 6px;
    --apply-radius-control: 0;
    --apply-shadow-none: none;
    --apply-shadow-thin: 0 1px 2px rgba(15, 23, 42, 0.04);
    --apply-hover-stroke-thin: 1px;
    --apply-accent-hover-inset: inset 0 0 0 1px rgba(197, 160, 89, 0.45);
    --apply-accent-focus-ring: 0 0 0 2px rgba(197, 160, 89, 0.18);
    --apply-accent-ring-color: #c5a059;
    --apply-accent-soft-bg: #fffaf1;
    --apply-container-x: clamp(1rem, 4vw, 2rem);
    --apply-status-info-bg: #f8fafc;
    --apply-status-info-border: #dbe3ec;
    --apply-status-info-text: #334155;
    --apply-status-warning-bg: #fff8e6;
    --apply-status-warning-border: #ead7a8;
    --apply-status-warning-text: #6f5416;
    --apply-status-danger-bg: #fff5f2;
    --apply-status-danger-border: #e7b8ad;
    --apply-status-danger-text: #7f271a;
    --apply-status-success-bg: #f3faf4;
    --apply-status-success-border: #bcd8c2;
    --apply-status-success-text: #245f35;
}

html {
    scrollbar-gutter: stable;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--song-paper);
    color: var(--song-navy);
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.page-shell {
    font-weight: 300;
    line-height: 1.6;
}

/* Typography */
.serif-lean {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    letter-spacing: -0.016em;
    line-height: 1.12;
}

.serif-bold {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    letter-spacing: -0.014em;
    line-height: 1.12;
}

/* Borders */
.thin-border {
    border: 1px solid var(--song-border);
}

/* Global Section Rhythm Standard */
.song-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.song-section-white {
    background: #ffffff;
}

.song-section-paper {
    background: var(--song-paper);
}

/* Global Heading Grammar */
.song-eyebrow {
    color: var(--song-gold);
    text-transform: uppercase;
    letter-spacing: 0.5em;
    font-size: 9px;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: block;
}

.song-section-title {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    letter-spacing: -0.016em;
    line-height: 1.12;
    font-size: clamp(2rem, 2.8vw, 2.25rem);
    color: var(--song-navy);
}

.song-divider {
    width: 2.5rem;
    height: 1px;
    background: var(--song-gold);
    opacity: 0.6;
}

/* Missing Tailwind arbitrary-value hover utilities */
.hover\:bg-\[--song-navy\]:hover {
    background-color: var(--song-navy);
}

/* Global Card Interaction Standard */
.song-card-hover {
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.song-card-hover:hover {
    border-color: var(--song-gold) !important;
}

.song-hover-outline-thin {
    box-shadow: 0 0 0 var(--song-hover-stroke-thin, 1px) rgba(197, 160, 89, 0);
    transition: box-shadow 0.3s ease;
}

.song-hover-outline-thin:hover {
    box-shadow: 0 0 0 var(--song-hover-stroke-thin, 1px) rgba(197, 160, 89, 1);
}

/* Global interactive affordance: unify hover/focus border feedback across pages. */
:where(
    button,
    a.btn-song,
    a.btn-success,
    a[class*="btn-"],
    input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
    select,
    textarea,
    .country-picker-trigger,
    .country-picker-option,
    [role="button"],
    [role="combobox"]
):not(:disabled):not([aria-disabled="true"]) {
    transition: border-color 0.2s ease, box-shadow 0.2s ease, outline-color 0.2s ease;
}

/* Page Archetypes: Home vs Inner */
.page-home,
.page-inner {
    background: var(--song-paper);
}

/* Inner = denser decision support */
.page-inner .song-section {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
}

.song-detail-shell {
    background: var(--song-paper);
}

.song-detail-section {
    border-bottom: 1px solid var(--song-border);
}

@media (max-width: 767px) {
    .song-section {
        padding-top: 3.75rem;
        padding-bottom: 3.75rem;
    }

    .song-eyebrow {
        letter-spacing: 0.35em;
        margin-bottom: 1rem;
    }

    .song-section-title {
        font-size: clamp(1.65rem, 7vw, 2rem);
        line-height: 1.16;
    }
}

/* Components */
.screen-card {
    border: 1px solid var(--song-border);
    padding: 0px;
    position: relative;
    transition: all 0.6s cubic-bezier(0.2, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    background: white;
    min-height: 320px;
    overflow: hidden;
}

.screen-card:hover {
    border-color: var(--song-gold) !important;
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.03);
}

.line-art-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: all 0.8s ease;
}

.screen-card:hover .line-art-img {
    opacity: 1;
    transform: scale(1.02);
}

.btn-song {
    background: var(--song-gold);
    color: white;
    padding: 1rem 2.5rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: all 0.3s;
    display: inline-block;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-song:hover {
    background: var(--song-navy);
}

.btn-success {
    background: #16a34a;
    color: white;
    padding: 1rem 2.5rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    cursor: pointer;
    border-radius: 6px;
}

.btn-success:hover {
    background: #15803d;
}

.btn-song:hover,
.btn-success:hover {
    color: white;
    text-decoration: none;
    border-color: var(--song-gold) !important;
    box-shadow: var(--song-gold-hover-inset);
}

/* Application Form Overrides */
#application-form-container input[type="submit"],
#application-form-container button[type="submit"],
#application-form-container .btn-song {
    background-color: var(--song-gold) !important;
    border: 1px solid transparent !important;
    color: white !important;
    border-radius: 0 !important;
    padding: 1.2rem !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    width: 100%;
    cursor: pointer;
}

.nav-link {
    position: relative;
    transition: color 0.3s;
    letter-spacing: 0.1em;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: var(--song-navy);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.elegant-input {
    width: 100%;
    background: white;
    border: 1px solid var(--song-border-dark);
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    color: var(--song-navy);
    transition: all 0.3s ease;
    outline: none;
    appearance: none;
    border-radius: 0;
}

.elegant-input:focus {
    border-color: var(--song-gold);
    box-shadow: 0 0 0 1px var(--song-gold);
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '';
    position: absolute;
    right: 1.25rem;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 1px solid var(--song-navy);
    border-bottom: 1px solid var(--song-navy);
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}

/* FAQ & Interactions */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.faq-answer.open {
    max-height: 500px;
    transition: max-height 0.6s ease-in-out;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-btn[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
    color: var(--song-gold);
}

.bullet-gold {
    color: var(--song-gold);
    font-size: 0.6rem;
    margin-right: 0.75rem;
    margin-top: 0.35rem;
}

/* Tabs */
.tab-btn {
    padding: 1rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    background: transparent;
    border: 1px solid transparent;
    border-bottom: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    margin-bottom: -1px;
}

.tab-btn:hover {
    color: var(--song-navy);
}

.tab-btn.active {
    color: var(--song-navy);
    background: white;
    border-color: var(--song-border);
    border-top: 3px solid var(--song-gold);
}

.tab-content {
    display: none;
    background: white;
    border: 1px solid var(--song-border);
    padding: 2rem;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utilities */
.custom-scrollbar::-webkit-scrollbar {
    height: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: var(--song-gold);
}

/* ===================================================
   SHARED COMPONENT STYLES
   Used by reusable Razor partials.
   Edit here to update all pages simultaneously.
   =================================================== */

/* Breadcrumb Bar */
.breadcrumb-bar { padding: var(--song-space-3) 0; border-bottom: 1px solid var(--song-border); background: transparent; }
.breadcrumb-bar:only-child { border-bottom: none; background: transparent; }
.breadcrumb-bar ol { display: flex; flex-wrap: wrap; align-items: center; gap: var(--song-space-2); list-style: none; padding: 0; margin: 0; font-size: 0.75rem; font-weight: 700; text-transform: none; letter-spacing: 0.08em; color: var(--song-muted-soft); }
.breadcrumb-bar a { color: var(--song-muted-soft); text-decoration: none; transition: color 0.2s; }
.breadcrumb-bar a:hover { color: var(--song-navy); }
.breadcrumb-bar .bc-current { color: var(--song-navy); }
.breadcrumb-bar .bc-sep { color: var(--song-border-strong); }

/* Hero Section */
.page-hero { position: relative; background-color: var(--song-navy); padding: var(--song-space-20) 0; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; z-index: 0; opacity: 0.2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__content { position: relative; z-index: 10; text-align: center; }
.page-hero__label { display: block; color: var(--song-gold); text-transform: uppercase; letter-spacing: 0.34em; font-size: 0.6875rem; font-weight: 600; margin-bottom: var(--song-space-4); }
.page-hero__title { font-family: 'Playfair Display', serif; font-weight: 400; font-size: clamp(2.75rem, 5vw, 4.4rem); color: var(--song-white); margin-bottom: var(--song-space-6); letter-spacing: -0.025em; line-height: 0.98; text-transform: none; }
.page-hero__subtitle { color: var(--song-white-muted); font-style: italic; max-width: 36rem; margin: 0 auto; font-size: 0.9rem; font-weight: 300; }

/* Sidebar */
.sidebar-section { border: 1px solid var(--song-border); background: var(--song-white); overflow: hidden; margin-bottom: var(--song-space-3); box-shadow: var(--song-shadow-thin); }
.aside-sticky { position: static; top: auto; }
.sidebar-section-header { background: var(--song-paper); border-bottom: 1px solid var(--song-border); padding: var(--song-space-3) var(--song-space-4); display: flex; align-items: center; gap: var(--song-space-2); font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.13em; color: var(--song-navy); }
.sidebar-section-header i { color: var(--song-gold); }
.sidebar-nav { padding: var(--song-space-2); }
.sidebar-nav-link { display: block; padding: var(--song-space-2) var(--song-space-3); font-size: 0.75rem; font-weight: 400; color: var(--song-muted); text-decoration: none; transition: color 0.2s, border-color 0.2s, background-color 0.2s; border-left: 2px solid transparent; }
.sidebar-nav-link:hover,
.sidebar-nav-link:focus-visible { color: var(--song-navy); border-left-color: var(--song-gold); background: var(--song-gold-surface); }
.sidebar-nav-link.active { color: var(--song-navy); font-weight: 700; border-left-color: var(--song-gold); background: var(--song-gold-surface); }

/* Hotline Widget */
.hotline-widget { background: var(--song-navy); padding: 1.75rem 1.5rem; text-align: center; }
.hotline-widget__icon { width: 3rem; height: 3rem; background: var(--song-gold-panel); border: 1px solid var(--song-gold-border); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto var(--song-space-4); color: var(--song-gold); }
.hotline-widget__icon > img { display: block; width: 1.25rem; height: 1.25rem; }
.hotline-widget__label { font-size: 0.625rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; color: var(--song-white-muted); display: block; margin-bottom: 0.875rem; }
.hotline-widget__number { font-family: inherit; font-size: 1.16rem; font-weight: 400; letter-spacing: -0.006em; font-variant-numeric: tabular-nums; color: var(--song-white); display: block; margin-bottom: var(--song-space-5); text-decoration: none; transition: color 0.2s; }
.hotline-widget__number:hover { color: var(--song-gold); }
.hotline-widget__divider { border: none; border-top: 1px solid var(--song-white-border); margin: 0 0 var(--song-space-5); }
.hotline-widget__email { font-size: 0.75rem; color: var(--song-gold); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; letter-spacing: 0.05em; text-transform: uppercase; transition: color 0.2s; }
.hotline-widget__email svg, .hotline-widget__email i[data-lucide] { flex-shrink: 0; }
.hotline-widget__email > img { display: block; width: 0.875rem; height: 0.875rem; flex-shrink: 0; }
.hotline-widget__email:hover { color: var(--song-white); }

/* Content Section Wrapper */
.content-section { background: var(--song-white); border: 1px solid var(--song-border); padding: var(--song-space-10) var(--song-space-12); box-shadow: var(--song-shadow-thin); }
@media (max-width: 768px) { .content-section { padding: 1.5rem; } }

/* CTA Banner */
.cta-banner { background: var(--song-navy); padding: var(--song-space-10); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: var(--song-space-6); text-align: center; }
@media (min-width: 768px) { .cta-banner { flex-direction: row; text-align: left; } }
.cta-banner__title { font-family: 'Playfair Display', serif; font-weight: 400; font-size: 1.7rem; color: var(--song-white); margin-bottom: 0.35rem; letter-spacing: -0.02em; line-height: 1.05; }
.cta-banner__subtitle { font-size: 0.8125rem; color: var(--song-white-subtle); font-weight: 300; }

/* Country Card Overlay */
.card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,44,66,0.9) 0%, rgba(26,44,66,0.2) 40%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem; transition: all 0.5s ease; }
.screen-card:hover .card-overlay { background: linear-gradient(to top, rgba(26,44,66,0.95) 0%, rgba(26,44,66,0.3) 50%, transparent 100%); }

/* Content Page Layout */
.content-layout { padding: var(--song-space-16) 0; background: var(--song-paper); }

/* Prose (content body text) */
.page-prose { font-size: 0.9375rem; font-weight: 300; color: var(--song-prose); line-height: 1.86; }
.page-prose p { margin: 0 0 var(--song-space-5); }
.page-prose p:last-child { margin-bottom: 0; }
.page-prose h2, .page-prose h3 { font-family: 'Playfair Display', serif; font-weight: 400; color: var(--song-navy); margin-top: 2rem; margin-bottom: 0.75rem; letter-spacing: -0.018em; line-height: 1.15; }
.page-prose h2 { font-size: 1.9rem; }
.page-prose h3 { font-size: 1.35rem; }
@media (min-width: 768px) {
    .page-prose h2 { font-size: 2.15rem; }
    .page-prose h3 { font-size: 1.5rem; }
}

/* Stronger heading hierarchy for legal/service long-form pages */
.legal-prose h2 {
    font-size: clamp(1.45rem, 1.8vw, 1.9rem) !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
    margin-top: 2.35rem !important;
    margin-bottom: 1rem !important;
    letter-spacing: -0.015em;
    padding-bottom: 0.2rem;
}

.legal-prose h2::after {
    content: "";
    display: block;
    width: 56px;
    height: 1.5px;
    background: var(--song-gold);
    margin-top: 0.45rem;
}

.legal-prose h3 {
    font-size: clamp(1.12rem, 1.2vw, 1.3rem) !important;
    font-weight: 500 !important;
    color: #24364b;
    margin-top: 1.5rem;
}
.page-prose ul, .page-prose ol { padding-left: var(--song-space-6); margin-bottom: var(--song-space-5); }
.page-prose li { margin-bottom: 0.4rem; }
.page-prose strong { font-weight: 600; color: var(--song-navy); }
.page-prose :where(a:not(.song-button):not(.btn-song)) { color: var(--song-gold); text-decoration-color: var(--song-gold-border); text-underline-offset: 0.2em; transition: color 0.2s, text-decoration-color 0.2s; }
.page-prose :where(a:not(.song-button):not(.btn-song)):hover,
.page-prose :where(a:not(.song-button):not(.btn-song)):focus-visible { color: var(--song-navy); text-decoration-color: currentColor; }
.page-prose table { border-color: var(--song-border); color: var(--song-prose); }
.page-prose th,
.page-prose td { border-color: var(--song-border); vertical-align: top; }
.page-prose th,
.page-prose td:first-child { color: var(--song-navy); }
.page-prose img { border: 1px solid var(--song-border); margin-bottom: var(--song-space-4); }

/* Section heading used across visa detail pages */
.section-title { font-family: 'Playfair Display', serif; font-weight: 400; font-size: 2rem; color: var(--song-navy); margin-bottom: 0.75rem; line-height: 1.08; letter-spacing: -0.022em; }
@media (min-width: 768px) { .section-title { font-size: 2.25rem; } }

/* Contact Form Alert States */
.contact-status .alert { border: 1px solid var(--song-border); padding: 0.85rem 1rem; margin-bottom: 1rem; font-size: 0.9rem; }
.contact-status .alert-danger { border-color: #fecaca; background: #fef2f2; color: #991b1b; }
.contact-status .alert-success { border-color: #bbf7d0; background: #f0fdf4; color: #166534; }

/* Utility: visually hidden honeypot */
.vh-trap { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ===== Accessibility: Focus Styles ===== */
*:focus-visible {
  outline: 2px solid var(--song-gold);
  outline-offset: 3px;
  border-radius: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--song-gold);
  outline-offset: 3px;
}

/* Screen reader only class */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.focus:not-sr-only:focus {
  position: static;
  width: auto;
  height: auto;
  padding: inherit;
  margin: inherit;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* ===== Application Form Field UI ===== */

/* Song aesthetic: zero border radius on ALL form elements */
#form1 input[type="text"],
#form1 input[type="email"],
#form1 input[type="tel"],
#form1 input[type="date"],
#form1 input[type="number"],
#form1 select,
#form1 textarea {
    border-radius: 0 !important;
}

/* Zero radius on section cards and buttons inside the form */
#form1 .rounded-lg,
#form1 .rounded,
#form1 .rounded-xl,
#form1 .rounded-2xl,
#form1 .rounded-full {
    border-radius: 0 !important;
}

/* Base input/select styles */
#form1 input[type="text"],
#form1 input[type="email"],
#form1 input[type="tel"],
#form1 input[type="date"],
#form1 input[type="number"],
#form1 select {
    height: 44px;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    font-size: 0.875rem;
    color: #1a2c42;
    padding-left: 0.875rem;
    padding-right: 0.875rem;
    width: 100%;
    display: block;
}

/* Hover state */
#form1 input[type="text"]:hover,
#form1 input[type="email"]:hover,
#form1 input[type="tel"]:hover,
#form1 input[type="date"]:hover,
#form1 input[type="number"]:hover,
#form1 select:hover {
    border-color: #94a3b8;
}

/* Focus state — gold ring */
#form1 input[type="text"]:focus,
#form1 input[type="email"]:focus,
#form1 input[type="tel"]:focus,
#form1 input[type="date"]:focus,
#form1 input[type="number"]:focus,
#form1 select:focus {
    border-color: var(--song-gold) !important;
    box-shadow: var(--song-gold-focus-ring-3);
    outline: none !important;
}

/* Field label typography */
#form1 label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #1a2c42;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.375rem;
}

/* Row spacing */
#form1 .grid + .grid {
    margin-top: 1.25rem;
}

/* Field wrapper bottom spacing */
#form1 .grid > div {
    padding-bottom: 0.25rem;
}

/* Responsive: reduce card padding on mobile */
@media (max-width: 767px) {
    #form1 .p-8 {
        padding: 1.25rem !important;
    }
    #form1 .px-8 {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }
    #form1 .py-5 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
}

/* Progress steps: square dot */
#form1 .step-dot {
    border-radius: 0 !important;
}

/* Global interactive hover/focus border language (high priority) */
button:not(:disabled):hover,
a.btn-song:hover,
a.btn-success:hover,
a[class*="btn-"]:hover,
input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not(:disabled):hover,
select:not(:disabled):hover,
textarea:not(:disabled):hover,
.country-picker-trigger:not([aria-disabled="true"]):hover,
.country-picker-option:hover,
[role="button"]:not([aria-disabled="true"]):hover,
[role="combobox"]:not([aria-disabled="true"]):hover {
    border-color: var(--song-gold) !important;
    box-shadow: var(--song-gold-hover-inset) !important;
}

button:not(:disabled):focus-visible,
a.btn-song:focus-visible,
a.btn-success:focus-visible,
a[class*="btn-"]:focus-visible,
input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not(:disabled):focus-visible,
select:not(:disabled):focus-visible,
textarea:not(:disabled):focus-visible,
.country-picker-trigger:not([aria-disabled="true"]):focus-visible,
.country-picker-option:focus-visible,
[role="button"]:not([aria-disabled="true"]):focus-visible,
[role="combobox"]:not([aria-disabled="true"]):focus-visible {
    border-color: var(--song-gold) !important;
    box-shadow: var(--song-gold-focus-ring-2) !important;
    outline: none;
}
