@charset "UTF-8";
/*
 *----------------------------------------------------------------------------
 * Angels, Inc Platform - /index.css
 * Version v0.2.2
 * Copyright(c) 2016-2026 Angels, Inc
 * Author: Jacques Deguest <jacques.deguest@angels-inc.com>
 * Created 2026/02/19
 * Modified 2026/10/17
 * All rights reserved.
 * 
 * Permission to use, copy, modify,  and  distribute  this  software  and  its
 * documentation for any purpose is strictly forbidden. The name of the author
 * or the one of Angels, Inc may not  be  used  in  advertising  or  publicity
 * pertaining to distribution of the software without specific, written  prior
 * permission.
 * 
 * THE AUTHOR AND ANGELS, INC DISCLAIMS ALL WARRANTIES  WITH  REGARD  TO  THIS
 * SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND  FITNESS;
 * IN NO EVENT SHALL AUTHOR  NOR  ANGELS,  INC  BE  LIABLE  FOR  ANY  SPECIAL,
 * INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING  FROM
 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,  NEGLIGENCE
 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE  USE  OR
 * PERFORMANCE OF THIS SOFTWARE.
 *----------------------------------------------------------------------------
*/
*,
*::before,
*::after
{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root
{
    /* Native UI (scrollbars, page canvas, form controls) follows the light theme by default */
    color-scheme: light;
    --navy: #181f5f;
    --navy-mid: #2a3580;
    --navy-soft: #3e4298;
    --cream: #f7f4ef;
    --cream-mid: #ede9e1;
    --text: #1a1a2e;
    --text-mid: #4a4a6a;
    --text-light: #6a6a8c;
    --white: #ffffff;
    --grad: linear-gradient(135deg, #e60012 0%, #932154 25%, #563985 50%, #3e4298 65%, #54c3f1 100%);
    --grad-subtle: linear-gradient(135deg, rgba(230, 0, 18, 0.06) 0%, rgba(84, 195, 241, 0.06) 100%);
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Lato', 'Helvetica Neue', sans-serif;
    --section-pad: 7rem 2rem;
    --max-w: 1080px;
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html
{
    scroll-behavior: smooth;
}

body
{
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text);
    background: var(--cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* NOTE: Language visibility */
:root[lang=cs-CZ] [lang]:not([lang=cs-CZ]),
:root[lang=de-DE] [lang]:not([lang=de-DE]),
:root[lang=en-GB] [lang]:not([lang=en-GB]),
:root[lang=es-ES] [lang]:not([lang=es-ES]),
:root[lang=fr-FR] [lang]:not([lang=fr-FR]),
:root[lang=ga-IE] [lang]:not([lang=ga-IE]),
:root[lang=it-IT] [lang]:not([lang=it-IT]),
:root[lang=ja-JP] [lang]:not([lang=ja-JP]),
:root[lang=ko-KR] [lang]:not([lang=ko-KR]),
:root[lang=nb-NO] [lang]:not([lang=nb-NO]),
:root[lang=nl-NL] [lang]:not([lang=nl-NL]),
:root[lang=pl-PL] [lang]:not([lang=pl-PL]),
:root[lang=pt-BR] [lang]:not([lang=pt-BR]),
:root[lang=pt-PT] [lang]:not([lang=pt-PT]),
:root[lang=ro-RO] [lang]:not([lang=ro-RO]),
:root[lang=ru-RU] [lang]:not([lang=ru-RU]),
:root[lang=sr-RS] [lang]:not([lang=sr-RS]),
:root[lang=sv-SE] [lang]:not([lang=sv-SE]),
:root[lang=tr-TR] [lang]:not([lang=tr-TR]),
:root[lang=zh-CN] [lang]:not([lang=zh-CN]),
:root[lang=zh-TW] [lang]:not([lang=zh-TW])
{
    display: none !important;
    visibility: hidden !important;
}

/* Default: hide Apple Maps link unless confirmed Apple OS */
[data-os~="macOS"],
[data-os~="iOS"],
[data-os~="iPadOS"]
{
    display: none;
}

/* Show Apple Maps for confirmed Apple OS */
:root[data-ua-os="macOS"]   [data-os~="macOS"],
:root[data-ua-os="iOS"]     [data-os~="macOS"],
:root[data-ua-os="iPadOS"]  [data-os~="macOS"],
:root[data-ua-os="iOS"]     [data-os~="iOS"],
:root[data-ua-os="iPadOS"]  [data-os~="iPadOS"]
{
    display: inline !important;
}

  
/* 
:root[data-ua-os="macOS"]   [data-os]:not([data-os~="macOS"], [data-os~="iOS"], [data-os~="iPadOS"]),
:root[data-ua-os="iOS"]     [data-os]:not([data-os~="iOS"], [data-os~="macOS"]),
:root[data-ua-os="iPadOS"]  [data-os]:not([data-os~="iPadOS"], [data-os~="macOS"])
{
    display: none !important;
}
*/
/* More conservative */
:root[data-ua-os="macOS"]   [data-os]:not([data-os~="macOS"]):not([data-os~="iOS"]):not([data-os~="iPadOS"]),
:root[data-ua-os="iOS"]     [data-os]:not([data-os~="iOS"]):not([data-os~="macOS"]),
:root[data-ua-os="iPadOS"]  [data-os]:not([data-os~="iPadOS"]):not([data-os~="macOS"])
{
    display: none !important;
}

/* Grain overlay */
body::before
{
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.022;
    pointer-events: none;
    z-index: 999;
}

/* NOTE: Navigation */
nav
{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    height: 72px;
    padding: 0 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(24, 31, 95, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: height 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

nav.scrolled
{
    height: 58px;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.28);
}

.nav-logo svg
{
    height: 30px;
    width: auto;
    display: block;
}

.nav-links
{
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2.4rem;
}

.nav-links a
{
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    position: relative;
    transition: color 0.25s;
}

.nav-links a::after
{
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 100%;
    height: 1px;
    background: var(--grad);
    transition: right 0.3s ease;
}

.nav-links a:hover
{
    color: white;
}

.nav-links a:hover::after
{
    right: 0;
}

.nav-cta
{
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    padding: 0.42rem 1.1rem;
    border-radius: 2px;
    color: rgba(255, 255, 255, 0.8) !important;
    transition: background 0.25s, border-color 0.25s !important;
}

.nav-cta::after
{
    display: none !important;
}

.nav-cta:hover
{
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.55) !important;
    color: white !important;
}

/* Hide navigation mobile hamburger menu by default on desktop */
#nav-hamburger
{
    display: none;
}

/* NOTE: Hero */
#hero
{
    min-height: 100vh;
    background: var(--navy);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 9rem 2rem 7rem;
    position: relative;
    overflow: hidden;
}

#hero::before
{
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    width: 800px;
    height: 800px;
    background: radial-gradient(ellipse, rgba(84, 195, 241, 0.06) 0%, rgba(62, 66, 152, 0.04) 40%, transparent 70%);
    pointer-events: none;
}

#hero::after
{
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(-45deg, transparent, transparent 60px, rgba(255, 255, 255, 0.011) 60px, rgba(255, 255, 255, 0.011) 61px);
    pointer-events: none;
}

.hero-logo
{
    width: min(300px, 65vw);
    margin-bottom: 3.5rem;
    opacity: 0;
    transform: translateY(18px);
    animation: fadeUp 1s 0.2s var(--ease) forwards;
}

.hero-eyebrow
{
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 1s 0.5s var(--ease) forwards;
}

.hero-title
{
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(2.6rem, 5.5vw, 4.8rem);
    line-height: 1.14;
    color: white;
    max-width: 720px;
    margin-bottom: 1.8rem;
    opacity: 0;
    animation: fadeUp 1s 0.7s var(--ease) forwards;
}

.hero-title em
{
    font-style: italic;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub
{
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.78);
    max-width: 500px;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeUp 1s 0.9s var(--ease) forwards;
}

.hero-actions
{
    display: flex;
    gap: 1.4rem;
    align-items: center;
    opacity: 0;
    animation: fadeUp 1s 1.1s var(--ease) forwards;
}

.btn-primary
{
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 400;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: white;
    text-decoration: none;
    background: var(--grad);
    padding: 0.88rem 2.3rem;
    border-radius: 2px;
    box-shadow: 0 4px 28px rgba(84, 195, 241, 0.18);
    transition: opacity 0.25s, transform 0.25s;
}

.btn-primary:hover
{
    opacity: 0.86;
    transform: translateY(-2px);
}

.btn-ghost
{
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 400;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    padding-bottom: 2px;
    transition: color 0.25s, border-color 0.25s;
}

.btn-ghost:hover
{
    color: white;
    border-color: rgba(255, 255, 255, 0.7);
}

.hero-scroll
{
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: fadeIn 1s 2s forwards;
}

.hero-scroll span
{
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.scroll-line
{
    width: 1px;
    height: 38px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.28), transparent);
    animation: pulse 2.2s ease-in-out infinite;
}

/* NOTE: Section commons */
section
{
    padding: var(--section-pad);
}

.container
{
    max-width: var(--max-w);
    margin: 0 auto;
}

.section-label
{
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.section-label::before
{
    content: '';
    display: inline-block;
    width: 22px;
    height: 1px;
    background: var(--grad);
    flex-shrink: 0;
}

.section-title
{
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(2rem, 3.8vw, 3.1rem);
    line-height: 1.16;
    color: var(--navy);
    margin-bottom: 1.4rem;
}

.section-title em
{
    font-style: italic;
}

.section-body
{
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-mid);
}

hr.rule
{
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--cream-mid), transparent);
}

/* NOTE: About */
#about
{
    background: var(--cream);
}

.about-grid
{
    max-width: 760px;
}

/* NOTE: Mission */
#mission
{
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

#mission::before
{
    content: '';
    position: absolute;
    top: -180px;
    right: -180px;
    width: 550px;
    height: 550px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(84, 195, 241, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

#mission .section-label
{
    color: rgba(255, 255, 255, 0.62);
}

#mission .section-title
{
    color: white;
}

.mission-quote
{
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.25rem, 2.4vw, 1.85rem);
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.86);
    max-width: 780px;
    border-left: 2px solid;
    border-image: var(--grad) 1;
    padding-left: 2rem;
    margin-top: 2rem;
}

.values-grid
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5px;
    margin-top: 5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.value-cell
{
    background: rgba(255, 255, 255, 0.025);
    padding: 2.5rem 2rem;
    transition: background 0.35s;
}

.value-cell:hover
{
    background: rgba(255, 255, 255, 0.055);
}

.value-icon
{
    font-size: 1.55rem;
    display: block;
    margin-bottom: 1rem;
}

.value-name
{
    font-family: var(--font-display);
    font-size: 1.28rem;
    font-weight: 400;
    color: white;
    margin-bottom: 0.6rem;
}

.value-desc
{
    font-size: 0.86rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.72);
}

/* NOTE: Services */
#services
{
    background: white;
}

.services-intro
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: end;
    margin-bottom: 4rem;
}

.services-grid
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--cream-mid);
    border-radius: 4px;
    overflow: hidden;
}

.service-card
{
    background: white;
    padding: 2.5rem 2rem;
    position: relative;
    transition: background 0.35s;
}

.service-card::after
{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 100%;
    height: 2px;
    background: var(--grad);
    transition: right 0.4s ease;
}

.service-card:hover
{
    background: #fafbff;
}

.service-card:hover::after
{
    right: 0;
}

/* The seventh card spans the whole row so that the three-column grid does not leave two empty cells */
.service-card-wide
{
    grid-column: 1 / -1;
}

.service-num
{
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 300;
    color: var(--cream-mid);
    line-height: 1;
    margin-bottom: 1.1rem;
    transition: color 0.3s;
}

.service-card:hover .service-num
{
    color: #e4e7ff;
}

.service-name
{
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 0.65rem;
}

.service-desc
{
    font-size: 0.875rem;
    line-height: 1.78;
    color: var(--text-mid);
}

/* NOTE: Board */
#team
{
    background: var(--cream);
}

.team-intro
{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
    gap: 2rem;
}

.board-grid
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.member-card
{
    background: white;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.member-card:hover
{
    transform: translateY(-5px);
    box-shadow: 0 20px 56px rgba(24, 31, 95, 0.1);
}

.member-portrait
{
    height: 240px;
    background: var(--navy);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.member-portrait::before
{
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-subtle);
}

.member-initials
{
    font-family: var(--font-display);
    font-size: 3.8rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
    letter-spacing: 0.06em;
}

.member-gradbar
{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad);
}

.member-info
{
    padding: 1.8rem 1.8rem 2.2rem;
}

.member-name
{
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--navy);
    margin-bottom: 0.2rem;
}

.member-title
{
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 1.1rem;
}

.member-bio
{
    font-size: 0.875rem;
    line-height: 1.78;
    color: var(--text-mid);
}

/* NOTE: Location */
#location
{
    background: var(--navy);
    padding: 6rem 2rem;
}

.location-grid
{
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

#location .section-label
{
    color: rgba(255, 255, 255, 0.62);
}

#location .section-title
{
    color: white;
}

#location .section-body
{
    color: rgba(255, 255, 255, 0.78);
}

.address-block
{
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.address-line
{
    font-size: 0.875rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.72);
}

.address-line strong
{
    display: block;
    font-size: 0.95rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 0.2rem;
}

.address-link
{
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    transition: color 0.2s;
}

.address-link:hover
{
    color: rgba(255, 255, 255, 0.95);
}

.map-placeholder
{
    width: 100%;
    max-width: 600px;
    aspect-ratio: 492 / 300;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    position: relative;
}

.map-placeholder img
{
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.map-pin
{
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.map-dot
{
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--grad);
    box-shadow: 0 0 0 7px rgba(84, 195, 241, 0.13);
}

.map-label
{
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

/* NOTE: Contact */
#contact
{
    background: white;
}

.contact-grid
{
    display: grid;
    grid-template-columns: 1fr 1.55fr;
    gap: 6rem;
    align-items: start;
}

.contact-items
{
    margin-top: 2.5rem;
}

.contact-row
{
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon
{
    width: 40px;
    height: 40px;
    background: var(--cream);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-key
{
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.contact-val
{
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--text);
}

.contact-val a
{
    color: var(--navy);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.contact-val a:hover
{
    border-color: var(--navy);
}

.contact-form
{
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.fgroup
{
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.fgroup label
{
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-light);
}

.fgroup input,
.fgroup textarea
{
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text);
    background: var(--cream);
    border: 1px solid var(--cream-mid);
    border-radius: 2px;
    padding: 0.82rem 1rem;
    outline: none;
    transition: border-color 0.25s, background 0.25s;
    width: 100%;
}

.fgroup input:focus,
.fgroup textarea:focus
{
    border-color: var(--navy-soft);
    background: white;
}

.fgroup textarea
{
    resize: vertical;
    min-height: 120px;
}

.btn-send
{
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: white;
    background: var(--navy);
    border: none;
    padding: 0.95rem 2.4rem;
    border-radius: 2px;
    cursor: pointer;
    align-self: flex-start;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s;
}

.btn-send::before
{
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-send:hover::before
{
    opacity: 1;
}

.btn-send:hover
{
    transform: translateY(-1px);
}

.btn-send span
{
    position: relative;
    z-index: 1;
}

/* For honeypot trap */
.fgroup2
{
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px) !important;
}

.cf-fields
{
    border: none;
    margin: 0;
    padding: 0;
    min-width: 0; /* prevents fieldset from overflowing its container in some browsers */
}

.cf-fields:disabled,
.cf-fields[disabled]
{
    opacity: 0.6;
    cursor : not-allowed;
}

/* NOTE: Footer */
footer
{
    background: var(--navy);
    padding: 4rem 2rem 2rem;
}

.footer-inner
{
    max-width: var(--max-w);
    margin: 0 auto;
}

.footer-top
{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    margin-bottom: 2rem;
}

.footer-brand svg
{
    height: 26px;
    display: block;
}

.footer-tagline
{
    font-family: var(--font-display);
    font-style: italic;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.62);
    margin-top: 0.65rem;
}

.footer-cols
{
    display: flex;
    gap: 3.5rem;
}

.footer-col-head
{
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
}

.footer-col a
{
    display: block;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    margin-bottom: 0.55rem;
    transition: color 0.2s;
}

.footer-col a:hover
{
    color: white;
}

.footer-bottom
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copy
{
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal
{
    display: flex;
    gap: 1.8rem;
    align-items: center;
    flex-wrap: wrap;
}

.footer-legal a
{
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal a:hover
{
    color: rgba(255, 255, 255, 0.92);
}

/* NOTE: Language picker */
.lang-picker
{
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.lang-btn
{
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
    background: none;
    border: 1px solid transparent;
    padding: 0.3rem 0.65rem;
    border-radius: 2px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.lang-btn:hover
{
    color: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.2);
}

.lang-btn.active
{
    color: white;
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.06);
    position: relative;
}

.lang-btn.active::after
{
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--grad);
}

.lang-sep
{
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.12);
}

/* NOTE: Animations */
@keyframes fadeUp
{
    from
    {
        opacity: 0;
        transform: translateY(18px);
    }

    to
    {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn
{
    from
    {
        opacity: 0;
    }

    to
    {
        opacity: 1;
    }
}

@keyframes pulse
{

    0%,
    100%
    {
        opacity: 0.28;
    }

    50%
    {
        opacity: 0.7;
    }
}

.reveal
{
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible
{
    opacity: 1;
    transform: translateY(0);
}

.d1
{
    transition-delay: 0.12s;
}

.d2
{
    transition-delay: 0.24s;
}

.d3
{
    transition-delay: 0.36s;
}

.courriel:before 
{
    content: attr(data-website) "\0040" attr(data-user);
    unicode-bidi: bidi-override;
    direction: rtl;
}

.footer-bottom .cookies-settings
{
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.62);
}

.footer-bottom .cookies-settings:hover
{
    color: rgba(255, 255, 255, 0.92);
    cursor: pointer;
}

/* NOTE: Contact form feedback banner */
.form-feedback
{
    display: flex;
    align-items: center;
    gap: 0.6em;
    margin-bottom: 1.2rem;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    border-left: 4px solid transparent;
    font-size: 0.95rem;
    line-height: 1.4;
}

.form-feedback-error
{
    background-color: #fff3f3;
    border-left-color: #c0392b;
    color: #7b1a13;
}

.form-feedback-ok
{
    background-color: #f0faf3;
    border-left-color: #27ae60;
    color: #1a5c35;
}

[data-theme="dark"] .form-feedback-error
{
    background-color: #3b1a18;
    border-left-color: #e74c3c;
    color: #f5b7b1;
}

[data-theme="dark"] .form-feedback-ok
{
    background-color: #1a3b26;
    border-left-color: #2ecc71;
    color: #a9dfbf;
}

.form-feedback-icon
{
    flex-shrink: 0;
    font-size: 1.1em;
}

.form-feedback-msg
{
    flex: 1;
}

.form-feedback-close
{
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    padding: 0 0.1em;
    opacity: 0.5;
    color: inherit;
    transition: opacity 0.15s;
}

.form-feedback-close:hover
{
    opacity: 0.9;
}

/* NOTE: Responsive */
@media (max-width: 900px)
{
    :root
    {
        --section-pad: 5rem 1.5rem;
    }

    .services-intro,
    .contact-grid,
    .location-grid
    {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .services-grid,
    .values-grid
    {
        grid-template-columns: 1fr;
    }

    .board-grid
    {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .team-intro,
    .footer-top
    {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-bottom
    {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links
    {
        display: none;
    }

    /* NOTE: Responsive top menu that switches to become a hamburger menu */
    #nav-hamburger
    {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 17px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        flex-shrink: 0;
    }

    #nav-hamburger span
    {
        display: block;
        height: 1.5px;
        background: rgba(255, 255, 255, 0.7);
        border-radius: 1px;
        transition: transform 0.25s var(--ease), opacity 0.25s;
    }

    /* Animate to × when open */
    nav.open #nav-hamburger span:nth-child(1)
    {
        transform: translateY(7.75px) rotate(45deg);
    }

    nav.open #nav-hamburger span:nth-child(2)
    {
        opacity: 0;
    }

    nav.open #nav-hamburger span:nth-child(3)
    {
        transform: translateY(-7.75px) rotate(-45deg);
    }

    /* Mobile menu panel */
    nav.open .nav-links
    {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(24, 31, 95, 0.98);
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        padding: 0.5rem 0 1rem;
    }

    nav.open .nav-links li
    {
        padding: 0;
    }

    nav.open .nav-links a
    {
        display: block;
        padding: 0.85rem 2.5rem;
        font-size: 0.78rem;
    }

    nav.open .nav-cta
    {
        margin: 0.5rem 2.5rem 0;
        text-align: center;
        padding: 0.6rem 1rem !important;
    }

    /* With .nav-links hidden, space-between would centre .theme-wrap between
       the logo and the hamburger. Push it flush right instead. */
    nav > .theme-wrap
    {
        margin-left: auto;
        margin-right: 1.2rem;
    }
}

/**
 *----------------------------------------------------------------------------
 * Dark theme variable overrides and theme toggle widget
 * Append to index.css
 *----------------------------------------------------------------------------
*/

/**
 * NOTE: Dark theme — variable overrides
 * Applied when data-theme="dark" is set on :root by index.js.
 * The navy sections (#hero, #mission, #location, footer) are already dark
 * and require only subtle deepening to maintain visual rhythm.
 * Light sections (#about, #services, #team, #contact) are inverted.
 */
:root[data-theme="dark"]
{
    /* Native UI follows the theme chosen with the toggle, not only the OS preference */
    color-scheme: dark;
    --cream:        #111827;
    --cream-mid:    #1e2a3a;
    --text:         #e8e6f0;
    --text-mid:     #9ba3b8;
    --text-light:   #8e97a8;
    --white:        #1a2235;
    --navy:         #0b1120;
    --navy-mid:     #111d33;
    --navy-soft:    #1e2d4a;
}

/* Body background */
:root[data-theme="dark"] body
{
    background: var(--cream);
    color: var(--text);
}

/* About section */
:root[data-theme="dark"] #about
{
    background: var(--cream);
}

/* Services section */
:root[data-theme="dark"] #services
{
    background: var(--cream-mid);
}

:root[data-theme="dark"] .service-card
{
    background: var(--cream);
}

:root[data-theme="dark"] .service-card:hover
{
    background: #162032;
}

:root[data-theme="dark"] .services-grid
{
    background: #0d1827;
}

:root[data-theme="dark"] .service-name
{
    color: var(--text);
}

:root[data-theme="dark"] .service-num
{
    color: #1e2a3a;
}

:root[data-theme="dark"] .service-card:hover .service-num
{
    color: #243044;
}

/* Team section */
:root[data-theme="dark"] #team
{
    background: var(--cream-mid);
}

:root[data-theme="dark"] .member-card
{
    background: var(--cream);
}

:root[data-theme="dark"] .member-name
{
    color: var(--text);
}

:root[data-theme="dark"] .member-bio
{
    color: var(--text-mid);
}

/* Contact section */
:root[data-theme="dark"] #contact
{
    background: var(--cream);
}

:root[data-theme="dark"] .fgroup input,
:root[data-theme="dark"] .fgroup textarea
{
    background: var(--cream-mid);
    border-color: #2a3a4f;
    color: var(--text);
}

:root[data-theme="dark"] .fgroup input:focus,
:root[data-theme="dark"] .fgroup textarea:focus
{
    border-color: var(--navy-soft);
    background: #1a2a3e;
}

:root[data-theme="dark"] .contact-icon
{
    background: var(--cream-mid);
}

:root[data-theme="dark"] .contact-val
{
    color: var(--text);
}

:root[data-theme="dark"] .contact-val a
{
    color: #7eb3e0;
}

:root[data-theme="dark"] .contact-val a:hover
{
    border-color: #7eb3e0;
}

/* Dividers */
:root[data-theme="dark"] hr.rule
{
    background: linear-gradient( to right, transparent, #2a3a4f, transparent );
}

/* Map placeholder border */
:root[data-theme="dark"] .map-placeholder
{
    border-color: rgba(255, 255, 255, 0.05);
}

/* Section labels and titles on light sections */
:root[data-theme="dark"] #about .section-title,
:root[data-theme="dark"] #services .section-title,
:root[data-theme="dark"] #team .section-title,
:root[data-theme="dark"] #contact .section-title
{
    color: var(--text);
}

:root[data-theme="dark"] #about .section-label,
:root[data-theme="dark"] #services .section-label,
:root[data-theme="dark"] #team .section-label,
:root[data-theme="dark"] #contact .section-label
{
    color: var(--text-light);
}

:root[data-theme="dark"] #about .section-body,
:root[data-theme="dark"] #services .section-body,
:root[data-theme="dark"] #team .section-body,
:root[data-theme="dark"] #contact .section-body
{
    color: var(--text-mid);
}

/* NOTE: Theme toggle dropdown widget */

.theme-wrap
{
    position: relative;
    display: inline-flex;
    align-items: center;
}

#theme-toggle,
#theme-toggle-footer
{
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.75);
    background: none;
    border: 1px solid transparent;
    padding: 0.3rem 0.65rem;
    border-radius: 2px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    white-space: nowrap;
}

#theme-toggle:hover,
#theme-toggle-footer:hover
{
    color: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.2);
}

.theme-icon
{
    font-size: 0.9rem;
    line-height: 1;
}

.theme-caret
{
    font-size: 0.55rem;
    opacity: 0.5;
    transition: transform 0.2s;
}

#theme-drop.open + #theme-toggle .theme-caret,
#theme-drop-footer.open + #theme-toggle-footer .theme-caret,
#theme-toggle[aria-expanded="true"] .theme-caret,
#theme-toggle-footer[aria-expanded="true"] .theme-caret
{
    transform: rotate(180deg);
}

#theme-drop,
#theme-drop-footer
{
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 140px;
    background: rgba(15, 22, 50, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    z-index: 950;
    overflow: hidden;
}

#theme-drop.open,
#theme-drop-footer.open
{
    display: block;
}

.theme-option
{
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.65rem 1rem;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.78);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s, color 0.15s;
    position: relative;
}

.theme-option:hover
{
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.9);
}

.theme-option.active
{
    color: white;
}

.theme-option.active::before
{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--grad);
}

.theme-option-icon
{
    font-size: 0.9rem;
    width: 1.2rem;
    text-align: center;
    flex-shrink: 0;
}

/* Footer variant — same dropdown but positioned upward */
.footer-theme-wrap #theme-drop,
.footer-theme-wrap #theme-drop-footer
{
    top: auto;
    bottom: calc(100% + 6px);
}

/**
 *----------------------------------------------------------------------------
 * NOTE: Print stylesheet
 * Produces a clean, ink-friendly A4 document in the currently selected
 * language, whatever the screen theme (light or dark). Interactive elements
 * (navigation, theme and language pickers, contact form, cookie settings)
 * are hidden, dark sections are turned into dark text on white paper, and
 * every animated or scroll-revealed element is forced to be visible.
 *----------------------------------------------------------------------------
 */
@media print
{
    @page
    {
        size: A4;
        margin: 16mm 15mm 18mm;
    }

    /* Restore the light palette, even when the dark theme is active on screen */
    :root,
    :root[data-theme="dark"]
    {
        /* With the dark theme active, color-scheme is dark on screen, which would
           make the browser paint the page margins dark when backgrounds are printed */
        color-scheme: light;
        --navy: #181f5f;
        --cream: #ffffff;
        --cream-mid: #dddde6;
        --text: #1a1a2e;
        --text-mid: #33334d;
        --text-light: #55557a;
    }

    /* Ink-friendly baseline: no backgrounds, no shadows, dark text everywhere */
    *,
    *::before,
    *::after
    {
        background: transparent !important;
        color: #1a1a2e !important;
        box-shadow: none !important;
        text-shadow: none !important;
        animation: none !important;
        transition: none !important;
    }

    html,
    body
    {
        background: #ffffff !important;
        font-size: 10.5pt;
        line-height: 1.55;
        orphans: 3;
        widows: 3;
    }

    /* The grain overlay and decorative pseudo-elements are of no use on paper */
    body::before,
    #hero::before,
    #hero::after,
    #mission::before,
    .section-label::before,
    .nav-links a::after,
    .service-card::after,
    .member-portrait::before
    {
        display: none !important;
    }

    /* Elements hidden until scrolled into view, or faded in, must be visible */
    .reveal,
    .hero-logo,
    .hero-eyebrow,
    .hero-title,
    .hero-sub
    {
        opacity: 1 !important;
        transform: none !important;
    }

    /* Interactive elements that make no sense on paper */
    nav,
    #nav-hamburger,
    .theme-wrap,
    .hero-actions,
    .hero-scroll,
    .contact-form,
    .footer-cols,
    .footer-legal,
    .form-feedback,
    .address-line a[target],
    .contact-val a[target]
    {
        display: none !important;
    }

    /* Board portraits currently show initials only; they waste a third of a page */
    .member-portrait
    {
        display: none !important;
    }

    /* The white wordmark in the logos would be invisible on white paper */
    svg path[fill="white"]
    {
        fill: #181f5f !important;
    }

    a
    {
        text-decoration: none !important;
    }

    /* NOTE: Print - sections */
    section,
    #location
    {
        padding: 9mm 0 !important;
        min-height: 0 !important;
    }

    .container,
    .location-grid,
    .footer-inner
    {
        max-width: none !important;
    }

    hr.rule
    {
        height: 0 !important;
        border: none !important;
        border-top: 0.5pt solid #c8c8d4 !important;
    }

    .section-label
    {
        color: #55557a !important;
        font-size: 7.5pt;
        margin-bottom: 2mm;
    }

    .section-title,
    .hero-title,
    .value-name,
    .service-name,
    .member-name
    {
        color: #181f5f !important;
        break-after: avoid;
        page-break-after: avoid;
    }

    .section-title
    {
        font-size: 20pt;
        margin-bottom: 4mm;
    }

    .section-body
    {
        font-size: 10.5pt;
        line-height: 1.6;
    }

    /* Gradient text relies on background-clip, which the baseline above removes */
    .hero-title em,
    .section-title em
    {
        -webkit-text-fill-color: currentColor !important;
        color: #181f5f !important;
    }

    /* NOTE: Print - hero */
    #hero
    {
        padding: 4mm 0 8mm !important;
        display: block;
        text-align: center;
    }

    .hero-logo
    {
        width: 60mm;
        margin: 0 auto 6mm;
        display: block;
    }

    .hero-eyebrow
    {
        color: #55557a !important;
        font-size: 8pt;
        margin-bottom: 4mm;
    }

    .hero-title
    {
        font-size: 24pt;
        max-width: none;
        margin-bottom: 4mm;
    }

    .hero-sub
    {
        font-size: 11pt;
        max-width: 140mm;
        margin: 0 auto;
    }

    /* NOTE: Print - mission */
    .mission-quote
    {
        font-size: 13pt;
        max-width: none;
        border-left: 2pt solid #181f5f;
        border-image: none;
        padding-left: 5mm;
        margin-top: 4mm;
    }

    .values-grid,
    .services-grid,
    .board-grid
    {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 4mm !important;
        margin-top: 6mm;
        max-width: none !important;
    }

    .value-cell,
    .service-card,
    .member-card
    {
        border: 0.5pt solid #c8c8d4;
        border-radius: 2mm;
        padding: 4mm !important;
        transform: none !important;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .value-desc,
    .service-desc,
    .member-bio
    {
        font-size: 9pt;
        line-height: 1.5;
    }

    /* NOTE: Print - services */
    .services-intro
    {
        grid-template-columns: 1fr !important;
        gap: 2mm !important;
        margin-bottom: 4mm;
    }

    .service-num
    {
        color: #b8b8cc !important;
        font-size: 18pt;
        margin-bottom: 2mm;
    }

    .service-name
    {
        font-size: 12pt;
    }

    /* NOTE: Print - board */
    .team-intro
    {
        display: block;
        margin-bottom: 4mm;
    }

    .member-info
    {
        padding: 0 !important;
    }

    .member-title
    {
        color: #55557a !important;
        margin-bottom: 2mm;
    }

    /* NOTE: Print - location and contact */
    #location
    {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .location-grid,
    .contact-grid
    {
        grid-template-columns: 1fr 1fr !important;
        gap: 8mm !important;
        align-items: start;
    }

    .contact-grid
    {
        grid-template-columns: 1fr !important;
    }

    .address-block
    {
        margin-top: 4mm;
        padding-top: 4mm;
        border-top: 0.5pt solid #c8c8d4;
    }

    .address-line strong
    {
        color: #181f5f !important;
    }

    .map-placeholder
    {
        border: 0.5pt solid #c8c8d4;
        max-width: 90mm;
    }

    .contact-items
    {
        margin-top: 4mm;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 4mm;
    }

    .contact-row
    {
        margin-bottom: 0;
    }

    .contact-key
    {
        color: #55557a !important;
    }

    /* NOTE: Print - footer */
    footer
    {
        padding: 6mm 0 0 !important;
        border-top: 0.5pt solid #c8c8d4;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .footer-top
    {
        border-bottom: none;
        padding-bottom: 2mm;
        margin-bottom: 2mm;
    }

    .footer-tagline,
    .footer-copy
    {
        color: #55557a !important;
        font-size: 8pt;
    }
}

/* NOTE: Corporate visual refinements */
/* These presentation overrides are grouped separately from the original styles. */
:root
{
    --max-w: 1190px;
    --text-mid: #414462;
    --text-light: #555a79;
    --section-pad: 6.5rem 2rem;
}

body
{
    font-weight: 400;
}

.section-body
{
    line-height: 1.8;
}

/* NOTE: Hero refinements */
#hero
{
    min-height: 91vh;
    padding: 10rem 2rem 7rem;
    background: radial-gradient(ellipse at 52% 65%, #273478 0%, #181f5f 48%, #111846 100%);
}

#hero::after
{
    opacity: 0.45;
}

.hero-logo
{
    width: min(252px, 65vw);
    margin-bottom: 2rem;
}

.hero-eyebrow
{
    color: #cbd6f5;
}

.hero-title
{
    max-width: 970px;
    font-size: clamp(3rem, 6vw, 6.1rem);
    line-height: 1.04;
    margin-bottom: 1.6rem;
}

.hero-sub
{
    max-width: 640px;
    font-size: 1.12rem;
    color: #e1e6f8;
    line-height: 1.8;
}

.hero-actions
{
    gap: 2rem;
}

.btn-primary
{
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.19);
}

/* NOTE: About refinements */
#about .about-grid
{
    max-width: 860px;
}

#about .section-title
{
    max-width: 800px;
}

#about .section-body
{
    max-width: 830px;
}

.about-secondary
{
    margin-top: 1.35rem;
}

/* NOTE: Mission refinements */
.value-icon
{
    font: 400 2rem/1 var(--font-display);
    color: #77c8ee;
}

.value-desc
{
    color: #d0d7ed;
}

.mission-quote
{
    color: #ffffff;
}

/* NOTE: Services refinements */
.service-card
{
    padding: 2.4rem 2.1rem;
}

.service-desc
{
    color: #444863;
    font-size: 0.91rem;
    line-height: 1.82;
}

.service-num
{
    color: #b9bed1;
}

.service-card-separate
{
    background: #f3f5fa;
}

.service-card-separate .service-num
{
    color: #6974a4;
}

/* NOTE: Board refinements */
.member-card
{
    border: 1px solid #e8e7e8;
    box-shadow: 0 10px 34px rgba(26, 28, 65, 0.055);
}

.member-portrait
{
    height: auto;
    aspect-ratio: 4 / 3.3;
    background: #141d51;
}

.member-portrait img
{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 23%;
}

.member-portrait::before
{
    display: none;
}

.member-name
{
    font-size: 1.7rem;
}

.member-bio
{
    font-size: 0.94rem;
    color: #474b67;
    line-height: 1.75;
}

.member-title
{
    color: #555b7a;
}

/* NOTE: Location and contact refinements */
#location .section-body,
.address-line
{
    color: #dde2f2;
}

#contact .contact-val,
#contact .contact-key
{
    color: #494f70;
}

#contact .contact-val a
{
    color: #222b72;
}

/* NOTE: Dark theme refinements */
:root[data-theme="dark"]
{
    --text-mid: #c2cadc;
    --text-light: #abb5cd;
}

:root[data-theme="dark"] .service-desc,
:root[data-theme="dark"] .member-bio
{
    color: #c5cee0;
}

:root[data-theme="dark"] .service-num
{
    color: #8696b7;
}

:root[data-theme="dark"] .service-card-separate
{
    background: #17243c;
}

:root[data-theme="dark"] .member-card
{
    border-color: #344056;
}

:root[data-theme="dark"] #contact .contact-val,
:root[data-theme="dark"] #contact .contact-key
{
    color: #c7d0e3;
}

:root[data-theme="dark"] #contact .contact-val a
{
    color: #a9d8ff;
}

/* NOTE: Responsive refinements */
@media (max-width: 900px)
{
    .hero-title
    {
        font-size: clamp(2.7rem, 7.6vw, 4.8rem);
    }

    .hero-sub
    {
        font-size: 1rem;
    }

    .member-portrait
    {
        aspect-ratio: 4 / 3.6;
    }
}

@media (max-width: 620px)
{
    #hero
    {
        padding: 9rem 1.25rem 6rem;
    }

    .hero-title
    {
        font-size: clamp(2.55rem, 9vw, 3.9rem);
    }

    .hero-actions
    {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* NOTE: Print refinements */
@media print
{
    /* Preserve the ink-friendly print layout. */
    #hero
    {
        min-height: 0 !important;
        padding: 4mm 0 8mm !important;
    }

    .hero-title
    {
        font-size: 24pt !important;
    }

    .member-portrait
    {
        display: none !important;
    }

    .service-card-separate
    {
        background: transparent !important;
    }
}
