/* Brand styles that sit alongside Tailwind (see the config in _Layout.cshtml).
   Navy #0B2545 and silver, Playfair Display for headings, Montserrat for text — as on the business cards. */

:root {
    --navy-950: #06152B;
    --navy-900: #0B2545;
    --navy-800: #123461;
    --navy-700: #1B4478;
    --silver-100: #ECF0F5;
    --silver-200: #D9E1EB;
    --silver-300: #BFCBDA;
    --silver-400: #9AABC1;
}

/* ── Monogram: "JL" over a globe ─────────────────────────────────────────── */
.monogram {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 9999px;
    background:
        url('/images/globe-lines.svg') center / 88% no-repeat,
        radial-gradient(circle at 35% 30%, var(--navy-700) 0%, var(--navy-900) 62%, var(--navy-950) 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 4px 14px -6px rgba(6, 21, 43, 0.6);
    overflow: hidden;
}
.monogram::before {
    /* soften the globe lines so the letters stand out */
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(11, 37, 69, 0.15) 0%, rgba(11, 37, 69, 0.55) 100%);
}
.monogram-letters {
    position: relative;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1;
    color: #E8EDF3;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

/* Decorative globe outline used as a large watermark */
.globe-lines {
    background: url('/images/globe-lines.svg') center / contain no-repeat;
}
.globe-lines-dark {
    background: url('/images/globe-lines-dark.svg') center / contain no-repeat;
}

/* The thin silver rule under the name on the business card */
.silver-rule {
    height: 1px;
    width: 6rem;
    background: linear-gradient(90deg, var(--silver-300), rgba(191, 203, 218, 0));
}
.silver-rule-center {
    height: 1px;
    width: 8rem;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(90deg, rgba(191, 203, 218, 0), var(--silver-300), rgba(191, 203, 218, 0));
}

/* Small uppercase label above headings */
.eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

/* ── Navigation ──────────────────────────────────────────────────────────── */
.nav-link {
    position: relative;
    padding: 0.5rem 0.9rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    transition: color 0.2s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.1rem;
    height: 2px;
    background: var(--navy-900);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}
.nav-link:hover,
.nav-link.is-active,
.nav-link[aria-expanded="true"] {
    color: var(--navy-900);
}
.nav-link:hover::after,
.nav-link.is-active::after {
    transform: scaleX(1);
}

.footer-heading {
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

/* ── Forms ───────────────────────────────────────────────────────────────── */
.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.4rem;
}
.form-input {
    width: 100%;
    background: #F6F8FB;
    border: 1px solid var(--silver-200);
    border-radius: 0.375rem;
    padding: 0.8rem 1rem;
    color: #0f172a;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.form-input:focus {
    outline: none;
    background: #fff;
    border-color: var(--navy-700);
    box-shadow: 0 0 0 3px rgba(27, 68, 120, 0.15);
}

/* ── FAQ accordions ──────────────────────────────────────────────────────── */
.faq summary {
    list-style: none;
    cursor: pointer;
}
.faq summary::-webkit-details-marker {
    display: none;
}
.faq summary .faq-icon {
    transition: transform 0.25s ease;
}
.faq[open] summary .faq-icon {
    transform: rotate(45deg);
}

/* ── Business card mock-ups in the hero ──────────────────────────────────── */
.biz-card {
    aspect-ratio: 1.75 / 1;
    border-radius: 1rem;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.biz-card-front {
    background:
        radial-gradient(ellipse at 50% 25%, rgba(74, 118, 173, 0.35) 0%, rgba(11, 37, 69, 0) 55%),
        linear-gradient(160deg, #0F2D55 0%, #0B2545 55%, #081D38 100%);
}
.biz-card-back {
    background: linear-gradient(180deg, #FFFFFF 0%, #F4F6F9 100%);
}

/* Hero background: subtle grid fading out */
.hero-grid {
    background-image:
        linear-gradient(rgba(217, 225, 235, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(217, 225, 235, 0.06) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}

/* ── Scroll reveal (only when JS has run, so content is never hidden without it) ── */
.js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ── Long-form text (privacy, terms) ─────────────────────────────────────── */
.legal h2 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--navy-900);
    font-size: 1.5rem;
    margin: 2.5rem 0 0.75rem;
}
.legal h3 {
    color: var(--navy-900);
    font-weight: 600;
    margin: 1.5rem 0 0.5rem;
}
.legal p,
.legal li {
    line-height: 1.8;
    color: #475569;
}
.legal p { margin-bottom: 1rem; }
.legal ul {
    list-style: disc;
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}
.legal a {
    color: var(--navy-700);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ── Article text written in the admin editor ────────────────────────────── */
.article-body {
    color: #334155;
    font-size: 1.075rem;
    line-height: 1.85;
}
.article-body > * + * { margin-top: 1.25em; }
.article-body h2,
.article-body h3,
.article-body h4 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--navy-900);
    line-height: 1.25;
    margin-top: 2em;
}
.article-body h2 { font-size: 1.9rem; }
.article-body h3 { font-size: 1.45rem; }
.article-body h4 { font-size: 1.2rem; }
.article-body h2 + *, .article-body h3 + *, .article-body h4 + * { margin-top: 0.6em; }
.article-body a {
    color: var(--navy-700);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--silver-300);
    text-underline-offset: 3px;
}
.article-body a:hover { text-decoration-color: var(--navy-700); }
.article-body strong, .article-body b { color: #0f172a; font-weight: 700; }
.article-body ul, .article-body ol { padding-left: 1.4em; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-top: 0.4em; padding-left: 0.2em; }
.article-body li::marker { color: var(--navy-700); }
.article-body blockquote {
    border-left: 3px solid var(--navy-900);
    padding: 0.4em 0 0.4em 1.4em;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--navy-900);
}
.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    margin-left: auto;
    margin-right: auto;
}
.article-body figcaption { font-size: 0.85rem; color: #64748b; text-align: center; margin-top: 0.5em; }
.article-body hr { border: 0; border-top: 1px solid var(--silver-200); margin: 2.5em 0; }
.article-body table { width: 100%; border-collapse: collapse; font-size: 0.95rem; display: block; overflow-x: auto; }
.article-body th, .article-body td { border: 1px solid var(--silver-200); padding: 0.6em 0.9em; text-align: left; vertical-align: top; }
.article-body th { background: var(--silver-100); color: var(--navy-900); font-weight: 600; }
.article-body code { background: var(--silver-100); padding: 0.1em 0.35em; border-radius: 0.25rem; font-size: 0.9em; }
.article-body pre { background: var(--silver-100); padding: 1em; border-radius: 0.5rem; overflow-x: auto; }
