/* September refinement. Portfolio/deck presentation deliberately excluded. */
:root { --motion-ease: cubic-bezier(.22, .8, .25, 1); }
.mono { font-variant-numeric: tabular-nums; }
.header { position: relative; }
.header::after {
  content: ''; position: absolute; left: 0; bottom: -1px;
  width: 44px; height: 1px; background: var(--red);
}
.header nav a { position: relative; min-height: 44px; display: inline-flex; align-items: center; }
.header nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 5px; height: 1px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform 220ms var(--motion-ease);
}
.header nav a:focus-visible::after { transform: scaleX(1); transition-duration: 0s; }
.header-cta { min-height: 44px; }
.header-cta, .solid-button { transition: background 180ms ease, color 180ms ease; }
.header-cta > span, .solid-button > span, .orientation-link > span, .hero-bottom a > span {
  display: inline-block; transition: transform 160ms var(--motion-ease);
}
.header-cta:focus-visible { background: var(--cream); color: var(--ink); }
.solid-button:focus-visible { background: #932624; }
.hero-word { display: inline-block; }
#hero-title { line-height: .97; }
#hero-title > .hero-word { color: var(--cream); }
#hero-title > .business-word { color: #c5c1b8; }
.hero-main { gap: 24px; }
.hero-copy > p { max-width: 380px; }
.hero .text-link { min-height: 44px; position: relative; }
.hero .text-link::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 1px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform 220ms var(--motion-ease);
}
.hero .text-link:focus-visible::after { transform: scaleX(1); transition-duration: 0s; }
.hero .text-link > span { transition: transform 160ms var(--motion-ease); }
/* Neutralize the original unqualified hover transform on touch devices. */
.hero .text-link:hover > span { transform: none; }
.evolution-art { padding-top: 5px; }
.artifact-field { position: relative; flex: 1; min-height: 0; display: flex; }
#evolution { height: 385px; flex: 1; min-width: 0; min-height: 0; }
.artifact-axis { position: absolute; top: 12%; bottom: 8%; left: 2px; display: flex; align-items: center; line-height: 9; color: #777264; font-size: 8px; pointer-events: none; }
.artifact-axis-right { left: auto; right: 2px; }
.artifact-meta { display: flex; justify-content: space-between; gap: 12px; padding: 0 0 17px; font-size: 8px; color: #a39d90; }
.artifact-meta > :first-child { color: #bcb5a8; }
.art-caption { min-height: 104px; }
.art-caption h2 { max-width: 450px; }
.art-caption p { max-width: 430px; }
.stage-index { min-width: 58px; }
.art-top > span:first-child { color: #f27165; }
.timeline { position: relative; }
#play-evolution { min-height: 44px; min-width: 122px; justify-content: flex-end; color: var(--cream); }
#play-icon { display: grid; place-items: center; border: 1px solid #6e685c; width: 28px; height: 28px; font-size: 12px; }
#play-evolution:hover #play-icon, #play-evolution:focus-visible #play-icon { border-color: var(--red); color: var(--red); }
#evolution-progress { height: 36px; margin-top: 0; }
.stage-buttons button { min-height: 44px; transition: color 180ms ease; }
.stage-buttons button:hover { color: var(--cream); }
.stage-buttons button[aria-pressed=true] span, .stage-index { color: #f27165; }
.hero-bottom { align-items: center; padding-top: 18px; }
.hero-bottom a { min-height: 44px; align-items: center; }
.capabilities, .intake-section { scroll-margin-top: 28px; }
.capabilities { padding-block: 86px 68px; }
.capabilities .section-label, .intake-section .section-label { position: relative; padding-left: 18px; }
.capabilities .section-label::before, .intake-section .section-label::before {
  content: '+'; position: absolute; left: 0; color: var(--red); font: 12px var(--mono); top: -2px;
}
.intake-section .section-label::before { color: var(--carmine); }
.capability-intro h2, .intake-heading h2 { text-wrap: balance; }
.capability-intro > p { font-size: 14px; color: #c2bcb0; }
.capability-grid { margin-top: 52px; }
.capability-grid button { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding-top: 28px; isolation: isolate; }
.capability-grid button::before, .start-options button::before {
  content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform 220ms var(--motion-ease);
}
.capability-grid button:focus-visible::before,
.start-options button:focus-visible::before { transform: scaleX(1); transition-duration: 0s; }
.cap-icon { font-size: 16px; letter-spacing: -.04em; color: #f27165; }
.capability-grid .cap-icon { line-height: 20px; min-height: 20px; }
.service-number { position: absolute; top: 32px; right: 28px; color: #9d9789; font-size: 9px; }
.service-glyphs { font: 13px/1.35 var(--mono); letter-spacing: 0; color: #898678; margin: 36px 0 0; padding: 0; white-space: pre; pointer-events: none; }
.service-glyphs span { color: #ed7467; }
.capability-grid h3 { margin-top: 34px; font-size: 25px; }
.capability-grid p { color: #bcb5a8; font-size: 13px; }
.cap-bottom { align-self: stretch; margin-top: auto; padding-top: 28px; font-size: 9px; color: #b3aa9b; }
.cap-bottom > span { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid #565145; border-radius: 50%; transition: transform 160ms var(--motion-ease), color 180ms ease; }
.capability-grid button:focus-visible .cap-bottom > span { color: #f27165; transition-duration: 0s; }
.capability-grid button:focus-visible { outline-offset: -5px; }
.agency-note { padding-top: 4px; }
.agency-note > .mono { color: #b4ac9d; }
.agency-note p { max-width: 520px; font-size: 24px; }
.agency-note > span:last-child { transform-origin: center; }
.intake-section { padding-block: 76px 68px; position: relative; }
.intake-heading { margin-top: 44px; margin-bottom: 50px; }
.intake-heading h2 { font-size: clamp(48px, 6.1vw, 96px); }
.intake-aside { display: flex; flex-direction: column; align-items: flex-start; gap: 23px; min-width: 260px; }
.signal-glyphs { margin: 0; color: var(--carmine); font: 11px/1.1 var(--mono); letter-spacing: 2px; }
.signal-glyphs span { display: inline-block; }
.intake-heading p { padding-bottom: 0; font-size: 14px; color: #60594e; }
.start-options button { transition: color 180ms ease, background 180ms ease; min-height: 182px; }
.start-options button::before { background: var(--carmine); }
.start-options button:hover, .start-options button:focus-visible { background: #b5302e05; }
.start-options button:focus-visible { outline-offset: -5px; }
.start-options .mono { color: #6f6558; font-size: 9px; }
.start-arrow { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid #c9bcae; border-radius: 50%; font-size: 20px; transition: transform 160ms var(--motion-ease); }
.start-options button:focus-visible { color: var(--carmine); }
.orientation-link { min-height: 44px; }
.footer { position: relative; padding-block: 43px; }
.footer::before { content: '+'; position: absolute; top: -8px; left: 0; font: 14px var(--mono); color: var(--carmine); }
dialog { overscroll-behavior: contain; }
/* Intake dialog: never taller than the visible viewport. Header and action bar stay put; only the form scrolls. */
body.dialog-open { position: fixed; left: 0; right: 0; overflow: hidden; }
#project-dialog[open] {
  display: flex; flex-direction: column; overflow: hidden;
  max-height: calc(100vh - 36px); max-height: calc(var(--viewport-height, 100dvh) - 36px);
}
#project-dialog > .dialog-top, #project-dialog > .dialog-progress { flex: none; }
#project-form {
  flex: 1 1 auto; min-height: 0; overflow: hidden auto; overscroll-behavior: contain;
  padding-bottom: 0; scroll-padding-block: 16px 112px;
}
#project-form .dialog-actions {
  position: sticky; bottom: 0; z-index: 1; margin-top: 12px;
  padding-block: 14px 18px; padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  background: var(--cream); box-shadow: 0 -1px 0 #d6d0c3;
}
#project-form .copy-status:not(:empty) { padding-bottom: 18px; }
dialog h2[tabindex="-1"]:focus { outline: none; }
.dialog-top button { min-width: 44px; min-height: 44px; }
.dialog-top button:hover { color: var(--carmine); }
.dialog-progress span { width: 100%; transform: scaleX(.5); transform-origin: left; transition: transform 240ms var(--motion-ease); }
#project-idea, #project-followup { font-size: 16px; }
#project-idea:focus-visible, #project-followup:focus-visible { outline-color: var(--carmine); outline-offset: 2px; }
.field-error { color: #982b29; font-size: 12px; margin-top: 8px; line-height: 1.5; }
.field-error:empty { display: none; }
.preview-notice { color: #6c6153; }
.audience-options span { min-height: 44px; display: grid; place-items: center; }

@media (hover: hover) and (pointer: fine) {
  .header nav a:hover::after, .hero .text-link:hover::after,
  .capability-grid button:hover::before, .start-options button:hover::before { transform: scaleX(1); }
  .header-cta:hover:not(:focus-visible) > span,
  .solid-button:hover:not(:focus-visible) > span,
  .orientation-link:hover:not(:focus-visible) > span,
  .hero .text-link:hover:not(:focus-visible) > span,
  .capability-grid button:hover:not(:focus-visible) .cap-bottom > span,
  .start-options button:hover:not(:focus-visible) .start-arrow { transform: translate(2px, -2px); }
  .capability-grid button:hover .cap-bottom > span { color: #f27165; }
  .hero-bottom a:hover:not(:focus-visible) > span { transform: translateY(2px); }
}
@media (min-width: 701px) and (max-width: 1050px) {
  .capability-grid h3 { line-height: 1.2; min-block-size: 2.4em; }
}
@media (min-width: 1600px) { #evolution { height: 440px; } }
@media (max-width: 1050px) {
  .hero-main { gap: 14px; }
  #evolution { height: 335px; }
  .artifact-meta { font-size: 7px; }
  .service-glyphs { font-size: 10px; }
  .capability-grid h3 { font-size: 21px; }
  .capability-grid p { font-size: 12px; }
  .cap-bottom { font-size: 8px; }
  .service-number { right: 20px; }
  .intake-aside { min-width: 225px; }
  .intake-heading h2 { font-size: 64px; }
  .intake-heading p { font-size: 12px; }
}
@media (max-width: 700px) {
  .hero-main { gap: 32px; }
  #hero-title { line-height: .96; }
  h1 > .hero-word { font-size: inherit; }
  .evolution-art { height: auto; }
  .artifact-field { flex: none; }
  #evolution { height: auto; aspect-ratio: 720 / 520; flex: auto; }
  .artifact-meta { font-size: 7px; letter-spacing: .02em; padding-bottom: 15px; }
  .artifact-axis { line-height: 8; font-size: 7px; }
  .art-top { font-size: 8px; }
  .art-caption { min-height: 104px; gap: 13px; }
  .art-caption h2 { font-size: 16px; }
  .art-caption p { font-size: 12px; }
  .stage-index { min-width: 49px; }
  .timeline { padding-top: 13px; }
  .timeline-heading { font-size: 8px; }
  #play-evolution { font-size: 8px; gap: 8px; min-width: 108px; }
  .hero-bottom { gap: 14px; }
  .capabilities { padding-block: 48px; }
  .capability-intro > p { font-size: 13px; }
  .capability-grid button { padding: 25px 0 24px !important; }
  .capability-grid .cap-icon { position: static; font-size: 15px; }
  .service-number { right: 0; top: 27px; }
  .service-glyphs { font-size: 11px; margin-top: 27px; }
  .capability-grid h3 { font-size: 25px; margin-top: 27px; }
  .capability-grid p { font-size: 13px; }
  .cap-bottom { margin-top: 25px; padding-top: 0; }
  .agency-note { margin-top: 28px; gap: 22px; }
  .agency-note p { font-size: 23px; }
  .intake-section { padding-block: 46px; }
  .intake-heading { margin: 32px 0; }
  .intake-heading h2 { font-size: clamp(44px, 12.8vw, 72px); text-wrap: initial; }
  .intake-aside { margin-top: 27px; min-width: 0; flex-direction: row-reverse; gap: 16px; align-items: center; justify-content: space-between; }
  .intake-heading p { font-size: 12px; margin: 0; }
  .signal-glyphs { font-size: 6px; letter-spacing: 1px; flex-shrink: 0; }
  .start-options button { min-height: 144px; }
  .start-arrow { right: 1px; top: 22px; }
  .orientation-link { font-size: 12px; }
  .footer { padding-block: 34px; }
  /* Full-height sheet that follows the visible viewport (keyboard included). */
  #project-dialog[open] {
    width: 100%; max-width: none; margin: 0; inset: var(--viewport-top, 0px) 0 auto 0;
    height: 100vh; height: var(--viewport-height, 100dvh); max-height: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-word, .service-glyphs, .signal-glyphs span { transform: none !important; }
}
