/* Athenia Home | Master Specification v3 + approved U1 copy.
   Shared tokens/components are intentionally framework-independent. */
:root {
  --navy: #082254;
  --mid-blue: #1852b0;
  --bright-blue: #2a72ff;
  --light-neutral: #f5f7fa;
  --dark-text: #141e32;
  --orange: #ff8c3c;
  --white: #ffffff;
  --rule: rgba(8, 34, 84, .16);
  --container: 1160px;
  --gutter: 64px;
  --header-height: 88px;
  --section-space: 100px;
  --radius: 5px;
  font-family: Inter, sans-serif;
  font-feature-settings: "liga" 1, "calt" 1;
  color: var(--dark-text);
  background: var(--white);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-height) + 24px); }
body { margin: 0; font-size: 17px; line-height: 1.65; }
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--mid-blue); text-underline-offset: .24em; }
a:hover { text-decoration-thickness: 2px; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--mid-blue); outline-offset: 5px; }
.closing :focus-visible { outline-color: var(--white); }
::selection { color: var(--white); background: var(--mid-blue); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--navy); font-weight: 600; }
h1 { font-size: clamp(46px, 3.58vw, 54px); line-height: 1.11; letter-spacing: -.042em; }
h2 { font-size: 34px; line-height: 1.2; letter-spacing: -.028em; margin-bottom: 26px; max-width: 950px; }
h3 { font-size: 22px; line-height: 1.3; letter-spacing: -.018em; }
p + p { margin-top: 18px; }
.container { width: min(var(--container), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.measure { max-width: 750px; }
.section { padding-block: var(--section-space); }
.eyebrow { color: var(--mid-blue); font-size: 13px; font-weight: 600; line-height: 1.45; letter-spacing: .12em; margin-bottom: 22px; }
.lead { font-size: 21px; line-height: 1.5; color: var(--mid-blue); font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 30px; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 50px; padding: 13px 22px; border: 1px solid transparent; border-radius: var(--radius); text-decoration: none; font-size: 16px; line-height: 1.45; font-weight: 600; text-align: center; }
/* A01 resolved by explicit approval: Mid Blue primary-button fill and border.
   White labels, dimensions, placement, hover and focus treatments are unchanged. */
.btn-primary { color: var(--white); background: var(--mid-blue); border-color: var(--mid-blue); }
.btn-primary:hover { background: var(--mid-blue); border-color: var(--mid-blue); }
.btn-secondary { color: var(--navy); background: transparent; border-color: var(--rule); }
.btn-secondary:hover { border-color: var(--mid-blue); background: var(--light-neutral); }
.text-link { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; font-size: 16px; line-height: 1.45; font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.arrow { display: inline-block; flex: 0 0 auto; font-size: 20px; line-height: 1; }
.skip-link { position: fixed; top: 12px; left: 12px; padding: 10px 18px; z-index: 100; transform: translateY(-160%); background: var(--white); color: var(--navy); }
.skip-link:focus { transform: translateY(0); }

/* V5: approved two-tone horizontal Soft Enclosure + ATHENIA; full transparent artwork, no crop. */
.site-header { position: sticky; top: 0; z-index: 30; height: var(--header-height); background: var(--white); border-bottom: 1px solid var(--rule); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 28px; }
.brand { width: 200px; height: auto; aspect-ratio: 25 / 7; flex: 0 0 200px; display: block; }
.brand img { width: 100%; height: auto; object-fit: contain; }
.primary-nav { display: flex; align-items: center; justify-content: flex-end; gap: 28px; }
.primary-nav ul { display: flex; align-items: center; gap: 23px; margin: 0; padding: 0; list-style: none; }
.primary-nav li a { display: inline-flex; align-items: center; min-height: 44px; color: var(--navy); font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.primary-nav li a:hover { color: var(--mid-blue); text-decoration: underline; }
.header-cta { font-size: 15px; padding-inline: 18px; gap: 10px; }
.header-cta .arrow { display: none; }
.menu-toggle { display: none; }

/* Home: headline + supporting paragraph form the approved two-column hero. */
.hero { padding-block: 102px 108px; }
.hero > .container > .eyebrow { margin-bottom: 32px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 0 64px; }
.hero-grid h1 { grid-column: 1; grid-row: 1; }
.hero-copy { grid-column: 2; grid-row: 1 / span 2; align-self: start; padding-top: 5px; }
.hero-copy p { font-size: 18px; line-height: 1.72; }
.hero-actions { grid-column: 1; grid-row: 2; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 34px; }
.hero .btn { padding-inline: 22px; }

/* Operating reality: four scannable, restrained content bands. */
.reality { border-top: 1px solid var(--rule); }
.reality h2 { max-width: 830px; }
.friction-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); padding: 0; margin: 32px 0; list-style: none; background: var(--light-neutral); }
.friction { display: flex; align-items: center; min-height: 94px; padding: 24px; color: var(--navy); font-weight: 600; font-size: 18px; line-height: 1.4; }
.friction + .friction { border-left: 1px solid var(--rule); }
.outcomes { border-top: 1px solid var(--rule); margin-top: 32px; padding-top: 28px; }
.outcomes-label { color: var(--dark-text); font-size: 14px; font-weight: 500; line-height: 1.5; letter-spacing: 0; text-transform: none; margin-bottom: 20px; }
.outcomes-list { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); list-style: none; margin: 0; padding: 0; }
.outcomes-list li { font-weight: 500; color: var(--navy); padding: 0 22px; line-height: 1.5; }
.outcomes-list li:first-child { padding-left: 0; }
.outcomes-list li + li { border-left: 1px solid var(--rule); }

/* Working Session: real deliverable information, not a simulated report cover. */
.readiness { background: var(--light-neutral); }
.readiness-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 90px; align-items: center; }
.readiness h2 { font-size: 36px; max-width: 600px; margin-bottom: 14px; }
.readiness .lead { margin-bottom: 24px; }
.dimensions { display: flex; flex-wrap: wrap; gap: 10px 0; padding: 0; margin: 28px 0; list-style: none; }
.dimensions li { color: var(--navy); font-size: 14px; font-weight: 500; line-height: 1.5; padding: 0 13px; border-left: 2px solid var(--mid-blue); margin-right: 10px; }
.readiness .btn-secondary { border-color: var(--mid-blue); color: var(--mid-blue); }
.brief { background: var(--light-neutral); border-top: 3px solid var(--mid-blue); padding: 30px 0 0 32px; border-left: 1px solid var(--rule); }
.brief-heading h3 { font-size: 26px; line-height: 1.25; max-width: 340px; }
.brief-heading p { color: var(--mid-blue); margin-top: 10px; font-size: 15px; }
.brief dl { margin: 32px 0 0; }
.brief-item { border-top: 1px solid var(--rule); padding: 24px 0; }
.brief-item dt { font-size: 18px; font-weight: 600; color: var(--navy); line-height: 1.4; }
.brief-item dd { margin: 10px 0 0; font-size: 16px; line-height: 1.6; max-width: 320px; }

/* Journey: five preserved stages, grouped first two, arrows retain sequence. */
.journey h2 { max-width: 890px; }
.journey-flow { margin-top: 36px; }
.session-bracket { width: calc(40% - 10px); height: 26px; border: 1px solid var(--mid-blue); border-bottom: 0; text-align: center; font-size: 13px; line-height: 1; color: var(--mid-blue); font-weight: 500; margin-bottom: 8px; }
.session-bracket span { position: relative; top: -7px; padding: 0 12px; background: var(--white); }
.journey-list { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); list-style: none; gap: 16px; margin: 0; padding: 0; }
.journey-step { position: relative; padding: 26px 20px 28px; background: var(--light-neutral); border-top: 3px solid var(--mid-blue); }
.journey-step:nth-child(-n+2) { background: var(--navy); color: var(--white); border-color: var(--navy); }
.journey-step:not(:last-child)::after { content: '→'; position: absolute; top: 33px; right: -14px; width: 12px; color: var(--mid-blue); background: var(--white); font-size: 17px; line-height: 1; z-index: 1; }
.step-number { display: inline-flex; justify-content: center; align-items: center; width: 28px; height: 28px; font-size: 14px; font-weight: 600; color: var(--mid-blue); background: var(--white); border: 1px solid var(--rule); border-radius: 50%; margin-bottom: 20px; }
.journey-step h3 { font-size: 18px; line-height: 1.35; min-height: 73px; }
.journey-step:nth-child(-n+2) h3 { color: var(--white); }
.journey-step p { font-size: 15px; line-height: 1.6; margin-top: 16px; }
.journey-note { background: var(--light-neutral); color: var(--navy); padding: 18px 24px; margin-top: 24px; font-size: 15px; border-left: 3px solid var(--mid-blue); }

/* Credibility: the approved copy and four capability labels, with no new icons. */
.why { border-top: 1px solid var(--rule); }
.why h2 { max-width: 940px; }
.why-grid { display: grid; grid-template-columns: minmax(0,1.18fr) minmax(0,1fr); gap: 80px; }
.why-copy .text-link { margin-top: 22px; }
.capability-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); list-style: none; margin: 4px 0 32px; padding: 0; border-top: 2px solid var(--mid-blue); }
.capability-grid li { min-height: 106px; padding: 26px 20px 26px 0; border-bottom: 1px solid var(--rule); font-size: 20px; font-weight: 600; line-height: 1.4; color: var(--navy); }
.capability-grid li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--rule); }
.expertise > p { font-size: 16px; line-height: 1.65; }

/* Closing: one primary action and the approved secondary text link. */
.closing { background: var(--navy); color: var(--white); padding-block: 88px; }
.closing .eyebrow { color: var(--white); }
.closing h2 { font-size: 40px; color: var(--white); max-width: 820px; }
.closing .measure { max-width: 780px; }
.closing .text-link { color: var(--white); }
.closing .btn-primary:hover { outline: 1px solid var(--white); outline-offset: 2px; }

/* Footer: unchanged light-background brand, no reversed/standalone mark. */
.site-footer { background: var(--white); padding: 48px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.45fr 1fr; gap: 64px; align-items: start; }
.brand--footer { width: 200px; height: auto; flex-basis: 200px; }
.domain { display: inline-block; margin-top: 8px; font-size: 14px; color: var(--navy); }
.footer-nav ul { list-style: none; padding: 10px 0 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 30px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--navy); font-size: 14px; font-weight: 500; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-contact { padding-top: 11px; }
.footer-contact .text-link { color: var(--navy); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid var(--rule); margin-top: 40px; padding-top: 24px; font-size: 12px; }
.footer-bottom a { color: var(--navy); min-height: 44px; display: inline-flex; align-items: center; }

/* Preview-only dialogs: separate from the approved public-site content. */
dialog { color: var(--dark-text); background: var(--white); border: 0; border-radius: 6px; padding: 44px; width: min(680px,calc(100% - 40px)); max-height: calc(100svh - 48px); overflow-y: auto; }
dialog::backdrop { background: rgba(8,34,84,.55); }
dialog h2 { font-size: 30px; margin: 16px 0 22px; }
dialog .btn { margin-top: 24px; }
.dialog-close { position: absolute; right: 8px; top: 8px; border: 0; color: var(--navy); background: transparent; width: 44px; height: 44px; font-size: 28px; line-height: 1; }
.preview-notice { padding: 12px 14px; background: var(--light-neutral); border-left: 3px solid var(--mid-blue); font-size: 14px; line-height: 1.5; margin: 8px 0 24px; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin-top: 26px; }
.form-wide { grid-column: 1 / -1; }
label { display: block; font-size: 14px; font-weight: 500; color: var(--navy); margin-bottom: 7px; }
input, textarea { width: 100%; color: var(--dark-text); background: var(--white); border: 1px solid var(--navy); border-radius: 3px; padding: 10px 12px; min-height: 48px; font-size: 16px; }
textarea { resize: vertical; }
#form-status { font-size: 15px; font-weight: 500; color: var(--navy); margin-top: 18px; }

/* Wider horizontal logo: collapse navigation before header can become crowded. */
@media (max-width: 1279px) {
  .primary-nav { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 15px; border: 1px solid var(--rule); border-radius: 4px; color: var(--navy); background: var(--white); padding: 8px 14px; min-height: 44px; font-size: 15px; font-weight: 500; }
  .menu-icon { display: flex; width: 18px; height: 15px; flex-direction: column; justify-content: space-between; padding-block: 3px; }
  .menu-icon span { display: block; width: 18px; height: 1.5px; background: var(--navy); }
  .menu-toggle[aria-expanded="true"] .menu-icon { justify-content: center; }
  .menu-toggle[aria-expanded="true"] .menu-icon span:first-child { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon span:last-child { transform: translateY(-1.5px) rotate(-45deg); }
  .primary-nav.is-open { display: flex; justify-content: flex-start; position: absolute; top: calc(var(--header-height) - 1px); left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; gap: 20px; max-height: calc(100svh - var(--header-height)); overflow-y: auto; padding: 16px var(--gutter) 28px; border-bottom: 1px solid var(--rule); }
  .primary-nav.is-open > * { flex-shrink: 0; }
  .primary-nav.is-open ul { flex-direction: column; gap: 0; align-items: stretch; }
  .primary-nav.is-open li a { display: flex; min-height: 52px; border-bottom: 1px solid var(--rule); font-size: 16px; }
  .primary-nav.is-open .header-cta { align-self: flex-start; }
}
@media (max-width: 1179px) {
  :root { --gutter: 48px; }
  .hero-grid { gap: 0 48px; grid-template-columns: 1.15fr 1fr; }
  .hero-copy p { font-size: 17px; }
  .readiness-grid { gap: 56px; }
  .journey-list { gap: 12px; }
  .journey-step { padding-inline: 16px; }
  .journey-step h3 { font-size: 17px; }
  .why-grid { gap: 48px; }
  .footer-grid { gap: 40px; }
}
@media (max-width: 1023px) {
  :root { --gutter: 40px; --section-space: 80px; }
  .hero { padding-block: 78px 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-grid h1 { grid-column: 1; grid-row: 1; max-width: 690px; font-size: 46px; }
  .hero-copy { grid-column: 1; grid-row: 2; max-width: 710px; padding-top: 0; }
  .hero-copy p { font-size: 18px; line-height: 1.65; }
  .hero-actions { grid-column: 1; grid-row: 3; flex-direction: row; margin-top: 0; gap: 16px 28px; }
  h2 { font-size: 32px; }
  .friction { padding: 20px 16px; font-size: 16px; }
  .outcomes-list li { font-size: 15px; padding-inline: 14px; }
  .readiness-grid { grid-template-columns: 1.15fr 1fr; gap: 42px; }
  .readiness h2 { font-size: 31px; }
  .brief { padding-left: 24px; }
  .brief-heading h3 { font-size: 23px; }
  .session-bracket { width: 100%; max-width: 440px; }
  .journey-list { grid-template-columns: 1fr; gap: 14px; }
  .journey-step { display: grid; grid-template-columns: 32px 210px 1fr; align-items: start; gap: 20px; padding: 25px 26px; border-top: 0; border-left: 3px solid var(--mid-blue); }
  .step-number { margin: 0; }
  .journey-step h3 { min-height: auto; font-size: 18px; }
  .journey-step p { margin: 0; font-size: 16px; }
  .journey-step:not(:last-child)::after { content: '↓'; left: 35px; top: auto; right: auto; bottom: -14px; width: 15px; height: 14px; font-size: 16px; text-align: center; }
  .why-grid { grid-template-columns: 1.15fr 1fr; gap: 40px; }
  .capability-grid li { font-size: 18px; padding-inline: 10px; }
  .capability-grid li:nth-child(even) { padding-left: 16px; }
  .footer-grid { grid-template-columns: 170px 1fr; }
  .footer-contact { grid-column: 2; margin-top: -54px; }
}
@media (max-width: 767px) {
  :root { --gutter: 24px; --header-height: 72px; --section-space: 68px; }
  body { font-size: 16px; line-height: 1.65; }
  h1, .hero-grid h1 { font-size: clamp(35px, 7.85vw, 42px); line-height: 1.13; letter-spacing: -.035em; }
  h2 { font-size: 29px; margin-bottom: 22px; }
  h3 { font-size: 21px; }
  .eyebrow { font-size: 12px; letter-spacing: .105em; margin-bottom: 18px; }
  .brand { width: 160px; height: auto; flex-basis: 160px; }
  .hero { padding-block: 60px 64px; }
  .hero > .container > .eyebrow { margin-bottom: 26px; font-size: 11px; }
  .hero-grid { gap: 26px; }
  .hero-copy p { font-size: 17px; line-height: 1.67; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions .text-link { justify-content: flex-start; }
  .btn { min-height: 52px; padding: 13px 17px; font-size: 15px; gap: 12px; }
  .hero .btn { padding-inline: 14px; }
  .text-link { font-size: 15px; }
  .actions { align-items: stretch; flex-direction: column; gap: 14px; }
  .primary-nav.is-open .header-cta { width: 100%; }
  .friction-grid { grid-template-columns: 1fr; margin-block: 28px 32px; }
  .friction { min-height: 70px; padding: 20px; font-size: 18px; }
  .friction + .friction { border-left: 0; border-top: 1px solid var(--rule); }
  .outcomes-list { display: flex; flex-wrap: wrap; gap: 14px 24px; }
  .outcomes-list li { padding: 0; font-size: 16px; }
  .outcomes-list li + li { border: 0; }
  .readiness-grid, .why-grid { grid-template-columns: minmax(0,1fr); gap: 48px; }
  .readiness h2 { font-size: 31px; }
  .readiness .lead { font-size: 20px; }
  .dimensions { gap: 12px 0; }
  .dimensions li { font-size: 14px; }
  .readiness .btn { width: 100%; }
  .brief { padding: 26px 0 0; border-left: 0; }
  .brief-heading h3 { font-size: 25px; }
  .brief dl { margin-top: 26px; }
  .brief-item dd { max-width: none; }
  .journey h2 { font-size: 29px; }
  .journey-flow { margin-top: 34px; }
  .session-bracket { font-size: 12px; width: 100%; }
  .journey-list { gap: 16px; }
  .journey-step { grid-template-columns: 32px minmax(0,1fr); gap: 0 18px; padding: 24px 20px; }
  .journey-step h3 { font-size: 20px; }
  .journey-step p { grid-column: 2; margin-top: 14px; font-size: 16px; }
  .journey-step:not(:last-child)::after { left: 26px; bottom: -16px; height: 16px; }
  .journey-note { padding: 18px 20px; font-size: 15px; }
  .capability-grid { margin-top: 0; }
  .capability-grid li { font-size: 20px; padding-block: 24px; }
  .closing { padding-block: 68px; }
  .closing h2 { font-size: 32px; }
  .closing .actions { margin-top: 28px; }
  .closing .text-link { align-self: flex-start; }
  .site-footer { padding: 34px 0 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .brand--footer { width: 200px; height: auto; flex-basis: 200px; }
  .footer-nav ul { grid-template-columns: 1fr; gap: 0; padding: 0; }
  .footer-nav a { font-size: 15px; min-height: 46px; }
  .footer-contact { grid-column: 1; margin-top: 0; padding: 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 28px; padding-top: 24px; }
  .footer-bottom p { max-width: 280px; font-size: 12px; }
  dialog { padding: 36px 24px 28px; width: calc(100% - 32px); max-height: calc(100svh - 32px); }
  dialog h2 { font-size: 26px; }
  .form-grid { grid-template-columns: 1fr; }
  .inquiry-dialog .btn { width: 100%; }
}
@media (max-width: 359px) {
  :root { --gutter: 20px; }
  .hero-grid h1 { font-size: 34px; }
  .btn { font-size: 14px; }
  .hero .btn .arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
@media print {
  .site-header { position: static; }
  .menu-toggle, dialog, .skip-link { display: none !important; }
  .section, .hero { padding-block: 28px; }
  .closing, .journey-step:nth-child(-n+2) { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  a { text-decoration: none; }
}

/* Progressive fallback: native HTML menu remains usable if scripts are blocked. */
.fallback-menu { display: none; }
@media (max-width: 1279px) {
  html:not(.js) .menu-toggle, html:not(.js) .primary-nav { display: none; }
  html:not(.js) .site-header { position: relative; height: auto; min-height: var(--header-height); }
  html:not(.js) .header-inner { flex-wrap: wrap; gap: 0; }
  html:not(.js) .brand { margin-block: 16px; }
  html:not(.js) .fallback-menu { display: block; flex: 0 0 100%; }
  html:not(.js) .fallback-menu summary { position: absolute; top: 14px; right: var(--gutter); }
  .fallback-menu summary { display: list-item; list-style-position: inside; cursor: pointer; border: 1px solid var(--rule); border-radius: 4px; color: var(--navy); background: var(--white); padding: 8px 14px; min-height: 44px; font-size: 15px; font-weight: 500; }
  .fallback-menu[open] .fallback-nav { display: flex; position: static; background: var(--white); flex-direction: column; align-items: stretch; gap: 20px; padding: 16px 0 28px; border-bottom: 1px solid var(--rule); }
  .fallback-nav > * { flex-shrink: 0; }
  .fallback-nav ul { display: flex; flex-direction: column; list-style: none; margin: 0; padding: 0; }
  .fallback-nav li a { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--rule); color: var(--navy); font-size: 16px; text-decoration: none; }
  .fallback-nav li a:hover { text-decoration: underline; }
  .fallback-nav .header-cta { align-self: flex-start; }
}

/* Only suppress programmatic route-heading rings following pointer/touch input. */
[data-route-pointer-focus]:focus { outline: none; }
