/* ── base reset & variables ── */
:root {
    --navy: #16264d;
    --navy-mid: #16264d;
    --navy-light: #1e3372;
    --gold: #c9a84c;
    --gold-light: #e0c070;
    --cream: #f5f0e8;
    --cream-dark: #ede6d8;
    --text: #3a2d1f;
    --text-light: #6b5e51;
    --white: #ffffff;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    font-size: 125%;
}
body {
    font-family: 'Jost', sans-serif;
    background: var(--cream);
    color: var(--text);
    font-weight: 300;
    overflow-x: hidden;
}

/* ── nav ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--navy);
    border-bottom: 1px solid rgba(201, 168, 76, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3rem;
    height: 70px;
    transition: background 0.3s;
}
.nav-brand {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
}
.nav-brand .name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.03em;
}
.nav-brand .sub {
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 400;
}
.straight-hyphen {
    font-family: 'Jost', sans-serif;
    display: inline-block;
    transform: scaleX(1.2);
    letter-spacing: -0.05em;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
}
.nav-links li {
    position: relative;
}
.nav-links a {
    display: block;
    padding: 0 1.1rem;
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s;
    line-height: 70px;
    font-weight: 400;
    cursor: pointer;
}
.nav-links a:hover {
    color: var(--gold);
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    background: var(--navy-mid);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-top: 2px solid var(--gold);
    min-width: 220px;
    list-style: none;
    padding: 0.5rem 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}
.dropdown-menu a {
    line-height: 1;
    padding: 0.75rem 1.25rem;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.65);
    display: block;
    cursor: pointer;
}
.dropdown-menu a:hover {
    color: var(--gold);
    background: rgba(201, 168, 76, 0.05);
}
.nav-links li:hover>.dropdown-menu {
    display: block;
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--white);
    transition: 0.3s;
}

/* ── hero ── */
#home {
    min-height: 100vh;
    background: var(--navy-light);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 70px;
}
.hero-accent {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    width: 650px;
    height: 650px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 5rem 5%;
    animation: fadeUp 1s ease both;
}
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.hero-eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.hero-eyebrow::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--gold);
}
.hero-content h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 0.3rem;
}
.hero-content h1 em {
    font-style: italic;
    color: var(--gold-light);
    display: block;
}
.hero-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent);
    margin: 2rem 0;
}
.hero-content p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}
.hero-content p a {
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(201, 168, 76, 0.3);
    transition: border-color 0.2s;
}
.hero-content p a:hover {
    border-color: var(--gold);
}
.hero-cta {
    margin-top: 2.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.btn {
    display: inline-block;
    padding: 0.85rem 2.2rem;
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.25s;
    cursor: pointer;
    border: none;
}
.btn-gold {
    background: var(--gold);
    color: var(--navy-mid);
}
.btn-gold:hover {
    background: var(--gold-light);
}
.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 1px solid rgba(201, 168, 76, 0.5);
}
.btn-outline:hover {
    border-color: var(--gold);
    background: rgba(201, 168, 76, 0.07);
}

/* ── sections ── */
section {
    display: none;
}
section.active {
    display: block;
}
#home {
    display: flex;
}
#home:not(.active) {
    display: none;
}

/* ── interior pages ── */
.page-hero {
    background: var(--navy-mid);
    padding: 120px 5% 60px;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.page-hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 300;
    color: var(--white);
    margin: 0 auto;
}
.page-hero .eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
    display: block;
}
.page-body {
    width: 100%;
    margin: 0 auto;
    padding: 4rem 5% 6rem;
    background: var(--navy-mid);
    color: var(--white);
}

/* ── services ── */
.services-intro p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.9;
    font-size: 0.95rem;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5px;
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 3rem;
}
.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem 1.75rem;
    transition: background 0.2s, transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}
.service-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}
.service-card h3::before {
    content: '—';
    color: var(--gold);
    font-weight: 300;
    flex-shrink: 0;
    margin-top: 2px;
}
.service-card p {
    font-size: 0.87rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
}
.notice-box {
    border-left: 3px solid var(--gold);
    padding: 1.5rem 2rem;
    background: rgba(201, 168, 76, 0.06);
    margin-bottom: 1.5rem;
}
.notice-box p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
}
.notice-box.warning {
    border-left-color: #c0392b;
    background: rgba(192, 57, 43, 0.05);
}

/* ── regulations ── */
.reg-nav {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1px;
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 4rem;
}
.reg-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem 1.75rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: background 0.2s, transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}
.reg-card:hover {
    background: var(--navy-mid);
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}
.reg-card:hover .reg-card-title {
    color: var(--white);
}
.reg-card:hover .reg-card-arrow {
    color: var(--gold);
}
.reg-card-icon {
    width: 40px;
    height: 40px;
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.reg-card-icon svg {
    width: 18px;
    height: 18px;
    fill: var(--gold);
}
.reg-card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
    flex: 1;
    transition: color 0.2s;
}
.reg-card-arrow {
    color: var(--gold);
    font-size: 1.2rem;
    transition: color 0.2s;
}

/* ── legal content ── */
.legal-content {
    width: 100%;
}
.legal-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--white);
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.legal-content h3 {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 2rem 0 0.75rem;
    font-weight: 500;
}
.legal-content p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.9;
    margin-bottom: 1rem;
}
.legal-content ol,
.legal-content ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.legal-content li {
    font-size: 0.87rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.9;
    margin-bottom: 0.4rem;
}
.legal-content a {
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(201, 168, 76, 0.3);
}
.legal-content a:hover {
    border-color: var(--gold);
}
.legal-content strong {
    color: var(--white);
    font-weight: 500;
}
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    text-decoration: none;
    margin-bottom: 3rem;
    cursor: pointer;
    transition: gap 0.2s;
}
.back-link:hover {
    gap: 0.75rem;
}

/* ── contact ── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    width: 100%;
}
.contact-info h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 2rem;
    line-height: 1.2;
}
.contact-method {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
    align-items: flex-start;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.contact-method:hover {
    transform: translateY(-2px);
}
.contact-method-icon {
    width: 42px;
    height: 42px;
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.contact-method-icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--gold);
    fill: none;
    stroke-width: 1.5;
}
.contact-method-label {
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.3rem;
    font-weight: 400;
}
.contact-method-value {
    font-size: 0.9rem;
    color: var(--white);
    font-weight: 400;
}
.contact-method-value a {
    color: var(--white);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.contact-method-value a:hover {
    border-color: var(--white);
}
.address-block {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.address-block h3 {
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
    font-weight: 400;
}
.address-block p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.9;
}
.contact-notes {
    background: rgba(0, 0, 0, 0.2);
    padding: 3rem 5%;
    position: relative;
    overflow: hidden;
}
.contact-notes h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 1.25rem;
}
.contact-notes p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.87rem;
    line-height: 1.9;
    margin-bottom: 1rem;
}
.contact-notes p:last-child {
    margin-bottom: 0;
}
.contact-notes strong {
    color: var(--white);
    font-weight: 400;
}
.areas-section {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0 5%;
}
.areas-section h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 1.25rem;
}
.areas-section p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 2;
}

/* ── footer ── */
footer {
    background: var(--navy);
    border-top: 1px solid rgba(201, 168, 76, 0.2);
    padding: 3rem 5%;
    text-align: center;
}
footer .footer-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 0.5rem;
}
footer .footer-tagline {
    font-size: 0.62rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
}
footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
footer .footer-links a {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.2s;
    cursor: pointer;
}
footer .footer-links a:hover {
    color: var(--gold);
}
footer .footer-copy {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.25);
}

/* ── mobile ── */
@media (max-width: 768px) {
    nav {
        padding: 0 1.5rem;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--navy-mid);
        padding: 1rem 0;
        border-top: 1px solid rgba(201, 168, 76, 0.2);
    }
    .nav-links.open {
        display: flex;
    }
    .nav-links a {
        line-height: 1;
        padding: 0.9rem 2rem;
    }
    .dropdown-menu {
        position: static;
        border: none;
        background: rgba(255, 255, 255, 0.03);
        min-width: unset;
        padding: 0 0 0 1rem;
        box-shadow: none;
        display: none;
    }
    .nav-links li:hover>.dropdown-menu {
        display: none;
    }
    .nav-links li.open>.dropdown-menu {
        display: block;
    }
    .hamburger {
        display: flex;
    }
    .hero-content {
        padding: 4rem 1.5rem;
    }
    .page-hero {
        padding: 110px 1.5rem 50px;
    }
    .page-body {
        padding: 3rem 1.5rem 5rem;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    footer {
        padding: 2.5rem 1.5rem;
    }
}
@media (min-width: 1200px) {
    .hero-grid {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 4rem;
    }
    .hero-logo-wrap {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }
    .hero-text h1 {
        margin-bottom: 0.5rem;
    }
    .hero-text em {
        display: block;
    }
}
.hero-logo-wrap {
    display: none;
}
@media (min-width: 1200px) {
    .hero-logo-wrap {
        display: flex;
    }
}
.hero-logo {
    width: 180px;
    height: auto;
    object-fit: contain;
}
.page-transition {
    position: fixed;
    inset: 0;
    background: var(--navy-mid);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 9999;
}
.page-transition.active {
    opacity: 1;
}

/* ── Nora Button (floating) ── */
#noraButton {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 10000;
    background: #ffffff;
    color: #6d28d9;
    border: 2.5px solid #6d28d9;
    border-radius: 999px;
    padding: 14px 22px;
    font-family: 'Jost', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    font-weight: 500;
    cursor: pointer;
    animation: noraGlow 3s ease-in-out infinite;
    transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
#noraButton:hover {
    transform: translateY(-3px);
    background: #f5f0ff;
    border-color: #7c3aed;
}
@media (max-width:768px) {
    #noraButton {
        bottom: 18px;
        right: 18px;
        padding: 12px 18px;
        font-size: .7rem;
    }
}
@keyframes noraGlow {
    0%,
    100% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, .18), 0 0 18px rgba(124, 58, 237, .75), 0 0 40px rgba(124, 58, 237, .50), 0 0 70px rgba(124, 58, 237, .30);
    }
    50% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, .18), 0 0 30px rgba(168, 85, 247, 1), 0 0 60px rgba(168, 85, 247, .75), 0 0 100px rgba(168, 85, 247, .45);
    }
}
.nora-hidden {
    display: none !important;
}

/* ── reveal animations ── */
.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: all 0.6s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.fade-in {
    animation: fadeUp 0.6s ease both;
}
.fade-in-delay {
    animation: fadeUp 0.6s ease 0.15s both;
}
.fade-in-delay2 {
    animation: fadeUp 0.6s ease 0.3s both;
}

.btn-black {
    background: #1a1a2e;
    color: #fff;
    border: 1px solid #c9a84c;
}
.btn-black:hover {
    background: #2a2a4e;
}

#chat-popup-container {
    position: fixed !important;
    bottom: 110px !important;
    right: 28px !important;
    width: 420px !important;
    max-width: calc(100vw - 56px) !important;
    height: 580px !important;
    max-height: calc(100vh - 160px) !important;
    background: #ffffff !important;
    border-radius: 28px !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    transform: scale(0.85) translateY(24px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.3s ease,
                visibility 0.3s ease !important;
    z-index: 1000 !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
}
#chat-popup-container.open {
    transform: scale(1) translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
}
/* Mobile adjustments */
@media (max-width: 768px) {
    #chat-popup-container {
        bottom: 80px !important;
        right: 16px !important;
        max-width: calc(100vw - 32px) !important;
        height: 70vh !important;
        max-height: calc(100vh - 120px) !important;
        border-radius: 24px !important;
    }
}
@media (max-width: 480px) {
    #chat-popup-container {
        bottom: 76px !important;
        right: 12px !important;
        max-width: calc(100vw - 24px) !important;
        height: 70vh !important;
        max-height: calc(100vh - 100px) !important;
        border-radius: 20px !important;
    }
}
/* Hide the toggle button (we use "Ask Nora" instead) */
#chat-toggle {
    opacity: 0 !important;
    pointer-events: none !important;
    position: fixed !important;
    bottom: 0 !important;
    right: 0 !important;
    width: 1px !important;
    height: 1px !important;
}
