/* The wordmark uses viewport coordinates so the same ring becomes the header O. */
.home-page, .home-nav, .home-page ~ .site-footer { font-family: var(--aliot-font); }
.home-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  height: 72px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-inline: clamp(18px, 4vw, 60px);
  pointer-events: none;
}
.home-nav nav { display: flex; gap: clamp(15px, 2vw, 28px); pointer-events: auto; }
.home-nav a { padding-block: 12px; color: #b8c3d4; font-size: 13px; }
.home-nav a:hover { color: white; }
.home-page .pin { position: fixed; inset: 0 0 auto; z-index: 11; pointer-events: none; }
.baseline-probe { position: absolute; visibility: hidden; font: 450 100px/1 var(--aliot-font); }
.baseline-probe i { display: inline-block; vertical-align: baseline; width: 0; height: 0; }
.mark-stage { position: absolute; inset: 0; isolation: isolate; }
.glyph { position: absolute; top: 0; left: 0; color: #eef0f4; font: 450 1em/1 var(--aliot-font); }
.glyph-o { width: 0; height: 0; z-index: 1; }
.glyph-o svg { position: absolute; max-width: none; transform: translate(-50%, -50%) rotate(-22deg); }
.ring-trigger {
  position: absolute;
  z-index: 2;
  pointer-events: auto;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.ring-trigger:disabled { pointer-events: none; }
.intro-hero {
  min-height: max(650px, 100svh);
  display: flex;
  flex-direction: column;
  padding-top: clamp(290px, 39svh, 420px);
  position: relative;
  overflow: clip;
  background: radial-gradient(ellipse at 50% 35%, #0a1018 0%, #050608 65%);
}
.light-stream, .star-field, .infall-ink {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.light-stream { z-index: 1; }
.infall-ink, .star-field { width: 100%; height: 100%; }
.hero-eyebrow {
  position: absolute;
  inset: 0 20px auto;
  margin: 0;
  text-align: center;
  color: #9caec8;
  font: 10px/1.7 var(--aliot-font);
  letter-spacing: 1.8px;
}
.scroll-next {
  position: relative;
  align-self: center;
  margin-top: auto;
  margin-bottom: 12px;
  padding: 12px;
  text-align: center;
  color: #a0b0c7;
  font: 10px/1.8 var(--aliot-font);
  text-transform: uppercase;
  letter-spacing: 1.3px;
}
.scroll-next span { display: block; font-size: 20px; }
.combined-meaning {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 26px);
}
.opening-meanings { position: absolute; inset: auto 5%; max-width: 1120px; margin: 0 auto; }
.combined-meaning > div { border-top: 1px solid #2a384b; padding-top: 12px; }
.combined-meaning span { display: block; color: #c2cede; font-size: 15px; }
.combined-meaning small { display: block; margin-top: 8px; color: #98abc3; font-size: 12px; line-height: 1.6; }
.hero-introduction { position: relative; margin-block: 0; padding-bottom: 24px; text-align: center; }
.hero-introduction .lede { max-width: 55ch; margin: 0 auto 20px; font-weight: inherit; letter-spacing: normal; }
.hero-introduction .actions { justify-content: center; }
.focus-area details { margin-top: 20px; }
.home-page .focus-area br { display: initial; }
.focus-area summary { display: flex; align-items: center; gap: 12px; width: fit-content; min-height: 44px; list-style: none; cursor: pointer; color: #b6d8ff; font-size: 12px; }
.focus-area summary::-webkit-details-marker { display: none; }
.focus-area summary::after { content: '+'; font-size: 17px; }
.focus-area details[open] summary::after { content: '−'; }
.focus-area summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.collaboration-examples { padding: 6px 0 0 16px; margin: 0; color: #a3aebb; font-size: 12px; line-height: 1.9; }
.collaboration-examples li { margin-block: 7px; padding-left: 3px; }
.home-page .focus-section { padding-bottom: 36px; }
.collaboration-bridge { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; padding-block: 25px 35px; border-top: 1px solid var(--line); color: #a3aebb; font-size: 13px; }
.collaboration-bridge p { margin: 0; }
.home-page .approach-section { border-top: 1px solid var(--line); }
.home-page .approach-section h2 span { color: #8997ab; }
.home-page .approach-section .section-heading > p:not(.eyebrow) { width: auto; margin-top: 24px; max-width: 370px; }
.workflow-principle { margin-top: 34px; padding-top: 25px; border-top: 1px solid var(--line); max-width: 370px; }
.workflow-principle h3 { margin: 0 0 12px; font-size: 21px; font-weight: 450; line-height: 1.4; letter-spacing: -.4px; }
.workflow-principle p { margin: 0; color: #94a1b3; font-size: 13px; line-height: 1.9; }
.tools-note { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 25px; border-top: 1px solid var(--line); padding-block: 30px; }
.tools-note p { margin: 0; font-size: 14px; line-height: 1.9; }
.tools-note p span { color: #94a1b3; font-size: 13px; }
.animated .hero-introduction { opacity: 0; visibility: hidden; }
.animated .intro-complete .hero-introduction {
  visibility: visible;
  opacity: 1;
  transition: opacity 500ms ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .animated .intro-complete .hero-introduction { transition: none; }
}
.home-page section[id] { scroll-margin-top: 72px; }
.home-page:not(.animated) .pin { display: none; }
.home-page:not(.animated) .intro-hero { justify-content: center; gap: 30px; padding-top: 90px; }
.home-page:not(.animated) .intro-hero::before { content: 'ALIOT'; text-align: center; font-size: clamp(64px, 14vw, 170px); }
.home-page:not(.animated) .hero-eyebrow { position: static; }
.home-page:not(.animated) .opening-meanings { display: none; }
@media (max-width: 700px) {
  .combined-meaning { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .focus-area details { grid-column: 2; }
  .home-nav nav { gap: 15px; }
}
@media (max-width: 520px) {
  .intro-hero { min-height: max(680px, 100svh); padding-top: 265px; }
  .combined-meaning { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .combined-meaning > div { padding-top: 6px; }
  .combined-meaning span { font-size: 13px; }
  .combined-meaning small { font-size: 11px; margin-top: 3px; }
  .hero-eyebrow { font-size: 9px; letter-spacing: 1px; }
  .home-nav a { font-size: 12px; }
  .home-nav a[href="#focus"], .home-nav a[href="#approach"] { display: none; }
}
@media (max-width: 380px) {
  .home-nav { padding-inline: 14px; }
  .home-nav nav { gap: 12px; }
  .home-nav a { font-size: 11px; }
}

/* Home refinements: reading sizes, hero balance, section accents and link feedback. */
.intro-hero { padding-top: clamp(290px, 46svh, 500px); }
.home-nav a[href="#contact"] { padding: 8px 14px; border: 1px solid #3a4658; border-radius: 999px; color: #e5eaf0; transition: border-color 160ms ease, background-color 160ms ease; }
.home-nav a[href="#contact"]:hover { border-color: #7f9cc0; background: #98c9ff14; }
.home-page .eyebrow { font-size: 11px; }
.hero-introduction .lede { text-wrap: balance; }
.home-page .section-number { font-size: 11px; letter-spacing: 1.4px; }
.home-page .section-heading h2 { font-size: clamp(32px, 3.3vw, 44px); line-height: 1.15; text-wrap: balance; }
.home-page .section-heading > p:last-child:not(.eyebrow) { width: 400px; font-size: 16px; line-height: 1.7; color: #a3b0c3; }
.home-page .focus-area { --accent: var(--blue); position: relative; }
.home-page .focus-area:nth-child(2) { --accent: var(--amber); }
.home-page .focus-area:nth-child(3) { --accent: var(--violet); }
.home-page .focus-area::before { content: ''; position: absolute; top: -1px; left: 0; width: 44px; height: 1px; background: var(--accent); transition: width 320ms ease; }
.home-page .focus-area:hover::before, .home-page .focus-area:focus-within::before { width: 100%; }
.home-page .focus-area .section-number { color: var(--accent); }
.home-page .focus-area h3 { font-size: 27px; line-height: 1.25; margin: 22px 0 18px; }
.home-page .focus-area p, .home-page .approach-list p, .workflow-principle p { font-size: 15px; line-height: 1.75; color: #a3b0c3; }
.home-page .focus-area summary { font-size: 14px; }
.home-page .collaboration-examples { font-size: 14px; line-height: 1.7; }
.collaboration-bridge { align-items: center; font-size: 15px; }
.home-page .text-button { font-size: 14px; }
.home-page .text-button span, .home-page .button span, .contact-link span { display: inline-block; transition: transform 180ms ease; }
.home-page .text-button:hover span, .home-page .button.secondary:hover span, .contact-link:hover span { transform: translate(3px, -3px); }
.home-page .button.primary:hover span { transform: translate(3px, 3px); }
.home-page .button { gap: 18px; font-size: 14px; transition: background-color 160ms ease, border-color 160ms ease; }
.home-page .button.secondary:hover { border-color: #7f9cc0; }
.home-page .approach-section { padding-block: 100px; }
.home-page .approach-section .section-heading { position: sticky; top: 112px; align-self: start; margin-bottom: 0; }
.home-page .approach-section .section-heading > p:not(.eyebrow) { max-width: 420px; font-size: 16px; line-height: 1.7; color: #a3b0c3; }
.workflow-principle { max-width: 420px; }
.home-page .approach-list article { grid-template-columns: 44px 1fr; padding-bottom: 28px; margin-bottom: 28px; }
.home-page .approach-list article:last-child { border-bottom: 0; padding-bottom: 0; }
.home-page .approach-list h3 { font-size: 22px; line-height: 1.3; }
.home-page .approach-list .section-number { padding-top: 7px; color: #8fa3bf; }
.tools-note p { font-size: 16px; }
.tools-note p span { font-size: 15px; }
.home-page .contact-section { grid-template-columns: 1.2fr 1fr; padding-block: 90px 110px; }
.home-page .contact-section h2 { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.12; }
.home-page .contact-section p:not(.eyebrow) { font-size: 16px; line-height: 1.7; max-width: 470px; color: #a3b0c3; }
.contact-link { transition: border-color 160ms ease; }
.contact-link:hover { border-color: #a7c8f2; }
.home-page .contact-email { font-size: 15px; }
.home-page ~ .site-footer p, .home-page ~ .site-footer nav, .home-page ~ .site-footer button { font-size: 13px; }
@media (max-width: 800px) {
  .home-page .section-heading > p:last-child:not(.eyebrow) { width: 100%; max-width: 440px; }
  .home-page .approach-section .section-heading { position: static; }
}
@media (max-width: 600px) {
  .home-page .approach-section { padding-block: 56px; }
  .home-page .contact-section { grid-template-columns: 1fr; padding-block: 56px 64px; }
  .home-page .contact-section h2 br { display: none; }
  .home-page .contact-section h2 { text-wrap: balance; }
  .home-page .contact-section h2 span::before { content: ' '; }
  .home-page .eyebrow { font-size: 10px; }
}
@media (max-width: 520px) {
  .intro-hero { padding-top: clamp(265px, 40svh, 340px); }
  .home-nav a[href="#contact"] { padding: 6px 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page .text-button:hover span, .home-page .button:hover span, .contact-link:hover span { transform: none; }
}
