/* diplomatic.boo — Embassy of the Spectral Republic */

:root {
    --ivory: #F5F1E8;
    --parchment: #EDE6D3;
    --navy: #0E1E3F;
    --navy-soft: #1B2D55;
    --gold: #C9A14A;
    --gold-deep: #A37F30;
    --lavender: #B8A6D9;
    --mist: #E8E4F0;
    --seal: #8B2635;
    --ink: #1A1A2A;
    --ghost: #FAFAFC;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cormorant Garamond', 'Times New Roman', serif;
    font-size: 18px;
    line-height: 1.6;
    color: var(--navy);
    background: var(--ivory);
    background-image:
        radial-gradient(ellipse at 12% 18%, rgba(184, 166, 217, 0.18), transparent 55%),
        radial-gradient(ellipse at 88% 78%, rgba(201, 161, 74, 0.10), transparent 60%),
        radial-gradient(ellipse at 50% 50%, rgba(245, 241, 232, 1), rgba(237, 230, 211, 1));
    overflow-x: hidden;
    min-height: 100vh;
    cursor: default;
}

/* ===== Mist & cursor ghost ===== */
.mist-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.35) 0%, transparent 35%),
        radial-gradient(circle at 80% 60%, rgba(184, 166, 217, 0.18) 0%, transparent 40%),
        radial-gradient(circle at 50% 90%, rgba(232, 228, 240, 0.4) 0%, transparent 45%);
    animation: mist-drift 28s ease-in-out infinite alternate;
    mix-blend-mode: screen;
}

@keyframes mist-drift {
    0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 0.85; }
    50%  { transform: translate3d(2vw, -1vh, 0) scale(1.05); opacity: 1; }
    100% { transform: translate3d(-1vw, 1vh, 0) scale(1.02); opacity: 0.9; }
}

.cursor-ghost {
    position: fixed;
    width: 28px;
    height: 32px;
    pointer-events: none;
    z-index: 9999;
    left: -100px;
    top: -100px;
    background: radial-gradient(ellipse at 50% 30%, rgba(255,255,255,0.95), rgba(232,228,240,0.55) 60%, transparent 80%);
    border-radius: 50% 50% 35% 35%;
    filter: blur(0.6px);
    transition: opacity 0.4s ease;
    opacity: 0;
}

.cursor-ghost.visible {
    opacity: 0.85;
}

/* ===== Header ===== */
.embassy-header {
    position: relative;
    z-index: 10;
    padding: 28px 64px 18px;
    background: linear-gradient(180deg, rgba(245, 241, 232, 0.95) 0%, rgba(245, 241, 232, 0.75) 100%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 40px;
}

.crest {
    color: var(--navy);
    width: 64px;
    height: 64px;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.crest:hover {
    transform: rotate(-8deg) scale(1.08);
}

.crest-svg {
    width: 100%;
    height: 100%;
}

.primary-nav {
    display: flex;
    justify-content: center;
    gap: 36px;
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.primary-nav a {
    color: var(--navy);
    text-decoration: none;
    position: relative;
    padding: 6px 2px;
    transition: color 0.3s ease;
}

.primary-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.4s ease;
}

.primary-nav a:hover {
    color: var(--gold-deep);
}

.primary-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left center;
}

.header-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    font-family: 'Playfair Display', serif;
}

.meta-line {
    font-size: 14px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--navy);
}

.meta-small {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: none;
    color: var(--navy-soft);
    opacity: 0.75;
    margin-top: 2px;
}

.header-rule {
    max-width: 1400px;
    margin: 18px auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
    opacity: 0.55;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    z-index: 5;
    min-height: calc(100vh - 120px);
    padding: 80px 64px 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: clamp(280px, 45vw, 620px);
    color: var(--lavender);
    opacity: 0.13;
    letter-spacing: 0.04em;
    pointer-events: none;
    user-select: none;
    line-height: 1;
    z-index: 1;
    animation: watermark-float 12s ease-in-out infinite alternate;
}

@keyframes watermark-float {
    0%   { transform: translate(-50%, -50%) scale(1); opacity: 0.10; }
    100% { transform: translate(-50%, -52%) scale(1.04); opacity: 0.16; }
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 920px;
    text-align: center;
}

.kicker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-family: 'Playfair Display', serif;
    font-size: 13px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 28px;
}

.kicker sup {
    font-size: 0.6em;
    margin-right: 1px;
}

.kicker-line {
    flex: 0 0 60px;
    height: 1px;
    background: var(--gold);
    opacity: 0.7;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.1;
    margin-bottom: 32px;
}

.title-row {
    display: block;
    font-size: clamp(36px, 5.4vw, 76px);
}

.title-emphasis {
    font-style: italic;
    color: var(--gold-deep);
    font-weight: 900;
    letter-spacing: -0.01em;
}

.title-sub {
    font-size: clamp(20px, 2.4vw, 32px);
    font-weight: 400;
    color: var(--navy-soft);
    margin-top: 4px;
}

.title-sub em {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-style: italic;
}

.hero-lede {
    font-size: clamp(17px, 1.4vw, 22px);
    line-height: 1.65;
    color: var(--navy-soft);
    max-width: 720px;
    margin: 0 auto 40px;
    font-style: italic;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.btn {
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 16px 36px;
    border: 1px solid var(--navy);
    background: transparent;
    color: var(--navy);
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease, border-color 0.4s ease, transform 0.3s ease;
    display: inline-block;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--navy);
    transform: scaleY(0);
    transform-origin: bottom center;
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    z-index: -1;
}

.btn:hover::before {
    transform: scaleY(1);
    transform-origin: top center;
}

.btn:hover {
    color: var(--ivory);
}

.btn-primary {
    background: var(--navy);
    color: var(--ivory);
}

.btn-primary::before {
    background: var(--gold);
}

.btn-primary:hover {
    color: var(--navy);
    border-color: var(--gold);
}

.btn-ghost {
    border-color: var(--navy-soft);
}

.hero-stamp {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 180px;
    height: 180px;
    color: var(--seal);
    opacity: 0.78;
    transform: rotate(-14deg);
    animation: stamp-spin 90s linear infinite;
}

@keyframes stamp-spin {
    from { transform: rotate(-14deg); }
    to   { transform: rotate(346deg); }
}

.hero-stamp svg {
    width: 100%;
    height: 100%;
}

.scroll-cue {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 11px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--navy-soft);
    opacity: 0.7;
    z-index: 4;
}

.cue-arrow {
    width: 1px;
    height: 36px;
    background: linear-gradient(180deg, var(--navy-soft), transparent);
    animation: cue-pulse 2.4s ease-in-out infinite;
}

@keyframes cue-pulse {
    0%, 100% { transform: scaleY(1); opacity: 0.7; }
    50%      { transform: scaleY(1.4); opacity: 1; }
}

/* ===== Section markers ===== */
.section-marker {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: 'Playfair Display', serif;
    margin-bottom: 22px;
    color: var(--gold-deep);
}

.marker-roman {
    font-size: 22px;
    font-weight: 700;
    font-style: italic;
}

.marker-label {
    font-size: 12px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--navy-soft);
    position: relative;
    padding-left: 18px;
}

.marker-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 10px;
    height: 1px;
    background: var(--gold);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 3.4vw, 46px);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 20px;
    line-height: 1.15;
}

.section-sub {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 19px;
    color: var(--navy-soft);
    max-width: 760px;
    margin-bottom: 56px;
}

/* ===== Mission Statement ===== */
.mission-statement {
    position: relative;
    z-index: 5;
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 64px;
}

.declaration {
    background: var(--parchment);
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 28px, rgba(14, 30, 63, 0.04) 28px, rgba(14, 30, 63, 0.04) 29px);
    border: 1px solid var(--gold);
    box-shadow: 0 30px 80px -40px rgba(14, 30, 63, 0.4);
    padding: 60px 70px;
    position: relative;
    margin-bottom: 56px;
}

.declaration::before,
.declaration::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    border: 1px solid var(--gold);
}

.declaration::before {
    top: 14px;
    left: 14px;
    border-right: none;
    border-bottom: none;
}

.declaration::after {
    bottom: 14px;
    right: 14px;
    border-left: none;
    border-top: none;
}

.declaration-opening {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 20px;
    color: var(--navy);
    margin-bottom: 18px;
    line-height: 1.5;
}

.declaration-body {
    font-size: 21px;
    line-height: 1.7;
    color: var(--ink);
    margin-bottom: 28px;
}

.declaration-body em {
    color: var(--seal);
    font-weight: 500;
    font-style: italic;
}

.declaration-signature {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 17px;
    text-align: right;
    color: var(--navy-soft);
}

.amb-name {
    font-style: normal;
    font-weight: 600;
    color: var(--navy);
    border-bottom: 1px solid var(--gold);
    padding-bottom: 1px;
}

.seal-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 30px 40px;
    border-top: 1px solid rgba(14, 30, 63, 0.18);
    border-bottom: 1px solid rgba(14, 30, 63, 0.18);
}

.seal-box {
    flex: 1;
    text-align: center;
}

.seal-num {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 6px;
}

.seal-cap {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--navy-soft);
}

.seal-divider {
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, transparent, var(--gold), transparent);
    flex: 0 0 1px;
}

/* ===== Diplomats ===== */
.diplomats {
    position: relative;
    z-index: 5;
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 64px;
}

.diplomat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.diplomat-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(232, 228, 240, 0.4) 100%);
    border: 1px solid rgba(14, 30, 63, 0.15);
    padding: 32px 26px 30px;
    text-align: center;
    position: relative;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, border-color 0.45s ease;
    overflow: hidden;
}

.diplomat-card::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border: 1px solid rgba(201, 161, 74, 0.3);
    pointer-events: none;
    transition: border-color 0.4s ease;
}

.diplomat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -30px rgba(14, 30, 63, 0.45);
    border-color: var(--gold);
}

.diplomat-card:hover::before {
    border-color: var(--gold);
}

.diplomat-portrait {
    width: 120px;
    height: 140px;
    margin: 0 auto 22px;
    color: var(--lavender);
    transition: color 0.5s ease, transform 0.6s ease;
    animation: portrait-float 6s ease-in-out infinite;
}

.diplomat-card:nth-child(2) .diplomat-portrait { animation-delay: -1.5s; }
.diplomat-card:nth-child(3) .diplomat-portrait { animation-delay: -3s; }
.diplomat-card:nth-child(4) .diplomat-portrait { animation-delay: -4.5s; }

@keyframes portrait-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

.diplomat-card:hover .diplomat-portrait {
    color: var(--mist);
    transform: scale(1.06);
}

.diplomat-portrait svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 8px 16px rgba(14, 30, 63, 0.18));
}

.diplomat-rank {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 8px;
}

.diplomat-name {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--navy);
    margin-bottom: 4px;
    line-height: 1.2;
}

.diplomat-title {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 16px;
    color: var(--navy-soft);
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(201, 161, 74, 0.4);
}

.diplomat-bio {
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink);
    margin-bottom: 18px;
    min-height: 70px;
}

.diplomat-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 10px;
    border: 1px solid var(--navy-soft);
    color: var(--navy-soft);
    border-radius: 2px;
    transition: background 0.3s ease, color 0.3s ease;
}

.diplomat-card:hover .tag {
    background: var(--navy);
    color: var(--ivory);
    border-color: var(--navy);
}

/* ===== Treaties ===== */
.treaties {
    position: relative;
    z-index: 5;
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 64px;
}

.treaty-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--gold);
}

.treaty-row {
    display: grid;
    grid-template-columns: 160px 1fr 60px;
    align-items: start;
    gap: 28px;
    padding: 32px 12px;
    border-bottom: 1px solid rgba(14, 30, 63, 0.12);
    transition: background 0.35s ease, padding 0.35s ease;
    cursor: default;
}

.treaty-row:hover {
    background: rgba(232, 228, 240, 0.5);
    padding-left: 24px;
    padding-right: 24px;
}

.treaty-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.treaty-year {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--navy);
}

.treaty-status {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 2px;
    width: fit-content;
}

.status-active {
    background: rgba(201, 161, 74, 0.18);
    color: var(--gold-deep);
    border: 1px solid var(--gold);
}

.status-amended {
    background: rgba(184, 166, 217, 0.25);
    color: #6B539A;
    border: 1px solid var(--lavender);
}

.status-pending {
    background: rgba(139, 38, 53, 0.12);
    color: var(--seal);
    border: 1px solid rgba(139, 38, 53, 0.5);
}

.treaty-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--navy);
    margin-bottom: 8px;
    line-height: 1.25;
}

.treaty-summary {
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
}

.treaty-mark {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--gold);
    text-align: center;
    transition: transform 0.4s ease, color 0.4s ease;
}

.treaty-row:hover .treaty-mark {
    transform: rotate(15deg) scale(1.2);
    color: var(--seal);
}

/* ===== Protocol ===== */
.protocol {
    position: relative;
    z-index: 5;
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 64px;
}

.protocol-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.protocol-card {
    background: var(--ivory);
    border-left: 3px solid var(--gold);
    padding: 32px 30px 30px;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-left-color 0.4s ease;
}

.protocol-card:hover {
    transform: translateY(-4px) translateX(4px);
    box-shadow: -6px 14px 30px -10px rgba(14, 30, 63, 0.3);
    border-left-color: var(--seal);
}

.protocol-num {
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    font-weight: 900;
    color: var(--lavender);
    line-height: 1;
    margin-bottom: 12px;
    transition: color 0.4s ease;
}

.protocol-card:hover .protocol-num {
    color: var(--gold);
}

.protocol-h {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--navy);
    margin-bottom: 10px;
}

.protocol-p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
}

/* ===== Visa Form ===== */
.visa {
    position: relative;
    z-index: 5;
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 64px 120px;
}

.visa-form {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(232, 228, 240, 0.55));
    border: 1px solid var(--navy);
    padding: 56px 60px;
    position: relative;
    box-shadow: 0 40px 80px -40px rgba(14, 30, 63, 0.45);
}

.visa-form::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px solid var(--gold);
    pointer-events: none;
    opacity: 0.5;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field-full {
    margin-bottom: 24px;
}

.field-label {
    font-family: 'Playfair Display', serif;
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--navy-soft);
}

.field input,
.field select,
.field textarea {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    color: var(--navy);
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(14, 30, 63, 0.4);
    padding: 10px 4px;
    transition: border-color 0.3s ease;
}

.field input::placeholder,
.field textarea::placeholder {
    color: rgba(14, 30, 63, 0.4);
    font-style: italic;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-bottom-color: var(--gold);
}

.field textarea {
    resize: vertical;
    min-height: 80px;
}

.form-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(14, 30, 63, 0.18);
}

.form-note {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 14px;
    color: var(--navy-soft);
    max-width: 460px;
}

.btn-submit {
    border: none;
    cursor: pointer;
}

.form-receipt {
    margin-top: 32px;
    padding: 30px;
    background: var(--parchment);
    border: 1px dashed var(--seal);
    text-align: center;
    position: relative;
    animation: receipt-appear 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes receipt-appear {
    from { opacity: 0; transform: translateY(20px) rotate(-1deg); }
    to   { opacity: 1; transform: translateY(0) rotate(0); }
}

.receipt-stamp {
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 900;
    color: var(--seal);
    border: 3px solid var(--seal);
    padding: 6px 22px;
    transform: rotate(-6deg);
    margin-bottom: 14px;
    letter-spacing: 0.08em;
}

.receipt-text {
    font-size: 17px;
    color: var(--ink);
    line-height: 1.6;
}

.receipt-text strong {
    font-family: 'Playfair Display', serif;
    color: var(--navy);
    letter-spacing: 0.08em;
}

/* ===== Footer ===== */
.embassy-footer {
    position: relative;
    z-index: 5;
    background: var(--navy);
    color: var(--ivory);
    padding: 70px 64px 28px;
    margin-top: 40px;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(245, 241, 232, 0.18);
}

.footer-col {
    font-family: 'Cormorant Garamond', serif;
}

.footer-crest {
    width: 44px;
    height: 44px;
    color: var(--gold);
    margin-bottom: 14px;
}

.footer-crest svg {
    width: 100%;
    height: 100%;
}

.footer-name {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--ivory);
    margin-bottom: 4px;
}

.footer-h {
    font-family: 'Playfair Display', serif;
    font-size: 13px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
    font-weight: 600;
}

.footer-line {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(245, 241, 232, 0.78);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(245, 241, 232, 0.55);
}

.boo-toggle {
    cursor: pointer;
    color: var(--gold);
    transition: color 0.3s ease, letter-spacing 0.3s ease;
}

.boo-toggle:hover {
    color: var(--ivory);
    letter-spacing: 0.32em;
}

/* ===== BOO overlay ===== */
.boo-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(14, 30, 63, 0.92), rgba(14, 30, 63, 0.98));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.boo-overlay.active {
    opacity: 1;
    pointer-events: auto;
    animation: overlay-shake 0.5s ease;
}

@keyframes overlay-shake {
    0%, 100% { transform: translate(0, 0); }
    20%      { transform: translate(-6px, 4px); }
    40%      { transform: translate(8px, -3px); }
    60%      { transform: translate(-4px, 6px); }
    80%      { transform: translate(5px, -5px); }
}

.boo-word {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: clamp(140px, 25vw, 360px);
    color: var(--ivory);
    letter-spacing: 0.04em;
    text-shadow: 0 0 40px rgba(184, 166, 217, 0.6), 0 0 80px rgba(201, 161, 74, 0.3);
    transform: scale(0.4);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.boo-overlay.active .boo-word {
    transform: scale(1);
    animation: boo-pulse 1.6s ease-in-out infinite;
}

@keyframes boo-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.08); opacity: 0.85; }
}

/* ===== Reveal-on-scroll ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .embassy-header {
        padding: 22px 28px 14px;
    }
    .header-inner {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .primary-nav {
        grid-column: 1 / -1;
        order: 3;
        gap: 18px;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .header-meta {
        align-items: flex-end;
    }
    .hero {
        padding: 60px 28px 100px;
    }
    .hero-stamp {
        width: 110px;
        height: 110px;
        top: -20px;
        right: -10px;
    }
    .mission-statement,
    .diplomats,
    .treaties,
    .protocol,
    .visa {
        padding-left: 28px;
        padding-right: 28px;
    }
    .declaration {
        padding: 40px 30px;
    }
    .seal-row {
        flex-wrap: wrap;
        padding: 24px 12px;
    }
    .seal-divider {
        display: none;
    }
    .seal-box {
        flex: 1 1 40%;
        margin-bottom: 16px;
    }
    .treaty-row {
        grid-template-columns: 110px 1fr 36px;
        gap: 18px;
        padding: 24px 6px;
    }
    .treaty-row:hover {
        padding-left: 12px;
        padding-right: 12px;
    }
    .visa-form {
        padding: 40px 28px;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .embassy-footer {
        padding: 50px 28px 24px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 540px) {
    .title-row {
        font-size: clamp(30px, 9vw, 44px);
    }
    .kicker {
        gap: 10px;
        font-size: 11px;
    }
    .kicker-line {
        flex: 0 0 28px;
    }
    .declaration-body {
        font-size: 18px;
    }
    .hero-stamp {
        display: none;
    }
}
