@charset "UTF-8";
/*
##----------------------------------------------------------------------------
## AI - ~/www/index.css
## Version v0.1.3
## Copyright(c) 2016-2026 Angels, Inc
## Author: Jacques Deguest <jacques.deguest@angels-inc.com>
## Created 2026/02/19
## Modified 2026/02/24
## 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
{
    --navy: #181f5f;
    --navy-mid: #2a3580;
    --navy-soft: #3e4298;
    --cream: #f7f4ef;
    --cream-mid: #ede9e1;
    --text: #1a1a2e;
    --text-mid: #4a4a6a;
    --text-light: #8888aa;
    --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.65);
    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.38);
    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.55);
    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.6);
    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.28);
}

.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
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-card
{
    background: var(--navy);
    border-radius: 4px;
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
}

.about-card::before
{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad);
}

.about-stat
{
    margin-bottom: 1.8rem;
}

.about-stat:last-child
{
    margin-bottom: 0;
}

.stat-number
{
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 300;
    line-height: 1;
    margin-bottom: 0.25rem;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label
{
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
}

.stat-rule
{
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.07);
    margin: 1.5rem 0;
}

.about-float
{
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: var(--grad-subtle);
    border: 1px solid rgba(84, 195, 241, 0.12);
}

/* 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.32);
}

#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.7);
    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.42);
}

/* 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;
}

.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.32);
}

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

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

.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.45);
}

.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.45);
    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.8);
}

.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.42);
}

/* 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.3);
    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.28);
    margin-bottom: 1rem;
}

.footer-col a
{
    display: block;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.5);
    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.22);
}

.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.22);
    text-decoration: none;
    transition: color 0.2s;
}

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

/* 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.3);
    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.7);
    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.22);
}

.footer-bottom .cookies-settings:hover
{
    color: rgba(255, 255, 255, 0.55);
    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;
    }

    .about-grid,
    .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"]
{
    --cream:        #111827;
    --cream-mid:    #1e2a3a;
    --text:         #e8e6f0;
    --text-mid:     #9ba3b8;
    --text-light:   #6b7280;
    --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);
}

/* About card — already navy, just deepen slightly */
:root[data-theme="dark"] .about-card
{
    background: #0d1827;
}

/* 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.5);
    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.8);
    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.55);
    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);
}
