:root {
  --ink: #0d1b2a;
  --navy: #1b263b;
  --teal: #087fa8;
  --teal-dark: #075e7c;
  --blue: #2563eb;
  --green: #2f9348;
  --paper: #ffffff;
  --soft: #f5f7fa;
  --line: #dce5ea;
  --muted: #5b6876;
  --shadow: 0 18px 50px rgba(13, 27, 42, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 100; padding: 10px 14px; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 28px;
  padding: 10px max(24px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid rgba(220, 229, 234, 0.85);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-avatar { position: relative; display: block; width: 64px; height: 64px; flex: 0 0 64px; overflow: hidden; border: 2px solid rgba(8,127,168,.28); border-radius: 50%; background: linear-gradient(145deg, #e8f5fa, #fff4cf); box-shadow: 0 4px 12px rgba(13,27,42,.12); }
.brand-avatar img { position: absolute; top: 0; left: 50%; width: 118%; height: auto; transform: translateX(-50%); }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-size: 21px; letter-spacing: -0.6px; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: 10px; }
.main-nav { display: flex; align-items: center; gap: 5px; margin-left: auto; }
.main-nav a { padding: 9px 11px; color: var(--navy); font-size: 13px; font-weight: 650; text-decoration: none; }
.main-nav a:hover, .main-nav a.active { color: var(--teal-dark); }
.main-nav a.active { box-shadow: inset 0 -2px var(--teal); }
.language-switcher { display:flex;align-items:center;gap:3px;margin-left:5px;padding:3px 5px;border:1px solid rgba(8,127,168,.12);border-radius:999px;color:rgba(7,94,124,.72);background:rgba(255,255,255,.38);backdrop-filter:blur(7px);opacity:.72;transition:opacity .16s,background .16s; }
.language-switcher:hover,.language-switcher:focus-within { opacity:1;background:rgba(255,255,255,.75); }
.language-switcher span { font-size:11px; }.language-switcher select { width:38px;padding:3px 1px;border:0;outline:0;color:inherit;background:transparent;cursor:pointer;font:inherit;font-size:9px;font-weight:800;appearance:auto; }
.menu-toggle { display: none; margin-left: auto; border: 0; background: none; }
.menu-toggle > span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px; background: var(--ink); }

.hero { position: relative; min-height: 610px; display: grid; align-items: center; overflow: hidden; }
.hero-image, .hero-overlay { position: absolute; inset: 0; }
.hero-image { background: url("assets/coast-brittany.jpg") center 58% / cover no-repeat; transform: scale(1.015); }
.hero-overlay { background: linear-gradient(90deg, rgba(255,255,255,.98) 5%, rgba(255,255,255,.9) 37%, rgba(255,255,255,.18) 67%, rgba(13,27,42,.08)); }
.hero-content { position: relative; z-index: 1; padding-block: 84px; }
.hero-watermark { position: absolute; right: max(22px, calc((100vw - 1120px) / 2)); bottom: 18px; z-index: 2; margin: 0; padding: 5px 10px; border-radius: 999px; color: rgba(255,255,255,.82); background: rgba(13,27,42,.2); font-size: 11px; font-weight: 700; letter-spacing: .5px; text-shadow: 0 1px 3px rgba(0,0,0,.7); backdrop-filter: blur(3px); }
.eyebrow { margin: 0 0 10px; color: var(--teal-dark); font-size: 13px; font-weight: 850; letter-spacing: 1.3px; text-transform: uppercase; }
.hero h1 { max-width: 670px; margin: 0; font-size: clamp(42px, 6vw, 68px); line-height: 1.04; letter-spacing: -3px; }
.hero-intro { max-width: 570px; margin: 24px 0 30px; color: #334155; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 0 20px; border-radius: 9px; font-size: 14px; font-weight: 800; text-decoration: none; transition: transform .16s, box-shadow .16s; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: white; background: linear-gradient(135deg, var(--teal), var(--teal-dark)); box-shadow: 0 10px 26px rgba(8,127,168,.24); }
.button.secondary { border: 1px solid var(--teal); color: var(--teal-dark); background: rgba(255,255,255,.82); }
.hero-languages { display: flex; align-items: flex-start; gap: 0; margin-top: 46px; }
.hero-languages span { position: relative; display: grid; min-width: 132px; justify-items: center; gap: 8px; padding: 0 28px; border-right: 1px solid rgba(13,27,42,.18); }
.hero-languages span:first-child { justify-items: start; padding-left: 0; }
.hero-languages span:last-child { border-right: 0; }
.hero-languages img { width: 70px; height: 44px; border: 1px solid rgba(13,27,42,.18); border-radius: 3px; object-fit: cover; box-shadow: 0 4px 10px rgba(13,27,42,.15); }
.hero-languages strong { color: var(--ink); font-size: 14px; line-height: 1; }
.hero-languages small { margin-top: -3px; color: #75601b; font-size: 9px; font-weight: 800; line-height: 1; text-transform: uppercase; }
.section { padding-block: 90px; }
.section-heading { max-width: 680px; margin: 0 auto 42px; text-align: center; }
.section-heading.left { margin-left: 0; text-align: left; }
.section-heading h2, .closing-cta h2 { margin: 0; font-size: clamp(30px, 4vw, 44px); line-height: 1.12; letter-spacing: -1.6px; }
.section-heading > p:last-child { color: var(--muted); }
.action-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.action-card { display: flex; min-height: 230px; gap: 18px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 10px 30px rgba(13,27,42,.055); transition: transform .18s, box-shadow .18s; }
.action-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.round-icon { display: grid; width: 58px; height: 58px; flex: 0 0 58px; place-items: center; border-radius: 50%; color: white; }
.round-icon svg { width: 29px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.transcribe-card .round-icon { background: linear-gradient(145deg, #1596be, #075e7c); }
.explore-card .round-icon { background: linear-gradient(145deg, #4381dd, #1d4f9b); }
.contribute-card .round-icon { background: linear-gradient(145deg, #69b661, #2f7f3a); }
.action-card h3, .language-card h3, .value-grid h3 { margin: 3px 0 8px; font-size: 20px; }
.action-card p, .language-card p, .value-grid p { color: var(--muted); font-size: 14px; }
.action-card a, .language-card a { display: inline-block; margin-top: 8px; color: var(--teal-dark); font-size: 13px; font-weight: 850; text-decoration: none; }

.services-section { background: linear-gradient(180deg,#f4f8fb,#fff); }
.services-section > .wrap { width:min(1600px,calc(100% - 80px)); }
.service-grid { display:grid;grid-template-columns:repeat(4,1fr);gap:28px; }
.service-card { display:grid;grid-template-rows:205px 1fr;overflow:hidden;border:1px solid #dbe6eb;border-radius:20px;background:white;box-shadow:0 16px 42px rgba(13,27,42,.09);transition:transform .18s,box-shadow .18s; }
.service-card:hover { transform:translateY(-5px);box-shadow:0 24px 55px rgba(13,27,42,.14); }
.service-photo { min-height:205px;background-image:url("assets/services-quad.png");background-repeat:no-repeat;background-size:418% auto;background-position-y:20%; }
.transcribe-service .service-photo { background-position-x:1.5%; }.studio-service .service-photo { background-position-x:34%; }.record-service .service-photo { background-position-x:66%; }.corpus-service .service-photo { background-position-x:96.5%; }
.service-copy { position:relative;display:flex;min-height:310px;flex-direction:column;padding:31px 20px 20px; }
.service-icon { position:absolute;top:-34px;left:20px;display:grid;width:68px;height:68px;place-items:center;border:1px solid rgba(8,127,168,.15);border-radius:18px;color:var(--teal);background:rgba(255,255,255,.96);box-shadow:0 9px 24px rgba(13,27,42,.12);backdrop-filter:blur(8px); }
.service-icon svg { width:34px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round; }
.service-copy h3 { margin:8px 0 6px;font-size:25px;letter-spacing:-.7px; }.service-copy p { min-height:64px;margin:0;color:var(--muted);font-size:13px; }
.service-copy ul { display:flex;min-height:46px;align-items:flex-start;gap:10px;margin:12px 0 18px;padding:0;list-style:none;color:#405669;font-size:9px;font-weight:700; }.service-copy li { flex:1;padding-left:10px;border-left:2px solid #55b9d9; }
.service-button { display:flex;min-height:43px;align-items:center;justify-content:center;gap:14px;margin-top:auto;border-radius:8px;color:white;background:linear-gradient(135deg,#0988ad,#06728f);font-size:12px;font-weight:850;text-decoration:none;box-shadow:0 8px 20px rgba(8,127,168,.2); }
.service-button:hover { background:linear-gradient(135deg,#087fa8,#075e7c); }
.services-mission { display:flex;align-items:center;gap:14px;margin-top:28px;padding:15px 18px;border:1px solid #dae7ec;border-radius:14px;background:rgba(255,255,255,.85);box-shadow:0 8px 24px rgba(13,27,42,.04); }.services-mission>span { display:grid;width:42px;height:42px;flex:0 0 42px;place-items:center;border-radius:50%;color:white;background:linear-gradient(145deg,#1596be,#075e7c); }.services-mission>div { display:grid; }.services-mission strong { font-size:12px; }.services-mission small { color:var(--muted);font-size:10px; }.services-mission a { margin-left:auto;color:var(--teal-dark);font-size:11px;font-weight:800;text-decoration:none; }

@media (max-width: 1100px) {
  .services-section > .wrap { width:min(1600px,calc(100% - 40px)); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--line); }
.value-grid article { min-height: 210px; padding: 28px; background: var(--soft); }
.value-grid article > span { color: var(--teal); font-size: 38px; }
.value-grid h3 { font-size: 17px; }
.closing-cta { padding: 62px 0; color: white; background: var(--navy); }
.closing-cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.closing-cta .eyebrow { color: #7ee2dc; }
.closing-cta h2 { max-width: 700px; font-size: 34px; }
.site-footer { padding: 26px 0; color: #657383; font-size: 13px; background: #f8fafc; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; }
.site-footer a { color: var(--teal-dark); }

@media (max-width: 900px) {
  .menu-toggle { display: block; cursor: pointer; }
  .main-nav { position: absolute; top: 76px; right: 18px; left: 18px; display: none; align-items: stretch; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow); }
  .main-nav.open { display: grid; }
  .main-nav a { padding: 12px; }
  .main-nav a.active { box-shadow: none; background: #eefaf9; border-radius: 9px; }
  .language-switcher { width:max-content;margin:5px auto; }
  .hero { min-height: 590px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(255,255,255,.96), rgba(255,255,255,.7)); }
  .hero h1 { max-width: 620px; }
  .action-grid { grid-template-columns: 1fr; }
  .action-card { min-height: auto; }
  .value-grid { grid-template-columns: repeat(3, 1fr); }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { grid-template-columns: 42% 58%; grid-template-rows: 1fr; }
  .service-photo { min-height: 330px; }
}

@media (max-width: 620px) {
  .wrap { width: min(100% - 28px, 1120px); }
  .site-header { min-height: 68px; padding-inline: 14px; }
  .brand-copy small { display: none; }
  .brand-avatar { width: 52px; height: 52px; flex-basis: 52px; }
  .main-nav { top: 68px; }
  .hero { min-height: 660px; align-items: end; }
  .hero-image { background-position: 64% center; }
  .hero-overlay { background: linear-gradient(0deg, rgba(255,255,255,.98) 20%, rgba(255,255,255,.83) 62%, rgba(255,255,255,.15)); }
  .hero-content { padding-block: 170px 44px; }
  .hero-watermark { right: 12px; bottom: 8px; font-size: 9px; }
  .hero h1 { font-size: 40px; letter-spacing: -2px; }
  .hero-intro { font-size: 16px; }
  .hero-actions .button { width: 100%; }
  .hero-languages { justify-content: space-between; gap: 8px; margin-top: 32px; }
  .hero-languages span { min-width: 0; flex: 1; padding: 0 10px; }
  .hero-languages span:first-child { justify-items: center; padding-left: 10px; }
  .hero-languages img { width: 60px; height: 38px; }
  .language-pills { margin-top: 30px; }
  .section { padding-block: 65px; }
  .services-section > .wrap { width:min(1600px,calc(100% - 28px)); }
  .action-card { display: grid; padding: 24px; }
  .service-card { grid-template-columns:1fr;grid-template-rows:190px 1fr; }
  .service-photo { min-height:190px; }
  .service-copy { min-height:300px;padding:31px 20px 20px; }
  .services-mission { align-items:flex-start;flex-wrap:wrap; }.services-mission a { width:100%;margin-left:56px; }
  .value-grid { grid-template-columns: 1fr; }
  .value-grid article { min-height: auto; }
  .closing-cta .wrap, .site-footer .wrap { align-items: stretch; flex-direction: column; }
  .closing-cta .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Portal-aligned public header typography. */
.site-header {
  min-height: 76px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: rgba(255, 255, 255, .94);
}

.site-header .brand {
  gap: 12px;
}

.site-header .brand-avatar {
  width: 64px;
  height: 64px;
  flex-basis: 64px;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.site-header .brand-avatar img {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  transform: none;
  filter: drop-shadow(0 12px 18px rgba(9, 25, 67, .14));
}

.site-header .brand-copy strong {
  color: #071943;
  font-size: 28px;
  line-height: .96;
  font-weight: 950;
  letter-spacing: 0;
}

.site-header .brand-copy small {
  margin-top: 4px;
  color: #20345f;
  font-size: 14px;
  line-height: 1.1;
  font-weight: 700;
}

.site-header .main-nav {
  gap: clamp(20px, 2.6vw, 46px);
}

.site-header .main-nav a {
  padding: 11px 0 13px;
  color: #071943;
  font-size: 15px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
  text-rendering: geometricPrecision;
}

.site-header .main-nav a:hover,
.site-header .main-nav a.active {
  color: #145df4;
}

.site-header .main-nav a.active {
  box-shadow: inset 0 -3px #145df4;
}

.site-header .language-switcher {
  min-height: 36px;
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  color: #071943;
  background: rgba(255,255,255,.88);
  box-shadow: 0 12px 24px rgba(12, 34, 76, .08);
  opacity: 1;
  font-size: 14px;
  font-weight: 950;
}

.site-header .language-switcher select {
  width: auto;
  color: #071943;
  font-family: inherit;
  font-size: 14px;
  font-weight: 950;
}

@media (max-width: 900px) {
  .site-header .main-nav {
    gap: 0;
  }

  .site-header .main-nav a {
    padding: 12px;
    font-size: 15px;
  }
}

@media (max-width: 620px) {
  .site-header .brand-avatar {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .site-header .brand-copy strong {
    font-size: 22px;
  }

  .site-header .brand-copy small {
    font-size: 12px;
  }
}
