:root {
  --cream: #fff8eb;
  --cream-deep: #ffefd2;
  --surface: #ffffff;
  --navy: #26263c;
  --muted: #58586e;
  --orange: #f77816;
  --orange-deep: #c2570a;
  --teal: #2f7f86;
  --line: #ecd9b8;
  --shadow: 0 10px 30px rgba(38, 38, 60, 0.1);
  --radius: 20px;
  --maxw: 1080px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--orange-deep); text-underline-offset: 3px; }
a:hover { color: var(--navy); }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 20;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { top: 12px; }

.wrap { width: min(100% - 32px, var(--maxw)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 248, 235, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--navy); text-decoration: none; }
.brand img { width: 36px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 10px; border-radius: 10px; }
.site-nav a:hover { background: var(--cream-deep); }
.site-nav .nav-link { display: none; }
.lang-switch { display: inline-flex; border: 2px solid var(--navy); border-radius: 999px; overflow: hidden; margin-left: 6px; }
.lang-switch a, .lang-switch span { padding: 4px 12px; font-size: 14px; font-weight: 700; border-radius: 0; }
.lang-switch span { background: var(--navy); color: #fff; }
.lang-switch a:hover { background: var(--cream-deep); }

/* Sections */
section { padding: 72px 0; }
section + section { border-top: 1px solid var(--line); }
.eyebrow { margin: 0 0 8px; font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-deep); }
h1, h2, h3 { line-height: 1.2; margin: 0; }
h2 { font-size: clamp(28px, 4.4vw, 38px); margin-bottom: 20px; }
h3 { font-size: 20px; }
p { margin: 0 0 16px; }
.lede { font-size: clamp(18px, 2.4vw, 21px); color: var(--muted); max-width: 56ch; }

/* Hero */
#hero { padding-top: 48px; }
.hero-grid { display: grid; gap: 36px; align-items: center; }
.hero-photo { order: -1; justify-self: center; }
.hero-photo img {
  width: min(78vw, 360px); aspect-ratio: 1; object-fit: cover;
  border-radius: 50%; border: 8px solid var(--orange); box-shadow: var(--shadow); background: var(--surface);
}
h1 { font-size: clamp(36px, 7vw, 58px); letter-spacing: -0.02em; }
.role { margin: 6px 0 18px; font-size: clamp(20px, 3vw, 26px); font-weight: 700; color: var(--orange-deep); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.actions.center { justify-content: center; }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 700; text-decoration: none;
  border: 2px solid var(--navy); color: var(--navy); background: transparent;
}
.btn:hover { background: var(--cream-deep); color: var(--navy); }
.btn.primary { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn.primary:hover { background: var(--orange-deep); border-color: var(--orange-deep); color: #fff; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 48px 0 0; padding: 0; list-style: none; }
.stats li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 12px; text-align: center; }
.stats strong { display: block; font-size: clamp(22px, 4vw, 32px); color: var(--orange-deep); line-height: 1.1; }
.stats span { font-size: 14px; color: var(--muted); }
.stats-note { margin: 10px 0 0; font-size: 13px; color: var(--muted); text-align: center; }

/* About */
.prose { max-width: 66ch; }

/* Why */
.cards { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.cards li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 2px 0 var(--line); }
.cards h3 { margin-bottom: 6px; color: var(--teal); }
.cards p { margin: 0; color: var(--muted); }

/* Story */
#story { background: var(--cream-deep); }
.story-grid { display: grid; gap: 32px; align-items: center; }
.story-mascot { justify-self: center; }
.story-mascot img { width: min(60vw, 240px); }
.virtues { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 0; padding: 0; list-style: none; }
.virtues li { padding: 6px 16px; border-radius: 999px; background: var(--surface); border: 2px solid var(--line); font-weight: 700; }
.virtues li.key { background: var(--orange); border-color: var(--orange); color: #fff; }

/* Timeline */
.timeline { list-style: none; margin: 32px 0 0; padding: 0 0 0 26px; border-left: 3px solid var(--line); }
.timeline li { position: relative; padding: 0 0 30px 22px; }
.timeline li::before {
  content: ''; position: absolute; left: -37px; top: 6px; width: 18px; height: 18px;
  background: var(--surface); border: 4px solid var(--orange); border-radius: 50%;
}
.timeline time { display: inline-block; font-weight: 800; font-size: 14px; color: var(--orange-deep); background: var(--cream-deep); padding: 2px 12px; border-radius: 999px; }
.timeline h3 { margin: 8px 0 4px; }
.timeline p { margin: 0; color: var(--muted); max-width: 62ch; }
.timeline li.milestone::before { background: var(--orange); width: 24px; height: 24px; left: -40px; top: 4px; }
.timeline li.milestone h3 { font-size: 24px; }
.timeline li.milestone .card {
  background: var(--surface); border: 2px solid var(--orange); border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow);
}
.timeline li.milestone time { background: var(--orange); color: #fff; }

/* Contact */
#contact { text-align: center; }
#contact .lede { margin-inline: auto; }
.mail { font-size: clamp(22px, 4.6vw, 34px); font-weight: 800; word-break: break-all; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 15px; text-align: center; }

@media (min-width: 760px) {
  .hero-grid { grid-template-columns: 1.2fr 0.8fr; }
  .hero-photo { order: 0; }
  .site-nav .nav-link { display: inline-block; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: 0.4fr 1fr; }
}

@media (min-width: 1000px) {
  .cards { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
