/* WTN proposal. Keep the existing palette and Manrope identity; quiet the frame. */
:root { --space: .25rem; --motion: 160ms; --ease: cubic-bezier(.2,.7,.2,1); }
html { scroll-behavior: auto; }
body { font-size: 1rem; line-height: 1.6; font-optical-sizing: auto; }
[hidden] { display: none !important; }
:where(h1,h2,h3) { text-wrap: balance; }
:where(p) { text-wrap: pretty; }
:where(h1,h2,h3,p,a) { overflow-wrap: anywhere; }
.hero>*,.architecture>*,.contact-area>*,.service-hero-grid>*,.form-row>*,.case-body>*,.case-detail>* { min-width: 0; }
:where(a,button,summary,input,textarea):focus-visible { outline: 3px solid var(--ember-ink); outline-offset: 4px; }
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 100; padding: .75rem 1rem; background: var(--cream); color: var(--ink); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
main:focus { outline: none; }
.site-header { min-height: 5rem; height: auto; gap: 2rem; background: var(--cream); border-bottom: 1px solid var(--line); padding-top: .75rem; padding-bottom: .75rem; }
.brand { font-size: 1.1875rem; letter-spacing: -.045em; min-width: 0; white-space: normal; }
.desktop-nav { gap: 1.5rem; }
.desktop-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .9375rem; font-weight: 500; }
.desktop-nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: .3em; }
.header-cta { height: auto; min-height: 2.75rem; padding: .5rem 1rem; border-radius: .5rem; font-size: .875rem; font-weight: 600; }
.mobile-navigation { display: none; position: static; margin-left: auto; }
.mobile-navigation summary { cursor: pointer; list-style: none; min-height: 3rem; padding: .65rem .75rem; font-weight: 600; border: 1px solid var(--line); border-radius: .5rem; }
.mobile-navigation summary::-webkit-details-marker { display: none; }
.mobile-navigation nav { position: absolute; top: 100%; inset-inline: 0; padding: .75rem 1.5rem 1rem; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 .75rem 1rem rgb(19 43 37 / .05); }
.mobile-navigation nav a { display: block; padding: .75rem 0; font-size: 1rem; }
.hero { min-height: 46rem; padding-top: 10rem; padding-bottom: 5rem; gap: 4rem; grid-template-columns: 1.08fr .92fr; }
.hero-title { font-size: clamp(2.5rem, 1.6rem + 3.7vw, 5.25rem); letter-spacing: -.045em; line-height: 1.04; font-weight: 600; }
.hero-title .line-reveal { display: block; }
.hero-intro { font-size: 1.125rem; line-height: 1.65; margin: 2rem 0; max-width: 34rem; }
.hero-actions { gap: 1.75rem; flex-wrap: wrap; }
.button { height: auto; min-height: 3.25rem; padding: .8rem 1.5rem; border-radius: .5rem; font-size: 1rem; font-weight: 600; line-height: 1.4; transition: background-color var(--motion), color var(--motion); }
.button-dark:hover { background: var(--pine-800); }
.text-link { font-size: .9375rem; font-weight: 600; text-decoration: underline; text-decoration-color: var(--muted); text-underline-offset: .3em; min-height: 2.75rem; }
.eyebrow { font-size: .875rem; line-height: 1.6; letter-spacing: .01em; margin-bottom: 1.5rem; text-transform: none; }
.display-heading { font-size: clamp(2.25rem, 1.5rem + 2.5vw, 4.25rem); letter-spacing: -.035em; line-height: 1.1; font-weight: 500; }
.large-copy { font-size: 1.125rem; line-height: 1.7; }
.positioning,.services,.work,.process,.philosophy,.architecture { padding-top: 6rem; padding-bottom: 6rem; }
.section-intro { margin-bottom: 3rem; }
.positioning-grid,.philosophy-grid { gap: 8%; }
.word-flow { margin-top: 4rem; font-size: .875rem; flex-wrap: wrap; gap: .75rem; }
.word-flow b { opacity: 1; transform: none !important; transition: none; }
.proof-strip { min-height: auto; grid-template-columns: repeat(3,minmax(0,1fr)); }
.proof-strip>div,.proof-strip>div+div { display: block; padding: 1.75rem 2rem; }
.proof-strip>div:first-child { padding-left: 0; }
.proof-strip strong { font-size: 1.125rem; font-weight: 600; overflow-wrap: anywhere; }
.proof-strip p { margin: .25rem 0 0; font-size: .9375rem; }
.service-row { --service-inset: 1.5rem; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: 2rem; padding: 2rem var(--service-inset); transition: background-color var(--motion); }
.service-row:hover,.service-row:focus-visible { padding-left: var(--service-inset); background: rgb(250 248 242 / .45); }
.service-row h3 { font-size: 1.875rem; letter-spacing: -.025em; font-weight: 600; }
.service-row p { font-size: 1rem; line-height: 1.65; }
.service-tags { gap: .5rem; }
.service-tags span { font-size: .8125rem; line-height: 1.4; border: 0; border-radius: 0; padding: .25rem 0; margin-right: .75rem; }
.service-mark { display: none; }
.reveal,.arch-node,.flow-message { opacity: 1; transform: none; transition: none; }
.arch-links path { stroke-dashoffset: 0; }
.handoff-map { margin: 0; padding: 2rem; background: var(--pine-950); color: var(--cream); border-radius: .75rem; }
.handoff-map figcaption { font-size: 1rem; font-weight: 500; letter-spacing: 0; }
.handoff-diagram { margin: 2rem 0; --gap: 1.5rem; --connector: #c4a387; }
.handoff-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--gap); position: relative; }
.handoff-pair>div,.handoff-step { background: var(--pine-900); border: 1px solid rgb(250 248 242 / .45); border-radius: .375rem; text-align: center; padding: .75rem .5rem; position: relative; font-size: .875rem; overflow-wrap: anywhere; }
.handoff-pair>div { display: grid; place-items: center; }
.handoff-pair::after { content: ''; position: absolute; left: calc((100% - var(--gap))/4); right: calc((100% - var(--gap))/4); height: 1px; background: var(--connector); }
.sources::after { bottom: -.75rem; }
.sources>div::after { content: ''; position: absolute; bottom: -.75rem; left: 50%; width: 1px; height: .75rem; background: var(--connector); }
.handoff-step { width: 66%; margin: 1.5rem auto; }
.handoff-step::before { content: ''; position: absolute; top: -1.5rem; left: 50%; width: 1px; height: 1.5rem; background: var(--connector); }
.sources+.handoff-step::before { top: -.75rem; height: .75rem; }
.handoff-step strong { display: block; font-size: 1rem; font-weight: 500; }
.handoff-step small { display: block; font-size: .8125rem; color: #d5ddd3; margin-top: .25rem; line-height: 1.45; }
.destinations::after { top: -.75rem; }
.destinations::before { content: ''; position: absolute; top: -1.5rem; left: 50%; width: 1px; height: .75rem; background: var(--connector); }
.destinations>div::before { content: ''; position: absolute; top: -.75rem; left: 50%; width: 1px; height: .75rem; background: var(--connector); }
.map-caption { padding-top: 1rem; border-top: 1px solid rgb(250 248 242 / .2); color: #d5ddd3; font-size: .875rem; margin: 0; line-height: 1.6; }
.architecture { grid-template-columns: .9fr 1.1fr; gap: 8%; }
.readable-workflow { min-height: auto; border-radius: .75rem; padding: 2rem; overflow: visible; }
.readable-workflow::after { display: none; }
.readable-workflow .architecture-kicker { font-size: .875rem; letter-spacing: 0; margin: 0; }
.workflow-list { --marker-size: .5rem; --marker-y: .84375rem; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.workflow-list li { padding: 0 0 1.5rem 1.5rem; position: relative; }
.workflow-list li:last-child { padding-bottom: 0; }
.workflow-list li::before { content: ''; width: var(--marker-size); height: var(--marker-size); border-radius: 50%; background: var(--ember-lift); position: absolute; top: calc(var(--marker-y) - var(--marker-size)/2); left: 0; z-index: 1; }
/* Each rail runs between adjacent dot centers, including the last dot. */
.workflow-list li:not(:last-child)::after { content: ''; position: absolute; width: 1px; left: calc((var(--marker-size) - 1px)/2); top: var(--marker-y); bottom: calc(-1 * var(--marker-y)); background: #a6b0a3; }
.workflow-list h3 { font-weight: 500; font-size: 1.125rem; line-height: 1.5; margin: 0 0 .25rem; letter-spacing: 0; }
.workflow-list p { font-size: 1rem; color: #d5ddd3; line-height: 1.65; margin: 0; }
.project-note { font-size: 1rem; max-width: 48rem; line-height: 1.7; color: var(--muted); margin: 0 0 2rem; }
.project-image { border-radius: .5rem; transition: none; }
.project-card:hover .project-image { transform: none; }
.project-meta p,.project-meta small { font-size: .8125rem; line-height: 1.6; letter-spacing: 0; }
.project-meta h3 { font-size: 1.5rem; line-height: 1.3; letter-spacing: -.025em; font-weight: 500; }
.project-result { font-size: .9375rem; }
.evidence-note { padding-top: 2rem; padding-bottom: 2rem; background: var(--sand-100); }
.evidence-note h2 { font-size: 1.25rem; margin: 0 0 .5rem; letter-spacing: -.015em; }
.evidence-note p { font-size: 1rem; max-width: 48rem; margin: 0; }
.process-grid span { font-size: .875rem; }
.process-grid h3 { font-size: 1.5rem; letter-spacing: -.025em; line-height: 1.3; font-weight: 600; }
.process-grid p { font-size: 1rem; }
.principles { grid-template-columns: repeat(4,minmax(0,1fr)); }
.principles span { font-size: .875rem; line-height: 1.6; min-width: 0; overflow-wrap: anywhere; }
.cta-section { min-height: auto; padding-top: 6rem; padding-bottom: 7rem; }
.cta-notes { font-size: .8125rem; line-height: 1.6; }
.footer-top { gap: 2rem; padding-bottom: 3rem; }
.footer-top p { font-size: .875rem; line-height: 1.7; max-width: 22rem; text-align: right; }
.footer-grid span { font-size: .875rem; }
.footer-grid a { min-height: 2.75rem; display: flex; align-items: center; font-size: 1rem; }
.footer-grid p,.footer-bottom { font-size: .875rem; line-height: 1.7; }
.footer-grid span,.footer-bottom { color: #c5cec0; }
.footer-bottom { gap: 1.5rem; flex-wrap: wrap; }
.case-hero,.work-page-hero,.contact-hero,.service-hero { padding-top: 10rem; }
.case-summary>p,.case-small { font-size: 1rem; line-height: 1.7; }
.visual-stat,.search-rank { max-width: 15rem; }
.visual-stat b,.search-rank b { font-size: 1.25rem; line-height: 1.4; letter-spacing: -.015em; }
.visual-stat span,.search-rank span { font-size: .8125rem; }
.automation-note { opacity: 1; transform: none; transition: none; }
.automation-flow span,.automation-flow i { opacity: 1; transition: none; }
.contact-form label,.contact-form legend { font-size: 1rem; font-weight: 500; line-height: 1.6; }
.contact-form input,.contact-form textarea { font-size: 1rem; line-height: 1.6; padding: .875rem .25rem; }
.contact-form fieldset { min-inline-size: 0; }
.contact-form legend { max-width: 100%; }
.choice-grid label { font-size: .9375rem; line-height: 1.5; }
.choice-grid span { border-radius: .5rem; min-height: 2.75rem; padding: .75rem; }
.choice-grid input:focus-visible+span { outline: 3px solid var(--ember-ink); outline-offset: 4px; }
.contact-form input:focus-visible,.contact-form textarea:focus-visible { outline: 3px solid var(--ember-ink); outline-offset: 4px; }
.form-explanation { font-size: 1rem; line-height: 1.6; margin: 0 0 2rem; }
.form-explanation a { text-decoration: underline; text-underline-offset: .2em; }
.form-submit { flex-wrap: wrap; gap: 1rem; }
.form-submit p { flex-basis: 100%; font-size: 1rem; line-height: 1.6; }
.draft-link { text-decoration: underline; font-size: 1rem; padding: .75rem 0; }
.button:disabled { cursor: not-allowed; opacity: .65; }
.contact-aside>p { font-size: 1rem; }
@media (prefers-reduced-motion: no-preference) {
  .button,.header-cta,.mobile-navigation summary { transition: background-color 160ms, color 160ms, transform 120ms var(--ease); }
  .button:active,.header-cta:active { transform: scale(.985); }
}
@media (max-width: 64em) {
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 3rem; }
  .handoff-map { width: 100%; max-width: 40rem; }
  .positioning-grid,.philosophy-grid,.architecture { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 54em) {
  .desktop-nav,.header-cta { display: none; }
  .mobile-navigation { display: block; }
  .site-header { min-height: 4.5rem; padding-block: .5rem; }
  .form-row,.contact-area,.case-body,.case-detail { grid-template-columns: 1fr; }
}
@media (max-width: 40em) {
  .section-shell { padding-inline: 1.25rem; }
  .site-header { padding-inline: 1.25rem; gap: 1rem; }
  .brand { font-size: 1.0625rem; }
  .hero { padding-top: 8rem; padding-bottom: 3rem; gap: 2.5rem; }
  .hero-title { font-size: clamp(2.5rem, 1.6rem + 5vw, 3.5rem); }
  .hero-intro { font-size: 1rem; margin: 1.5rem 0; }
  .hero-actions { gap: .75rem 1.5rem; }
  .handoff-map { padding: 1.5rem; }
  .handoff-step { width: 74%; }
  .handoff-diagram { --gap: 1rem; }
  .positioning,.services,.work,.process,.philosophy,.architecture { padding-block: 4rem; }
  .proof-strip>div,.proof-strip>div+div { padding: 1.25rem 0; }
  .display-heading { font-size: clamp(2rem, 1.4rem + 3vw, 3rem); }
  .large-copy { font-size: 1rem; }
  .service-row { --service-inset: 1rem; grid-template-columns: 1fr; gap: .5rem; padding-block: 1.5rem; }
  .service-tags { display: flex; }
  .service-row h3 { font-size: 1.5rem; }
  .section-heading-row { display: block; margin-bottom: 1.5rem; }
  .section-heading-row .text-link { margin-top: 1rem; font-size: .9375rem; }
  .project-grid { gap: 2rem; }
  .project-image,.project-large .project-image { height: 19rem; }
  .project-meta h3 { font-size: 1.25rem; }
  .readable-workflow { padding: 1.5rem; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid article,.process-grid article+article { padding: 1.5rem 0; }
  .process-grid h3 { margin-top: 1.5rem; }
  .principles { margin-top: 2.5rem; grid-template-columns: 1fr; }
  .principles span,.principles span+span { padding: .75rem 0; border-right: 0; }
  .cta-section { padding-top: 4rem; padding-bottom: 7rem; min-height: auto; }
  .cta-notes { left: 1.25rem; right: 1.25rem; }
  .footer-top { display: block; }
  .footer-top p { text-align: left; }
  .footer-grid { gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { font-size: clamp(1.5rem, 1rem + 4vw, 3rem); }
  .footer-grid span,.footer-bottom { font-size: .8125rem; }
  .footer-bottom span:last-child { text-align: left; }
  .contact-hero,.work-page-hero,.case-hero,.service-hero { padding-top: 8rem; }
  .contact-area { gap: 3rem; }
}
/* Centered Wotan portrait: HTML content over an original, interactive point field. */
.wotan-page .site-header { color: var(--cream); background: var(--pine-950); border-bottom-color: rgb(250 248 242 / .16); }
.wotan-page .brand span { color: var(--ember-lift); }
.wotan-page .header-cta { border-color: rgb(250 248 242 / .55); }
.wotan-page .header-cta:hover { background: var(--cream); color: var(--pine-950); }
.wotan-page .mobile-navigation summary { border-color: rgb(250 248 242 / .4); }
.wotan-page .mobile-navigation nav { background: var(--pine-950); border-color: rgb(250 248 242 / .2); }
.wotan-page .site-header :focus-visible { outline-color: var(--ember-lift); }
.hero.wotan-hero { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; min-height: max(54rem,100svh); padding: 8rem 1.5rem 11rem; isolation: isolate; background: var(--pine-950); color: var(--cream); gap: 0; overflow: hidden; }
.wotan-art { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.wotan-art canvas { width: 100%; height: 100%; display: block; opacity: 0; }
.wotan-art.is-ready canvas { opacity: 1; }
.wotan-fallback { position: absolute; width: auto; height: min(141.6%,230.769231vw,1908px); left: 50%; top: max(48%,calc(9rem + min(141.6%,230.769231vw,1908px) * .39)); transform: translate(-50%,-47.5%); }
.wotan-art.is-ready .wotan-fallback { visibility: hidden; }
.wotan-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(to bottom, transparent 32%, rgb(19 43 37 / .08) 42%, rgb(19 43 37 / .45) 62%, rgb(19 43 37 / .94) 86%, var(--pine-950)); }
.wotan-eyebrow { position: absolute; top: 6.5rem; inset-inline: 1.5rem; font: .875rem/1.6 var(--mono); text-align: center; color: #c7cfbe; margin: 0; text-shadow: 0 1px 2px var(--pine-950), 0 0 6px var(--pine-950), 0 0 12px var(--pine-950); }
.wotan-hero .hero-copy { width: min(100%,78rem); text-align: center; margin: 15rem auto 0; }
.wotan-hero .hero-title { max-width: none; font-size: clamp(3.25rem, 1.5rem + 6.6vw, 8.25rem); line-height: .99; letter-spacing: -.045em; font-weight: 500; text-shadow: 0 2px 20px rgb(19 43 37 / .65); }
.wotan-hero .hero-intro { max-width: 39rem; margin: 1.75rem auto; color: #e7eadf; font-size: 1.0625rem; line-height: 1.65; text-shadow: 0 1px 3px var(--pine-950), 0 0 12px var(--pine-950); }
.wotan-hero .hero-actions { justify-content: center; gap: 1.75rem; }
.wotan-hero .button-dark { background: var(--cream); color: var(--pine-950); }
.wotan-hero .button-dark:hover { background: #e5dcc5; }
.wotan-hero .text-link { color: var(--cream); text-decoration-color: #9cae98; }
.wotan-hero :focus-visible { outline-color: var(--ember-lift); }
@media (max-width: 54em) {
  .hero.wotan-hero { min-height: max(52rem,100svh); padding-top: 7rem; padding-bottom: 8rem; }
  .wotan-eyebrow { top: 6.5rem; }
  .wotan-hero .hero-copy { margin-top: 16rem; }
  .wotan-hero .hero-title { font-size: clamp(2.75rem, 1.6rem + 5vw, 5.5rem); }
  .wotan-hero .hero-intro { font-size: 1rem; max-width: 34rem; }
}
@media (max-width: 40em) {
  .hero.wotan-hero { min-height: max(51rem,100svh); padding-inline: 1.25rem; }
  .wotan-hero .hero-copy { margin-top: 16rem; }
  .wotan-hero .hero-title { font-size: clamp(2.625rem, 1.2rem + 6.3vw, 4rem); line-height: 1.04; letter-spacing: -.04em; }
  .wotan-hero .hero-intro { margin: 1.5rem auto; }
  .wotan-hero .hero-actions { gap: .5rem 1.5rem; }
  .wide-break { display: none; }
}
