/* ============================================
   2026 editorial — design tokens
   ============================================ */
:root {
  --page-bg: #eef2f1;
  --paper: #f6f9f8;
  --ink: #1f2e2e;
  --ink-soft: #3c4d4d;
  --text: #2a3838;
  --muted: #5e716f;
  --muted-light: #84938f;
  --line: #cdd9d6;
  --line-strong: #b3c4c0;

  --accent: #0c8da5;
  --accent-deep: #0a6577;
  --moss: #4f7d8a;
  --moss-deep: #355a64;

  --maxw: 880px;
  --container-px: 1.5rem;
  --header-height: 64px;

  --radius: 2px;
  --font-voice: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Consolas, monospace;
  --lh: 1.65;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  font: 16px/var(--lh) var(--font-sans);
  color: var(--text);
  background: var(--page-bg);
}

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

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

a:hover { text-decoration: underline; text-decoration-color: var(--line-strong); }

.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
}

/* ============================================
   Section rhythm
   ============================================ */
.section {
  padding: 4.5rem 0;
  position: relative;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.13em;
  color: var(--muted);
  text-transform: uppercase;
  margin: 0 0 0.7rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

h1, h2, h3 {
  font-family: var(--font-voice);
  font-optical-sizing: auto;
  font-weight: 540;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.7rem, 1.35rem + 1.5vw, 2.3rem);
  margin-bottom: 1.7rem;
  line-height: 1.12;
}

p { margin: 0 0 1rem; }

/* ============================================
   Header
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(238, 242, 241, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
  gap: 1.5rem;
}

.logo-group {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
}

.header-linkedin-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  background: transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  flex-shrink: 0;
  padding: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  text-decoration: none;
  box-sizing: border-box;
}

.header-linkedin-circle:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  text-decoration: none;
}

.logo-cat {
  width: 22px;
  height: 22px;
  color: var(--accent-deep);
  flex-shrink: 0;
}

.brand {
  font-family: var(--font-voice);
  font-weight: 540;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.menu {
  list-style: none;
  display: flex;
  gap: 1.8rem;
  margin: 0;
  padding: 0;
}

.menu a {
  color: var(--ink-soft);
  font-size: 14px;
  letter-spacing: 0.01em;
  position: relative;
}

.menu a:hover {
  text-decoration: none;
  color: var(--accent-deep);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--ink);
}

@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; }
  .menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.5rem;
    gap: 0.9rem;
    display: none;
  }
  .site-header.menu-open .menu { display: flex; }
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  background-image: url('hero-teal.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.shooting-star {
  position: absolute;
  top: 10%;
  left: 18%;
  width: 2px;
  height: 2px;
  background: #ffffff;
  border-radius: 50%;
  filter: drop-shadow(0 0 4px rgba(255,255,255,0.9)) drop-shadow(0 0 9px rgba(200,225,255,0.5));
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  transform: rotate(34deg);
  animation: shooting-star-fly 13s linear infinite;
}

.shooting-star::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(to left, rgba(255,255,255,0.95), rgba(255,255,255,0.25) 55%, rgba(255,255,255,0));
  transform: translateY(-50%);
  animation: shooting-star-tail 13s linear infinite;
}

@keyframes shooting-star-fly {
  0%, 4% {
    opacity: 0;
    transform: rotate(34deg) translateX(0);
  }
  5% {
    opacity: 1;
  }
  13% {
    opacity: 1;
  }
  15% {
    opacity: 0;
    transform: rotate(34deg) translateX(46vw);
  }
  100% {
    opacity: 0;
    transform: rotate(34deg) translateX(46vw);
  }
}

@keyframes shooting-star-tail {
  0%, 4% {
    width: 0;
  }
  9% {
    width: 130px;
  }
  14%, 100% {
    width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shooting-star {
    display: none;
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 7rem 0 5rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(238,242,241,0.55) 0%, rgba(238,242,241,0.5) 45%, var(--page-bg) 100%);
  pointer-events: none;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--accent-deep);
  text-transform: uppercase;
  margin: 0 0 1.3rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-deep);
  opacity: 0.85;
  transition: opacity 0.15s ease;
}

.hero-linkedin:hover {
  opacity: 1;
  text-decoration: none;
}

.hero-eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--accent-deep);
  display: inline-block;
}

.hero-title {
  font-weight: 560;
  font-size: clamp(2.6rem, 1.9rem + 3vw, 4rem);
  line-height: 1.04;
  margin: 0 0 1.3rem;
  max-width: 15ch;
  transition: font-weight 0.1s linear;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 54ch;
  margin: 0 0 1.8rem;
  text-align: justify;
  text-justify: inter-word;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0;
}

.tag {
  font-size: 12px;
  padding: 5px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  background: var(--paper);
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.tag:hover {
  text-decoration: none;
  border-color: var(--accent);
  color: var(--accent-deep);
}

.tag.accent { background: #d3eaef; color: var(--accent-deep); border-color: #a9d3dc; }
.tag.moss { background: #dde7e6; color: var(--moss-deep); border-color: #bcd0cd; }

/* ============================================
   About
   ============================================ */
.about-text--full {
  max-width: 680px;
}

.about-text p {
  color: var(--ink-soft);
  font-size: 1rem;
  text-align: justify;
  text-justify: inter-word;
}

.credit-trigger {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.credit-trigger em {
  text-decoration: underline dotted var(--accent);
  text-underline-offset: 3px;
  font-style: italic;
}

.credit-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  transform: translateX(-50%) translateY(6px) scale(0.97);
  width: min(360px, 80vw);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0.6rem;
  box-shadow: 0 12px 28px rgba(31, 46, 46, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 20;
  text-align: center;
}

.credit-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: var(--paper);
}

.credit-tooltip img {
  width: 100%;
  border-radius: 4px;
  display: block;
}

.credit-caption {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--muted);
  margin-top: 0.5rem;
  font-style: normal;
}

.credit-trigger:hover .credit-tooltip,
.credit-trigger:focus-within .credit-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
  pointer-events: auto;
}

@media (max-width: 600px) {
  .credit-tooltip {
    width: min(280px, 85vw);
    left: 0;
    transform: translateY(6px) scale(0.97);
  }
  .credit-tooltip::after {
    left: 30px;
  }
  .credit-trigger:hover .credit-tooltip,
  .credit-trigger:focus-within .credit-tooltip {
    transform: translateY(0) scale(1);
  }
}

.pull-quote {
  font-family: var(--font-voice);
  font-style: italic;
  font-weight: 460;
  font-size: 1.2rem;
  color: var(--ink);
  border-left: 1px solid var(--accent);
  padding-left: 1.2rem;
  margin: 1.9rem 0;
  line-height: 1.5;
}

.timeline-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0 0 0 1.6rem;
  display: grid;
  gap: 1.5rem;
  position: relative;
}

.timeline-list::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--line);
}

.timeline-list--row {
  margin-top: 2rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}

.timeline-list--row::before {
  top: calc(1.8rem + 6px);
}

.timeline-list li {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.2rem;
  align-items: start;
  font-size: 14px;
  color: var(--ink-soft);
}

.timeline-list li::before {
  content: "";
  position: absolute;
  left: -1.6rem;
  top: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--page-bg);
  box-shadow: 0 0 0 1px var(--accent);
  z-index: 1;
}

.timeline-list li.is-active::before {
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 0 0 0 rgba(12, 141, 165, 0.45);
  animation: timeline-pulse 2.4s ease-out infinite;
}

@keyframes timeline-pulse {
  0% {
    box-shadow: 0 0 0 1px var(--accent), 0 0 0 0 rgba(12, 141, 165, 0.45);
  }
  70% {
    box-shadow: 0 0 0 1px var(--accent), 0 0 0 9px rgba(12, 141, 165, 0);
  }
  100% {
    box-shadow: 0 0 0 1px var(--accent), 0 0 0 0 rgba(12, 141, 165, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .timeline-list li.is-active::before {
    animation: none;
  }
}

.timeline-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-top: 2px;
}

.timeline-status::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  animation: timeline-status-blink 2.4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .timeline-status::before {
    animation: none;
  }
}

@keyframes timeline-status-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.timeline-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.timeline-role { color: var(--ink); font-weight: 500; }

.timeline-company {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-deep);
}

.timeline-year {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  letter-spacing: 0.02em;
  padding-top: 2px;
}

/* ============================================
   Events
   ============================================ */
.events-list {
  display: grid;
  gap: 1rem;
}

.event-row {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.3rem 1.5rem;
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 1.2rem;
  align-items: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.event-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(31, 46, 46, 0.08);
  border-color: var(--line-strong);
}

@media (max-width: 600px) {
  .event-row { grid-template-columns: 1fr; gap: 0.4rem; }
}

.event-date {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-deep);
  letter-spacing: 0.04em;
}

.event-name {
  font-weight: 500;
  color: var(--ink);
  font-size: 15px;
  margin-bottom: 2px;
}

.event-meta {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.event-status {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--radius);
  white-space: nowrap;
  justify-self: start;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.event-status.upcoming { background: #d3eaef; color: var(--accent-deep); }

.event-status.is-live {
  position: relative;
  animation: event-status-glow 2.4s ease-in-out infinite;
}

@keyframes event-status-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(12, 141, 165, 0.35);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(12, 141, 165, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .event-status.is-live {
    animation: none;
  }
}
.event-status.past { background: #e6e3dc; color: var(--muted); }

/* ============================================
   Services
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

@media (max-width: 700px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.7rem 1.8rem;
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(31, 46, 46, 0.08);
  border-color: var(--line-strong);
}

.service-stamp {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #ece8e2;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: background 0.18s ease, transform 0.18s ease;
}

.service-stamp.c1 { background: var(--moss); }
.service-stamp.c2 { background: var(--accent); }
.service-stamp.c3 { background: #6e6e96; }
.service-stamp.c4 { background: #8a7561; }

.service-card:hover .service-stamp.c1 { background: #6a9aa6; }
.service-card:hover .service-stamp.c2 { background: #2ba8c2; }
.service-card:hover .service-stamp.c3 { background: #8484ad; }
.service-card:hover .service-stamp.c4 { background: #a18c76; }

.service-title {
  font-family: var(--font-voice);
  font-weight: 540;
  font-size: 1.1rem;
  color: var(--ink);
  margin: 0 0 0.5rem;
}

.service-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   Gallery
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

@media (max-width: 700px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

.gallery-item {
  aspect-ratio: 2 / 3;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-light);
  font-family: var(--font-sans);
  font-size: 11px;
  text-align: center;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(31, 46, 46, 0.08);
  border-color: var(--line-strong);
}

/* ============================================
   Books
   ============================================ */
.books-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

@media (max-width: 700px) {
  .books-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 420px) {
  .books-grid { grid-template-columns: 1fr; }
}

.book-card {
  display: block;
  transition: transform 0.18s ease;
}

.book-card:hover {
  transform: translateY(-5px);
}

.book-cover {
  aspect-ratio: 3 / 4.5;
  border-radius: 4px 8px 8px 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 1rem 1rem 1.3rem;
  margin-bottom: 0.7rem;
  position: relative;
  overflow: visible;
  box-shadow: -4px 4px 14px rgba(31,46,46,0.18), inset -3px 0 8px rgba(0,0,0,0.12);
  transition: box-shadow 0.18s ease;
}

.book-card:hover .book-cover {
  box-shadow: -6px 8px 22px rgba(31,46,46,0.26), inset -3px 0 8px rgba(0,0,0,0.12);
}

.book-cover::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  background: rgba(0,0,0,0.22);
  border-radius: 4px 0 0 4px;
}

.book-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    115deg,
    rgba(255,255,255,0.04) 0,
    rgba(255,255,255,0.04) 1px,
    transparent 1px,
    transparent 9px
  );
  border-radius: 4px 8px 8px 4px;
  pointer-events: none;
}

.book-cover.c1 { background: var(--moss-deep); }
.book-cover.c2 { background: var(--accent); }
.book-cover.c3 { background: #6e6e96; }
.book-cover.c4 { background: #8a7561; }

.book-card:hover .book-cover.c1 { background: var(--moss); }
.book-card:hover .book-cover.c2 { background: #2ba8c2; }
.book-card:hover .book-cover.c3 { background: #8484ad; }
.book-card:hover .book-cover.c4 { background: #a18c76; }

.book-bookmark {
  position: absolute;
  top: -14px;
  width: 22px;
  height: 44px;
  clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
  z-index: 2;
}

.bm1 { right: 18px; background: #e3a96e; }
.bm2 { right: 24px; background: #d97a6b; }
.bm3 { right: 16px; background: #7aafc4; }
.bm4 { right: 20px; background: #a8c49e; }

.book-cover-desc {
  font-family: var(--font-voice);
  font-style: italic;
  color: rgba(245,248,247,0.95);
  font-size: 15px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.book-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 2px;
}

.book-author {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}


/* ============================================
   Community — LocLunch / Women in Localization
   ============================================ */
.community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

@media (max-width: 700px) {
  .community-grid { grid-template-columns: 1fr; }
}

.community-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.8rem 1.9rem;
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.community-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(31, 46, 46, 0.08);
  border-color: var(--line-strong);
}

.community-name {
  font-family: var(--font-voice);
  font-weight: 540;
  font-size: 1.2rem;
  color: var(--ink);
  margin: 0 0 0.3rem;
}

.community-role {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  color: var(--accent-deep);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 0.9rem;
}

.community-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 1rem;
}

.community-link {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.community-link:hover { color: var(--accent-deep); }

/* ============================================
   Contact
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-intro p {
  color: var(--ink-soft);
  text-align: justify;
  text-justify: inter-word;
}



.contact label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  margin-bottom: 1.1rem;
  font-family: var(--font-sans);
  font-size: 14px;
  background: var(--paper);
  color: var(--text);
}

.contact input:focus,
.contact textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.button {
  background: var(--ink);
  color: var(--page-bg);
  padding: 0.7rem 1.3rem;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-sans);
}

.button:hover { background: var(--accent-deep); }

#form-status {
  font-size: 13px;
  min-height: 1.4em;
  font-family: var(--font-sans);
}

#form-status.success { color: var(--moss-deep); }
#form-status.error { color: var(--accent-deep); }

/* ============================================
   Footer
   ============================================ */
.site-footer {
  position: relative;
  width: 100%;
  margin: 0;
  background-image: url('footer-teal.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(238,242,241,0.05) 0%, rgba(238,242,241,0.45) 60%, var(--page-bg) 100%);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  padding: 4rem 0 2.5rem;
  text-align: center;
}

.footer-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-privacy-link {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
}

.footer-privacy-link:hover {
  color: var(--accent-deep);
  text-decoration: underline;
}

.footer-cat {
  width: 36px;
  height: 36px;
  opacity: 0.75;
}

.footer-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #1f2e2e;
  opacity: 0.75;
  transition: opacity 0.15s ease;
}

.footer-linkedin:hover {
  opacity: 1;
  text-decoration: none;
}

.footer-text {
  font-size: 13px;
  color: var(--ink-soft);
}

.footer-text a { color: var(--ink-soft); }

/* ============================================
   Legal page (privacy policy)
   ============================================ */
.legal-page {
  max-width: 720px;
}

.legal-title {
  font-family: var(--font-voice);
  font-weight: 540;
  font-size: clamp(1.9rem, 1.6rem + 1vw, 2.4rem);
  color: var(--ink);
  margin: 0 0 0.5rem;
}

.legal-updated {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 2.2rem;
}

.legal-body h2 {
  font-family: var(--font-voice);
  font-weight: 540;
  font-size: 1.15rem;
  color: var(--ink);
  margin: 2rem 0 0.7rem;
}

.legal-body p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal-back {
  display: inline-block;
  margin-top: 2.5rem;
  font-size: 13px;
  color: var(--accent-deep);
}

.legal-back:hover {
  color: var(--ink);
}


/* ============================================
   Night mode toggle icons
   ============================================ */
button.night-toggle {
  display: inline-flex !important;
}

/* ============================================
   Night mode — full palette override
   ============================================ */
body.night-mode {
  --page-bg: #04061a;
  --paper: #080b20;
  --ink: #e8eaf4;
  --ink-soft: #b0bcd8;
  --text: #c8d0e8;
  --muted: #6a7a9a;
  --muted-light: #4a5a7a;
  --line: #1a2540;
  --line-strong: #243060;
  --accent: #4ab8d4;
  --accent-deep: #7ad4ea;
  --moss: #3a8a9a;
  --moss-deep: #2a6a7a;
  background: var(--page-bg);
}

body.night-mode .site-header {
  background: rgba(8, 12, 28, 0.92);
}

body.night-mode .pull-quote {
  border-left-color: var(--accent);
}

body.night-mode .tag.accent {
  background: rgba(74,184,212,0.15);
  color: var(--accent-deep);
  border-color: rgba(74,184,212,0.35);
}

body.night-mode .tag.moss {
  background: rgba(58,138,154,0.15);
  color: #7ad4c4;
  border-color: rgba(58,138,154,0.35);
}

body.night-mode .tag {
  border-color: var(--line-strong);
  color: var(--ink-soft);
  background: var(--paper);
}

body.night-mode .event-row,
body.night-mode .service-card,
body.night-mode .community-card,
body.night-mode .gallery-item,
body.night-mode .book-cover {
  background: var(--paper);
  border-color: var(--line);
}

body.night-mode .event-status.upcoming {
  background: rgba(74,184,212,0.15);
  color: var(--accent-deep);
}

body.night-mode .event-status.past {
  background: rgba(255,255,255,0.06);
  color: var(--muted);
}

body.night-mode .service-stamp.c1 { background: var(--moss); }
body.night-mode .service-stamp.c2 { background: var(--accent); }

body.night-mode .contact input,
body.night-mode .contact textarea {
  background: var(--paper);
  border-color: var(--line-strong);
  color: var(--text);
}

body.night-mode .button {
  background: var(--accent);
  color: #080c1c;
}

body.night-mode .site-footer {
  background-image: none;
  background-color: #020510;
}

body.night-mode .footer-inner {
  border-top: 1px solid var(--line);
}

/* ============================================
   Night mode — hero star field
   ============================================ */
.stars-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 1;
}

body.night-mode .stars-container {
  opacity: 1;
}

.star-dot {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  animation: star-twinkle 2s infinite alternate;
}

@keyframes star-twinkle {
  0% { opacity: 0.35; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.15); }
}



/* ============================================
   Night mode — second shooting star
   ============================================ */
.shooting-star-2 {
  top: 55%;
  left: 55%;
  transform: rotate(28deg);
  animation: shooting-star-fly 13s linear 6.5s infinite;
}

.shooting-star-2::before {
  animation: shooting-star-tail 13s linear 6.5s infinite;
}

body:not(.night-mode) .shooting-star-2 {
  display: none;
}

/* ============================================
   Night mode — hero background swap
   ============================================ */
body.night-mode .hero {
  background-image: none;
  background-color: #020510;
}

/* Smooth transition for the whole page */
body {
  transition: background-color 0.6s ease, color 0.6s ease;
}


button.night-toggle { display: inline-flex !important; }
.night-toggle .icon-sun  { display: none; }
.night-toggle .icon-moon { display: block; }
body.night-mode .night-toggle .icon-sun  { display: block; }
body.night-mode .night-toggle .icon-moon { display: none; }

/* ============================================
   Easter egg — SSV Normandy SR-2
   ============================================ */
.normandy-unused {
  position: absolute;
  width: 120px;
  height: 32px;
  top: 28%;
  left: -140px;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(0 0 4px rgba(64,168,232,0.5));
}

body.night-mode .normandy-unused.is-flying {
  animation: normandy-fly 14s linear forwards;
}

@keyframes normandy-fly {
  0%   { left: -140px; opacity: 0; }
  4%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { left: calc(100% + 140px); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .normandy-unused { display: none; }
}

/* ISS Easter egg */
#iss {
  position: absolute;
  width: 110px;
  height: 40px;
  left: -130px;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(0 0 3px rgba(68,136,221,0.4));
}

body.night-mode #iss.is-flying {
  animation: iss-fly 20s linear forwards;
}

@keyframes iss-fly {
  0%   { left: -130px; opacity: 0; }
  5%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { left: calc(100% + 130px); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  #iss { display: none; }
}

.header-icon-group {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}





.calendly-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--paper);
  background: var(--accent);
  border-radius: 777px;
  padding: 0.5rem 1.1rem;
  text-decoration: none;
  transition: background 0.15s ease;
}

.calendly-link:hover {
  background: var(--accent-deep);
  text-decoration: none;
  color: var(--paper);
}

/* Timeline chapters */
.timeline-chapters {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
  margin-top: 2rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}

.timeline-chapter-title {
  font-family: var(--font-voice);
  font-style: italic;
  font-size: 1rem;
  font-weight: 460;
  color: var(--accent-deep);
  margin: 0 0 0.8rem 1.6rem;
  letter-spacing: 0.01em;
}

.timeline-chapter .timeline-list--row {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.section-intro {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: var(--lh);
  margin: 0 0 1.8rem;
  max-width: 680px;
  text-align: justify;
  text-justify: inter-word;
}

/* ============================================
   Accessibility
   ============================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--ink);
  color: var(--page-bg);
  padding: 0.6rem 1rem;
  border-radius: 0 0 4px 4px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 0;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Focus styles for all interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex="0"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.event-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

.event-link:hover {
  color: var(--accent-deep);
  text-decoration-color: var(--accent-deep);
}
