/* Small shared control; Original's existing design rules remain untouched. */
.perspectives[hidden] { display: none; }
.perspectives { display: grid; flex: 0 0 auto; gap: 1px; }
.perspectives label { font-size: .7rem; line-height: 1.25; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.perspectives select { max-width: 180px; min-height: 44px; padding: 2px 22px 2px 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: inherit; font-size: .85rem; cursor: pointer; }
.perspectives option { color: #101418; background: #f3f0ea; }
.site-header:has(.perspectives:not([hidden])) .nav-shell { gap: 1.3rem; }
.site-header:has(.perspectives:not([hidden])) .desktop-nav { gap: 1.25rem; }
.perspective-status { position: fixed; z-index: 110; bottom: 20px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); margin: 0; padding: 10px 18px; background: #101418; color: #fff; border: 1px solid #b5b9bc; font-size: .85rem; pointer-events: none; }
.perspective-status:empty { display: none; }
.perspective-status:not([data-error]) { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1140px) {
  .site-header:has(.perspectives:not([hidden])) .nav-shell > .button { display: none; }
}
@media (max-width: 620px) {
  .site-header:has(.perspectives:not([hidden])) .nav-shell { height: auto; min-height: 126px; padding-block: 10px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; }
  .site-header:has(.perspectives:not([hidden])) .perspectives { grid-column: 1 / -1; grid-row: 2; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
  .site-header:has(.perspectives:not([hidden])) .menu-button { grid-column: 2; grid-row: 1; }
  .site-header:has(.perspectives:not([hidden])) .nav-shell > .button { display: none; }
  body:has(.perspectives:not([hidden])) { --mobile-nav-top: 126px; }
}

@font-face { font-family: 'Perspective Sans'; src: url('/assets/fonts/DMSans-Variable.ttf') format('truetype'); font-weight: 100 1000; font-display: swap; }
@font-face { font-family: 'Perspective Display'; src: url('/assets/fonts/BarlowCondensed-Bold.ttf') format('truetype'); font-weight: 400 700; font-display: swap; }
html[data-perspective='retro-futurist'] { --p-dark: #0c1b22; --p-paper: #eee7d7; --p-accent: #eab465; --p-orange: #c24c27; --p-muted: #b9c3c4; --p-heading: 'Perspective Sans', sans-serif; --p-radius: 999px; }
html[data-perspective='expressionist'] { --p-dark: #141413; --p-paper: #eeeae2; --p-accent: #ff692e; --p-orange: #ff692e; --p-muted: #c1bfb8; --p-heading: 'Perspective Display', sans-serif; --p-radius: 0; }
html:not([data-perspective='original']) body { background: var(--p-paper); font-family: 'Perspective Sans', sans-serif; --plaster: var(--p-paper); --ink: var(--p-dark); --blue: var(--p-orange); --orange: var(--p-accent); --mist: #e1dbce; --radius: 0; }
html:not([data-perspective='original']) ::selection { background: var(--p-accent); color: var(--p-dark); }
html:not([data-perspective='original']) :focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px #141413; }
html:not([data-perspective='original']) .site-header { background: var(--p-paper); backdrop-filter: none; }
html:not([data-perspective='original']) .brand { letter-spacing: .14em; }
html:not([data-perspective='original']) .site-header .button { background: var(--p-orange); color: #fff; border-radius: var(--p-radius); }
html[data-perspective='expressionist'] .site-header { background: var(--p-dark); color: var(--p-paper); border-bottom-color: #ffffff25; }
html[data-perspective='expressionist'] .site-header .button { color: var(--p-dark); }
html[data-perspective='expressionist'] .menu-button span:not(.sr-only) { background: var(--p-paper); }
html[data-perspective='expressionist'] .mobile-nav { background: var(--p-dark); }
.perspective-home { background: var(--p-dark); color: var(--p-paper); }
.perspective-home h1, .perspective-home h2, .perspective-home h3, .perspective-home h4 { font-family: var(--p-heading); letter-spacing: -.035em; font-weight: 600; text-wrap: balance; }
.perspective-home h2 { font-size: clamp(2rem, 3.7vw, 3.5rem); line-height: 1.03; }
.perspective-home h3 { font-size: 1.35rem; line-height: 1.2; }
.perspective-home p { line-height: 1.6; }
.perspective-home .container { width: min(calc(100% - 96px), 1320px); }
.p-kicker { margin: 0 0 22px; font-size: .69rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--p-accent); }
.p-intro { max-width: 450px; font-size: 1.1rem; }
.p-actions { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; }
.p-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 36px; min-height: 50px; padding: 14px 25px; background: var(--p-orange); color: #fff; border: 1px solid transparent; border-radius: var(--p-radius); text-decoration: none; font-size: .82rem; font-weight: 750; }
.p-button:hover { background: var(--p-paper); color: var(--p-dark); border-color: currentColor; }
.p-button span { font-size: 1.25rem; line-height: 1; }
.p-link { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; text-decoration: none; font-size: .8rem; font-weight: 750; }
.p-link:hover { text-decoration: underline; text-underline-offset: 6px; }
.p-light { background: var(--p-paper); color: var(--p-dark); }
.p-light .p-kicker { color: #8e381c; }
.p-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 42px; }
.p-section-heading h2 { max-width: 640px; }
.p-section-heading > .p-link { flex-shrink: 0; }
.p-trust { border-bottom: 1px solid #ffffff25; color: var(--p-muted); }
.p-trust > div { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; padding-block: 20px; }
.p-trust span { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.p-work, .retro-services, .retro-studio, .expression-services, .expression-studio { padding: 72px 0; }
.p-projects { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.p-project { text-decoration: none; display: block; min-width: 0; }
.p-project__image { overflow: hidden; align-self: start; background: #d8d7d0; }
.p-project__image img { width: 100%; height: auto; object-fit: contain; transition: transform .35s ease; }
.p-project:hover img { transform: scale(1.025); }
.p-project__caption { display: flex; align-items: center; justify-content: space-between; padding: 24px 0; border-bottom: 1px solid #ffffff35; gap: 16px; }
.p-project__caption p { margin: 0 0 10px; color: var(--p-muted); font-size: .76rem; }
.p-project__caption h3 { font-size: clamp(1.3rem, 2.2vw, 2rem); }
.p-project__arrow { display: grid; place-items: center; border: 1px solid #ffffff65; width: 42px; height: 42px; flex-shrink: 0; border-radius: var(--p-radius); }
.p-studio-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; align-items: start; }
.p-studio-intro p:not(.p-kicker) { margin: 0 0 18px; font-size: 1.05rem; max-width: 60ch; }
.p-principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 52px; }
.p-principles article { border-top: 1px solid #10202940; padding-top: 20px; }
.p-principles p { font-size: .9rem; margin-bottom: 0; }
.p-process { border-top: 1px solid #10202940; margin-top: 52px; padding-top: 30px; }
.p-process > h3 { font-size: .75rem; font-family: 'Perspective Sans', sans-serif; text-transform: uppercase; letter-spacing: .12em; }
.p-process ol { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; padding: 0; gap: 30px; margin: 30px 0 0; }
.p-process h4 { font-size: 1.25rem; margin: 12px 0 0; }
.p-process p { margin-bottom: 0; font-size: .88rem; }
.p-step-number { color: #92391c; font-size: .85rem; font-variant-numeric: tabular-nums; }
.p-labs { padding: 54px 0; border-block: 1px solid #ffffff30; }
.p-labs > .container { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; align-items: center; }
.p-labs p:not(.p-kicker) { color: var(--p-muted); margin-top: 0; }

/* Retro-Futurism: expansive landscape, orbital forms, warm modular bands. */
.retro-hero { position: relative; isolation: isolate; min-height: 680px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.retro-hero__scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 52%; z-index: -2; }
.retro-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #071820e8 0%, #071820c9 34%, #07182015 75%); }
.retro-hero__content { padding-block: 75px 110px; }
.retro-hero h1 { font-size: clamp(3.5rem, 6.8vw, 6.8rem); line-height: .98; max-width: 740px; }
.retro-hero h1 em { font-family: Georgia, serif; font-weight: 400; color: #edc28b; }
.retro-hero .p-intro { margin-block: 28px; }
.retro-hero__baseline { position: absolute; bottom: 26px; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.orbit-symbol { border: 1px solid #edc28b; border-radius: 50%; width: 74px; height: 20px; transform: rotate(-20deg); }
.retro-services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.retro-service { padding: 0 20px 0 0; border-right: 1px solid #10202930; text-decoration: none; }
.retro-service:last-child { border: 0; }
.retro-service p { font-size: .93rem; max-width: 24ch; min-height: 3em; }
.retro-service h3 { margin-top: 24px; }
.geo { display: block; width: 56px; height: 56px; position: relative; }
.geo--0 { border-radius: 50%; background: linear-gradient(90deg, #c24c27 50%, #0c1b22 50%); }
.geo--1 { clip-path: polygon(50% 0,100% 100%,0 100%); background: linear-gradient(#d99e4a 55%,#0c1b22 55%); }
.geo--2 { border-radius: 50%; background: #0c1b22; box-shadow: 0 -15px 0 -4px #d99e4a; width: 40px; height: 40px; margin-top: 16px; }
.geo--3 { border: 1px solid #bd651e; border-radius: 50%; }
.geo--3::after { content: ''; position: absolute; width: 24px; height: 54px; border: 1px solid #bd651e; border-radius: 50%; left: 14px; }
.retro-home .p-work .container { display: grid; grid-template-columns: 1fr 2.2fr; gap: 44px; }
.retro-home .p-work .p-section-heading { display: block; margin: 0; }
.retro-home .p-work h2 { font-size: clamp(2rem, 3.2vw, 3rem); }
.retro-home .p-work .p-section-heading .p-link { margin-top: 25px; }
.retro-home .p-projects { gap: 22px; }
.retro-home .p-project__caption h3 { font-size: 1.25rem; }
.retro-home .p-process li { position: relative; padding-top: 30px; }
.retro-home .p-process li::before { content: ''; position: absolute; top: 0; width: 20px; height: 20px; border: 1px solid #92391c; border-radius: 50%; }
.retro-home .p-process li::after { content: ''; position: absolute; top: 10px; left: 30px; width: calc(100% - 35px); height: 1px; background: #10202930; }
.retro-contact { position: relative; overflow: hidden; background: #b84220; color: #fff6e6; padding: 65px 0; }
.retro-contact > .container { position: relative; display: flex; gap: 50px; justify-content: space-between; align-items: center; }
.retro-contact h2 { max-width: 670px; font-size: clamp(2.5rem, 4.5vw, 4.5rem); }
.retro-contact .p-kicker { color: #fff1cf; }
.p-button--cream { background: var(--p-paper); color: var(--p-dark); flex-shrink: 0; position: relative; z-index: 1; }
.retro-contact__orbit { position: absolute; right: -100px; top: -80px; border: 1px solid #f4cb9380; border-radius: 50%; height: 330px; width: 450px; transform: rotate(-30deg); pointer-events: none; }

/* Expressionist: type as structure, edge-to-edge image plane, asymmetric rhythm. */
.expression-home h1, .expression-home h2 { font-weight: 400; text-transform: uppercase; letter-spacing: -.04em; }
.expression-home .p-button { color: #141413; text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; }
.expression-hero { position: relative; isolation: isolate; overflow: hidden; }
.expression-hero__layout { display: grid; grid-template-columns: 1fr; align-content: space-between; min-height: clamp(660px, 78svh, 820px); padding-block: 64px 36px; }
.expression-hero__copy { position: relative; z-index: 1; max-width: 58%; }
.expression-hero .p-kicker { max-width: 32ch; color: var(--p-muted); }
.expression-hero h1 { font-size: clamp(3rem, 8.3vw, 8.3rem); line-height: .88; }
.expression-hero h1 em { font-style: normal; color: var(--p-accent); }
.expression-hero__art { margin: 0; position: absolute; inset: 0 0 0 auto; width: 70%; z-index: -1; }
.expression-hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: 63% center; }
.expression-hero__art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #141413 0%, #141413e6 14%, #14141340 42%, transparent 64%), linear-gradient(0deg, #141413f2, transparent 40%); }
.expression-hero__art figcaption { position: absolute; z-index: 1; top: 36px; right: 36px; max-width: 13ch; font-size: .7rem; text-transform: uppercase; letter-spacing: .15em; background: #141413; padding: 10px; }
.expression-hero__bottom { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 50px; border-top: 1px solid #ffffff35; padding-top: 26px; margin-top: 40px; }
.expression-hero__bottom .p-intro { max-width: 580px; margin: 0; }
.expression-hero__bottom .p-actions { flex-shrink: 0; }
.expression-services__layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 11%; }
.expression-services__heading h2 { font-size: clamp(2.2rem, 3.8vw, 3.8rem); max-width: 13ch; }
.expression-services__heading .p-link { margin-top: 25px; }
.expression-services__list a { position: relative; display: block; padding: 22px 35px 22px 0; border-bottom: 1px solid #14141340; text-decoration: none; }
.expression-services__list a:first-child { border-top: 1px solid #14141340; }
.expression-services__list a:hover h3 { text-decoration: underline; text-underline-offset: 5px; }
.expression-services__list p { font-size: .9rem; margin: 10px 0 0; }
.expression-services__list span { position: absolute; right: 0; top: 22px; font-size: 1.4rem; }
.expression-home .p-work h2 { max-width: 17ch; }
.expression-home .p-projects { grid-template-columns: 1.15fr 1fr; align-items: start; gap: 54px; }
.expression-home .p-project:nth-child(2) { margin-top: 70px; }
.expression-home .p-process { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; margin-top: 40px; }
.expression-home .p-process > h3 { font-family: var(--p-heading); font-size: 2rem; max-width: 10ch; line-height: 1.05; letter-spacing: -.025em; }
.expression-home .p-process ol { display: block; margin: 0; }
.expression-home .p-process li { display: grid; grid-template-columns: 35px 1fr; padding: 18px 0; gap: 12px; border-bottom: 1px solid #14141330; }
.expression-home .p-process li:first-child { padding-top: 0; }
.expression-home .p-process h4 { margin-top: 0; }
.expression-home .p-process p { margin-top: 8px; }
.expression-home .p-principles { grid-template-columns: 1fr 1fr; gap: 24px 10%; }
.expression-home .p-labs { background: #23231f; }
.expression-contact { overflow: hidden; padding: 72px 0; position: relative; }
.expression-contact .container { position: relative; }
.expression-contact h2 { max-width: 18ch; font-size: clamp(2.6rem, 5.5vw, 5.2rem); position: relative; z-index: 1; }
.expression-contact .p-button { margin-top: 35px; position: relative; z-index: 1; }
.expression-contact__plane { position: absolute; right: -50px; top: 20px; width: 270px; height: 340px; background: #ff692e; clip-path: polygon(45% 0,100% 0,60% 100%,0 100%); }

/* Secondary pages deliberately retain shared structure, with consistent type and surfaces. */
html:not([data-perspective='original']) main:not(.perspective-home) h1,
html:not([data-perspective='original']) main:not(.perspective-home) h2,
html:not([data-perspective='original']) main:not(.perspective-home) h3 { font-family: var(--p-heading); }
html[data-perspective='expressionist'] main:not(.perspective-home) h1 { text-transform: uppercase; font-size: clamp(2.7rem, 6vw, 5.7rem); font-weight: 400; }
html:not([data-perspective='original']) main:not(.perspective-home) .button { color: #fff; border-radius: var(--p-radius); }
html[data-perspective='expressionist'] main:not(.perspective-home) .button { color: #141413; }
html:not([data-perspective='original']) main:not(.perspective-home) .button--light { background: var(--p-paper); color: var(--p-dark); }
html:not([data-perspective='original']) .site-footer { background: var(--p-dark); color: var(--p-paper); }
html:not([data-perspective='original']) .privacy-panel { font-family: 'Perspective Sans', sans-serif; }
html:not([data-perspective='original']) .privacy-panel .button { background: var(--p-dark); color: var(--p-paper); }

@media (max-width: 1000px) {
  .perspective-home .container { width: calc(100% - 56px); }
  .retro-home .p-work .container { grid-template-columns: 1fr; }
  .retro-home .p-work .p-section-heading { display: flex; align-items: end; }
  .retro-home .p-work .p-section-heading .p-link { margin: 0; }
  .expression-hero h1 { font-size: clamp(2.9rem, 8vw, 6.4rem); }
  .expression-hero__bottom { align-items: start; gap: 28px; }
  .expression-hero__bottom .p-actions { display: grid; gap: 8px; }
  .p-principles { grid-template-columns: 1fr 1fr; }
  .retro-contact > .container { display: block; }
  .retro-contact .p-button { margin-top: 30px; }
}
@media (max-width: 700px) {
  .perspective-home .container { width: calc(100% - 40px); }
  .p-work, .retro-services, .retro-studio, .expression-services, .expression-studio { padding: 46px 0; }
  .p-section-heading, .retro-home .p-work .p-section-heading { display: block; margin-bottom: 26px; }
  .p-section-heading > .p-link { margin-top: 20px; }
  .p-kicker { font-size: .7rem; margin-bottom: 18px; }
  .p-trust > div { justify-content: start; gap: 12px 20px; }
  .p-trust span { font-size: .7rem; }
  .retro-hero { min-height: 720px; justify-content: start; }
  .retro-hero__scene { object-position: 64% center; }
  .retro-hero::before { background: linear-gradient(180deg,#071820f2 0%,#071820d9 39%,#07182015 80%); }
  .retro-hero__content { padding-block: 46px 180px; }
  .retro-hero h1 { font-size: clamp(3rem, 10.5vw, 4.8rem); }
  .retro-hero .p-intro { font-size: 1rem; max-width: 34ch; }
  .p-actions { gap: 16px; }
  .retro-hero__baseline { font-size: .7rem; align-items: end; }
  .retro-hero__baseline > span:first-child { max-width: 19ch; }
  .retro-hero__baseline > span:last-child { max-width: 18ch; text-align: right; }
  .orbit-symbol { display: none; }
  .retro-services__grid { grid-template-columns: 1fr 1fr; gap: 32px 18px; }
  .retro-service { padding-right: 12px; }
  .retro-service:nth-child(even) { border: 0; }
  .retro-service h3 { font-size: 1.12rem; }
  .retro-service p { font-size: .86rem; }
  .p-projects, .expression-home .p-projects { grid-template-columns: 1fr; gap: 32px; }
  .p-studio-intro, .p-labs > .container, .expression-services__layout { grid-template-columns: 1fr; gap: 28px; }
  .p-principles { gap: 24px; margin-top: 32px; }
  .p-principles h3 { font-size: 1.1rem; }
  .p-process ol { grid-template-columns: 1fr 1fr; gap: 28px; }
  .p-labs { padding: 40px 0; }
  .expression-hero__layout { min-height: max(820px, calc(100svh - 126px)); align-content: start; gap: 0; padding-block: 28px; }
  .expression-hero__copy { max-width: none; }
  .expression-hero h1 { font-size: clamp(3.4rem, 15vw, 6.5rem); }
  .expression-hero .p-kicker { max-width: none; }
  .expression-hero__art { inset: 0; width: 100%; }
  .expression-hero__art img { object-position: 70% center; }
  .expression-hero__art::after { background: linear-gradient(180deg, #141413ed 0%, #141413d9 30%, #141413cc 58%, #14141320 78%); }
  .expression-hero__art figcaption { top: auto; bottom: 24px; right: 20px; }
  .expression-hero__bottom { display: block; margin-top: 24px; padding-top: 22px; }
  .expression-hero__bottom .p-intro { font-size: 1rem; }
  .expression-hero__bottom .p-actions { display: flex; margin-top: 22px; }
  .expression-services__heading h2 { max-width: 18ch; }
  .expression-home .p-project:nth-child(2) { margin-top: 0; }
  .expression-home .p-process { grid-template-columns: 1fr; gap: 28px; }
  .expression-home .p-process > h3 { max-width: none; font-size: 1.5rem; }
  .expression-home .p-principles { grid-template-columns: 1fr; }
  .expression-contact { padding: 50px 0; }
  .expression-contact__plane { width: 110px; height: 150px; opacity: .25; right: -30px; top: auto; bottom: -20px; }
  .retro-contact { padding-block: 46px; }
  .retro-contact__orbit { width: 260px; height: 180px; top: auto; bottom: -120px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .perspective-home *, .perspectives * { transition: none !important; animation: none !important; }
}
