.interior-page {
  --home-wrap: min(1280px, 84%);
  --home-night: #100d1a;
  --home-lavender: #f4f2fc;
  --interior-copy: #454b5c;
  --interior-card-shadow: 0 4px 8px #00000008, 0 8px 24px #1366ec14;
  font-family:var(--font-ui);
}

.interior-page .site-shell { width: 100%; zoom: 1; }
.interior-kicker { color: var(--accent); font-size: 12px; line-height: 20px; font-weight: 500; }
.interior-heading h2 { margin-top: 32px; font-size: 48px; line-height: 1.23; font-weight: 500; }
.interior-heading > p:last-child:not(.interior-kicker) { margin-top: 32px; font-size: 16px; line-height: 28px; color: var(--muted); }

.site-header.home-nav.light { background: #ffffffe6; }
.site-header.home-nav.light .brand { color: var(--ink); }
.site-header.home-nav.light .brand > span { color: var(--accent); }
.site-header.home-nav.light .brand small { color: var(--interior-copy); }
.site-header.home-nav.light nav { color: var(--muted); }
.site-header.home-nav.light nav a[aria-current] { color: var(--accent); }
.home-nav.light .home-nav-cta { border: 0; box-shadow: none; }

.interior-hero { position: relative; isolation: isolate; min-height: 560px; }
.interior-hero-art { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.interior-hero-layer { width: 100%; height: 100%; object-fit: cover; }
.interior-hero-copy { position: relative; padding-top: 168px; padding-bottom: 72px; pointer-events: none; }
.interior-hero h1 { display: flex; flex-direction: column; align-items: start; font-size: clamp(46px, 3.75vw, 72px); line-height: 1.1667; font-weight: 600; letter-spacing: -.01em; }
.interior-hero-description { color: var(--interior-copy); font-size: 16px; line-height: 28px; }
.services-hero { background: #ececfa; }
.services-hero-media { position: absolute; top: 0; left: 50%; translate: -50%; width: max(1920px, 100%); aspect-ratio: 1920 / 745; }
.services-hero-media .interior-hero-layer { object-fit: contain; }
.services-hero .interior-hero-copy { padding-top: 184px; }
.services-hero .home-studio { display: inline-block; background: var(--home-lavender); color: var(--accent); }
.services-hero h1 { margin-top: 24px; color: #0d0d0e; }
.services-hero .interior-hero-description { margin-top: 24px; }
.services-hero .interior-hero-description span { color: #4740b5; font-weight: 500; }
.contact-hero { background: #08060e; color: var(--paper); }
.contact-hero-media { position: absolute; top: -326px; left: calc(50% - 71px); width: 1021px; height: 1275px; mix-blend-mode: screen; }
.contact-hero h1 { gap: 18px; }
.contact-hero h1 em { color: var(--accent-dark); }
.contact-hero .interior-hero-description { margin-top: 29px; color: #d0c8e0; font-family:var(--font-ui); font-size: 20px; line-height: 34px; max-width: 640px; }

.services-capabilities { padding-block: 96px; background: #f7f9fc; }
.services-capabilities .interior-heading { text-align: center; }
.capability-list { display: grid; gap: 64px; margin-top: 97px; }
.capability-panel {
  display: grid;
  grid-template-columns: minmax(0, 500fr) minmax(0, 618fr);
  align-items: center;
  gap: clamp(32px, 3.33vw, 64px);
  min-height: 580px;
  padding: 47px 48px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: linear-gradient(#ffffffe6, #ffffff66), linear-gradient(white 2%, transparent 99%);
  box-shadow: var(--interior-card-shadow), inset 0 0 32px #ffffff80;
}
.capability-panel-visual { grid-template-columns: minmax(0, 619fr) minmax(0, 499fr); }
.capability-panel-visual .capability-visual { grid-column: 2; grid-row: 1; }
.capability-visual { display: block; width: 100%; height: auto; aspect-ratio: 500 / 484; object-fit: cover; border-radius: 16px; }
.capability-copy h3 { display: flex; align-items: baseline; gap: 16px; font-size: 36px; line-height: 44px; font-weight: 600; }
.capability-copy h3 span { color: var(--accent-dark); font-family:var(--font-ui); font-weight: 700; }
.capability-panel-visual h3 span { color: var(--accent); }
.capability-copy header p { margin-top: 16px; color: var(--interior-copy); font-size: 20px; line-height: 28px; }
.capability-copy header .capability-label { font: 400 12px/18px var(--font-ui); color: var(--muted); }
.capability-copy dl { margin: 48px 0 0; }
.capability-copy dl div + div { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.capability-copy dt { font-size: 20px; line-height: 28px; font-weight: 500; }
.capability-copy dd { margin: 8px 0 0; color: var(--muted); font-size: 16px; line-height: 28px; }

.services-solutions { padding: 96px 0 166px; background: linear-gradient(white, var(--paper)); }
.services-solutions .interior-heading { padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.services-solutions .scenario-list { border: 0; }
.services-solutions .scenario { padding: 0 32px 28px; border: 0; }
.services-solutions .scenario::after { content: ""; display: block; border-top: 1px solid var(--line); }
.services-solutions .scenario:hover summary h3 { color: var(--accent); }
.services-solutions .scenario summary {
  grid-template-columns: 48px minmax(0, 1fr) 24px;
  gap: 20px 40px;
  align-items: center;
  padding: 28px 0 20px;
  min-height: 0;
  height: auto;
}
.services-solutions .scenario summary:focus-visible { outline-offset: -1px; border-radius: 8px; }
.services-solutions .scenario-number { padding: 0; font-size: 16px; line-height: 24px; font-weight: 500; color: #82899b; }
.services-solutions .scenario[open] .scenario-number { color: var(--accent); }
.services-solutions .scenario h3 { color: var(--ink); font-size: 28px; line-height: 38px; font-weight: 600; }
.services-solutions .scenario summary p { grid-column: 2; margin: 0; font-size: 16px; line-height: 28px; }
.services-solutions .scenario-symbol { width: 24px; height: 24px; display: grid; place-items: center; grid-column: 3; grid-row: 1; }
.scenario-symbol img { grid-area: 1/1; }
.scenario-symbol .scenario-minus { display: none; }
.scenario[open] .scenario-symbol img { display: none; }
.scenario[open] .scenario-symbol .scenario-minus { display: block; }
.services-solutions .scenario-body { padding: 4px 0 20px 88px; animation: none; }
.services-solutions .service-tags { gap: 12px; margin-bottom: 24px; height: auto; }
.services-solutions .service-tags span { height: auto; width: auto; line-height: 20px; padding: 10px 16px; color: var(--muted); background: var(--mist); border: 0; }
.services-solutions .service-tags span:first-child { background: var(--accent); color: white; }
.services-solutions .scenario-preview {
  grid-template-columns: minmax(0, 524fr) minmax(0, 572fr);
  gap: 32px;
  align-items: center;
  background: white;
  border-radius: 16px;
  box-shadow: var(--interior-card-shadow);
}
.services-solutions .scenario-preview > a { border-radius: 16px; overflow: hidden; }
.services-solutions .scenario-preview > div { display: grid; gap: 24px; padding: 24px 24px 24px 0; }
.services-solutions .scenario-preview h4 { margin: 0; font-size: 28px; line-height: 38px; font-weight: 600; }
.services-solutions .scenario-preview > div > p { margin: 0; font-size: 16px; line-height: 28px; color: var(--interior-copy); }
.services-solutions .scenario-preview .eyebrow { font: 500 12px/20px var(--font-ui); color: var(--accent); }
.services-solutions .scenario-preview .concept-note { font-size: 12px !important; color: var(--muted); line-height: 20px !important; }
.services-solutions .scenario-preview .text-link { width: fit-content; margin: 0; font-size: 14px; line-height: 22px; font-weight: 500; }
.scenario-laptop { position: relative; aspect-ratio: 524 / 327; background: #080810 !important; }
.scenario-laptop img { position: absolute; width: 179.2%; height: 160.25%; top: 58.7%; left: -39.69%; translate: 0 -50%; object-fit: cover; }

.services-conversation { min-height: 506px; padding: 56px 0 94px; background: linear-gradient(#f4f2fc, #ebe5fc 36%, #8060dc 70%, #100d1a); text-align: center; }
.services-conversation .home-wrap { display: grid; gap: 36px; justify-items: center; }
.services-conversation h2 { font-size: 64px; line-height: 76px; letter-spacing: -.01em; font-weight: 600; }
.services-conversation h2 em { display: block; margin-top: 8px; }
.services-conversation-signature { color: var(--muted-dark); font: 500 12px/20px var(--font-ui); }

.contact-inquiry { position: relative; isolation: isolate; overflow: clip; min-height: 878px; padding-block: 96px 125px; background: var(--paper); }
.contact-inquiry .interior-heading h2 { line-height: 56px; }
.contact-inquiry-art { position: absolute; z-index: -1; top: 45px; left: calc(50% + 204px); width: 1047px; height: auto; opacity: .11; }
.inquiry-switcher { display: grid; grid-template-columns: minmax(210px, 340px) minmax(0, 1fr); column-gap: clamp(48px, 7.8125vw, 150px); align-items: start; margin-top: 105px; margin-left: -10px; }
.inquiry-index { display: grid; gap: 26px; }
.inquiry-index button { display: flex; align-items: center; position: relative; min-height: 56px; padding: 12px 24px; border-radius: 8px; text-align: left; color: var(--muted); font-size: 20px; line-height: 28px; transition: background .2s, color .2s; }
.inquiry-index button span { flex: 0 0 46px; color: var(--ink); }
.inquiry-index button:hover { background: #edf0f9; color: var(--ink); }
.inquiry-index button[aria-selected="true"] { color: var(--ink); background: var(--mist); font-weight: 500; }
.inquiry-index button[aria-selected="true"]::before { content: ""; position: absolute; inset: 9px auto 9px 0; width: 3px; border-radius: 2px; background: var(--accent); }
.inquiry-panels { padding-top: 68px; }
.inquiry-panels h3 { font-size: clamp(38px, 3.333vw, 64px); line-height: 1.1875; font-weight: 600; letter-spacing: -.01em; }
.inquiry-panels p { margin-top: 16px; max-width: 560px; font-size: 16px; line-height: 28px; color: var(--interior-copy); }
.inquiry-panels .inquiry-english { color: var(--muted); font: 400 12px/18px var(--font-ui); }
.inquiry-panels ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 32px 0 0; padding: 0; }
.inquiry-panels li { padding: 5px 12px; border-radius: 100px; background: white; box-shadow: 0 0 0 1px #0000000a, 0 1px 2px #00000014, 0 4px 6px #0000000a; font-size: 14px; line-height: 22px; }

.contact-channels { position: relative; isolation: isolate; overflow: clip; min-height: 910px; padding: 120px 0 163px; color: var(--paper); background: #0a0118; }
.contact-channels-art { position: absolute; z-index: -1; inset: 222px 0 0; overflow: clip; pointer-events: none; }
.contact-channels-art img:first-child { position: absolute; width: 100%; height: 137.77%; left: 0; top: -37.77%; }
.contact-channels-art img + img { position: absolute; width: 1128px; height: 642px; object-fit: contain; top: -176px; left: max(0px, calc(50% - 960px)); }
.contact-channels-heading { text-align: center; }
.contact-channels-heading .interior-kicker { color: var(--tag-dark); }
.contact-channels-heading h2 { font-size: 56px; font-weight: 600; line-height: 64px; margin-block: 27px; }
.contact-channels-heading em { color: var(--accent-dark); }
.contact-channels-heading > p:last-child { color: var(--muted-dark); font-size: 20px; line-height: 28px; }
.channel-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 32px; margin-top: 99px; }
.channel-card { min-height: 362px; padding: 29px 35px 43px; border: 1px solid #ffffff33; border-radius: 16px; background: #1c1833; box-shadow: 0 20px 24px #05001233; }
.channel-index { color: var(--tag-dark); font-size: 12px; line-height: 20px; padding-bottom: 20px; border-bottom: 1px solid #373047; }
.channel-card h3 { margin-top: 23px; font-size: 24px; font-weight: 500; line-height: 32px; }
.channel-value { display: block; margin-top: 14px; color: var(--tag-dark); font: 700 clamp(24px, 2vw, 36px)/44px var(--font-ui); overflow-wrap: anywhere; }
a.channel-value:hover { text-decoration: underline; }
.channel-help { margin-top: 24px; color: var(--muted-dark); font-size: 16px; line-height: 28px; }
.channel-card .home-button { margin-top: 34px; }
.channel-copy { background: #ffffff14; border-color: #ffffff33; }
.contact-footer { min-height: 116px; padding-block: 49px; background: var(--home-night); }
.contact-footer .home-footer-copyright { margin-top: 0; }

@media (max-width: 1299px) {
  .contact-hero-media { left: calc(50% - 80px); width: 880px; height: 1100px; top: -245px; }
  .contact-hero .interior-hero-description { max-width: 490px; }
  .wide-contact-break { display: none; }
  .capability-panel { min-height: 510px; padding: 32px; }
  .capability-copy header p:not(.capability-label) { font-size: 17px; }
  .capability-copy dl { margin-top: 30px; }
  .inquiry-switcher { grid-template-columns: minmax(205px, 29%) minmax(0,1fr); }
}

@media (max-width: 899px) {
  .interior-page { --home-wrap: calc(100% - clamp(36px, 10vw, 96px)); }
  .site-header.home-nav.light .menu-toggle { color: var(--ink); }
  .site-header.home-nav.light nav { color: var(--ink); background: #f7f9fe; border-color: var(--line); }
  .interior-hero { min-height: 495px; }
  .interior-hero-copy, .services-hero .interior-hero-copy { padding-top: 116px; padding-bottom: 215px; }
  .interior-hero h1 { font-size: clamp(34px, 7.5vw, 56px); }
  .contact-hero h1 { gap: 8px; }
  .interior-hero-description, .contact-hero .interior-hero-description { max-width: 480px; font-size: 14px; line-height: 24px; }
  .services-hero .interior-hero-description, .contact-hero .interior-hero-description { margin-top: 17px; }
  .services-hero h1 { margin-top: 15px; }
  .services-hero-media { top: 0; bottom: auto; width: max(1440px, 100%); height: 100%; left: 50%; }
  .services-hero-media .interior-hero-layer { object-fit: cover; }
  .services-hero-art { background: #eeeeff; }
  .services-hero .interior-hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,#edf0fc88,transparent); }
  .contact-hero-media { top: auto; bottom: -202px; left: 50%; translate: -50%; width: min(540px, 116vw); height: auto; aspect-ratio: 1021 / 1275; }
  .contact-hero .interior-hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(#08060e 42%, #08060e88 57%, transparent 75%); }
  .services-capabilities, .services-solutions, .contact-inquiry { padding-block: 64px; }
  .interior-heading h2, .contact-inquiry .interior-heading h2 { font-size: clamp(29px, 5.8vw, 42px); line-height: 1.27; margin-top: 18px; }
  .interior-heading > p:last-child:not(.interior-kicker) { margin-top: 18px; line-height: 24px; font-size: 14px; }
  .capability-list { gap: 28px; margin-top: 34px; }
  .capability-panel, .capability-panel-visual { min-height: 0; grid-template-columns: minmax(0,1fr); gap: 24px; padding: 22px; }
  .capability-panel-visual .capability-visual { grid-column: 1; }
  .capability-visual { aspect-ratio: 4 / 3; max-height: 390px; }
  .capability-copy h3 { font-size: 28px; line-height: 38px; gap: 12px; }
  .capability-copy header p { margin-top: 10px; }
  .capability-copy header p:not(.capability-label), .capability-copy dd { font-size: 14px; line-height: 24px; }
  .capability-copy dl { margin-top: 22px; }
  .capability-copy dt { font-size: 17px; }
  .capability-copy dd { margin-top: 4px; }

  .services-solutions .interior-heading { padding-bottom: 28px; margin-bottom: 0; }
  .services-solutions .scenario { padding: 0; }
  .services-solutions .scenario summary { grid-template-columns: 26px minmax(0,1fr) 24px; gap: 8px 10px; padding: 20px 0 18px; }
  .services-solutions .scenario-number { font-size: 13px; }
  .services-solutions .scenario h3 { font-size: 18px; line-height: 26px; }
  .services-solutions .scenario summary p { font-size: 13px; line-height: 22px; }
  .services-solutions .scenario-body { padding-left: 36px; }
  .services-solutions .service-tags { margin-bottom: 16px; gap: 6px; }
  .services-solutions .service-tags span { padding: 6px 10px; }
  .services-solutions .scenario-preview { grid-template-columns: minmax(0,1fr); gap: 0; }
  .services-solutions .scenario-preview > div { gap: 12px; padding: 16px; }
  .services-solutions .scenario-preview h4 { font-size: 20px; line-height: 28px; }
  .services-solutions .scenario-preview > div > p:not(.eyebrow) { font-size: 13px; line-height: 21px; }
  .services-conversation { min-height: 360px; padding-block: 48px 56px; }
  .services-conversation .home-wrap { gap: 24px; }
  .services-conversation h2 { font-size: clamp(27px, 5.8vw, 44px); line-height: 1.22; }
  .services-conversation-signature { font-size: 10px; }

  .contact-inquiry { min-height: 0; }
  .contact-inquiry-art { top: 13%; left: 20%; width: 120%; }
  .inquiry-switcher { grid-template-columns: minmax(0,1fr); gap: 24px; margin-top: 32px; margin-left: 0; }
  .inquiry-index { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
  .inquiry-index button { min-height: 46px; padding: 8px; line-height: 20px; font-size: 13px; }
  .inquiry-index button span { flex-basis: 25px; }
  .inquiry-panels { padding-top: 0; min-height: 200px; }
  .inquiry-panels h3 { font-size: 27px; }
  .inquiry-panels p { font-size: 14px; line-height: 24px; margin-top: 12px; }
  .inquiry-panels ul { margin-top: 20px; }
  .inquiry-panels li { font-size: 12px; }
  .contact-channels { min-height: 0; padding: 64px 0 88px; }
  .contact-channels-heading h2 { margin-block: 16px; font-size: clamp(28px, 5.7vw, 42px); line-height: 1.24; }
  .contact-channels-heading h2 em { display: block; }
  .contact-channels-heading > p:last-child { font-size: 14px; line-height: 24px; }
  .channel-grid { grid-template-columns: minmax(0,1fr); gap: 16px; margin-top: 36px; }
  .channel-card { min-height: 0; padding: 22px; }
  .channel-index { padding-bottom: 14px; }
  .channel-card h3 { margin-top: 16px; font-size: 20px; }
  .channel-value { margin-top: 4px; }
  .channel-help { margin-top: 10px; font-size: 14px; line-height: 23px; }
  .channel-card .home-button { margin-top: 20px; }
  .contact-footer { min-height: 0; padding-block: 28px; }
  .contact-footer .home-footer-copyright { gap: 8px; }
}

@media (min-width: 900px) and (max-width: 980px) {
  .interior-page .site-header.home-nav nav { gap: 12px; font-size: 13px; }
  .interior-page .home-nav-cta { min-width: 112px; padding-inline: 12px; }
}

/* Keep newly revealed controls stationary while their section fades in. */
[data-section-reveal][data-scroll-reveal="waiting"]:has(button, a[href]) { transform: none; }

/* Real portfolio work within the six service scenarios. */
.scenario-project-label { display: flex; align-items: center; justify-content: space-between; margin: 0 0 20px; color: var(--accent); font-size: 12px; line-height: 20px; letter-spacing: .03em; }
.scenario-project-label span { color: var(--muted); }
.scenario-projects { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.scenario-project { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: var(--interior-card-shadow); }
.scenario-project-cover { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 16/10; overflow: hidden; background: #edf0fa; }
.scenario-project-cover > img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.scenario-project-cover .art-frame { max-height: 100%; }
.scenario-project-cover:focus-visible { outline-offset: -4px; }
.scenario-project-cover > img, .scenario-project-cover > .art-frame { transition: filter .4s ease; }
.scenario-project-cover:hover > img, .scenario-project-cover:hover > .art-frame { filter: brightness(1.04); }
.scenario-project-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 24px; }
.scenario-project-copy .eyebrow { font-size: 12px; font-weight: 500; }
.scenario-project-copy h4 { font-size: 22px; line-height: 1.5; font-weight: 600; }
.scenario-project-copy > p:not(.eyebrow) { color: var(--interior-copy); font-size: 14px; line-height: 1.8; }
.scenario-project-copy .text-link { margin-top: 8px; font-size: 14px; text-align: left; }
.scenario-projects-single { grid-template-columns: minmax(0,1fr); }
.scenario-projects-single .scenario-project { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.work-preview { width: min(1280px,94vw); max-width: 94vw; height: min(1000px,92dvh); max-height: 92dvh; border: 1px solid #dfe2ee; border-radius: 16px; padding: 0; color: var(--ink); background: #f5f7fb; box-shadow: 0 24px 100px #0006; }
.work-preview::backdrop { background: #0e0a20cf; }
.work-preview[open] { display: flex; flex-direction: column; }
.work-preview-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 24px; background: white; border-bottom: 1px solid var(--line); }
.work-preview-toolbar h2 { font-size: 18px; line-height: 1.5; }
.work-preview-controls { display: flex; align-items: center; gap: 12px; flex-shrink: 0; font-size: 14px; }
.work-preview-controls button { padding: 8px 12px; border-radius: 6px; background: #f0edf9; }
.work-preview-controls button:disabled { opacity: .35; cursor: default; }
.work-preview-stage { min-height: 0; flex: 1; overflow: auto; overscroll-behavior: contain; padding: 24px; }
.work-preview-stage img { width: 100%; max-width: 1200px; height: auto; margin: 0 auto; }
@media(max-width:899px) {
  .scenario-projects { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .scenario-projects-single .scenario-project { display: block; }
  .scenario-project-copy { padding: 18px; gap: 10px; }
  .scenario-project-copy h4 { font-size: 19px; }
  .scenario-project-copy > p:not(.eyebrow) { font-size: 13px; }
  .scenario-project-label { font-size: 10px; margin-bottom: 16px; }
  .work-preview-toolbar { align-items: flex-start; flex-direction: column; padding: 14px 16px; gap: 12px; }
  .work-preview-toolbar h2 { font-size: 16px; }
  .work-preview-controls { width: 100%; gap: 8px; }
  .work-preview-controls [data-work-close] { margin-left: auto; }
  .work-preview-stage { padding: 10px; }
}
@media(prefers-reduced-motion:reduce) { .scenario-project-cover > img, .scenario-project-cover > .art-frame { transition: none; } }
