/* ---------------------------------------------
   Tokens
--------------------------------------------- */
:root {
  --color-bg: #F1F3EE;
  --color-bg-alt: #E7EBE3;
  --color-navy: #10263B;
  --color-ink: #16241D;
  --color-teal: #2F6F63;
  --color-teal-dark: #234F46;
  --color-brass: #B98432;
  --color-line: #D7DCD1;
  --color-paper: #FBFBF8;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-ink);
  line-height: 1.6;
}

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

.wrap {
  max-width: var(--wrap-width);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--color-navy);
  margin: 0 0 0.5em;
  line-height: 1.15;
  font-weight: 500;
}

h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; max-width: 62ch; }

a { color: inherit; }

ul { list-style: none; margin: 0; padding: 0; }

/* ---------------------------------------------
   Header
--------------------------------------------- */
.site-header {
  background: var(--color-paper);
  border-bottom: 1px solid var(--color-line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-navy);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-ink);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  border-bottom-color: var(--color-teal);
}

/* ---------------------------------------------
   Hero
--------------------------------------------- */
.hero {
  background: var(--color-paper);
  padding: 64px 0 72px;
}

.split-container {
  display: flex;
  align-items: center;
  gap: 56px;
}

.text-side,
.image-side {
  flex: 1;
  min-width: 0;
}

.eyebrow-line {
  color: var(--color-teal-dark);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.lede {
  font-size: 1.05rem;
  color: #3A473F;
}

.cta-row {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--color-teal);
  color: #fff;
}

.btn-primary:hover { background: var(--color-teal-dark); }

.btn-ghost {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}

.btn-ghost:hover {
  background: var(--color-navy);
  color: #fff;
}

.btn-small { padding: 9px 16px; font-size: 0.85rem; }

.image-side img {
  width: 100%;
  border-radius: 6px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
}

/* ---------------------------------------------
   About
--------------------------------------------- */
.about {
  padding: 72px 0;
}

.about-grid {
  display: flex;
  gap: 56px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.about-copy { flex: 2; min-width: 280px; }

.stat-list {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0;
}

.stat {
  border-left: 3px solid var(--color-teal);
  padding-left: 18px;
}

.stat dt {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--color-navy);
}

.stat dd {
  margin: 4px 0 0;
  font-size: 0.92rem;
  color: #52604F;
}

/* ---------------------------------------------
   Focus areas
--------------------------------------------- */
.focus {
  background: var(--color-bg-alt);
  padding: 72px 0;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.focus-card {
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: 6px;
  padding: 28px;
}

.focus-card p { margin-bottom: 0; }

/* ---------------------------------------------
   Life outside / carousel
--------------------------------------------- */
.life-outside {
  padding: 72px 0 80px;
}

.section-sub {
  color: #52604F;
  margin-top: -8px;
}

.carousel-wrap {
  max-width: 640px;
  margin: 32px auto 0;
}

.carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  border-radius: 10px;
  scrollbar-width: none;
  box-shadow: 0 8px 24px rgba(16, 38, 59, 0.12);
}

.carousel::-webkit-scrollbar { display: none; }

.slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  position: relative;
}

.slide img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* Arrows */
.arrows {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}

.arrow-btn {
  background: var(--color-navy);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 0.9rem;
  font-family: var(--font-body);
}

.arrow-btn:hover { background: var(--color-teal-dark); }

.arrow-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

/* Dots */
.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #C7CDBF;
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background 0.2s;
}

.dot.active { background: var(--color-teal); }

/* ---------------------------------------------
   Footer
--------------------------------------------- */
.site-footer {
  background: var(--color-navy);
  color: #E7EBE3;
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer p { margin: 0; font-size: 0.88rem; }

.site-footer .btn-ghost {
  color: #fff;
  border-color: #fff;
}

.site-footer .btn-ghost:hover {
  background: #fff;
  color: var(--color-navy);
}

/* ---------------------------------------------
   Generic inner-page hero
--------------------------------------------- */
.page-hero {
  background: var(--color-paper);
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--color-line);
}

.page-hero .lede { margin-top: 12px; }

/* ---------------------------------------------
   CV page
--------------------------------------------- */
.cv-section { padding: 56px 0 80px; }

.cv-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  align-items: start;
}

.cv-side h3 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-teal-dark);
  margin: 28px 0 10px;
}

.cv-side h3:first-child { margin-top: 0; }

.cv-list {
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  color: #3A473F;
}

.cv-list li {
  padding: 6px 0;
  border-bottom: 1px solid var(--color-line);
}

.cv-list li:last-child { border-bottom: none; }

.cv-list em { color: #8A9187; font-style: italic; }

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.tag-list li {
  background: var(--color-bg-alt);
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 0.82rem;
  color: var(--color-navy);
}

.cv-block { margin-bottom: 40px; }

.cv-block h2 {
  border-bottom: 2px solid var(--color-teal);
  padding-bottom: 8px;
  margin-bottom: 20px;
}

.cv-entry { margin-bottom: 24px; }

.cv-entry-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.cv-entry-head h3 { margin: 0; color: var(--color-ink); }

.cv-dates {
  font-size: 0.85rem;
  color: #7A857A;
  white-space: nowrap;
}

.cv-org {
  font-weight: 600;
  color: var(--color-teal-dark);
  margin: 2px 0 8px;
}

.cv-note {
  font-size: 0.85rem;
  color: #7A857A;
  font-style: italic;
  border-left: 3px solid var(--color-line);
  padding-left: 12px;
}

/* ---------------------------------------------
   About story page
--------------------------------------------- */
.about-story { padding: 56px 0; }

.story-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}

.story-photos {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.story-photos img {
  border-radius: 6px;
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.values {
  background: var(--color-bg-alt);
  padding: 64px 0 72px;
}

/* ---------------------------------------------
   Contact page
--------------------------------------------- */
.contact-section { padding: 56px 0 80px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}

.contact-card {
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: 6px;
  padding: 28px;
}

.contact-card h3 { margin-top: 0; }

.contact-card a { color: var(--color-teal-dark); font-weight: 600; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form h3 { margin-bottom: 8px; }

.contact-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-top: 12px;
}

.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 10px 12px;
  border: 1px solid var(--color-line);
  border-radius: 4px;
  background: var(--color-paper);
  color: var(--color-ink);
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--color-teal);
  outline-offset: 1px;
}

.contact-form button {
  margin-top: 16px;
  align-self: flex-start;
  border: none;
  cursor: pointer;
}

.form-note {
  font-size: 0.82rem;
  color: #7A857A;
  margin-top: 12px;
}

.form-note code {
  background: var(--color-bg-alt);
  padding: 1px 5px;
  border-radius: 3px;
}

/* ---------------------------------------------
   Responsive
--------------------------------------------- */
@media (max-width: 800px) {
  .split-container { flex-direction: column-reverse; }
  .focus-grid { grid-template-columns: 1fr; }
  .about-grid { flex-direction: column; }
  .cv-grid { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .arrow-btn, .dot, .btn { transition: none; }
}
