@font-face {
  font-family: Lora;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/lora-latin.woff2') format('woff2');
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
}
:root {
  --ink: #16233a;
  --stone: #e5e2da;
  --paper: #f7f6f0;
  --terracotta: #c4562f;
  --raised-ink: #223149;
  --surface: var(--stone);
  --text: var(--ink);
  --secondary: #4e5867;
  --rule: #c6c6c0;
  --section: var(--paper);
  --inverse: var(--ink);
  --on-inverse: var(--paper);
  --inverse-secondary: #c4cad3;
  --focus: var(--ink);
  --gutter: clamp(24px, 4.5vw, 72px);
  --section-gutter: clamp(36px, 6.5vw, 104px);
  --section-space: clamp(96px, 9vw, 144px);
  --column-gap: clamp(36px, 6vw, 88px);
  --thread-warm: #c4562f;
  --serif: Lora, Georgia, serif;
  --sans: Inter, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
  color: var(--text);
  background: var(--surface);
  font-family: var(--sans);
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
  scrollbar-color: var(--secondary) var(--surface);
}
:root[data-theme='dark'] {
  --surface: var(--ink);
  --text: var(--paper);
  --secondary: #b8c0cc;
  --rule: #3a465a;
  --section: #1b2940;
  --inverse: var(--stone);
  --on-inverse: var(--ink);
  --inverse-secondary: #4e5867;
  --focus: var(--paper);
  --thread-warm: #e49a76;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
::selection { background: var(--terracotta); color: var(--paper); }
a { color: inherit; text-decoration: none; text-underline-offset: .3em; }
button { font: inherit; color: inherit; cursor: pointer; }
button[hidden] { display: none; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a:focus-visible, button:focus-visible, [tabindex='-1']:focus-visible { outline: 2px solid var(--focus); outline-offset: 6px; }
:target { scroll-margin-top: 36px; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-weight: 400; }
p { text-wrap: pretty; }
svg { display: block; }
.page-width { width: min(100% - var(--gutter) * 2, 1392px); margin-inline: auto; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.line-icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: fixed; z-index: 10; left: 16px; top: 16px; padding: 14px 20px; background: var(--text); color: var(--surface); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.header { border-bottom: 1px solid var(--rule); }
.header__inner { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font: 400 clamp(24px, 2.15vw, 32px)/1.2 var(--serif); white-space: nowrap; }
.brand__mark { width: 54px; height: 54px; flex: none; overflow: visible; }
#gathering path { fill: none; stroke: currentColor; stroke-width: 8.5; stroke-linecap: round; stroke-linejoin: round; }
#gathering circle { fill: currentColor; }
#gathering .mark-accent { fill: var(--terracotta); }
.navigation { display: flex; align-items: center; gap: clamp(24px, 3.25vw, 52px); }
.navigation > a { display: grid; place-items: center; min-height: 44px; font-size: 15px; font-weight: 500; }
.navigation > a:hover { text-decoration: underline; }
.theme-toggle { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid var(--rule); border-radius: 50%; background: transparent; transition: background 180ms ease, border-color 180ms ease; }
.theme-toggle:hover { background: var(--section); border-color: var(--secondary); }
.theme-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.theme-icon--sun, [data-theme='dark'] .theme-icon--moon { display: none; }
[data-theme='dark'] .theme-icon--sun { display: block; }
.hero { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; column-gap: clamp(36px, 4vw, 64px); padding-block: 60px; min-height: 670px; }
.hero__copy { padding-block: 32px; }
.hero h1 { font-family: var(--serif); font-size: clamp(48px, 6.1vw, 96px); line-height: 1.13; letter-spacing: -.04em; }
.hero h1 span { display: block; white-space: nowrap; }
.hero__description { margin-top: 32px; font-size: clamp(17px, 1.52vw, 22px); line-height: 1.55; letter-spacing: -.015em; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 54px; padding: 16px 22px; margin-top: 36px; border: 1px solid transparent; border-radius: 4px; background: var(--text); color: var(--surface); font-size: 14px; font-weight: 500; transition: background 180ms ease, color 180ms ease; }
.button .line-icon { width: 19px; height: 19px; }
.button:hover { background: var(--raised-ink); color: var(--paper); }
[data-theme='dark'] .button:hover { background: var(--stone); color: var(--ink); }
/* The illustration lives directly on the page, outside any panel. */
.hero--illustrated { grid-template-columns: 46% 54%; column-gap: 0; min-height: 700px; padding-block: 48px; }
.hero--illustrated .hero__copy { position: relative; z-index: 2; }
.hero__family { margin-top: 26px; color: var(--secondary); font-size: 13px; line-height: 1.85; }
.hero__family a { color: var(--text); text-decoration: underline; text-decoration-thickness: 1px; }
.hero__family a:hover { text-decoration-thickness: 2px; }
.hero__scene { position: relative; width: 100%; aspect-ratio: 1.18; isolation: isolate; }
.hero__illustration { position: absolute; z-index: 1; width: 112%; max-width: none; height: auto; left: -6%; top: 50%; transform: translateY(-50%); pointer-events: none; }
.hero__flow { position: absolute; z-index: 0; width: 100%; height: 100%; inset: 0; overflow: visible; pointer-events: none; }
.hero__flow-line { stroke-width: 1.35; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.hero__flow-line--ink { stroke: #67778c; opacity: .55; }
.hero__flow-line--warm { stroke: var(--terracotta); opacity: .65; }
/* One shared rhythm below the illustration, with room for the threads. */
.page-journey { position: relative; isolation: isolate; overflow: clip; }
.section-width { width: min(100% - var(--section-gutter) * 2, 1200px); margin-inline: auto; }
.section-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: var(--column-gap); align-items: start; }
.flow-clear { position: relative; z-index: 2; }
.company { background: var(--inverse); color: var(--on-inverse); }
.company__inner { align-items: center; padding-block: var(--section-space); }
.company h2, .section-heading h2 { font: 400 clamp(32px, 3.4vw, 48px)/1.22 var(--serif); letter-spacing: -.035em; text-wrap: balance; }
.company__body { max-width: 52ch; }
.company__body p:first-child { font-size: clamp(19px, 1.65vw, 24px); line-height: 1.55; }
.company__body p + p { margin-top: 24px; color: var(--inverse-secondary); font-size: 16px; line-height: 1.8; }
.applications { padding-block: var(--section-space); }
.section-heading { margin-bottom: 56px; align-items: center; }
.section-heading > p { color: var(--secondary); font-size: 17px; line-height: 1.7; }
.application { border-top: 1px solid var(--rule); padding-block: 40px 48px; }
.application h3 { font: 400 clamp(36px, 3.6vw, 52px)/1.2 var(--serif); letter-spacing: -.025em; }
.application__lead { font-weight: 500; font-size: 19px; line-height: 1.6; }
.application__lead + p { margin-top: 16px; color: var(--secondary); font-size: 16px; line-height: 1.8; max-width: 52ch; }
.application__topics { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--secondary); font-size: 13px; }
.application--soon { border-bottom: 1px solid var(--rule); align-items: center; padding-block: 36px; }
.application--soon .application__lead { color: var(--secondary); font-size: 16px; font-weight: 400; }
.page-flow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; visibility: hidden; color: var(--thread-warm); }
.page-flow[data-ready] { visibility: visible; }
.page-flow__thread { stroke: url(#flow-ink); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; opacity: .32; }
.footer { background: var(--section); }
.footer__main { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 48px; }
.footer .brand { font-size: 24px; }
.footer .brand__mark { width: 42px; height: 42px; }
.footer__main > p { font: 400 19px/1.5 var(--serif); }
.back-top { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; font-size: 13px; }
.back-top:hover { text-decoration: underline; }
.footer__bottom { display: flex; justify-content: space-between; gap: 24px; padding-block: 0 28px; color: var(--secondary); font-size: 12px; }
.footer__bottom small { font-size: inherit; }
@media (min-width: 1680px) {
  .hero--illustrated { min-height: 750px; }
}
@media (max-width: 1100px) and (min-width: 761px) {
  .hero--illustrated { grid-template-columns: 46% 54%; column-gap: 0; min-height: 600px; }
  .hero h1 { font-size: 5.35vw; }
  .hero__description { font-size: 17px; }
  .desktop-break { display: none; }
  .footer__main > p { display: none; }
}
@media (max-width: 760px) {
  :root { --gutter: 24px; scroll-padding-top: 20px; }
  .header__inner { min-height: 92px; flex-wrap: wrap; column-gap: 12px; row-gap: 0; padding-block: 12px; }
  .brand { gap: 7px; font-size: 25px; }
  .brand__mark { width: 44px; height: 44px; }
  .navigation { gap: 20px; }
  .navigation > a { font-size: 13px; }
  .hero--illustrated { grid-template-columns: 1fr; gap: 12px; padding-block: 44px 20px; min-height: auto; }
  .hero__scene { max-width: 620px; margin-inline: auto; aspect-ratio: 1.48; }
  .hero__illustration { width: 100%; left: 0; }
  .hero__family { margin-top: 22px; }

  .hero__copy { padding: 0; }
  .hero h1 { font-size: clamp(38px, 8.55vw, 64px); line-height: 1.15; letter-spacing: -.04em; }
  .hero__description { margin-top: 24px; font-size: 17px; line-height: 1.6; max-width: 33ch; }
  .desktop-break { display: none; }
  .button { margin-top: 26px; min-height: 50px; }
  .footer__main { flex-wrap: wrap; gap: 16px 24px; padding-block: 32px; }
  .footer__main > p { width: 100%; order: 3; font-size: 18px; }
  .footer__bottom { flex-direction: column; gap: 8px; font-size: 11px; }
}
@media (max-width: 520px) {
  .header__inner { min-height: 116px; position: relative; padding-block: 14px 6px; }
  .header .brand { padding-right: 50px; }
  .navigation { width: 100%; gap: 25px; }
  .theme-toggle { position: absolute; right: 0; top: 15px; }
  .hero--illustrated { padding-top: 36px; gap: 18px; }
  .hero__scene { aspect-ratio: 1.24; }
  .hero__flow { opacity: .7; }
  .footer .brand { font-size: 22px; }
  .back-top { gap: 8px; font-size: 12px; }
}
@media (max-width: 350px) {
  :root { --gutter: 20px; }
  .brand { font-size: 22px; }
  .brand__mark { width: 39px; height: 39px; }
  .hero h1 { font-size: 35px; }
  .footer__main { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.not-found { padding-block: clamp(64px, 12vw, 160px); min-height: 70svh; }
.not-found h1 { max-width: 14ch; font: 400 clamp(40px, 6vw, 80px)/1.15 var(--serif); letter-spacing: -.035em; }
.not-found p { margin-top: 28px; color: var(--secondary); font-size: 18px; line-height: 1.65; }

.contact { background: var(--section); padding-top: var(--section-space); }
.contact__inner { align-items: start; }
.contact h2 { font: 400 clamp(34px, 3.15vw, 48px)/1.22 var(--serif); letter-spacing: -.035em; text-wrap: balance; }
.contact__intro > p { max-width: 49ch; color: var(--secondary); font-size: 17px; line-height: 1.8; }
.contact__email { display: inline-flex; align-items: center; gap: 16px; max-width: 100%; min-height: 48px; margin-top: 24px; padding-block: 8px; font-size: clamp(20px, 2.2vw, 32px); letter-spacing: -.025em; overflow-wrap: anywhere; text-decoration: underline; text-decoration-thickness: 1px; }
.contact__email:hover { text-decoration-thickness: 2px; }
.contact__routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: 88px 80px; }
.invitation { border-top: 1px solid var(--rule); padding-top: 28px; }
.invitation h3 { max-width: 24ch; min-height: 2.6em; font: 400 clamp(23px, 2vw, 28px)/1.3 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
.invitation p { margin-top: 20px; color: var(--secondary); font-size: 15px; line-height: 1.8; max-width: 49ch; }
.text-link { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; min-height: 44px; margin-top: 16px; font-size: 14px; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
.text-link:hover { text-decoration-thickness: 2px; }
.text-link .line-icon { width: 18px; height: 18px; }
.contact__social { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-block: 32px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.contact__social > p { font: 400 24px/1.4 var(--serif); letter-spacing: -.02em; }
.social-links { display: flex; flex-wrap: wrap; gap: 24px 40px; }
.social-link { display: flex; align-items: center; gap: 12px; min-height: 48px; font-size: 13px; line-height: 1.5; }
.social-link > .line-icon { width: 20px; height: 20px; }
.social-link__handle { display: block; color: var(--secondary); font-size: 12px; overflow-wrap: anywhere; }
.social-link .social-link__arrow { width: 16px; height: 16px; }
.social-link:hover > span { text-decoration: underline; }
.icon-dot { fill: currentColor; stroke: none; }
@media (max-width: 1100px) {
  .contact__routes { grid-template-columns: 1fr; gap: 32px; }
  .invitation { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: var(--column-gap); }
  .invitation h3 { min-height: 0; }
  .invitation p { margin-top: 0; }
  .social-links { gap: 24px; }
}
@media (max-width: 760px) {
  :root { --section-gutter: 36px; --section-space: 80px; --column-gap: 28px; }
  .section-grid, .invitation { grid-template-columns: 1fr; }
  .company__inner { gap: 28px; }
  .company h2, .section-heading h2 { font-size: clamp(32px, 6vw, 40px); }
  .company__body p + p { margin-top: 20px; }
  .section-heading { gap: 20px; margin-bottom: 36px; }
  .section-heading > p { font-size: 16px; }
  .application { gap: 24px; padding-block: 32px 40px; }
  .application__lead { font-size: 18px; }
  .application--soon { grid-template-columns: 1fr auto; gap: 20px; padding-block: 32px; }
  .application--soon h3 { font-size: 32px; }
  .application--soon .application__lead { font-size: 14px; }
  .contact__inner { gap: 28px; }
  .contact__intro > p { font-size: 16px; }
  .contact__email { font-size: clamp(19px, 4.5vw, 28px); gap: 10px; }
  .contact__routes { padding-block: 56px; gap: 28px; }
  .invitation { gap: 16px; padding-top: 28px; }
  .invitation h3 { max-width: 23ch; font-size: 26px; }
  .invitation p { font-size: 16px; }
  .contact__social { align-items: flex-start; flex-direction: column; gap: 20px; }
  .social-links { gap: 20px 32px; }
  .page-flow__thread { stroke-width: 1; opacity: .28; }
}
@media (max-width: 380px) {
  :root { --section-gutter: 30px; }
  .contact h2 { font-size: 30px; }
  .contact__email { font-size: 18px; }
  .social-links { flex-direction: column; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .page-flow__thread { stroke: var(--thread-warm); opacity: .14; }
}
