/* Cogneris static-site prototype. No frameworks and no external dependencies. */
:root {
  --navy: #092941;
  --navy-deep: #071f31;
  --navy-soft: #3b566a;
  --coral: #ee5e44;
  --coral-hover: #dc4c34;
  --cream: #fffdf9;
  --cream-dim: #f9f7f2;
  --ink: #102d42;
  --muted: #5b7182;
  --line: #e8e7e3;
  --pale-blue: #eef6fa;
  --wrap: 1240px;
  --serif: 'Iowan Old Style', 'Baskerville', 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Avenir Next', 'Segoe UI', Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #ffb08d; outline-offset: 4px; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
.wrap { width: min(calc(100% - 104px), var(--wrap)); margin-inline: auto; }
.skip-link { position: absolute; top: -80px; left: 16px; z-index: 200; background: white; color: var(--navy); padding: 12px 18px; border: 2px solid var(--navy); }
.skip-link:focus { top: 10px; }
.eyebrow { margin: 0; color: #557188; font-size: .70rem; font-weight: 750; letter-spacing: .20em; line-height: 1.5; text-transform: uppercase; }
.eyebrow-light { color: #c8d4dc; }
h1,h2,h3,p { margin-top: 0; }
h1,h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.049em; }
h1 { line-height: .985; }
h2 { line-height: 1.08; }
h3 { line-height: 1.2; }
.headline-period { color: var(--coral); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 19px; min-height: 53px; width: max-content; max-width: 100%; padding: 14px 23px; border: 1px solid transparent; background: var(--coral); color: white; font-size: .89rem; font-weight: 700; text-decoration: none; line-height: 1.2; letter-spacing: -.01em; border-radius: 5px; box-shadow: 0 3px 0 rgba(40, 31, 26, .06); transition: background .18s ease, transform .18s ease; }
.button:hover { background: var(--coral-hover); transform: translateY(-1px); }
.button-small { min-height: 45px; padding: 12px 18px; font-size: .79rem; }
.button span { font-size: 1.1rem; font-weight: 400; }
.text-link { display: inline-flex; gap: 13px; align-items: center; width: max-content; max-width: 100%; font-size: .88rem; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; transition: color .18s ease; }
.text-link:hover { color: var(--coral-hover); }
.text-link span { font-size: 1rem; text-decoration: none; }

/* Header */
.site-header { position: relative; z-index: 25; background: var(--cream); }
.header-inner { min-height: 94px; display: flex; align-items: center; gap: 45px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; white-space: nowrap; }
.brand img { flex: 0 0 auto; }
.brand span { font-family: var(--serif); font-size: 2rem; font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.primary-nav { display: flex; align-items: center; gap: 33px; margin-left: 28px; }
.primary-nav > a { color: var(--ink); font-size: .83rem; text-decoration: none; white-space: nowrap; }
.primary-nav > a:not(.mobile-nav-cta):hover { color: var(--coral-hover); }
.header-cta { margin-left: auto; }
.mobile-nav-cta,.menu-toggle { display: none; }

/* Homepage hero */
.hero { position: relative; background: radial-gradient(circle at 76% 44%, #fcfbf8 0, var(--cream) 42%); overflow: hidden; }
.hero-layout { min-height: 590px; display: grid; grid-template-columns: minmax(0, 1.035fr) minmax(0, .965fr); align-items: center; gap: 22px; padding-block: 44px 96px; }
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow { margin-bottom: 20px; }
.hero h1 { max-width: 760px; font-size: clamp(4.1rem, 5.55vw, 5.75rem); color: var(--navy); margin: 0 0 27px; }
.hero h1 span:not(.headline-period) { display: block; }
.hero-description { max-width: 540px; font-size: clamp(1rem, 1.28vw, 1.17rem); line-height: 1.62; color: #28445a; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 19px 23px; }
.hero-visual { position: relative; isolation: isolate; width: 100%; min-width: 0; padding-top: 12px; }
.hero-art-field { position: relative; height: clamp(330px, 35vw, 472px); display: flex; align-items: center; justify-content: center; }
.hero-art-field::before { content: ''; position: absolute; width: 89%; height: 83%; border-radius: 50%; z-index: -1; background: radial-gradient(ellipse at center, #f7f5f0 0, rgba(255,253,249,0) 75%); }
.shortcut-art { display: block; width: 110%; max-width: none; height: 100%; object-fit: contain; filter: drop-shadow(0 17px 24px rgba(9,41,65,.055)); }
.art-caption { display: flex; align-items: center; gap: 13px; color: #627d92; font-size: .73rem; letter-spacing: .075em; margin: -12px 0 0 13%; }
.art-caption .line { display: inline-block; width: 28px; height: 1px; background: var(--coral); }

/* Example comparison */
.section { padding-block: 88px; }
.workflow-section { border-top: 1px solid rgba(9,41,65,.07); background: #faf9f6; }
.section-intro { margin-bottom: 32px; }
.section-intro h2 { color: var(--navy); font-size: clamp(2.7rem, 4vw, 4.2rem); margin: 14px 0 10px; }
.section-lede { font-size: 1.1rem; color: #425b6e; margin: 0; }
.workflow-grid { display: grid; grid-template-columns: minmax(0,1fr) 48px minmax(0,1fr); align-items: center; gap: 26px; }
.workflow-card { min-height: 265px; padding: 33px 39px 33px; border: 1px solid #f0efea; border-radius: 7px; background: #fff; }
.improved-workflow { background: #edf6fa; border-color: #e8f2f7; }
.workflow-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.workflow-heading h3 { margin: 0; font-weight: 650; font-size: 1rem; color: var(--navy); }
.workflow-indicator { display: inline-block; width: 9px; height: 9px; border-radius: 50%; }
.workflow-indicator.neutral { background: #607c91; }
.workflow-indicator.accent { background: var(--coral); }
.workflow-list { padding: 0 0 0 23px; margin: 0 0 0 2px; list-style: none; border-left: 1px solid #b6c5ce; }
.improved-workflow .workflow-list { border-left-color: #ffad9d; }
.workflow-list li { position: relative; padding: 0 0 20px 5px; color: #263e51; line-height: 1.46; font-size: .97rem; }
.workflow-list li:last-child { padding-bottom: 0; }
.workflow-list li::before { content: ''; position: absolute; left: -29px; top: 5px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #718da0; background: white; }
.improved-workflow .workflow-list li::before { border-color: var(--coral); background: var(--coral); }
.workflow-arrow { font-family: var(--sans); font-size: 2.15rem; font-weight: 300; color: #3c5970; justify-self: center; }
.disclosure { text-align: right; font-size: .77rem; color: #718393; margin: 17px 0 0; }

/* Why and funding */
.value-section { background: var(--cream); padding-block: 99px 96px; }
.value-grid { display: grid; grid-template-columns: 1fr .75fr; gap: 9.5%; }
.value-col h2 { font-size: clamp(2.7rem, 3.6vw, 3.8rem); color: var(--navy); margin: 12px 0 20px; }
.value-col p:not(.eyebrow) { font-size: 1.04rem; line-height: 1.68; max-width: 565px; color: #355064; margin-bottom: 13px; }
.value-col .text-link { margin-top: 18px; color: var(--coral-hover); }
.funding-col { position: relative; padding-left: 46px; border-left: 1px solid #d9dedf; }
.funding-col h2 { font-size: clamp(2.5rem, 3.15vw, 3.45rem); }

/* Closing & footer */
.closing-section { background: var(--navy-deep); color: #fff; padding-block: 80px 87px; }
.closing-grid { display: grid; grid-template-columns: .9fr 1.06fr auto; align-items: center; gap: 43px; }
.closing-title-group h2 { font-size: clamp(2.75rem, 3.55vw, 3.9rem); margin: 12px 0 0; color: #fff; }
.closing-period { color: var(--coral); }
.closing-copy { border-left: 1px solid #456073; padding-left: 37px; }
.closing-copy p { margin: 0 0 9px; color: #e1ebf0; line-height: 1.65; font-size: .92rem; }
.closing-copy p:last-child { margin-bottom: 0; }
.closing-action { display: flex; flex-direction: column; gap: 13px; align-items: flex-start; }
.closing-action > span { font-size: .73rem; color: #c9d9e2; }
.site-footer { background: #fffefa; border-top: 1px solid #e9e8e4; padding: 29px 0 34px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-brand .brand span { font-size: 1.67rem; }
.footer-brand small { color: #728799; font-size: .71rem; }
.footer-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.footer-links { display: flex; align-items: center; gap: 23px; }
.footer-links a { color: #516b7e; font-size: .76rem; text-decoration: none; }
.footer-links a:hover { color: var(--coral-hover); }
.footer-signature { color: #526b7e; text-transform: uppercase; letter-spacing: .16em; font-size: .63rem; font-weight: 700; }

/* Short secondary pages */
.subpage-hero { padding: 100px 0 84px; border-bottom: 1px solid var(--line); }
.subpage-hero h1 { font-size: clamp(3.9rem, 7.6vw, 7.25rem); color: var(--navy); margin: 17px 0 24px; max-width: 980px; }
.subpage-hero .intro { font-size: clamp(1.15rem,1.8vw,1.38rem); line-height: 1.6; color: #355064; max-width: 710px; }
.subpage-main { padding: 74px 0 110px; }
.subpage-main h2 { font-size: clamp(2.1rem,4vw,3.5rem); color: var(--navy); margin: 0 0 26px; }
.subpage-main h3 { font-size: 1.18rem; margin-bottom: 12px; }
.subpage-main p,.subpage-main li { color: #385368; font-size: 1.03rem; line-height: 1.73; }
.subpage-main p { max-width: 830px; }
.subpage-main .text-link { color: var(--coral-hover); }
.content-narrow { max-width: 820px; }
.content-narrow h2:not(:first-child) { margin-top: 55px; }
.service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin-top: 37px; }
.service-item { border-top: 2px solid var(--navy); padding: 26px 0 0; }
.service-item .service-count { color: var(--coral); font-size: .82rem; font-weight: 750; letter-spacing: .09em; }
.service-item h3 { margin-top: 17px; font-family: var(--serif); font-size: 2rem; font-weight: 500; color: var(--navy); }
.service-item p { font-size: .97rem; }
.note { border-left: 3px solid var(--coral); padding: 18px 23px; background: #faf8f3; color: #486174; line-height: 1.65; }
.program-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 42px 0 32px; }
.program { border: 1px solid #e7e9e8; padding: 26px; background: white; border-radius: 5px; }
.program h3 { color: var(--navy); }
.program p { font-size: .94rem; }
.program a { color: #cf533d; }
.page-cta { padding: 46px 0; border-top: 1px solid var(--line); }
.page-cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.page-cta p { margin: 0; font-family: var(--serif); font-size: clamp(1.8rem,3vw,2.8rem); color: var(--navy); }

/* Contact form, no server required (builds an email draft). */
.contact-grid { display: grid; grid-template-columns: minmax(0,.7fr) minmax(0,1.1fr); gap: 11%; align-items: start; }
.contact-aside h2 { font-size: 2.45rem; }
.contact-aside p { color: #536e80; font-size: 1rem; }
.contact-aside a { color: var(--coral-hover); }
.contact-form { border: 1px solid var(--line); background: white; border-radius: 7px; padding: 36px; }
.contact-form label { display: block; font-weight: 650; font-size: .83rem; color: var(--navy); margin-bottom: 18px; }
.contact-form label span { display: block; margin-bottom: 8px; }
.contact-form label .optional { display: inline; font-weight: 400; color: #768899; font-size: .77rem; }
.contact-form input,.contact-form textarea { width: 100%; border: 1px solid #cad4d9; background: var(--cream); border-radius: 4px; padding: 13px 14px; color: var(--navy); outline-offset: 2px; }
.contact-form textarea { min-height: 125px; resize: vertical; }
.contact-form input:focus,.contact-form textarea:focus { border-color: var(--navy); }
.form-details { font-size: .83rem !important; color: #6d8290 !important; }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.form-message { margin-top: 18px; color: #33536a; font-size: .88rem; line-height: 1.6; }
.form-message:empty { display: none; }

@media (min-width: 1600px) { .hero h1 { font-size: 6rem; } }
@media (max-width: 1180px) {
  .wrap { width: min(calc(100% - 76px), var(--wrap)); }
  .header-inner { gap: 21px; }
  .primary-nav { margin-left: 4px; gap: 24px; }
  .hero h1 { font-size: clamp(3.8rem,5.55vw,5rem); }
  .closing-grid { gap: 29px; grid-template-columns: 1fr 1.1fr; }
  .closing-action { grid-column: 2; }
}
@media (max-width: 930px) {
  .wrap { width: min(calc(100% - 60px), var(--wrap)); }
  .header-cta { display: none; }
  .menu-toggle { border: 0; display: flex; margin-left: auto; flex-direction: column; gap: 7px; padding: 13px 7px; background: transparent; }
  .menu-toggle span { width: 26px; height: 2px; display: block; background: var(--navy); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 20; margin: 0; padding: 22px 30px 34px; flex-direction: column; align-items: stretch; gap: 0; background: var(--cream); border-top: 1px solid var(--line); box-shadow: 0 30px 35px rgba(9,41,65,.1); }
  .primary-nav.is-open { display: flex; }
  .primary-nav > a { display: block; border-bottom: 1px solid var(--line); padding: 17px 0; font-size: 1rem; }
  .primary-nav > .mobile-nav-cta { display: block; font-weight: 700; color: var(--coral-hover); }
  .hero-layout { min-height: auto; grid-template-columns: 1fr; padding-block: 59px 65px; gap: 22px; }
  .hero h1 { max-width: 770px; font-size: clamp(4.2rem, 8vw, 6.8rem); }
  .hero-visual { max-width: 730px; margin: 0 auto; }
  .hero-art-field { height: 390px; }
  .shortcut-art { width: 100%; }
  .art-caption { margin-top: -18px; }
  .value-grid { gap: 5%; }
  .funding-col { padding-left: 32px; }
  .closing-grid { grid-template-columns: 1fr 1.05fr; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 25px; }
  .wrap { width: calc(100% - 42px); }
  .header-inner { min-height: 71px; }
  .brand img { width: 31px; height: 31px; }
  .brand span { font-size: 1.72rem; }
  .hero-layout { padding: 43px 0 56px; gap: 26px; }
  .hero-eyebrow { margin-bottom: 16px; }
  .hero h1 { font-size: clamp(3.2rem, 10.75vw, 5rem); letter-spacing: -.054em; margin-bottom: 24px; }
  .hero-description { font-size: 1rem; line-height: 1.57; }
  .hero-actions { gap: 18px; flex-direction: column; align-items: flex-start; }
  .button { min-height: 50px; font-size: .86rem; padding: 13px 19px; }
  .text-link { font-size: .84rem; }
  .hero-visual { margin-top: 10px; }
  .hero-art-field { height: auto; min-height: 250px; }
  .shortcut-art { width: 100%; max-height: 345px; }
  .art-caption { margin-top: 3px; margin-left: 8%; }
  .section { padding-block: 68px; }
  .section-intro h2 { font-size: clamp(2.5rem,9vw,3.8rem); }
  .desktop-only { display: none; }
  .section-lede { font-size: 1rem; }
  .workflow-grid { grid-template-columns: 1fr; gap: 13px; }
  .workflow-card { min-height: auto; padding: 27px 25px 27px; }
  .workflow-arrow { transform: rotate(90deg); line-height: 1.1; }
  .disclosure { text-align: left; line-height: 1.5; }
  .value-section { padding-block: 70px 72px; }
  .value-grid { grid-template-columns: 1fr; gap: 52px; }
  .value-col h2 { font-size: clamp(2.5rem,8vw,3.7rem); }
  .value-col p:not(.eyebrow) { font-size: .98rem; }
  .funding-col { border-left: 0; border-top: 1px solid var(--line); padding: 42px 0 0; }
  .closing-section { padding-block: 65px; }
  .closing-grid { grid-template-columns: 1fr; gap: 28px; }
  .closing-title-group h2 { font-size: clamp(2.75rem,10vw,3.65rem); }
  .closing-copy { border-left: 0; padding-left: 0; }
  .closing-action { grid-column: auto; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 33px; }
  .footer-meta { align-items: flex-start; }
  .subpage-hero { padding: 70px 0 60px; }
  .subpage-hero h1 { font-size: clamp(3.2rem, 12vw,5.5rem); }
  .subpage-main { padding: 58px 0 80px; }
  .service-grid,.program-list,.contact-grid { grid-template-columns: 1fr; }
  .service-grid { gap: 27px; }
  .program-list { gap: 13px; }
  .contact-form { padding: 25px 22px; }
  .page-cta .wrap { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 420px) {
  .hero h1 { font-size: clamp(2.75rem,10.3vw,3.3rem); }
  .hero-art-field { min-height: 195px; }
  .workflow-list li { font-size: .9rem; }
  .header-inner { min-height: 67px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* v0.2: specific services, commerce and clarity without additional homepage visual noise. */
.primary-nav a[aria-current="page"] { color: var(--navy); font-weight: 750; text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 8px; }
.section-break { margin-top: 86px; }
.section-break h2 { margin-top: 13px; }
.sprint-panel { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 9%; margin-top: 74px; padding: 52px 56px; border: 1px solid #dde8e9; background: #f3f8f9; border-radius: 7px; }
.sprint-panel h2 { margin: 11px 0 20px; }
.sprint-panel h3 { font-family: var(--serif); font-size: 2.2rem; font-weight: 500; color: var(--navy); margin: 4px 0 20px; }
.sprint-panel p { margin-bottom: 21px; }
.sprint-panel .button { margin-top: 14px; }
.plain-detail-list { padding-left: 22px; margin: 0; }
.plain-detail-list li { margin-bottom: 11px; padding-left: 5px; }
.sprint-panel .fine-print,.standalone-note { font-size: .86rem; color: #617889; }
.standalone-note { padding-top: 22px; }
.thinking-questions { padding-left: 26px; columns: 2; column-gap: 50px; }
.thinking-questions li { break-inside: avoid; padding: 4px 0; }
.about-invitation { border-top: 1px solid var(--line); margin-top: 70px; padding-top: 36px; }
.about-invitation h3 { font-family: var(--serif); font-size: 2.2rem; color: var(--navy); font-weight: 500; }
.contact-form .form-intro { font-size: .98rem; margin-bottom: 24px; }
.contact-form .form-intro strong { color: var(--navy); }
@media (max-width: 930px) { .sprint-panel { padding: 38px; gap: 5%; } }
@media (max-width: 680px) { .section-break { margin-top: 66px; } .sprint-panel { grid-template-columns: 1fr; gap: 34px; padding: 29px 25px; } .thinking-questions { columns: 1; } }
