/* ============================================
   FORTIS ENTRY — Apple Design Methodology
   Clean. Confident. Premium.
   ============================================ */

:root {
    /* Core Palette */
    --white: #fff;
    --black: #000;
    --bg-primary: #fbfbfd;
    --bg-secondary: #f5f5f7;
    /* Text */
    --text-primary: #1d1d1f;
    --text-secondary: #6e6e73;
    --text-tertiary: #636366;

    /* Accent */
    --blue: #0071e3;
    --blue-hover: #0077ed;
    --blue-subtle: rgba(0,113,227,0.06);
    --blue-glow: rgba(0,113,227,0.12);

    /* Borders */
    --border: rgba(0,0,0,0.08);
    /* Spacing scale */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 48px;
    --space-xl: 80px;
    --space-2xl: 120px;
    --space-3xl: 160px;
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Inter', 'Helvetica Neue', sans-serif;
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.serif { font-family: 'Playfair Display', 'Georgia', serif; }

/* ============================================
   NAVIGATION — Minimal, transparent, confident
   ============================================ */
/* Top bar with email */
/* Navigation */
nav:not(.footer-nav) {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
    isolation: isolate;
    transition: box-shadow 0.3s ease;
}
nav.scrolled {
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.nav-bg {
    background: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    position: relative;
    z-index: 1;
}
nav .nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    position: relative;
    z-index: 2;
}
nav .logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: opacity 0.3s;
}
nav .logo:hover { opacity: 0.8; }
nav .logo-text {
    display: flex;
    align-items: baseline;
    gap: 5px;
}
nav .logo .logo-fortis {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.01em;
}
nav .logo .logo-entry {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 0.01em;
}
nav .nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}
nav .nav-links li {
    list-style: none;
    margin: 0;
    padding: 0;
}
nav .nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0;
    opacity: 0.7;
    transition: opacity 0.3s;
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
nav .nav-links a:hover { opacity: 1; }
.nav-contact {
    background: var(--blue) !important;
    color: #fff !important;
    opacity: 1 !important;
    padding: 8px 20px;
    border-radius: 980px;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    transition: background 0.3s !important;
}
.nav-contact:hover { background: var(--blue-hover) !important; }
.nav-email {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap;
    margin-left: 8px;
}
.nav-email:hover { color: var(--blue); }
.nav-email svg { opacity: 0.5; }
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text-primary);
    margin: 4px 0;
    transition: all 0.3s;
    border-radius: 1px;
}

/* ============================================
   HERO — Big statement. Lots of air.
   ============================================ */
.hero {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}
.hero::before {
    display: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: var(--border);
}
.hero-content {
    max-width: 820px;
    margin: 0 auto;
    padding: 160px 40px 100px;
    position: relative;
    z-index: 1;
}
.hero-label {
    display: inline-block;
    color: var(--blue);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: var(--space-md);
}
.hero-label::before { display: none; }
.hero h1 {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: var(--space-md);
}
.hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--blue) 0%, #6cb4ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub {
    font-size: 1.3125rem;
    color: var(--text-secondary);
    line-height: 1.52381;
    letter-spacing: 0.011em;
    max-width: 540px;
    margin: 0 auto var(--space-xl);
    font-weight: 400;
}
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 64px;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border);
}
.hero-stat { text-align: center; }
.hero-stat .number {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -0.03em;
}
.hero-stat .label {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    font-weight: 400;
    letter-spacing: 0;
}
.plus-sign {
    font-size: 1.6rem;
    color: var(--blue);
    font-weight: 400;
}

/* ============================================
   SECTION SYSTEM — Apple rhythm
   ============================================ */
section {
    padding: var(--space-2xl) 40px;
}
.section-inner {
    max-width: 1024px;
    margin: 0 auto;
}
.section-label {
    display: inline-block;
    color: var(--blue);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: var(--space-sm);
}
.section-label::before { display: none; }
.section-title {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.07143;
    letter-spacing: -0.035em;
    margin-bottom: var(--space-sm);
}
.section-desc {
    font-size: 1.3125rem;
    color: var(--text-secondary);
    line-height: 1.52381;
    max-width: 600px;
    font-weight: 400;
    letter-spacing: 0.011em;
}

/* ============================================
   ABOUT — Split layout with breathing room
   ============================================ */
.about { background: var(--bg-primary); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    margin-top: var(--space-xl);
}
.about-text p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-weight: 400;
}
.about-text p:last-child { margin-bottom: 0; }
.about-highlight {
    background: var(--bg-secondary);
    border-left: 3px solid var(--blue);
    padding: 28px 32px;
    border-radius: 0 12px 12px 0;
}
.about-highlight p {
    font-size: 1.0625rem;
    color: var(--text-primary);
    line-height: 1.7;
    font-weight: 500;
    margin-bottom: 0;
}
.about-principles {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.principle {
    padding: 28px 28px;
    background: var(--bg-secondary);
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
}
.principle:hover {
    transform: scale(1.015);
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}
.principle-number {
    font-size: 0.75rem;
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0;
}
.principle h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}
.principle p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.58;
    font-weight: 400;
}

/* ============================================
   SERVICES — Cards on clean background
   ============================================ */
.services {
    background: var(--bg-secondary);
}
.services .section-inner { position: relative; z-index: 1; }
.services::before { display: none; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: var(--space-xl);
}
.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 28px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
    position: relative;
}
.service-card:hover {
    transform: scale(1.02) translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}
.service-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--blue-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.service-icon svg {
    width: 20px; height: 20px;
    stroke: var(--blue);
    fill: none;
    stroke-width: 1.5;
}
.service-card h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.service-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.58;
    font-weight: 400;
}

/* ============================================
   FOCUS — Storytelling layout
   ============================================ */
.focus {
    background: var(--bg-primary);
    border-top: none;
}
.focus-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: var(--space-xl);
}
.focus-text p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-weight: 400;
}
.focus-visual {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: var(--space-lg);
    position: relative;
    overflow: hidden;
}
.focus-visual::before {
    display: none;
}
.focus-visual-content { position: relative; z-index: 1; }
.focus-visual h3 {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}
.focus-visual p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.58;
    margin-bottom: var(--space-md);
    font-weight: 400;
}
.focus-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.focus-tag {
    padding: 8px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 980px;
    color: var(--text-secondary);
    font-size: 0.8125rem;
    font-weight: 400;
    transition: background 0.3s;
}
.focus-tag:hover { background: var(--blue-subtle); color: var(--text-primary); }

/* ============================================
   HOW WE WORK
   ============================================ */
.how { background: var(--bg-secondary); }
.how-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: var(--space-xl);
}
.how-model {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.model-card {
    background: var(--white);
    border-radius: 20px;
    padding: 32px;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.model-card:hover {
    transform: scale(1.015);
    box-shadow: 0 8px 32px rgba(0,0,0,0.05);
}
.model-card-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--blue);
    letter-spacing: 0;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.model-card h3 {
    font-size: 1.1875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.model-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.58;
    font-weight: 400;
}
.how-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.how-details p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-weight: 400;
}
.how-note {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px 28px;
    margin-top: 8px;
}
.how-note p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    font-style: italic;
    line-height: 1.58;
}

/* ============================================
   PARAMETERS — Light discipline section
   ============================================ */
.parameters {
    background: var(--bg-secondary);
    position: relative;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.parameters::before { display: none; }
.params-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: var(--space-xl);
}
.param-card {
    text-align: center;
    padding: var(--space-lg) var(--space-md);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
}
.param-value {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}
.param-value .unit {
    font-size: 1.5rem;
    color: var(--blue);
}
.param-label {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
    font-weight: 500;
}
.param-desc {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    line-height: 1.52;
    font-weight: 400;
}

/* ============================================
   LEADERSHIP
   ============================================ */
.leadership { background: var(--bg-primary); }
.leadership-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: var(--space-xl);
    align-items: start;
}
.leadership-text p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-weight: 400;
}
.leadership-aside {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 36px;
    border: 1px solid var(--border);
}
.leadership-aside h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.credential {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}
.credential:last-child { border-bottom: none; padding-bottom: 0; }
.credential-icon {
    width: 32px; height: 32px; min-width: 32px;
    border-radius: 8px;
    background: var(--blue-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}
.credential-icon svg {
    width: 14px; height: 14px;
    stroke: var(--blue);
    fill: none;
    stroke-width: 2;
}
.credential p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.52;
    font-weight: 400;
}

/* ============================================
   WHY SAUDI
   ============================================ */
.why-saudi { background: var(--bg-secondary); }
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: var(--space-xl);
}
.why-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.why-card:hover {
    transform: scale(1.015);
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
}
.why-card h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.why-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.58;
    font-weight: 400;
}

/* ============================================
   FAQ — Visible answers for qualified inquiries
   ============================================ */
.faq {
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
}
.faq-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: start;
}
.faq .section-desc {
    max-width: 420px;
}
.faq-list {
    border-top: 1px solid var(--border);
}
.faq-item {
    border-bottom: 1px solid var(--border);
}
.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 0;
    color: var(--text-primary);
    font-size: 1.0625rem;
    line-height: 1.35;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item p {
    color: var(--text-secondary);
    font-size: 0.9875rem;
    line-height: 1.65;
    max-width: 650px;
    padding: 0 44px 24px 0;
}
.faq-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    position: relative;
    border-radius: 50%;
}
.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--blue);
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.faq-icon::before {
    width: 12px;
    height: 2px;
}
.faq-icon::after {
    width: 2px;
    height: 12px;
}
.faq-item[open] .faq-icon::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg);
}

/* ============================================
   CONTACT — Clean CTA
   ============================================ */
.contact {
    background: var(--bg-primary);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.contact::before {
    display: none;
}
.contact .section-inner { position: relative; z-index: 1; }
.contact .section-label { justify-content: center; }
.contact .section-label::before { display: none; }
.contact .section-title {
    max-width: 600px;
    margin: 0 auto var(--space-sm);
}
.contact .section-desc {
    max-width: 480px;
    margin: 0 auto var(--space-lg);
    text-align: center;
}
.contact-email {
    display: inline-block;
    font-size: 1.0625rem;
    color: var(--white);
    background: var(--blue);
    text-decoration: none;
    font-weight: 500;
    padding: 14px 36px;
    border-radius: 980px;
    transition: background 0.3s ease, transform 0.2s ease;
    letter-spacing: 0;
    border: none;
    font-family: inherit;
}
.contact-email:hover {
    background: var(--blue-hover);
    transform: scale(1.02);
}
.contact-note {
    margin-top: var(--space-md);
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    font-weight: 400;
}

/* ============================================
   FOOTER — Minimal
   ============================================ */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 36px 40px;
    text-align: center;
}
footer p {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-weight: 400;
}
footer .footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: 0.02em;
}
footer .footer-logo .logo-entry { color: var(--blue); }
.blue-line { display: none; }
.footer-legal { margin-top: 10px; }
.footer-legal a {
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 0.75rem;
    margin: 0 8px;
    transition: color 0.2s;
}
.footer-legal a:hover { color: var(--text-secondary); }
.footer-nav { margin-top: 12px; position: static !important; z-index: auto !important; }
.footer-nav a {
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 0.75rem;
    margin: 0 10px;
    transition: color 0.2s;
}
.footer-nav a:hover { color: var(--text-secondary); }

/* ============================================
   ANIMATIONS — Scroll reveal (Apple-style)
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Stagger children */
.fade-in.visible .service-card,
.fade-in.visible .param-card,
.fade-in.visible .why-card,
.fade-in.visible .principle {
    animation: fadeUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.fade-in.visible .service-card:nth-child(1),
.fade-in.visible .param-card:nth-child(1),
.fade-in.visible .why-card:nth-child(1),
.fade-in.visible .principle:nth-child(1) { animation-delay: 0s; }
.fade-in.visible .service-card:nth-child(2),
.fade-in.visible .param-card:nth-child(2),
.fade-in.visible .why-card:nth-child(2),
.fade-in.visible .principle:nth-child(2) { animation-delay: 0.08s; }
.fade-in.visible .service-card:nth-child(3),
.fade-in.visible .param-card:nth-child(3),
.fade-in.visible .why-card:nth-child(3),
.fade-in.visible .principle:nth-child(3) { animation-delay: 0.16s; }
.fade-in.visible .service-card:nth-child(4),
.fade-in.visible .why-card:nth-child(4) { animation-delay: 0.24s; }
.fade-in.visible .service-card:nth-child(5) { animation-delay: 0.32s; }
.fade-in.visible .service-card:nth-child(6) { animation-delay: 0.4s; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .fade-in { opacity: 1; transform: none; transition: none; }
    .fade-in.visible .service-card,
    .fade-in.visible .param-card,
    .fade-in.visible .why-card,
    .fade-in.visible .principle { animation: none; }
    html { scroll-behavior: auto; }
    .service-card, .principle, .model-card, .why-card { transition: none; }
}

/* ============================================
   RESPONSIVE — Apple-style breakpoints
   ============================================ */
@media (max-width: 1068px) {
    .about-grid, .focus-layout, .how-layout, .leadership-content, .faq-layout {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .params-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (max-width: 734px) {
    section { padding: var(--space-xl) 20px; }
    .nav-email { display: none; }
    nav .nav-inner { padding: 0 20px; height: 52px; }
    nav .logo .logo-fortis, nav .logo .logo-entry { font-size: 1.1rem; }
    nav .nav-links {
        display: none;
        position: absolute;
        top: 52px; left: 0; right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    }
    nav .nav-links.active { display: flex; }
    .nav-toggle { display: block; }
    .hero-content { padding: 100px 20px 60px; }
    .hero h1 { font-size: clamp(2.5rem, 10vw, 3.5rem); }
    .hero-sub { font-size: 1.125rem; }
    .hero-stats { flex-direction: column; gap: 24px; }
    .services-grid { grid-template-columns: 1fr; }
    .params-grid { grid-template-columns: 1fr; gap: 12px; }
    .why-grid { grid-template-columns: 1fr; }
    .contact-email { font-size: 1rem; padding: 12px 28px; }
    .section-title { font-size: clamp(1.8rem, 6vw, 2.5rem); }
    .faq-item summary { padding: 20px 0; }
    .faq-item p { padding-right: 0; }
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -40px; left: 0;
    background: var(--blue);
    color: #fff;
    padding: 8px 16px;
    z-index: 10000;
    font-size: 0.85rem;
    transition: top 0.3s;
}
.skip-link:focus { top: 0; }

        /* Focus indicators for accessibility (WCAG 2.1) */
        *:focus-visible {
            outline: 2px solid #0071E3;
            outline-offset: 2px;
        }
        a:focus-visible, button:focus-visible {
            outline: 2px solid #0071E3;
            outline-offset: 2px;
            border-radius: 4px;
        }
        .skip-link:focus {
            outline: 2px solid #0071E3;
        }

/* Contact Form Styles */
.contact-intro {
    font-size: 18px;
    color: #6e6e73;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 40px;
    text-align: center;
}
.contact-form {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}
.form-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
}
.form-input {
    background: #f5f5f7;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 16px;
    font-family: inherit;
    color: #1d1d1f;
    transition: border-color 0.2s, background 0.2s;
    width: 100%;
    -webkit-appearance: none;
}
.form-input::placeholder {
    color: #86868b;
}
.form-input:focus {
    outline: none;
    border-color: #0071E3;
    background: #ffffff;
}
.form-select {
    cursor: pointer;
    color: #86868b;
}
.form-select:focus,
.form-select:valid {
    color: #1d1d1f;
}
.form-textarea {
    resize: vertical;
    min-height: 100px;
}
.form-submit {
    background: #0071E3;
    color: #ffffff;
    border: none;
    border-radius: 980px;
    padding: 16px 40px;
    font-size: 17px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s;
    align-self: center;
    margin-top: 8px;
}
.form-submit:hover {
    background: #0062cc;
}
.contact-meta {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e5e5e7;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.contact-meta span {
    font-size: 14px;
    color: #86868b;
}
.contact-meta a {
    color: #0071E3;
    text-decoration: none;
}
.about-highlight-spaced {
    margin-bottom: 20px;
}
.section-label-accent {
    color: rgba(0,113,227,0.8);
}
.privacy-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.privacy-modal.is-open {
    display: flex;
}
.privacy-modal-panel {
    background: var(--white);
    max-width: 680px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 20px;
    padding: 48px;
    position: relative;
    color: var(--text-primary);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.privacy-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-tertiary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}
.privacy-modal-close:hover {
    color: var(--text-primary);
}
.privacy-modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}
.privacy-modal-date {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    margin-bottom: 16px;
}
.privacy-modal-heading {
    font-size: 1rem;
    font-weight: 600;
    margin: 24px 0 8px;
    color: var(--text-primary);
}
.privacy-modal-copy {
    font-size: 0.9375rem;
    line-height: 1.58;
    color: var(--text-secondary);
    margin-bottom: 12px;
}
.privacy-modal-link {
    color: var(--blue);
}
.form-success {
    text-align: center;
    padding: 40px 0;
}
.form-success h3 {
    color: #1d1d1f;
    margin-bottom: 12px;
}
.form-success p {
    color: #6e6e73;
    font-size: 17px;
}
.landing-page {
    background: var(--bg-primary);
}
.landing-hero {
    min-height: 620px;
    padding: 150px 24px 84px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.985), rgba(245,247,250,0.98)),
        url('/og-image.png') center / cover no-repeat;
}
.landing-hero-inner {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
}
.landing-brand-mark {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    margin-bottom: 28px;
    box-shadow: 0 12px 36px rgba(0,113,227,0.18);
}
.landing-kicker {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 18px;
}
.landing-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 7vw, 6.5rem);
    line-height: 0.96;
    font-weight: 600;
    max-width: 840px;
    margin-bottom: 28px;
}
.landing-hero p {
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    line-height: 1.48;
    color: var(--text-secondary);
    max-width: 760px;
}
.landing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}
.landing-primary-link,
.landing-secondary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 980px;
    font-size: 0.98rem;
    font-weight: 600;
    text-decoration: none;
}
.landing-primary-link {
    background: var(--blue);
    color: var(--white);
}
.landing-secondary-link {
    color: var(--text-primary);
    border: 1px solid rgba(29,29,31,0.18);
    background: rgba(255,255,255,0.74);
}
.landing-section {
    padding: 96px 24px;
}
.landing-section-inner {
    max-width: 1120px;
    margin: 0 auto;
}
.landing-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.05;
    margin-bottom: 18px;
}
.landing-section-lead {
    color: var(--text-secondary);
    font-size: 1.12rem;
    line-height: 1.65;
    max-width: 780px;
    margin-bottom: 44px;
}
.landing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.landing-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 28px;
}
.landing-card h3 {
    font-size: 1.12rem;
    margin-bottom: 12px;
}
.landing-card p,
.landing-card li {
    color: var(--text-secondary);
    line-height: 1.65;
}
.landing-card ul {
    padding-left: 18px;
}
.landing-band {
    background: #f5f5f7;
}
.landing-split {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 64px;
    align-items: start;
}
.landing-list {
    display: grid;
    gap: 18px;
}
.landing-list-item {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}
.landing-list-item h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}
.landing-list-item p {
    color: var(--text-secondary);
    line-height: 1.65;
}
.landing-contact-note {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 28px;
}
@media (max-width: 860px) {
    .landing-hero {
        min-height: 560px;
        padding-top: 124px;
    }
    .landing-grid,
    .landing-split {
        grid-template-columns: 1fr;
    }
    .landing-section {
        padding: 72px 20px;
    }
}
@media (max-width: 600px) {
    .contact-meta {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
}
