/* ============================================================
   Westrock Asset Management — shared design system
   Palette and treatment derived from the Composite Overview deck:
   white content pages, a navy dark register, muted-slate serif
   headings, a gold rule signature, cream cards, teal as accent.
   ============================================================ */

:root {
    /* Surfaces */
    --cream: #ffffff;
    --cream-light: #f7f5f1;
    --cream-dark: #e6e0d4;
    --card: #f2efea;
    --card-border: rgba(31, 44, 52, 0.08);

    /* Ink */
    --slate: #41494d;
    --slate-light: #5a6468;
    --slate-dark: #2b3236;

    /* Dark register */
    --navy: #1f2c34;
    --navy-deep: #162127;

    /* Accents */
    --accent: #5e8488;
    --accent-dark: #4d6f73;
    --tan: #b8aa8d;
    --tan-light: #cbbfa3;

    --text-dark: #2a2a2a;
    --text-muted: #686762;

    --maxw: 1200px;
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--cream);
    color: var(--text-dark);
    line-height: 1.7;
    font-weight: 300;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 400;
    letter-spacing: 0.02em;
}
h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.12; }
h3 { font-size: 1.75rem; }
p { font-size: 1.25rem; color: var(--text-muted); }

a { color: var(--accent); }

.container { max-width: var(--maxw); margin: 0 auto; }
.container-narrow { max-width: 820px; margin: 0 auto; }

section { padding: 6rem 2rem; }

/* ---------- Eyebrow + gold rule signature ---------- */
.eyebrow {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 0.85rem;
}
.gold-rule { width: 64px; height: 2px; background: var(--tan); border: none; }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { color: var(--slate); }
.section-header .gold-rule { margin: 1.75rem auto 0; }

.block-header { margin-bottom: 2.5rem; }
.block-header h2 { color: var(--slate); }
.block-header .gold-rule { margin: 1.25rem 0 0; }

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
    position: fixed; top: 0; width: 100%; z-index: 1102;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(31, 44, 52, 0.08);
}
.nav-container {
    max-width: 1400px; margin: 0 auto; padding: 1.1rem 3rem;
    display: flex; justify-content: center; align-items: center;
}
.nav-logo { margin: 0 3.5rem; line-height: 0; }
.nav-logo img { height: 58px; width: auto; }
.nav-links { display: flex; gap: 2.75rem; align-items: center; flex: 1; }
.nav-links-left { justify-content: flex-end; }
.nav-links-right { justify-content: flex-start; }
.nav-links a {
    font-size: 0.875rem; color: var(--slate); text-decoration: none;
    font-weight: 400; letter-spacing: 0.04em; white-space: nowrap;
    position: relative; padding-bottom: 3px; transition: color 0.3s ease;
}
.nav-links a::after {
    content: ''; position: absolute; left: 0; bottom: 0; height: 1.5px;
    width: 0; background: var(--tan); transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--slate-dark); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1102; }
.hamburger span { width: 24px; height: 2px; background-color: var(--slate); transition: all 0.3s ease; }
/* When the menu is open, morph the hamburger into a close (×) so it stays tappable above the panel */
body:has(.mobile-menu.active) .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body:has(.mobile-menu.active) .hamburger span:nth-child(2) { opacity: 0; }
body:has(.mobile-menu.active) .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
    display: none; position: fixed; top: 0; right: -100%;
    width: 80%; max-width: 350px; height: 100vh; background-color: var(--cream);
    z-index: 1101; transition: right 0.35s ease; padding: 6rem 2rem 2rem;
    border-left: 1px solid rgba(31, 44, 52, 0.1);
}
.mobile-menu.active { right: 0; }
.mobile-menu a {
    display: block; padding: 1rem 0; color: var(--slate); text-decoration: none;
    font-size: 1.125rem; border-bottom: 1px solid rgba(31, 44, 52, 0.1);
}
.mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.35); z-index: 1100; }
.mobile-overlay.active { display: block; }

/* ============================================================
   HOME HERO
   ============================================================ */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    padding: 0 2rem 12rem; text-align: center; position: relative; overflow: hidden;
}
.hero-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero::before {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(22,33,39,0.6) 0%, rgba(31,44,52,0.36) 45%, rgba(22,33,39,0.72) 100%);
}
.hero-content { position: relative; z-index: 3; max-width: 900px; }
.hero h1 {
    color: #fff; font-size: clamp(4rem, 12vw, 11rem); line-height: 1.05; margin: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4), 0 4px 20px rgba(0,0,0,0.3);
}
.hero-divider {
    width: clamp(50px, 8vw, 100px); height: 1px; background: #fff; opacity: 0.6;
    margin: clamp(1rem,2vw,2rem) auto clamp(1.25rem,2.5vw,2.5rem); box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 2.2rem); color: #fff; letter-spacing: 0.2em;
    text-transform: uppercase; opacity: 0.85; font-weight: 400; margin: 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* Hero tagline glass box */
.hero-tagline-box {
    position: absolute; bottom: 12%; left: 0; z-index: 10;
    opacity: 0; transform: translateX(-100%); animation: slideInTagline 1s ease-out 1.3s forwards;
}
.tagline-frame {
    position: relative; display: flex; align-items: center; gap: 1.5rem;
    background: rgba(31,44,52,0.5); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    padding: 2.25rem 4rem 2.25rem 4.5rem; border-top-right-radius: 8px; border-bottom-right-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.22); border-left: none;
}
.corner-bracket { position: absolute; width: 16px; height: 16px; color: var(--tan-light); opacity: 0.7; }
.corner-bracket.top-left { top: 12px; left: 12px; }
.corner-bracket.top-right { top: 12px; right: 12px; }
.corner-bracket.bottom-left { bottom: 12px; left: 12px; }
.corner-bracket.bottom-right { bottom: 12px; right: 12px; }
.tagline-text { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 4vw, 3.5rem); color: #fff; letter-spacing: 0.05em; white-space: nowrap; }
.tagline-diamond { width: 34px; height: 34px; color: var(--tan-light); flex-shrink: 0; }
.tagline-diamond svg { width: 100%; height: 100%; }
@keyframes slideInTagline { to { opacity: 1; transform: translateX(0); } }
.scroll-cue {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 3;
    color: rgba(255,255,255,0.75); font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase;
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem; animation: floatCue 2.4s ease-in-out infinite;
}
.scroll-cue svg { width: 18px; height: 18px; }
@keyframes floatCue { 0%,100%{ transform: translate(-50%,0);} 50%{ transform: translate(-50%,6px);} }

/* ============================================================
   PAGE HERO (inner pages) — navy landing band
   ============================================================ */
.page-hero {
    position: relative; background: var(--navy); color: #fff; overflow: hidden;
    padding: 11rem 2rem 5rem; text-align: center;
}
.page-hero::after {
    content: ''; position: absolute; inset: 0; opacity: 0.5;
    background: radial-gradient(1200px 500px at 70% -10%, rgba(94,132,136,0.25), transparent 60%),
                radial-gradient(900px 500px at 10% 120%, rgba(22,33,39,0.6), transparent 55%);
    pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.page-hero .eyebrow { color: var(--tan-light); }
.page-hero h1 { font-size: clamp(3rem, 7vw, 5.5rem); color: #fff; line-height: 1.05; margin: 0; }
.page-hero p { color: rgba(255,255,255,0.78); font-size: 1.2rem; max-width: 60ch; margin: 1.5rem auto 0; }
.page-hero .gold-rule { margin: 1.5rem auto 0; }

/* ============================================================
   MISSION STATEMENT (home)
   ============================================================ */
.statement { background: var(--cream); text-align: center; }
.statement .container-narrow p {
    font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--slate); line-height: 1.6; margin-bottom: 1.75rem;
    font-weight: 300;
}
.statement .container-narrow p:last-child { margin-bottom: 0; }

/* ============================================================
   WHAT WE DO — three solution areas (home)
   ============================================================ */
.what-we-do-section { background: var(--cream); }
.what-we-do-section .section-header { margin-bottom: 2rem; }
.wwd-lead { text-align: center; max-width: 62ch; margin: 0 auto 3.5rem; font-size: 1.3rem; line-height: 1.6; color: var(--slate); font-weight: 300; }
.solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: var(--maxw); margin: 0 auto; }
.solution-card {
    background: var(--card); border: 1px solid var(--card-border); border-radius: 12px;
    padding: 2.75rem 2rem; text-align: center; display: flex; flex-direction: column; align-items: center;
    box-shadow: 0 10px 30px rgba(31,44,52,0.05), 0 2px 6px rgba(31,44,52,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.solution-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(31,44,52,0.12); }
.solution-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; margin-bottom: 1.6rem; }
.solution-icon svg { width: 34px; height: 34px; color: #fff; }
.solution-card h3 { font-size: 1.5rem; color: var(--slate); margin-bottom: 0.9rem; line-height: 1.2; }
.gold-rule-sm { width: 48px; height: 2px; background: var(--tan); border: none; margin: 0 0 1.2rem; }
.solution-card p { font-size: 1rem; color: var(--text-muted); line-height: 1.65; }
.wwd-tagline { text-align: center; max-width: 72ch; margin: 3.75rem auto 0; }
.wwd-tagline em { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.5rem; color: var(--accent); line-height: 1.5; }


/* ============================================================
   STAT BAND
   ============================================================ */
.stats { background: var(--cream-light); border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; max-width: var(--maxw); margin: 0 auto; }
.stat { text-align: center; padding: 0 1rem; position: relative; }
.stat:not(:last-child)::after {
    content: ''; position: absolute; right: -1rem; top: 50%; transform: translateY(-50%);
    width: 1px; height: 56px; background: var(--card-border);
}
.stat-number { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.8rem, 5vw, 4rem); color: var(--slate); font-weight: 500; line-height: 1; }
.stat-number .unit { color: var(--accent); }
.stat-label { font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-top: 0.85rem; }

/* ============================================================
   FEATURE BAND (home photographic divider)
   ============================================================ */
.feature-band {
    position: relative; height: 60vh; min-height: 420px; max-height: 620px;
    background: var(--navy-deep); overflow: hidden;
    display: flex; align-items: flex-end; padding: 0;
}
.feature-video {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center 28%; z-index: 0;
}
.feature-band::before {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(22,33,39,0.45) 0%, rgba(22,33,39,0.32) 40%, rgba(22,33,39,0.78) 100%);
}
.feature-band .feature-mark {
    position: relative; z-index: 2; width: 100%; max-width: var(--maxw);
    margin: 0 auto; padding: 0 2rem 3rem; display: flex; align-items: center; gap: 1.25rem;
}
.feature-band .feature-mark .gold-rule { width: 80px; }
.feature-band .feature-diamond { width: 34px; height: 34px; color: var(--tan-light); flex-shrink: 0; }
.feature-band .feature-diamond svg { width: 100%; height: 100%; }

.pillars { background: var(--cream); }
.pillars-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; max-width: var(--maxw); margin: 0 auto; }
.pillar {
    background: var(--card); border: 1px solid var(--card-border); border-radius: 12px;
    padding: 2.5rem; text-decoration: none; display: flex; flex-direction: column;
    box-shadow: 0 10px 30px rgba(31,44,52,0.05), 0 2px 6px rgba(31,44,52,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(31,44,52,0.12); }
.pillar-icon { width: 46px; height: 46px; color: var(--accent); margin-bottom: 1.5rem; }
.pillar-icon svg { width: 100%; height: 100%; }
.pillar-label { font-family: 'Inter', sans-serif; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.5rem; }
.pillar h3 { color: var(--slate); font-size: 1.6rem; line-height: 1.2; margin-bottom: 1rem; }
.pillar-cta { font-family: 'Inter', sans-serif; font-size: 0.875rem; letter-spacing: 0.04em; color: var(--accent); display: inline-flex; align-items: center; gap: 0.5rem; }
.pillar-cta svg { width: 16px; height: 16px; transition: transform 0.3s ease; }
.pillar:hover .pillar-cta svg { transform: translateX(4px); }

/* ============================================================
   ABOUT / WHO WE ARE
   ============================================================ */
.about-section { background: var(--cream); }
.about-top { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3.5rem; align-items: start; }
.about-text-left { align-self: stretch; display: flex; flex-direction: column; }
.about-text-left p { font-size: 1.2rem; }
.about-image img {
    width: 100%; height: auto; border-radius: 16px; object-fit: cover;
    box-shadow: 0 24px 60px rgba(31,44,52,0.16), 0 8px 25px rgba(0,0,0,0.08);
}
.about-divider { display: flex; align-items: center; justify-content: center; margin: auto 0; color: var(--slate); }
.about-divider svg { width: 180px; height: 40px; }
.diamond-hover { opacity: 0.5; transition: fill 0.3s ease, opacity 0.3s ease; }
.diamond-hover:hover { fill: var(--accent); opacity: 0.8; }
.about-image { margin-bottom: 3rem; }
.about-bottom { margin-top: 0; }
.about-bottom p { font-size: 1.2rem; max-width: 90ch; }

/* ---------- Story / timeline ---------- */
.story-section { background: var(--cream-light); }
.story-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.timeline { display: flex; flex-direction: column; gap: 2.5rem; max-width: 540px; }
.timeline-item { position: relative; padding-left: 2.25rem; }
.timeline-item::before {           /* vertical line strip */
    content: ''; position: absolute; left: 0; top: 0; bottom: 0;
    width: 2px; background: var(--accent);
}
.timeline-item::after {            /* node dot, capping the top and centered on the line */
    content: ''; position: absolute; top: 0; left: 1px;
    width: 11px; height: 11px; border-radius: 50%;
    background: var(--accent); transform: translateX(-50%);
}
.timeline-item h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--slate); margin-bottom: 0.5rem; }
.timeline-item p { font-size: 1.05rem; }
.story-video-container { display: flex; justify-content: center; align-items: center; position: relative; }
.circular-video {
    width: 416px; height: 416px; border-radius: 50%; overflow: hidden; position: relative; z-index: 2;
    box-shadow: 0 24px 60px rgba(31,44,52,0.22), 0 8px 25px rgba(0,0,0,0.1);
}
.circular-video video { width: 100%; height: 100%; object-fit: cover; }
.circular-video-ring { position: absolute; width: 468px; height: 468px; border-radius: 50%; border: 1px solid var(--accent); opacity: 0.3; z-index: 1; }
.circular-video-ring.ring-2 { width: 520px; height: 520px; opacity: 0.15; }
.story-lead { margin: 0 auto 4rem; }

/* ---------- Dated timeline (refined rail with diamond stations) ---------- */
.wr-timeline { display: grid; grid-template-columns: repeat(6, 1fr); max-width: var(--maxw); margin: 0 auto; }
.tl-col { display: grid; grid-template-rows: 1fr auto 1fr; position: relative; }
.tl-note { font-size: 0.875rem; line-height: 1.5; color: var(--slate-light); text-align: center; padding: 0 0.5rem; max-width: 13.5rem; margin-left: auto; margin-right: auto; }
.tl-above { align-self: end; margin-bottom: 2rem; position: relative; }
.tl-below { align-self: start; margin-top: 2rem; position: relative; }
/* connector hairline — runs from the note to the diamond's outer tip (mirror-identical above/below) */
.tl-has-above .tl-above::after { content: ''; position: absolute; left: 50%; bottom: calc(-2rem + 14px); transform: translateX(-50%); width: 1px; height: calc(2rem - 14px); background: var(--tan-light); }
.tl-has-below .tl-below::before { content: ''; position: absolute; left: 50%; top: calc(-2rem + 14px); transform: translateX(-50%); width: 1px; height: calc(2rem - 14px); background: var(--tan-light); }
/* diamond station — sits just outside the rail with its inner tip touching the rail edge */
.tl-has-above .tl-above::before { content: ''; position: absolute; left: 50%; bottom: calc(-2rem + 2px); width: 10px; height: 10px; background: var(--tan); transform: translateX(-50%) rotate(45deg); }
.tl-has-below .tl-below::after { content: ''; position: absolute; left: 50%; top: calc(-2rem + 2px); width: 10px; height: 10px; background: var(--tan); transform: translateX(-50%) rotate(45deg); }
/* the rail */
.tl-year {
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
    color: #fff; font-weight: 600; letter-spacing: 0.08em; text-align: center;
    padding: 1.05rem 0; font-size: 1.15rem; position: relative; z-index: 1;
    box-shadow: 0 16px 32px rgba(31,44,52,0.20);
}
.tl-col:first-child .tl-year { border-radius: 7px 0 0 7px; }
.tl-col:last-child .tl-year { border-radius: 0 7px 7px 0; }
.tl-col:last-child .tl-year { color: var(--tan-light); }

/* ============================================================
   PHILOSOPHY (navy) + values
   ============================================================ */
.philosophy-section { background: var(--cream); }
.philosophy-content { text-align: center; max-width: 900px; margin: 0 auto; }
.philosophy-content p { color: var(--slate); font-size: 1.45rem; line-height: 1.6; margin-bottom: 1.5rem; font-weight: 300; }
.philosophy-content p:last-child { margin-bottom: 0; }
.philosophy-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 4rem; }
.value-item { text-align: center; padding: 2rem 1.5rem; background: var(--card); border: 1px solid var(--card-border); border-radius: 12px; box-shadow: 0 10px 30px rgba(31,44,52,0.05), 0 2px 6px rgba(31,44,52,0.04); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.value-item:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(31,44,52,0.12); }
.value-icon { width: 56px; height: 56px; margin: 0 auto 1.1rem; color: var(--accent); }
.value-icon svg { width: 100%; height: 100%; }
.value-item h4 { color: var(--slate); font-size: 1.5rem; margin-bottom: 0.5rem; }
.value-item p { color: var(--text-muted); font-size: 1.05rem; }

/* ============================================================
   TECHNOLOGY
   ============================================================ */
.tech-section { background: var(--cream-light); }
.tech-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: center; }
.tech-content p { font-size: 1.2rem; margin-top: 1.5rem; }
.tech-visual { display: flex; justify-content: center; align-items: center; }
.tech-visual svg { width: 320px; height: 320px; color: var(--slate); }
.hex-hover { opacity: 0.3; transition: fill 0.3s ease, opacity 0.3s ease; }
.hex-hover:hover { fill: var(--accent); opacity: 0.6; }

/* ============================================================
   LEADERSHIP
   ============================================================ */
.leadership-section { background: var(--cream); }
.leadership-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }
.leader-card {
    flex: 0 1 calc(25% - 1.5rem); max-width: 280px;
    text-align: center; padding: 1.75rem 1.5rem; background: var(--card); border-radius: 12px;
    border: 1px solid var(--card-border); cursor: pointer;
    box-shadow: 0 10px 30px rgba(31,44,52,0.05), 0 2px 6px rgba(31,44,52,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.leader-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(31,44,52,0.12); }
.leader-card-image { width: 108px; height: 108px; border-radius: 50%; object-fit: cover; margin-bottom: 1.1rem; border: 3px solid var(--cream-dark); }
.leader-card h3 { font-size: 1.2rem; color: var(--slate); margin-bottom: 0.25rem; }
.leader-card > p { font-size: 0.8125rem; color: var(--text-muted); letter-spacing: 0.02em; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.contact-info h3 { color: var(--slate); margin-bottom: 1.5rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-item svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 4px; }
.contact-item span, .contact-item a { font-size: 1.05rem; color: var(--text-muted); text-decoration: none; transition: color 0.3s ease; }
.contact-item a:hover { color: var(--accent); }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 1rem; border: 1px solid rgba(31,44,52,0.18); border-radius: 8px;
    font-family: inherit; font-size: 1rem; background: var(--cream-light); color: var(--text-dark); transition: border-color 0.3s ease;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-form textarea { resize: vertical; min-height: 150px; }
.contact-form button {
    padding: 1rem 2rem; background: var(--accent); color: #fff; border: none; border-radius: 8px;
    font-family: inherit; font-size: 1rem; cursor: pointer; transition: background 0.3s ease; align-self: flex-start;
}
.contact-form button:hover { background: var(--accent-dark); }

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: var(--navy); color: rgba(255,255,255,0.85); padding: 4rem 2rem 2rem; }
.footer-content { max-width: var(--maxw); margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 1.1rem; filter: brightness(0) invert(1); opacity: 0.92; }
.footer-brand { max-width: 320px; }
.footer-tagline { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.35rem; color: var(--tan-light); margin-top: 0.25rem; }
.footer-nav { display: flex; gap: 3.5rem; flex-wrap: wrap; }
.footer-col h5 { font-family: 'Inter', sans-serif; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 0.9rem; font-weight: 500; }
.footer-col a { display: block; color: rgba(255,255,255,0.78); text-decoration: none; font-size: 0.9rem; margin-bottom: 0.55rem; transition: color 0.3s ease; }
.footer-col a:hover { color: #fff; }
.footer-address p { font-size: 0.875rem; color: rgba(255,255,255,0.6); line-height: 1.6; }
.footer-bottom { padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.8125rem; color: rgba(255,255,255,0.5); }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.8125rem; transition: color 0.3s ease; cursor: pointer; }
.footer-links a:hover { color: #fff; }
.footer-disclaimer { margin-top: 2rem; font-size: 0.75rem; color: rgba(255,255,255,0.4); line-height: 1.6; }

/* ============================================================
   MODALS (bio + policy)
   ============================================================ */
.modal { display: none; position: fixed; inset: 0; background: rgba(22,33,39,0.7); z-index: 2000; align-items: center; justify-content: center; padding: 2rem; }
.modal.active { display: flex; }
.modal-content { background: var(--cream); max-width: 600px; width: 100%; max-height: 80vh; padding: 3rem; border-radius: 12px; position: relative; overflow-y: auto; overscroll-behavior: contain; }
.modal-close { position: absolute; top: 1rem; right: 1.25rem; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--slate); line-height: 1; }
.modal-content h3 { color: var(--slate); margin-bottom: 0.25rem; }
.modal-title { color: var(--accent); font-size: 0.9375rem; letter-spacing: 0.04em; margin-bottom: 1.5rem; }
.modal-bio { color: var(--text-muted); font-size: 1rem; line-height: 1.7; }
.policy-modal .modal-content { max-width: 820px; max-height: 85vh; }
.policy-content h2 { color: var(--slate); margin-bottom: 0.5rem; font-size: 2rem; }
.policy-content h3 { color: var(--slate); margin-top: 2rem; margin-bottom: 0.75rem; font-size: 1.25rem; }
.policy-content p { margin-bottom: 1rem; font-size: 0.9375rem; line-height: 1.7; }
.policy-content ul { margin: 1rem 0 1rem 1.5rem; color: var(--text-muted); }
.policy-content li { margin-bottom: 0.5rem; font-size: 0.9375rem; line-height: 1.6; }
.policy-content strong { color: var(--text-dark); }

/* ============================================================
   MOTION + REVEAL
   ============================================================ */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .about-top, .tech-grid, .contact-grid, .story-content { grid-template-columns: 1fr; gap: 3rem; }
    .about-image, .story-video-container { order: -1; }
    .pillars-grid { grid-template-columns: 1fr 1fr; }
    .philosophy-values { grid-template-columns: 1fr; gap: 1rem; }
    .leadership-grid .leader-card { flex-basis: calc(50% - 1rem); }
    .tech-visual svg { width: 240px; height: 240px; }
    .circular-video { width: 360px; height: 360px; }
    .circular-video-ring { width: 408px; height: 408px; }
    .circular-video-ring.ring-2 { width: 460px; height: 460px; }
    .timeline { max-width: 100%; }
}
@media (max-width: 860px) {
    .wr-timeline { display: flex; flex-direction: column; max-width: 580px; margin: 0 auto; }
    .tl-col { display: flex; flex-direction: column; position: relative; padding: 0 0 2rem 1.85rem; }
    .tl-col::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--accent); }
    .tl-col:last-child { padding-bottom: 0; }
    .tl-col:last-child::before { bottom: auto; height: 1.7rem; }
    .tl-col::after { content: ''; position: absolute; top: 3px; left: 1px; transform: translateX(-50%) rotate(45deg); width: 10px; height: 10px; background: var(--tan); box-shadow: 0 0 0 3px var(--cream-light); }
    .tl-year { order: 0; background: none; box-shadow: none; color: var(--slate); padding: 0; text-align: left; font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 1.5rem; letter-spacing: 0.02em; line-height: 1; margin-bottom: 0.5rem; }
    .tl-col:last-child .tl-year { color: var(--accent-dark); }
    .tl-note { order: 1; text-align: left; padding: 0; font-size: 1rem; margin: 0; }
    .tl-note.tl-below { margin-top: 0.45rem; }
    .tl-above, .tl-below { align-self: auto; }
    .tl-above::before, .tl-above::after, .tl-below::before, .tl-below::after { display: none; }
    .tl-note:empty { display: none; }
}
/* Collapse the nav to a hamburger before the inline links get cramped (~769–900px) */
@media (max-width: 900px) {
    .nav-links-left, .nav-links-right { display: none; }
    .nav-logo { margin: 0; }
    .nav-container { justify-content: space-between; padding: 0.9rem 1.5rem; }
    .hamburger { display: flex; }
    .mobile-menu { display: block; }
}
@media (max-width: 768px) {
    section { padding: 4rem 1.5rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 1rem; }
    .stat:nth-child(2)::after { display: none; }
    .pillars-grid { grid-template-columns: 1fr; }
    .leadership-grid .leader-card { flex-basis: 100%; max-width: 340px; }
    .footer-top { flex-direction: column; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; }
    .page-hero { padding: 9rem 1.5rem 4rem; }
    .circular-video { width: 260px; height: 260px; }
    .circular-video-ring { width: 300px; height: 300px; }
    .circular-video-ring.ring-2 { width: 340px; height: 340px; }
    .tagline-frame { padding: 1.5rem 2rem; gap: 1rem; }
    .tagline-text { font-size: clamp(1.25rem, 5.4vw, 2rem); }
    .tagline-diamond { width: 26px; height: 26px; }
    .about-divider { justify-content: center; margin: 2.5rem 0; }
    .about-bottom { margin-top: 2.5rem; }
    .tech-visual { margin-top: 1rem; }
    .tech-visual svg { width: 200px; height: 200px; }
    .feature-band { background-attachment: scroll; height: 46vh; min-height: 300px; }
    .feature-band .feature-mark { padding: 0 1.5rem 2rem; }
    .value-item { padding: 1.75rem 1.5rem; }
    .solutions-grid { grid-template-columns: 1fr; }
    .wwd-lead { font-size: 1.15rem; }
    .wwd-tagline em { font-size: 1.3rem; }
    .story-lead { margin-bottom: 3rem; }
}
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Aliases for verbatim-imported blocks ---------- */
.section-badge {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 0.85rem;
}
.tech-content h2 { color: var(--slate); white-space: nowrap; }
.tech-content h2::after { content: ''; display: block; width: 64px; height: 2px; background: var(--tan); margin: 1.25rem 0 1.5rem; }
@media (max-width: 768px) { .tech-content h2 { white-space: normal; } }

/* Home mission statement */
.statement .what-we-do-content { width: 100%; }
.statement .what-we-do-content p {
    font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--slate); line-height: 1.6;
    text-align: center; max-width: 70ch; margin: 0 auto 1.75rem; font-weight: 300;
}
.statement .what-we-do-content p:last-child { margin-bottom: 0; }

/* ============================================================
   UNIFIED CARD HOVER — every card lifts identically, no outline.
   Scoped through the grid parent (specificity 0,3,0) so it outranks
   .js .reveal.in, which otherwise pins transform on reveal-animated
   cards (solution cards, pillars) and cancels their lift.
   ============================================================ */
.solutions-grid .solution-card:hover,
.philosophy-values .value-item:hover,
.pillars-grid .pillar:hover,
.leadership-grid .leader-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(31,44,52,0.12);
}
