/* ============================================================
   TechHer Capital — v3 stylesheet
   Brand: Montserrat (headings) / Georgia (body)
   Palette: Gold #C7A86D · Black #1A1A1A · Ivory #F8F6F1
   ============================================================ */

:root {
    /* TechHer brand: three-color palette per Blanka's spec */
    --gold: #c7a768;
    --gold-dark: #a78a4f;
    --gold-light: #dec79c;
    --black: #0a0a0a;
    --black-soft: #1a1a1a;
    --ivory: #F8F6F1;          /* warm ivory cream — original v2 background */
    --ivory-dark: #EEE9DC;     /* deeper cream for section rhythm */
    --text: #0a0a0a;
    --text-muted: #5a5a5a;
    --rule: rgba(10, 10, 10, 0.12);
    --rule-strong: rgba(10, 10, 10, 0.25);

    /* Typography: Minion Variable Display (Adobe Fonts) with Source Serif 4 fallback */
    --heading-font: "minion-variable-display", "minion-variable", "Source Serif 4", "Source Serif Pro", Georgia, 'Times New Roman', serif;
    --body-font: "minion-variable", "Source Serif 4", "Source Serif Pro", Georgia, 'Times New Roman', serif;

    --container: 1180px;
    --container-narrow: 820px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: 18px;
    line-height: 1.7;
    color: var(--text);
    background: var(--ivory);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--black);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 400; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.3vw, 2.5rem); font-weight: 400; letter-spacing: -0.015em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; letter-spacing: 0; }
h4 { font-size: 1rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }

p { margin-bottom: 1.1em; }
p:last-child { margin-bottom: 0; }

a {
    color: var(--black);
    text-decoration: none;
    border-bottom: 1px solid var(--gold);
    transition: color 0.2s ease, border-color 0.2s ease;
}
a:hover { color: var(--gold-dark); border-color: var(--gold-dark); }

strong { font-weight: 700; }
em { font-style: italic; }

/* Eyebrow / kicker label */
.eyebrow {
    font-family: var(--heading-font);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 1.25rem;
    display: block;
}

/* Containers */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
}
.container-narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 32px;
}

/* Sections */
section {
    padding: 96px 0;
}
section.tight { padding: 64px 0; }
section.dark {
    background: var(--black);
    color: var(--ivory);
}
section.dark h1, section.dark h2, section.dark h3, section.dark h4 {
    color: var(--ivory);
}
section.dark a {
    color: var(--ivory);
    border-color: var(--gold);
}
section.dark a:hover { color: var(--gold-light); border-color: var(--gold-light); }

.section-divider {
    height: 1px;
    background: var(--rule);
    border: none;
    margin: 0;
}

/* ============================================================
   Navigation
   ============================================================ */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(140%) blur(8px);
    -webkit-backdrop-filter: saturate(140%) blur(8px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, background 0.3s ease;
}
.site-nav.scrolled {
    border-bottom-color: var(--rule);
}

.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    border: none;
    flex-shrink: 0;
}
.nav-logo img {
    height: 120px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
    align-items: center;
}
.nav-links a {
    font-family: var(--heading-font);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--black);
    border: none;
    position: relative;
    padding: 6px 0;
}
.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.25s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}
.nav-links a.active { color: var(--gold-dark); }

.nav-cta {
    background: var(--gold);
    color: var(--black) !important;
    padding: 10px 22px;
    border-radius: 0;
    font-family: var(--heading-font);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    border: none !important;
    transition: background 0.2s ease, color 0.2s ease;
}
.nav-cta:hover { background: var(--gold-dark); color: var(--ivory) !important; }
.nav-cta::after { display: none !important; }

/* Mobile nav */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 0;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--black);
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 880px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: 75px;
        left: 0;
        right: 0;
        background: var(--ivory);
        flex-direction: column;
        gap: 0;
        padding: 24px 32px 40px;
        transform: translateY(-110%);
        transition: transform 0.3s ease;
        border-bottom: 1px solid var(--rule);
        max-height: calc(100vh - 75px);
        overflow-y: auto;
    }
    .nav-links.open { transform: translateY(0); }
    .nav-links li { width: 100%; border-bottom: 1px solid var(--rule); }
    .nav-links li:last-child { border-bottom: none; padding-top: 12px; }
    .nav-links a { display: block; padding: 18px 0; font-size: 1rem; }
    .nav-cta { display: inline-block; padding: 12px 24px; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
    padding: 96px 0 72px;
    background: var(--ivory);
}
.hero-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}
.hero-text h1 {
    margin-bottom: 24px;
    font-size: clamp(2.5rem, 5.5vw, 4.15rem);
}
.hero-tagline {
    font-size: clamp(1.25rem, 1.8vw, 1.5rem);
    font-style: italic;
    color: var(--text-muted);
    max-width: 540px;
    line-height: 1.5;
}
.hero-rule {
    width: 56px;
    height: 2px;
    background: var(--gold);
    border: none;
    margin: 28px 0 32px;
}
.hero-image {
    position: relative;
}
.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
    box-shadow: 0 30px 80px -30px rgba(10, 10, 10, 0.3);
}

@media (max-width: 880px) {
    .hero { padding: 56px 0 48px; }
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-image { order: -1; }
}

/* ============================================================
   Page header (non-home pages)
   ============================================================ */
.page-header {
    padding: 72px 0 56px;
    text-align: left;
    background: var(--ivory);
    border-bottom: 1px solid var(--rule);
}
.page-header h1 {
    margin-bottom: 18px;
}
.page-header .lede {
    font-size: clamp(1.18rem, 1.55vw, 1.4rem);
    font-style: italic;
    color: var(--text-muted);
    max-width: 680px;
    line-height: 1.55;
}
.page-header .eyebrow {
    margin-bottom: 1rem;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--heading-font);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid var(--black);
    border-radius: 0 !important;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
    text-decoration: none;
}
.btn-primary {
    background: var(--black);
    color: var(--ivory);
}
.btn-primary:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: var(--ivory);
}
.btn-secondary {
    background: transparent;
    color: var(--black);
    border-color: var(--black);
}
.btn-secondary:hover {
    background: var(--black);
    color: var(--ivory);
}
.btn-arrow::after {
    content: ' →';
    margin-left: 4px;
    display: inline-block;
    transition: transform 0.2s ease;
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ============================================================
   Content blocks
   ============================================================ */
.prose {
    max-width: 720px;
}
.prose h2 {
    margin-top: 2.4em;
    margin-bottom: 0.7em;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
    margin-top: 2em;
    margin-bottom: 0.5em;
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 1.0625rem;
    letter-spacing: 0.02em;
}
.prose p + h3 { margin-top: 2em; }
.prose ul {
    margin: 1em 0 1.5em 0;
    padding-left: 1.4em;
}
.prose ul li {
    margin-bottom: 0.6em;
    padding-left: 0.4em;
}
.prose ul li::marker { color: var(--gold); }

/* Lead paragraph */
.lead {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 1.6em;
}

/* ============================================================
   Two-column / What we do
   ============================================================ */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
}
.two-col-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
@media (max-width: 880px) {
    .two-col, .two-col-3 { grid-template-columns: 1fr; gap: 40px; }
}

.practice {
    padding: 32px 0;
    border-top: 1px solid var(--rule);
}
.practice:first-child { border-top: none; padding-top: 0; }
.practice h3 {
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 16px;
    letter-spacing: 0.01em;
}

.practice-stack {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 48px;
    align-items: start;
    padding: 40px 0;
    border-top: 1px solid var(--rule);
}
.practice-stack:first-of-type { border-top: none; padding-top: 0; }
.practice-stack h3 {
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gold-dark);
}
.practice-stack p { margin-bottom: 0.9em; }
.practice-stack p:last-child { margin-bottom: 0; }

@media (max-width: 880px) {
    .practice-stack { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
}

/* ============================================================
   Team
   ============================================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}
@media (max-width: 880px) {
    .team-grid { grid-template-columns: 1fr; gap: 56px; max-width: 480px; margin: 0 auto; }
}

.team-member {
    text-align: left;
}
.team-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    margin-bottom: 24px;
    filter: grayscale(15%);
    transition: filter 0.3s ease;
    background: var(--ivory-dark);
}
.team-member:hover .team-photo { filter: grayscale(0%); }

.team-name {
    font-family: var(--heading-font);
    font-weight: 500;
    font-size: 1.375rem;
    margin-bottom: 4px;
    color: var(--black);
}
.team-role {
    font-family: var(--body-font);
    font-style: italic;
    font-size: 1rem;
    color: var(--gold-dark);
    margin-bottom: 16px;
    display: block;
}
.team-bio {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--text);
}
.team-bio p { margin-bottom: 0.8em; }

/* ============================================================
   Cards (for "Three things to know" etc.)
   ============================================================ */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.card {
    background: white;
    border: 1px solid var(--rule);
    padding: 32px;
}
.card h3 {
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gold-dark);
    margin-bottom: 16px;
}
.card p {
    font-size: 0.9375rem;
    line-height: 1.65;
    margin-bottom: 0;
}
@media (max-width: 880px) {
    .cards { grid-template-columns: 1fr; gap: 20px; }
}

/* ============================================================
   CTA block
   ============================================================ */
.cta-block {
    background: var(--black);
    color: var(--ivory);
    padding: 80px 0;
    text-align: center;
}
.cta-block h2 {
    color: var(--ivory);
    margin-bottom: 32px;
    font-family: var(--heading-font);
    font-weight: 400;
    font-size: clamp(1.625rem, 3vw, 2.25rem);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.cta-block .btn-primary {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}
.cta-block .btn-primary:hover {
    background: var(--ivory);
    border-color: var(--ivory);
    color: var(--black);
}
.cta-block .or-email {
    margin-top: 32px;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
}
.cta-block .or-email a {
    color: var(--gold-light);
    border-color: var(--gold);
}
.cta-block .or-email a:hover { color: var(--ivory); }

/* ============================================================
   Contact page
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 80px;
    align-items: start;
}
@media (max-width: 880px) {
    .contact-grid { grid-template-columns: 1fr; gap: 56px; }
}

.contact-form-wrap {
    background: white;
    border: 1px solid var(--rule);
    padding: 8px;
    min-height: 540px;
}
.tally-placeholder {
    border: 2px dashed var(--rule-strong);
    background: var(--ivory-dark);
    padding: 48px 32px;
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.9375rem;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-method {
    padding: 24px 0;
    border-top: 1px solid var(--rule);
}
.contact-method:first-of-type { border-top: none; padding-top: 0; }
.contact-method h3 {
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-dark);
    margin-bottom: 10px;
}
.contact-method .big {
    font-size: 1.0625rem;
    margin-bottom: 6px;
}
.contact-method p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.55;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
    background: var(--ivory);
    color: var(--black);
    border-top: 1px solid var(--rule);
    padding: 72px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid var(--rule);
}
.footer-brand img {
    height: 80px;
    margin-bottom: 24px;
    /* logo-white.svg already has white+gold fills — no filter needed */
}
.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 320px;
}
.footer-col h4 {
    font-family: var(--heading-font);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 18px;
}
.footer-col ul {
    list-style: none;
}
.footer-col li {
    margin-bottom: 10px;
}
.footer-col a {
    color: var(--black);
    border: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 28px;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}
.footer-bottom a {
    color: var(--text-muted);
    border: none;
}
.footer-bottom a:hover { color: var(--gold); }

@media (max-width: 880px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-brand { grid-column: span 2; }
}
@media (max-width: 540px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { grid-column: span 1; }
}

/* ============================================================
   Mentions légales
   ============================================================ */
.legal-prose dl {
    margin: 1em 0;
}
.legal-prose dt {
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 0.875rem;
    margin-top: 0.6em;
}
.legal-prose dd {
    margin-bottom: 0.4em;
    color: var(--text);
}

/* ============================================================
   Cookie consent banner
   ============================================================ */
.cookie-consent {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 480px;
    background: var(--black);
    color: var(--ivory);
    padding: 24px;
    border: 1px solid var(--gold);
    z-index: 200;
    transform: translateY(150%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
}
.cookie-consent.show { transform: translateY(0); }
.cookie-consent p {
    font-size: 0.875rem;
    line-height: 1.55;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.9);
}
.cookie-consent a {
    color: var(--gold);
    border-color: var(--gold);
}
.cookie-buttons {
    display: flex;
    gap: 10px;
}
.cookie-btn {
    flex: 1;
    padding: 10px 16px;
    font-family: var(--heading-font);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid var(--gold);
    background: transparent;
    color: var(--ivory);
    transition: background 0.2s ease, color 0.2s ease;
}
.cookie-btn.accept {
    background: var(--gold);
    color: var(--black);
}
.cookie-btn.accept:hover { background: var(--gold-light); border-color: var(--gold-light); }
.cookie-btn.decline:hover { background: rgba(255, 255, 255, 0.1); }

@media (max-width: 540px) {
    .cookie-consent { left: 16px; right: 16px; bottom: 16px; padding: 20px; }
}

/* ============================================================
   Utility
   ============================================================ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-sm { margin-bottom: 16px; }
.mb-md { margin-bottom: 32px; }
.mb-lg { margin-bottom: 48px; }

/* Responsive section padding */
@media (max-width: 880px) {
    section { padding: 64px 0; }
    section.tight { padding: 48px 0; }
    .container, .container-narrow { padding: 0 24px; }
    .nav-inner { padding: 16px 24px; }
    .page-header { padding: 56px 0 40px; }
}

/* Print */
@media print {
    .site-nav, .site-footer, .cookie-consent { display: none; }
    body { background: white; color: black; }
}

/* ============================================================
   Page header — banner variant (B)
   Applied to all secondary pages
   ============================================================ */
.page-header-banner {
    position: relative;
    padding: 96px 0 64px;
    background: var(--black);
    background-image: url('/images/hero-band.png');
    background-size: cover;
    background-position: center;
    border-bottom: 4px solid var(--gold);
    color: var(--ivory);
    overflow: hidden;
}
.page-header-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.78) 100%);
    pointer-events: none;
}
.page-header-banner .container {
    position: relative;
    z-index: 1;
}
.page-header-banner h1 {
    color: var(--gold);
    margin-bottom: 18px;
}
.page-header-banner .eyebrow {
    color: var(--gold);
    margin-bottom: 1rem;
}
.page-header-banner .lede {
    color: var(--gold);
    font-size: clamp(1.18rem, 1.55vw, 1.4rem);
    font-style: italic;
    max-width: 680px;
    line-height: 1.55;
}
@media (max-width: 880px) {
    .page-header-banner { padding: 56px 0 40px; }
}

/* ============================================================
   Nav social icons (LinkedIn, Instagram)
   ============================================================ */
.nav-social {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-right: 8px;
}
.nav-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--black);
    border: none !important;
    transition: color 0.2s ease, transform 0.2s ease;
}
.nav-social a::after { display: none !important; }
.nav-social a:hover {
    color: var(--gold-dark);
    transform: translateY(-1px);
}
.nav-social svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}
@media (max-width: 880px) {
    .nav-social {
        order: 99;
        gap: 24px;
        padding: 16px 0;
        justify-content: center;
        margin-right: 0;
        border-top: 1px solid var(--rule);
        margin-top: 8px;
        width: 100%;
    }
    .nav-social a { width: 44px; height: 44px; }
    .nav-social svg { width: 24px; height: 24px; }
}

/* ============================================================
   Via Terra prominent CTA button (on /joint-venture)
   ============================================================ */
.via-terra-cta {
    margin: 48px auto 0;
    max-width: 720px;
    padding: 0 32px;
}
.via-terra-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 32px 40px;
    background: var(--black);
    color: var(--ivory) !important;
    border: 2px solid var(--gold) !important;
    border-radius: 0;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
    position: relative;
}
.via-terra-button::after { display: none !important; }
.via-terra-button:hover {
    background: var(--gold);
    border-color: var(--gold) !important;
    color: var(--black) !important;
    transform: translateY(-2px);
}
.via-terra-button:hover .via-terra-arrow { transform: translateX(8px); }
.via-terra-button:hover .via-terra-domain { color: var(--black); }
.via-terra-label {
    font-family: var(--heading-font);
    font-size: 1.625rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}
.via-terra-domain {
    font-family: var(--heading-font);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
    margin-left: auto;
    transition: color 0.25s ease;
}
.via-terra-arrow {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}
@media (max-width: 600px) {
    .via-terra-button {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px;
        gap: 12px;
    }
    .via-terra-domain {
        margin-left: 0;
    }
    .via-terra-arrow {
        align-self: flex-end;
        margin-top: -32px;
    }
    .via-terra-label { font-size: 1.375rem; }
}

/* ── Inline hyperlinks within body text ── */
.inline-link {
    color: var(--gold-dark);
    border-bottom: 1px solid var(--gold);
    font-weight: inherit;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.inline-link:hover {
    color: var(--black);
    border-bottom-color: var(--black);
}

/* ============================================================
   Language switcher
   ============================================================ */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-right: 8px;
}
.lang-btn {
    background: none;
    border: none;
    padding: 4px 6px;
    font-family: var(--heading-font);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
}
.lang-btn:hover { color: var(--black); }
.lang-btn.active {
    color: var(--gold);
    border-bottom: 1px solid var(--gold);
    padding-bottom: 3px;
}
.lang-sep {
    font-size: 0.65rem;
    color: var(--rule-strong);
    user-select: none;
}
@media (max-width: 880px) {
    .lang-switcher {
        order: 98;
        padding: 12px 0;
        border-top: 1px solid var(--rule);
        margin-top: 8px;
        width: 100%;
        justify-content: center;
        margin-right: 0;
    }
    .lang-btn { font-size: 0.875rem; padding: 6px 10px; }
}
