/* Lake State's cobalt-and-paper identity. Demo documents keep their own palette. */
:root {
  --brand: #263fd7;
  --brand-hover: #1b2fa8;
  --ink: #17245a;
  --muted: #555f83;
  --bg: #fafaf7;
  --white: #fff;
  --soft: #eff1fc;
  --blue-light: #e9edff;
  --line: #d4daf0;
  --night: var(--brand);
  --night-muted: #e4e9ff;
  --acid: var(--bg);
  --success: var(--brand);
  --paper-glass: #fafaf7f5;
  --light-line: #ffffff4d;
  --light-faint: #ffffff22;
  --brand-shadow: #263fd719;
  --brand-shadow-deep: #263fd72b;
  --radius: 8px;
  --ease-out: cubic-bezier(.22, .75, .2, 1);
}

html { scroll-padding-top: 118px; }
body { overflow-x: clip; }
::selection { background: var(--brand); color: var(--bg); }
a, button, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--brand); outline-offset: 5px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.header { background: var(--paper-glass); border-color: var(--line); }
.nav-wrap, .journey-header .nav-wrap { min-height: 106px; }
.brand { flex-shrink: 0; }
.logo-crop { display: block; width: 108px; height: 98px; overflow: hidden; position: relative; }
.brand-logo { display: block; width: 132px; height: 132px; max-width: none; position: absolute; left: -12px; top: -11px; mix-blend-mode: multiply; }
.footer-top .logo-crop { width: 144px; height: 153px; }
.footer-top .brand-logo { width: 205px; height: 205px; left: -30px; top: -16px; }
.reading-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.header nav > a:not(.button) { position: relative; min-height: 44px; display: inline-flex; align-items: center; }
.header nav > a:not(.button)::after { content: ''; position: absolute; height: 1px; bottom: 8px; left: 0; right: 0; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-out); }
.header nav > a:hover::after, .header nav > a[aria-current]::after { transform: scaleX(1); }
.button { border-radius: 5px; transition: transform .25s var(--ease-out), background .25s, box-shadow .25s; }
.button:hover { box-shadow: 0 7px 0 var(--brand-shadow); transform: translateY(-3px); }
.button:active { transform: translateY(0); box-shadow: none; }
.hero { padding-top: 56px; padding-bottom: 64px; }
.hero .headline-line { color: var(--ink) !important; }
.hero .hero-em { color: var(--brand) !important; }
.hero-signoff { border-color: var(--line); }
.motion-toggle { min-height: 44px; border-color: var(--line); border-radius: 5px; }
.vision-tabs { padding: 5px; gap: 5px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); }
.vision-tabs button { border-radius: 4px; min-height: 46px; color: var(--brand); }
.vision-tabs button[aria-pressed=true] { background: var(--brand); color: var(--bg); box-shadow: 0 3px 8px var(--brand-shadow); }
.vision-tabs button:hover:not([aria-pressed=true]) { background: var(--bg); }
.vision-canvas { display: block; height: 396px; padding: 32px 25px 68px; color: var(--bg); border-radius: 10px; cursor: pointer; text-decoration: none; transition: box-shadow .3s, background .3s; }
.vision-canvas:hover { background: var(--brand-hover); box-shadow: 0 20px 40px var(--brand-shadow-deep); }
.vision-canvas:focus-visible { outline-offset: 5px; }
.vision-float { animation: preview-float 7s ease-in-out infinite; }
.vision-canvas:hover .vision-float { animation-play-state: paused; }
.vision-browser { transform: perspective(1100px) rotateY(-2deg) rotateZ(-1deg); border: 1px solid var(--light-line); border-radius: 6px; box-shadow: 0 12px 22px var(--brand-shadow-deep); }
.vision-browser .browser-bar { background: var(--bg); color: var(--muted); }
.vision-screen { height: 266px; }
.studio-orbit { top: -210px; right: -235px; border-color: var(--light-line); animation: orbit-breathe 9s ease-in-out infinite; }
.studio-orbit::before, .studio-orbit::after { border-color: var(--light-faint); }
.studio-caption { bottom: 16px; left: 24px; right: 24px; }
.studio-caption > span.studio-open { font: 750 13px/1.4 Manrope, Arial, sans-serif; letter-spacing: 0; display: inline-flex; align-items: center; gap: 18px; padding: 10px 14px; border: 1px solid var(--light-line); border-radius: 4px; background: var(--brand); }
.studio-open > span { font-size: 21px; transition: transform .25s var(--ease-out); }
.vision-canvas:hover .studio-open > span { transform: translate(3px,-3px); }
.vision-bottom { gap: 20px; align-items: start; }
.vision-bottom > p { font-size: 13px; }
.vision-bottom a { color: var(--brand); border-color: var(--brand); min-height: 44px; font-size: 13px; display: flex; align-items: center; gap: 8px; }
.vision-canvas.is-switching .vision-browser { animation: example-arrive .4s var(--ease-out); }
.service-strip { background: var(--brand); color: var(--bg); border: 0; padding: 19px 0; }
.ribbon-copy b { color: var(--bg); }
.ribbon-track { animation-duration: 48s; }

/* One obvious link per example; the explanatory disclosure stays independent. */
.work-section { padding-top: 88px; }
.project-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 36px; }
.project, .project:nth-child(2), .project:nth-child(3) { display: block; margin: 0; grid-column: auto; min-width: 0; }
.project { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--bg); }
.project-link { display: grid; grid-template-columns: 1.25fr 1fr; align-items: stretch; color: var(--ink); text-decoration: none; transition: background .3s; }
.project-link:hover { background: var(--soft); }
.project-link:focus-visible { outline-offset: -5px; border-radius: 8px; }
.project .project-preview { display: flex; flex-direction: column; justify-content: center; padding: 30px; border-radius: 0; background: var(--blue-light); min-width: 0; transform: none; box-shadow: none; }
.preview-label { color: var(--brand); min-height: auto; font-size: 10px; letter-spacing: 1px; margin: 0 0 22px; }
.project .project-window { transform: none; border: 1px solid var(--line); border-radius: 5px; box-shadow: 0 12px 28px var(--brand-shadow); transition: transform .45s var(--ease-out), box-shadow .45s; }
.project-link:hover .project-window { transform: translateY(-5px) rotate(-1deg); box-shadow: 0 18px 35px var(--brand-shadow-deep); }
.project-window .browser-bar { height: 30px; font-size: 10px; background: var(--bg); color: var(--muted); }
.project-screen { height: clamp(250px, 23vw, 320px); background: var(--bg); }
.vision-screen iframe, .project-screen iframe { height: 600px; }
.project-info, .project:nth-child(3) .project-info { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 36px 40px; margin: 0; gap: 0; min-width: 0; }
.project-info h3, .project:nth-child(3) .project-info h3 { font-family: 'DM Serif Display', Georgia, serif; font-size: clamp(34px,3.4vw,50px); font-weight: 400; line-height: 1.08; letter-spacing: -1.4px; margin: 0 0 13px; }
.project-info > span:not(.project-open) { font-size: 11px; text-transform: uppercase; letter-spacing: .7px; color: var(--brand); }
.project-info p { font-size: 15px; line-height: 1.85; margin: 20px 0 27px; max-width: 36ch; color: var(--muted); }
.project-info > .project-open { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 52px; margin: 0; padding: 13px 20px; background: var(--brand); color: var(--bg); border-radius: 4px; font-size: 13px; font-weight: 750; letter-spacing: 0; transition: background .25s; }
.project-open > span[aria-hidden] { font-size: 22px; line-height: 1; transition: transform .25s var(--ease-out); }
.project-link:hover .project-open { background: var(--brand-hover); }
.project-link:hover .project-open > span[aria-hidden] { transform: translate(3px,-3px); }
.project .concept-breakdown { margin: 0; padding: 0 28px; border-bottom: 0; background: var(--bg); }
.concept-breakdown summary { min-height: 58px; font-size: 13px; padding: 18px 0; }
.concept-breakdown[open] > div { animation: story-unfold .35s var(--ease-out); }
.project .concept-breakdown p { max-width: 82ch; }
.work-note { margin-top: 27px; border: 0; padding-top: 0; }
.work-note p { max-width: 700px; }

/* A single studio story replaces the repeated numbered benefits. */
.why-section { background: var(--brand); color: var(--bg); }
.studio-story-grid { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: 96px; }
.brand-art { position: relative; isolation: isolate; background: var(--bg); border-radius: 50% 50% 8px 8px; min-height: 420px; padding: 25px 36px 35px; display: flex; align-items: center; justify-content: center; flex-direction: column; overflow: hidden; }
.brand-art > img { position: relative; width: 100%; height: auto; max-width: 360px; mix-blend-mode: multiply; z-index: 1; }
.brand-art > span { position: relative; font-size: 9px; letter-spacing: 1.8px; font-weight: 800; color: var(--brand); text-align: center; z-index: 1; }
.lake-ripples { position: absolute; inset: auto -15% -12% -15%; height: 40%; opacity: .65; z-index: 0; }
.lake-ripples i { position: absolute; inset: 0; border: 1px solid var(--line); border-radius: 50%; animation: lake-ripple 8s ease-out infinite; }
.lake-ripples i:nth-child(2) { animation-delay: -2.6s; }
.lake-ripples i:nth-child(3) { animation-delay: -5.3s; }
.studio-story .eyebrow { color: var(--bg); }
.studio-story h2 { font-size: clamp(38px,4vw,58px); line-height: 1.1; margin-bottom: 27px; letter-spacing: -2px; }
.studio-story h2 em { color: var(--bg); }
.studio-story p { color: var(--night-muted); font-size: 16px; line-height: 1.85; max-width: 52ch; }
.studio-story .story-lead { color: var(--bg); font-size: 21px; line-height: 1.6; max-width: 35ch; margin-bottom: 20px; }
.studio-story .text-link { display: inline-flex; gap: 16px; align-items: center; margin-top: 17px; padding: 12px 0; min-height: 44px; color: var(--bg); border-color: var(--light-line); }
.studio-story .text-link:hover { border-color: var(--bg); }
.why-section :focus-visible { outline-color: var(--bg); }
.process-grid li > span { display: inline-block; transition: transform .3s var(--ease-out); }
.process-grid li:hover > span { transform: translateY(-4px); }
.featured .button { background: var(--bg); border-color: var(--bg); color: var(--brand); }
.price-card .outline { background: var(--brand); border-color: var(--brand); color: var(--bg); }
.price-card { border-color: var(--line); border-radius: 8px; }
.featured .feature-list li::before { color: var(--bg); }
.featured .plan-fit, .contact-copy .eyebrow, .contact-copy h2 span { color: var(--bg); }
.featured .plan-description, .featured .price span, .featured .billing-note, .featured .plan-bottom, .contact-copy > p:not(.eyebrow) { color: var(--night-muted); }
.featured .feature-list, .brief-promise, .contact-links a { border-color: var(--light-line); }
.inquiry-form { border-radius: 8px; }
.inquiry-form input, .inquiry-form textarea, .inquiry-form select { border-color: var(--line); border-radius: 4px; }
.reveal-ready { transition-duration: .7s; transform: translateY(24px); }
.reveal-ready.is-visible { transform: none; }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation: none !important; transition: none !important; }
.motion-paused .vision-browser, .motion-paused .vision-float, .motion-paused .project-window, .motion-paused .process-grid li > span { transform: none !important; }
.motion-paused .reading-progress { display: none; }
.motion-paused .reveal-ready { opacity: 1; transform: none; }

@keyframes preview-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes orbit-breathe { 0%,100% { transform: scale(1); opacity: .5; } 50% { transform: scale(1.07); opacity: 1; } }
@keyframes example-arrive { from { opacity: .5; translate: 0 7px; } to { opacity: 1; translate: 0 0; } }
@keyframes lake-ripple { from { transform: scale(.55); opacity: .8; } to { transform: scale(1.65); opacity: 0; } }
@keyframes story-unfold { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width:1180px) {
  .hero { gap: 34px; }
  .vision-canvas { height: 344px; padding: 29px 20px 68px; }
  .vision-screen { height: 218px; }
  .vision-bottom { grid-template-columns: 1fr; gap: 3px; }
  .project-info { padding: 30px; }
  .studio-story-grid { gap: 56px; }
  .brand-art { min-height: 360px; padding: 25px 25px 32px; }
}
@media (max-width:900px) {
  .hero { gap: 42px; }
  .vision-canvas { height: 440px; padding: 35px 28px 70px; }
  .vision-screen { height: 300px; }
  .vision-bottom { grid-template-columns: 1fr auto; gap: 24px; }
  .project .project-preview { padding: 23px; }
  .project-link { grid-template-columns: 1.1fr 1fr; }
  .project-screen { height: 233px; }
  .project-info, .project:nth-child(3) .project-info { padding: 27px; }
  .project-info h3, .project:nth-child(3) .project-info h3 { font-size: 34px; }
  .studio-story-grid { gap: 38px; }
  .studio-story .story-lead { font-size: 18px; }
  .brand-art { min-height: 315px; padding: 20px; }
  .brand-art > span { font-size: 8px; letter-spacing: 1px; }
}
@media (max-width:800px) {
  html { scroll-padding-top: 106px; }
  .nav-wrap, .journey-header .nav-wrap { min-height: 92px; }
  .logo-crop { width: 90px; height: 82px; }
  .brand-logo { width: 110px; height: 110px; left: -10px; top: -10px; }
  .header nav { top: 92px; }
  .header nav > a:not(.button) { width: 100%; }
  .header nav > a:not(.button)::after { display: none; }
  .journey-header .journey-nav > a:not(.button) { width: auto; }
  .menu-button { min-height: 44px; padding: 10px 17px; border-radius: 5px; }
  .studio-story-grid { grid-template-columns: .8fr 1.2fr; gap: 32px; }
  .studio-story h2 { font-size: 38px; }
}
@media (max-width:680px) {
  .project-link { grid-template-columns: minmax(0,1fr); }
  .project .project-preview { padding: 24px; }
  .project-screen { height: 270px; }
  .project-info, .project:nth-child(3) .project-info { padding: 28px; }
  .project-info h3, .project:nth-child(3) .project-info h3 { font-size: 38px; }
  .project-info p { max-width: 48ch; margin: 15px 0 23px; }
  .project-open { width: 100%; }
  .project .concept-breakdown { padding: 0 26px; }
  .studio-story-grid { grid-template-columns: 1fr; gap: 38px; }
  .brand-art { max-width: 320px; width: 100%; min-height: 0; margin: auto; padding: 15px 25px 30px; }
  .studio-story { text-align: left; }
  .studio-story h2 { font-size: 42px; }
  .studio-story .story-lead { font-size: 20px; }
}
@media (max-width:580px) {
  .hero { padding-top: 36px; padding-bottom: 40px; }
  .hero .eyebrow { line-height: 1.8; }
  .studio-label { max-width: 175px; }
  .motion-toggle { min-height: 44px; font-size: 10px; }
  .vision-tabs button { font-size: 11px; padding: 11px 4px; }
  .vision-canvas { height: 300px; padding: 26px 17px 65px; }
  .vision-screen { height: 181px; }
  .vision-browser .browser-bar { height: 25px; }
  .studio-caption { bottom: 13px; left: 18px; right: 18px; }
  .studio-caption > span.studio-open { font-size: 11px; padding: 9px 11px; gap: 13px; min-height: 40px; }
  .vision-bottom { display: block; }
  .vision-bottom > p { margin-bottom: 6px; font-size: 13px; }
  .vision-bottom a { display: inline-flex; }
  .work-section { padding-top: 59px; }
  .project-grid { gap: 28px; }
  .project .project-preview { padding: 21px 18px 24px; }
  .preview-label { font-size: 9px; letter-spacing: .5px; margin-bottom: 19px; gap: 12px; }
  .project-screen { height: 215px; }
  .project-window .browser-bar { font-size: 8px; height: 25px; }
  .project-info, .project:nth-child(3) .project-info { padding: 25px 23px; }
  .project-info h3, .project:nth-child(3) .project-info h3 { font-size: 34px; }
  .project-info > span:not(.project-open) { font-size: 10px; }
  .project-info p { font-size: 15px; }
  .project .concept-breakdown { padding: 0 23px; }
  .concept-breakdown summary { font-size: 12px; padding-right: 24px; }
  .work-note p { font-size: 12px; }
  .studio-story h2 { font-size: 38px; letter-spacing: -1.5px; }
  .footer-top { align-items: center; }
  .footer-top .logo-crop { width: 117px; height: 123px; }
  .footer-top .brand-logo { width: 166px; height: 166px; left: -24px; top: -13px; }
}
@media (max-width:359px) {
  .vision-tabs button { font-size: 10px; }
  .vision-canvas { height: 274px; padding: 24px 13px 62px; }
  .vision-screen { height: 157px; }
  .project-screen { height: 188px; }
  .project-info h3, .project:nth-child(3) .project-info h3 { font-size: 31px; }
  .studio-story h2 { font-size: 34px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .vision-browser, .vision-float, .project-window, .process-grid li > span { transform: none !important; }
  .reveal-ready { opacity: 1 !important; transform: none !important; }
  .reading-progress { display: none; }
}
