/* ============================================
   PGNEDEAU P.C. — 3D Tech-Forward Redesign
   ============================================ */

:root {
    /* Core palette — evolved from original dark green + cream */
    --color-bg: #0a0f0a;
    --color-bg-elevated: #111a11;
    --color-bg-card: rgba(18, 30, 18, 0.7);
    --color-surface: #162016;
    --color-border: rgba(34, 80, 34, 0.25);
    --color-border-hover: rgba(50, 120, 50, 0.4);

    --color-green-primary: #2ecc71;
    --color-green-light: #4ade80;
    --color-green-muted: #1a6b3a;
    --color-green-dark: #0d3d1f;
    --color-green-glow: rgba(46, 204, 113, 0.15);

    --color-text-primary: #e8f0e8;
    --color-text-secondary: #9ab89a;
    --color-text-muted: #5a7a5a;

    --color-accent: #2ecc71;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-logo: 'Raleway', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2.5rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.2s var(--ease-out);
    --transition-med: 0.4s var(--ease-out);
    --transition-slow: 0.8s var(--ease-out);
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background: var(--color-bg);
    color: var(--color-text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-green-light);
}

img {
    max-width: 100%;
    display: block;
}

/* ---- Ambient Background ---- */
.bg-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(46, 204, 113, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(46, 204, 113, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* Full-page circuit board background */
.bg-pcb {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.9;
}

.bg-pcb svg {
    width: 100%;
    height: 100%;
}

/* Background PCB pulse animations — fast & pronounced */
.bg-pcb-pulse { opacity: 0; }
.bg-pcb-pulse--h1 { animation: bgPcbH 4s linear infinite; }
.bg-pcb-pulse--h2 { animation: bgPcbH 5s linear infinite 1s; }
.bg-pcb-pulse--h3 { animation: bgPcbH 4.5s linear infinite 2.5s; }
.bg-pcb-pulse--h4 { animation: bgPcbH 5.5s linear infinite 3.5s; }
.bg-pcb-pulse--v1 { animation: bgPcbV 4s linear infinite 0.5s; }
.bg-pcb-pulse--v2 { animation: bgPcbV 5s linear infinite 2s; }
.bg-pcb-pulse--v3 { animation: bgPcbV 4.5s linear infinite 3s; }

@keyframes bgPcbH {
    0%   { opacity: 0; transform: translateX(0); }
    2%   { opacity: 1; }
    80%  { opacity: 0.8; }
    100% { opacity: 0; transform: translateX(1920px); }
}

@keyframes bgPcbV {
    0%   { opacity: 0; transform: translateY(0); }
    2%   { opacity: 1; }
    80%  { opacity: 0.8; }
    100% { opacity: 0; transform: translateY(1080px); }
}

.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

.bg-glow--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(46, 204, 113, 0.08), transparent 70%);
    top: -200px;
    right: -100px;
    animation: glowFloat 20s ease-in-out infinite;
}

.bg-glow--2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(46, 204, 113, 0.05), transparent 70%);
    bottom: -150px;
    left: -100px;
    animation: glowFloat 25s ease-in-out infinite reverse;
}

@keyframes glowFloat {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(30px, -20px); }
    66% { transform: translate(-20px, 30px); }
}

/* ---- Navigation ---- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) var(--space-xl);
    background: rgba(14, 32, 18, 0.85);
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    border-bottom: 1px solid rgba(46, 204, 113, 0.15);
    transition: background var(--transition-med), box-shadow var(--transition-med);
}

.nav--scrolled {
    background: rgba(12, 28, 16, 0.93);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35), 0 1px 0 rgba(46, 204, 113, 0.1);
}

.nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    font-family: var(--font-logo);
    font-weight: 300;
    font-size: 1.15rem;
    color: var(--color-text-primary);
    letter-spacing: 0.35em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color var(--transition-fast);
}

.nav__logo:hover {
    color: var(--color-accent);
}

.nav__links {
    display: flex;
    gap: var(--space-xl);
}

.nav__link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    text-decoration: none;
    position: relative;
    padding: var(--space-xs) 0;
    transition: color var(--transition-fast);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    border-radius: 1px;
    transition: width var(--transition-med);
}

.nav__link:hover,
.nav__link--active {
    color: var(--color-text-primary);
}

.nav__link:hover::after,
.nav__link--active::after {
    width: 100%;
}

.nav__mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav__mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    border-radius: 2px;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* ---- Hero Section ---- */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(80px + var(--space-3xl)) var(--space-xl) var(--space-3xl);
    max-width: 1200px;
    margin: 0 auto;
    gap: var(--space-3xl);
}

.hero__content {
    flex: 1;
    max-width: 680px;
}

.hero__badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.2);
    padding: var(--space-xs) var(--space-md);
    border-radius: 100px;
    margin-bottom: var(--space-lg);
}

.hero__title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text-primary);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

.hero__subtitle {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
    max-width: 580px;
}

.hero__cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-bg);
    background: var(--color-accent);
    border-radius: 8px;
    text-decoration: none;
    transition: all var(--transition-fast);
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.3), 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero__cta:hover {
    color: var(--color-bg);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(46, 204, 113, 0.4), 0 8px 20px rgba(0, 0, 0, 0.3);
}

.hero__cta svg {
    transition: transform var(--transition-fast);
}

.hero__cta:hover svg {
    transform: translateX(4px);
}

/* 3D SF Skyline Scene */
.hero__visual {
    flex-shrink: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 580px;
    height: 460px;
    position: relative;
    perspective: 1000px;
    overflow: hidden;
    cursor: crosshair;
}

.skyline {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out;
}

/* Parallax depth layers */
.skyline__layer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    transition: transform 0.2s ease-out;
}

.skyline__layer--back {
    z-index: 1;
    opacity: 0.35;
}

.skyline__layer--mid {
    z-index: 2;
    opacity: 0.65;
}

.skyline__layer--front {
    z-index: 3;
    opacity: 1;
}

/* Building styles */
.skyline__layer svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Steam/mist wisps — SF fog effect */
.skyline__steam {
    position: absolute;
    z-index: 5;
    pointer-events: none;
}

.skyline__steam-wisp {
    position: absolute;
    width: 140px;
    height: 35px;
    background: radial-gradient(ellipse, rgba(46, 204, 113, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(10px);
}

.skyline__steam-wisp--1 {
    bottom: 120px;
    left: 60px;
    animation: fogDrift 10s ease-in-out infinite;
}

.skyline__steam-wisp--2 {
    bottom: 160px;
    right: 80px;
    animation: fogDrift 13s ease-in-out infinite 3s;
    width: 100px;
}

.skyline__steam-wisp--3 {
    bottom: 200px;
    left: 180px;
    animation: fogDrift 15s ease-in-out infinite 6s;
    width: 120px;
}

@keyframes fogDrift {
    0%, 100% { transform: translateX(0) scaleX(1); opacity: 0; }
    15%      { opacity: 0.5; }
    50%      { transform: translateX(30px) scaleX(1.4); opacity: 0.25; }
    100%     { transform: translateX(60px) scaleX(1.8); opacity: 0; }
}

/* ===== Circuit Board Background ===== */
.skyline__pcb {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.85;
}

.skyline__pcb svg {
    width: 100%;
    height: 100%;
}

/* PCB data pulses traveling along traces */
.pcb-pulse {
    opacity: 0;
}

.pcb-pulse--1 {
    animation: pcbTraceH 3s linear infinite;
}

.pcb-pulse--2 {
    animation: pcbTraceH 3.5s linear infinite 1s;
}

.pcb-pulse--3 {
    animation: pcbTraceV 3s linear infinite 0.5s;
}

.pcb-pulse--4 {
    animation: pcbTraceH 4s linear infinite 2s;
}

.pcb-pulse--5 {
    animation: pcbTraceH 3.5s linear infinite 1.5s;
}

@keyframes pcbTraceH {
    0%   { opacity: 0; transform: translateX(0); }
    3%   { opacity: 1; }
    85%  { opacity: 0.8; }
    100% { opacity: 0; transform: translateX(600px); }
}

@keyframes pcbTraceV {
    0%   { opacity: 0; transform: translateY(0); }
    3%   { opacity: 1; }
    85%  { opacity: 0.8; }
    100% { opacity: 0; transform: translateY(460px); }
}

/* Circuit traces overlaid on buildings */
.skyline__circuits {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
}

.skyline__circuits svg {
    width: 100%;
    height: 100%;
}

/* Pulsing data nodes on circuit lines */
.circuit-node {
    animation: nodePulse 3s ease-in-out infinite;
}

.circuit-node:nth-child(2) { animation-delay: 1s; }
.circuit-node:nth-child(3) { animation-delay: 2s; }
.circuit-node:nth-child(4) { animation-delay: 0.5s; }
.circuit-node:nth-child(5) { animation-delay: 1.5s; }

@keyframes nodePulse {
    0%, 100% { opacity: 0.3; r: 2; }
    50%      { opacity: 1; r: 4; }
}

/* Bay reflection / water */
.skyline__reflection {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to bottom,
        rgba(46, 204, 113, 0.05) 0%,
        rgba(46, 204, 113, 0.02) 40%,
        transparent 100%);
    z-index: 6;
    border-top: 1px solid rgba(46, 204, 113, 0.08);
}

/* Ambient glow behind skyline */
.skyline__glow {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 450px;
    height: 220px;
    background: radial-gradient(ellipse, rgba(46, 204, 113, 0.1) 0%, transparent 60%);
    z-index: 0;
    filter: blur(50px);
}

/* AI Company Hotspots */
.skyline__hotspots {
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;
}

.hotspot {
    position: absolute;
    pointer-events: auto;
    cursor: default;
}

.hotspot__zone {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    border-radius: 4px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.hotspot:hover .hotspot__zone {
    background: rgba(46, 204, 113, 0.06);
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.08);
}

.hotspot__label {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translateX(-50%) translateY(6px) scale(0.8);
    width: 38px;
    height: 38px;
    color: var(--color-accent);
    background: rgba(10, 15, 10, 0.92);
    border: 1px solid rgba(46, 204, 113, 0.3);
    border-radius: 10px;
    padding: 5px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(46, 204, 113, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hotspot__label svg {
    width: 100%;
    height: 100%;
}

.hotspot__label::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(46, 204, 113, 0.3);
}

.hotspot:hover .hotspot__label {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
}

.hotspot__ping {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    margin: -3px 0 0 -3px;
    background: var(--color-accent);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hotspot__ping::before {
    content: '';
    position: absolute;
    inset: -4px;
    border: 1px solid var(--color-accent);
    border-radius: 50%;
    animation: pingRipple 2s ease-out infinite;
    opacity: 0;
}

.hotspot.hotspot--visible .hotspot__ping {
    opacity: 0.6;
}

.hotspot.hotspot--visible .hotspot__ping::before {
    opacity: 1;
}

.hotspot:hover .hotspot__ping {
    opacity: 1;
}

@keyframes pingRipple {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(3); opacity: 0; }
}

/* Full-skyline Matrix rain overlay (triggered after 5s hover) */
.skyline__matrix-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 8;
    opacity: 0;
    transition: opacity 1.45s ease;
    border-radius: 4px;
}

.skyline__matrix-overlay--active {
    opacity: 1;
}

/* ---- Section Base ---- */
.section {
    position: relative;
    z-index: 1;
    padding: var(--space-3xl) var(--space-xl);
    max-width: 1200px;
    margin: 0 auto;
}

.section__header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section__label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
}

.section__title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--color-text-primary);
    letter-spacing: -0.02em;
}

/* ---- Cards Grid ---- */
.focus-areas__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--space-lg);
}

.card {
    position: relative;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: var(--space-xl);
    transition: all var(--transition-med);
    overflow: hidden;
}

/* 3D card depth effect */
.card--3d {
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateX(0) rotateY(0);
    transition: transform var(--transition-med), border-color var(--transition-med), box-shadow var(--transition-med);
}

.card--3d::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-med);
    pointer-events: none;
}

.card--3d:hover {
    border-color: var(--color-border-hover);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(46, 204, 113, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.card--3d:hover::before {
    opacity: 1;
}

.card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(46, 204, 113, 0.08);
    border: 1px solid rgba(46, 204, 113, 0.15);
    color: var(--color-accent);
    margin-bottom: var(--space-lg);
}

.card__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.01em;
}

.card__text {
    font-size: 0.92rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ---- Closing Section ---- */
.closing {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-3xl);
}

.closing__card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: var(--space-2xl) var(--space-2xl);
    position: relative;
    overflow: hidden;
}

.closing__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.closing__text {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
    max-width: 800px;
    line-height: 1.8;
}

.closing__cta {
    margin-top: var(--space-xl);
}

.closing__link {
    font-size: 1.1rem;
    color: var(--color-text-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.closing__link strong {
    color: var(--color-accent);
}

.closing__link:hover {
    color: var(--color-accent);
}

/* ---- About Page ---- */
.about-hero {
    position: relative;
    z-index: 1;
    padding: calc(80px + var(--space-3xl)) var(--space-xl) var(--space-2xl);
    max-width: 1200px;
    margin: 0 auto;
}

.about-hero__label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

.about-hero__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-text-primary);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

.about-hero__subtitle {
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    max-width: 600px;
}

/* Bio Layout */
.about-bio {
    padding-top: 0;
}

.about-bio__layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.about-bio__photo-wrapper {
    position: relative;
}

.about-bio__photo-frame {
    position: relative;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--color-border-hover);
    box-shadow: 0 0 40px rgba(46, 204, 113, 0.1);
    z-index: 1;
}

.about-bio__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-bio__photo-glow {
    position: absolute;
    width: 260px;
    height: 260px;
    top: -20px;
    left: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46, 204, 113, 0.12), transparent 70%);
    filter: blur(20px);
    z-index: 0;
}

.about-bio__text p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.about-bio__contact a {
    color: var(--color-accent);
    font-weight: 500;
}

/* Logos Section */
.logos {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-3xl);
}

.logos__header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.logos__grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-2xl);
}

.logos__item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 110px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    transition: all var(--transition-med);
}

.logos__item.reveal--visible:hover {
    border-color: var(--color-border-hover);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-4px) !important;
}

.logos__img {
    max-height: 60px;
    max-width: 150px;
    object-fit: contain;
    opacity: 0.85;
    transition: all var(--transition-med);
}

.logos__item:hover .logos__img {
    opacity: 1;
}

/* ---- Contact Page ---- */
.contact-hero {
    position: relative;
    z-index: 1;
    padding: calc(80px + var(--space-3xl)) var(--space-xl) var(--space-xl);
    max-width: 1200px;
    margin: 0 auto;
}

.contact-hero__label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

.contact-hero__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-text-primary);
    letter-spacing: -0.02em;
}

.contact-body {
    padding-top: var(--space-xl);
}

.contact-card {
    position: relative;
    max-width: 700px;
}

.contact-card__inner {
    position: relative;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: var(--space-2xl);
    z-index: 1;
}

.contact-card__glow {
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.15), transparent 50%, rgba(46, 204, 113, 0.05));
    z-index: 0;
    filter: blur(20px);
    opacity: 0.5;
}

.contact-card__icon {
    color: var(--color-accent);
    margin-bottom: var(--space-lg);
}

.contact-card__text {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.contact-card__email {
    display: inline-block;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: var(--space-lg);
    transition: all var(--transition-fast);
}

.contact-card__email:hover {
    color: var(--color-green-light);
    text-shadow: 0 0 20px rgba(46, 204, 113, 0.3);
}

.contact-card__divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), transparent);
    margin-bottom: var(--space-lg);
    border-radius: 1px;
}

.contact-card__detail {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* ---- Footer ---- */
.footer {
    position: relative;
    z-index: 1;
    padding: var(--space-xl);
    border-top: 1px solid var(--color-border);
    margin-top: var(--space-2xl);
}

.footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.footer__logo {
    font-family: var(--font-logo);
    font-weight: 300;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    letter-spacing: 0.35em;
    text-transform: uppercase;
}

.footer__divider {
    width: 1px;
    height: 16px;
    background: var(--color-border);
}

.footer__copy {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* ---- Scroll reveal animations ---- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
    will-change: opacity, transform;
}

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

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: var(--space-2xl);
    }

    .hero__content {
        max-width: 100%;
    }

    .hero__subtitle {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    :root {
        --space-xl: 1.5rem;
        --space-2xl: 2.5rem;
        --space-3xl: 3.5rem;
    }

    .nav__links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(10, 15, 10, 0.97);
        backdrop-filter: blur(20px);
        padding: var(--space-lg);
        gap: var(--space-md);
        border-bottom: 1px solid var(--color-border);
    }

    .nav__links--open {
        display: flex;
    }

    .nav__mobile-toggle {
        display: flex;
    }

    .hero__visual {
        width: 100%;
        height: 280px;
    }

    .focus-areas__grid {
        grid-template-columns: 1fr;
    }

    .about-bio__layout {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .logos__grid {
        gap: var(--space-lg);
    }

    .logos__item {
        width: 140px;
        height: 80px;
    }

    .footer__inner {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }

    .footer__divider {
        display: none;
    }
}
