﻿:root {
  --navy: #082b45;
  --blue: #075ea8;
  --teal: #087f8c;
  --gold: #d69e2e;
  --white: #ffffff;
  --off-white: #f6f9fb;
  --text: #17202a;
  --muted: #52606d;
  --border: #d8e1e8;
  --focus: #ffbf47;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; font-family: Inter, Arial, sans-serif; color: var(--text); background: var(--white); line-height: 1.7; }
a { color: var(--blue); text-underline-offset: 0.18em; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 4px solid var(--focus); outline-offset: 4px; }
.a11y-large-text { font-size: 112.5%; }
.a11y-wide-spacing { letter-spacing: 0.02em; word-spacing: 0.04em; }
.a11y-wide-spacing .hero-text,
.a11y-wide-spacing .intro,
.a11y-wide-spacing .page-lead,
.a11y-wide-spacing .lead,
.a11y-wide-spacing p,
.a11y-wide-spacing li { line-height: 1.9; }
.a11y-underline-links a { text-decoration: underline; text-decoration-thickness: 2px; }
.a11y-high-contrast { --navy: #000000; --blue: #000000; --teal: #000000; --gold: #000000; --text: #000000; --muted: #1a1a1a; --border: #000000; --focus: #000000; }
.a11y-high-contrast body { background: #ffffff; color: #000000; }
.a11y-high-contrast .hero { background: #000000; color: #ffffff; }
.a11y-high-contrast .button { background: #ffffff; color: #000000; border-color: #000000; }
.a11y-high-contrast .button.secondary { background: #000000; color: #ffffff; }
.a11y-high-contrast .card,
.a11y-high-contrast .statement,
.a11y-high-contrast .callout,
.a11y-high-contrast .skill { background: #ffffff; color: #000000; border-color: #000000; }
.a11y-reduce-motion *, .a11y-reduce-motion *::before, .a11y-reduce-motion *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
.accessibility-panel-wrap { position: sticky; top: 0; z-index: 130; background: rgba(248, 250, 252, 0.96); border-bottom: 1px solid var(--border); backdrop-filter: blur(10px); }
.accessibility-panel-trigger { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: var(--max); margin: 0 auto; padding: 0.6rem 1.25rem; }
.accessibility-panel-trigger .button { padding: 0.55rem 0.9rem; font-size: 0.95rem; }
.accessibility-panel { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem 1rem; display: none; }
.accessibility-panel[data-open="true"] { display: block; }
.accessibility-panel-inner { padding: 1rem; background: var(--white); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.accessibility-panel h2 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.accessibility-panel p { margin-top: 0; }
.accessibility-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin: 1rem 0; }
.accessibility-option { display: flex; align-items: center; gap: 0.65rem; padding: 0.75rem; border: 1px solid var(--border); border-radius: 10px; background: var(--off-white); }
.accessibility-option input { width: 1.1rem; height: 1.1rem; margin: 0; }
.accessibility-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
.accessibility-status { margin-top: 0.75rem; color: var(--muted); font-size: 0.95rem; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 9999; padding: 0.8rem 1rem; color: var(--white); background: var(--navy); border-radius: 0 0 6px 6px; font-weight: 800; }
.skip-link:focus { top: 0; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(8, 43, 69, 0.98); color: var(--white); border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.nav { max-width: var(--max); margin: auto; padding: 0.9rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { color: var(--white); text-decoration: none; font-weight: 800; white-space: nowrap; }
.nav ul { display: flex; flex-wrap: wrap; gap: 1.1rem; list-style: none; padding: 0; margin: 0; }
.nav a { color: var(--white); font-weight: 600; }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.2em; }
.hero { background: linear-gradient(135deg, var(--navy), #0b5ea8); color: var(--white); padding: 6rem 1.25rem; }
.hero-inner, .section-inner, .footer-inner, .page-inner { max-width: var(--max); margin: auto; }
.eyebrow { color: #ffe08a; font-size: 0.9rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
h1 { max-width: 900px; margin: 0.6rem 0 1.25rem; font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1.05; letter-spacing: -0.03em; }
.hero-text, .intro, .page-lead { max-width: 760px; font-size: clamp(1.05rem, 1.9vw, 1.2rem); }
.actions, .button-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.button { display: inline-block; padding: 0.85rem 1.2rem; border: 2px solid transparent; border-radius: 6px; background: var(--gold); color: #17202a; font-weight: 800; text-decoration: none; }
.button.secondary { background: var(--white); color: var(--navy); }
section { padding: 5rem 1.25rem; }
section:nth-of-type(even) { background: var(--off-white); }
h2 { margin: 0 0 1rem; color: var(--navy); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; }
h3 { margin-top: 0; color: var(--navy); }
.lead { max-width: 820px; font-size: 1.15rem; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card { padding: 1.5rem; background: var(--white); border: 1px solid var(--border); border-radius: 10px; }
.card p:last-child { margin-bottom: 0; }
.card figure { margin: 0; }
.gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--off-white);
}
.meta { color: var(--muted); font-size: 0.95rem; }
.work-link { display: inline-block; margin-top: 0.75rem; font-weight: 800; }
.profile { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.statement { padding: 1.25rem; border-left: 6px solid var(--gold); background: var(--white); }
.skills { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.skill { padding: 0.45rem 0.75rem; border: 2px solid var(--teal); border-radius: 999px; color: var(--teal); background: var(--white); font-weight: 700; }
.section-note { color: var(--muted); }
.section-note strong { color: var(--navy); }
.callout { border-left: 6px solid var(--gold); background: var(--white); padding: 1.25rem; margin-top: 2rem; }
.timeline { border-left: 5px solid var(--teal); padding-left: 1.5rem; margin-top: 2rem; }
.timeline article { margin-bottom: 2rem; }
.form-grid { display: grid; gap: 1rem; margin-top: 1.5rem; max-width: 720px; }
label { display: block; font-weight: 700; margin-bottom: 0.35rem; }
input, textarea { width: 100%; padding: 0.85rem 0.95rem; border: 1px solid var(--border); border-radius: 8px; font: inherit; color: var(--text); background: var(--white); }
textarea { min-height: 180px; resize: vertical; }
footer { padding: 3rem 1.25rem; background: var(--navy); color: var(--white); }
footer a { color: #ffe08a; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (max-width: 850px) { .nav { align-items: flex-start; flex-direction: column; gap: 0.75rem; } .grid, .grid.two, .profile { grid-template-columns: 1fr; } .hero { padding: 4.5rem 1.25rem; } }
@media (max-width: 700px) { .accessibility-options { grid-template-columns: 1fr; } .accessibility-panel-trigger { flex-direction: column; align-items: flex-start; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }


