/* Cobalt text remains legible on both ivory and pale panels. */
:root:not([data-theme=dark]) { --accent: #435dd7; }

/* Project artwork keeps its own paper and ink, independently of the site theme. */
.project-card { border: 1px solid var(--line); background: var(--bg); border-radius: 10px; }
.project-thumb { position: relative; height: auto; aspect-ratio: 1.42; padding: 24px; background: var(--surface); overflow: hidden; }
.project-thumb .thumb-frame { position: absolute; inset: 24px; min-width: 0; min-height: 0; }
.project-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.thumb-web .thumb-frame { border-radius: 7px; border: 1px solid #9ca8af; background: #17262e; box-shadow: 0 12px 26px #17262e20; }
.thumb-web img { inset: 5px; width: calc(100% - 10px); height: calc(100% - 10px); border-radius: 3px; }
.thumb-support .thumb-frame { inset: 24px 34px; }
.thumb-identity img { border-radius: 6px; }
.project-caption { display: grid; grid-template-columns: 58px minmax(0,1fr); gap: 14px; padding: 22px; align-items: start; }
.client-logo { width: 58px; height: 54px; padding: 7px; display: grid; place-items: center; border-radius: 6px; background: #fff; border: 1px solid #dce1df; }
.client-logo img { width: 100%; height: 100%; object-fit: contain; filter: none; }
.project-info { min-width: 0; }
.project-info .project-number { display: block; margin: 1px 0 7px; font-size: 10px; line-height: 1.5; letter-spacing: .025em; }
.project-info h3 { font-size: clamp(19px,1.75vw,24px); line-height: 1.25; }
.project-info p { margin-top: 8px; font-size: 14px; line-height: 1.5; }
.project-info:first-child { grid-column: 1/-1; }
.project-caption .project-open { grid-column: 1/-1; justify-self: start; min-height: 36px; display: inline-flex; align-items: center; font-size: 13px; margin-top: 1px; }
.portfolio-section .project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
.home-projects { grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; }
.home-projects .project-thumb { padding: 17px; aspect-ratio: 1.5; }
.home-projects .thumb-frame { inset: 17px; }
.home-projects .project-caption { padding: 17px; grid-template-columns: 42px minmax(0,1fr); gap: 12px; }
.home-projects .client-logo { width: 42px; height: 42px; padding: 5px; }
.home-projects .project-info h3 { font-size: 18px; }
.home-projects .project-info p { font-size: 12px; }
@media (min-width: 721px) {
  .home-projects .project-info .project-number { min-height: 3em; }
  .home-projects .project-info p { min-height: 3em; }
}
.project-card:hover .project-thumb img { transform: none; }
.project-card .project-caption .client-logo { grid-column: 1; grid-row: 1; }
.project-card .project-caption .project-info { grid-column: 2; grid-row: 1; }
.project-card .project-caption .project-info:first-child { grid-column: 1/-1; }
.project-card .project-caption .project-open { grid-column: 1/-1; grid-row: 2; justify-self: start; }
.case-brand { width: 105px; height: 80px; border-radius: 7px; background: #fff; padding: 10px; display: grid; place-items: center; margin: 8px 0 22px; }
.case-brand img { width: 100%; height: 100%; object-fit: contain; }
/* Definite image bounds avoid the intrinsic grid size overflowing on iOS. */
.client-logo,.case-brand { position: relative; display: block; overflow: hidden; }
.client-logo { --logo-inset: 6px; }
.case-brand { --logo-inset: 10px; width: 105px; height: 96px; }
.client-logo img,.case-brand img { position: absolute; inset: var(--logo-inset); width: calc(100% - 2 * var(--logo-inset)); height: calc(100% - 2 * var(--logo-inset)); min-width: 0; min-height: 0; max-width: none; max-height: none; object-fit: contain; }
.project-card .client-logo img { transform: none; }
.business-cards { margin-block: 28px; }
#project-content .business-cards h3 { margin: 0 0 16px; }
.business-card-faces { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; align-items: start; }
.business-card-faces figure { min-width: 0; margin: 0; }
.business-card-faces img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; }
.business-card-faces figcaption { font-size: 12px; font-weight: 600; color: var(--muted); margin-top: 10px; }
@media (max-width: 600px) { .business-card-faces { grid-template-columns: 1fr; gap: 24px; } }
.case-gallery { align-items: center; }
/* Original print artwork, staged with CSS so every word and proportion is retained. */
.print-showcase { margin-block: 30px 40px; }
.print-chapter { min-width: 0; margin-top: 42px; padding-top: 30px; border-top: 1px solid var(--line); }
.print-chapter:first-child { margin-top: 0; }
.print-chapter-number { font-size: 11px; font-weight: 700; color: var(--accent); letter-spacing: .12em; }
#project-content .print-chapter h3 { margin: 9px 0 12px; font-size: clamp(24px,4vw,30px); }
#project-content .print-description { max-width: 610px; font-size: 15px; margin: 0 0 22px; }
.print-menu-controls { display: flex; width: fit-content; max-width: 100%; margin-bottom: 16px; }
.print-menu-controls button { min-height: 44px; padding: 9px 18px; font-size: 13px; }
.fold-stage { display: grid; place-items: center; padding: 35px 10% 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; perspective: 1800px; }
.fold-book { width: 100%; aspect-ratio: 1.414; display: flex; transform-style: preserve-3d; perspective: 1400px; transform: rotateX(3deg) rotateZ(-1deg); }
.fold-leaf { position: relative; width: 50%; height: 100%; overflow: hidden; background: #100e0b; backface-visibility: hidden; }
.fold-leaf img { position: absolute; width: 200%; height: 100%; max-width: none; object-fit: fill; top: 0; }
.fold-left { transform: rotateY(12deg); transform-origin: right center; box-shadow: -7px 12px 16px #0003; }
.fold-right { transform: rotateY(-12deg); transform-origin: left center; box-shadow: 7px 12px 16px #0003; }
.fold-left img { left: 0; }
.fold-right img { right: 0; }
.fold-leaf:after { content: ''; position: absolute; inset: 0; pointer-events: none; }
.fold-left:after { background: linear-gradient(90deg,#fff1,transparent 70%,#0005); }
.fold-right:after { background: linear-gradient(90deg,#0006,transparent 12%,#ffffff08); }
.fold-stage[data-fold=closed] .fold-book { justify-content: center; }
.fold-stage[data-fold=closed] .fold-left { display: none; }
.fold-stage[data-fold=closed] .fold-right { transform: rotateY(-10deg) rotateZ(3deg); transform-origin: center; box-shadow: 3px 3px 0 #d0cbc2,5px 5px 0 #aaa59c; }
.mockup-caption { font-size: 10px; color: var(--muted); text-align: center; margin-top: 27px; }
.print-enlarge { display: inline-flex; min-height: 44px; align-items: center; font-size: 13px; margin-top: 9px; }
.poster-wall { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; gap: 18px; padding: 30px 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.print-showcase figure { min-width: 0; margin: 0; }
.poster-frame { display: block; border: 5px solid #1b1b19; background: #1b1b19; box-shadow: 3px 8px 12px #0003; }
.poster-frame img { width: 100%; height: auto; display: block; }
.print-showcase figcaption { font-size: 11px; line-height: 1.5; color: var(--muted); margin-top: 14px; }
#project-content .print-hint { font-size: 12px; margin-top: 14px; }
.band-window { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px; padding: 30px 17%; border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(120deg,transparent 35%,#ffffff09 35%,#ffffff09 55%,transparent 55%),var(--surface); }
.band-piece { text-align: center; }
.band-art { display: block; width: min(100%,112px); margin-inline: auto; box-shadow: 5px 9px 16px #0003; }
.band-art img { display: block; width: 100%; height: auto; }
.print-screen-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 20px 0 24px; }
.print-screen-controls .button,.print-next { font-size: 12px; min-height: 44px; padding: 10px 15px; }
.print-next { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
.print-screen-progress { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.print-screens { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; padding: 26px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.print-display { position: relative; aspect-ratio: 9/16; border: 6px solid #212322; border-bottom-width: 14px; border-radius: 7px; box-shadow: 4px 8px 12px #0003; background: #100e0b; }
.print-display:after { content: ''; position: absolute; width: 3px; height: 3px; background: #c9d7c7; border-radius: 50%; bottom: -9px; left: 50%; }
.print-display img { display: block; width: 100%; height: 100%; object-fit: contain; }
.thumb-print .thumb-frame { inset: 28px 35px; display: flex; align-items: center; }
.project-thumb.thumb-print .thumb-print-open { position: relative; inset: auto; width: 87%; height: auto; max-height: 100%; object-fit: contain; transform: rotate(-5deg); box-shadow: 0 10px 18px #0003; }
.thumb-print-cover { position: absolute; width: 32%; aspect-ratio: .707; right: 0; bottom: 0; overflow: hidden; box-shadow: 0 8px 18px #0005; transform: rotate(8deg); }
.project-thumb .thumb-print-cover img { width: 200%; height: 100%; max-width: none; inset: 0 0 0 auto; object-fit: fill; }
.project-card:hover .thumb-print .thumb-print-open { transform: rotate(-5deg); }
@media (max-width:600px) {
  .print-chapter { margin-top: 30px; padding-top: 24px; }
  .print-menu-controls { width: 100%; }
  .print-menu-controls button { flex: 1; padding-inline: 10px; font-size: 12px; }
  .fold-stage { padding: 25px 10% 18px; }
  .fold-book { perspective: 700px; }
  .poster-wall { grid-template-columns: 1fr; gap: 28px; padding: 26px; }
  .poster-piece { width: 100%; max-width: 330px; justify-self: center; }
  .band-window { gap: 18px; padding: 24px 18px; }
  .print-screens { grid-template-columns: 1fr; gap: 30px; padding: 26px; }
  .print-screen-piece { width: 100%; max-width: 270px; justify-self: center; }
  .print-screen-controls { gap: 10px; }
  .print-screen-controls .button { width: 100%; }
}
.case-gallery img { width: 100%; max-height: 650px; height: auto; object-fit: contain; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
#project-content > .case-cover { object-fit: contain; max-height: 570px; padding: 18px; }
#project-content .case-brand + .eyebrow { font-size: 11px; color: var(--accent); }

/* The selected format uses a real screenshot, never a desktop view inside a phone. */
.service-demo { min-width: 0; }
.device-viewer { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; }
.viewer-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; min-width: 0; }
.viewer-controls > span { font-size: 12px; font-weight: 650; }
.viewer-controls .segmented { flex: none; }
.viewer-controls .segmented button { min-height: 40px; font-size: 12px; padding-inline: 12px; }
.viewer-stage { min-height: 260px; padding: 5px 20px 20px; display: grid; place-items: center; }
.viewer-screen { width: 100%; min-width: 0; padding: 7px 5px 5px; background: #17262e; border: 1px solid #86959c; border-radius: 8px; box-shadow: 0 12px 30px #0002; }
.viewer-screen img { width: 100%; height: auto; border-radius: 3px; }
.viewer-mobile { display: none; }
.device-viewer[data-device=mobile] .viewer-screen { width: min(245px,100%); padding: 6px; border-radius: 28px; }
.device-viewer[data-device=mobile] .viewer-mobile { display: block; border-radius: 21px; }
.device-viewer[data-device=mobile] .viewer-desktop { display: none; }
.device-viewer .viewer-caption { margin: 0; padding: 0 18px 16px; font-size: 12px; line-height: 1.5; text-align: center; color: var(--muted); }
.viewer-projects { display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0 5px; }
.viewer-projects button { min-height: 44px; padding: 10px 14px; border: 1px solid var(--line); background: transparent; border-radius: 6px; font-size: 12px; }
.viewer-projects button[aria-pressed=true] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.viewer-project-link { font-size: 13px; }
.device-viewer .viewer-format-label { font-weight: 400; color: var(--muted); }
#project-content .device-viewer { margin: 28px 0; }
#project-content .viewer-caption { font-size: 12px; }

/* Three scroll chapters. The explanations stay visible without JavaScript. */
.service-story { padding-top: 90px; padding-bottom: 30px; }
.story-body { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 9%; align-items: start; }
.story-stage { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--site-header-height,98px) + 22px); border: 1px solid var(--line); border-radius: 12px; background: var(--panel); overflow: hidden; }
.story-steps { grid-column: 1; grid-row: 1; min-width: 0; }
.story-step { min-height: 400px; padding: 45px 0 70px; border-top: 1px solid var(--line); }
.story-step:last-child { padding-bottom: 100px; }
.story-step h3 { font-size: clamp(27px,3vw,38px); margin: 20px 0; line-height: 1.18; text-wrap: balance; }
.story-step p { font-size: 17px; line-height: 1.65; }
.story-step small { display: block; color: var(--muted); font-size: 13px; line-height: 1.6; margin-top: 18px; }
.story-index { font-size: 11px; font-weight: 650; letter-spacing: .06em; color: var(--accent); }
.story-progress { padding: 18px 22px; display: flex; align-items: center; gap: 14px; color: var(--ink); font-size: 11px; font-weight: 600; border-bottom: 1px solid var(--line); }
.story-progress > span:nth-child(2) { text-transform: uppercase; font-size: 10px; letter-spacing: .04em; }
.story-progress > div { display: flex; gap: 5px; margin-left: auto; }
.story-progress i { width: 17px; height: 3px; background: var(--line); border-radius: 4px; }
.service-story[data-active="0"] .story-progress i:first-child,
.service-story[data-active="1"] .story-progress i:nth-child(-n+2),
.service-story[data-active="2"] .story-progress i { background: var(--accent); }
.story-canvas { position: relative; height: 360px; }
.story-view { position: absolute; inset: 0; padding: 28px; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(13px); transition: opacity .3s ease,transform .4s ease,visibility .4s; }
.story-view.is-active { opacity: 1; visibility: visible; transform: none; }
.story-view > div { width: 100%; }
.story-view svg { width: 23px; height: 23px; flex: none; }
.story-view p { font-size: 16px; line-height: 1.5; }
.story-view small { display: block; font-size: 11px; line-height: 1.5; }
.mini-label { font-size: 10px; letter-spacing: .06em; font-weight: 650; display: block; margin-bottom: 24px; }
.address-panel,.contact-visual,.budget-visual,.identity-visual,.print-visual,.search-visual { background: #fffdf9; color: #17262e; border: 1px solid #c9d1cf; padding: 25px; border-radius: 9px; }
.story-view :is(.address-panel,.contact-visual,.budget-visual,.identity-visual,.print-visual,.search-visual) :is(p,small,strong) { color: #17262e; }
.domain-line,.email-line { display: flex; align-items: center; gap: 11px; overflow-wrap: anywhere; }
.domain-line strong { font: 700 clamp(14px,1.5vw,20px) Manrope, sans-serif; }
.safe-pill { display: inline-flex; padding: 6px 10px; border-radius: 4px; background: #e3efea; color: #265344; font-size: 11px; margin: 15px 0 25px 34px; }
.email-line { font-size: 13px; border-top: 1px solid #c9d1cf; padding-top: 20px; }
.address-panel small { margin-top: 19px; color: #53616a !important; }
.contact-visual { max-width: 320px; padding: 22px; }
.contact-visual .mini-label { margin-bottom: 12px; }
.sample-heading { font: 750 26px/1.15 Manrope, sans-serif; margin-bottom: 14px; }
.sample-field { border-bottom: 1px solid #bdc8cd; font-size: 12px; color: #53616a; padding: 7px 0; }
.sample-action { display: block; background: #17262e; color: #fff; text-align: center; font-size: 12px; font-weight: 600; margin-top: 15px; border-radius: 5px; padding: 10px; }
.contact-visual small { margin-top: 10px; font-size: 9px; }
.delivery-visual { text-align: center; color: var(--ink); }
.format-icons { display: flex; align-items: end; justify-content: center; gap: 12px; height: 110px; margin-bottom: 25px; }
.format-icons > span { display: block; border: 2px solid var(--accent); background: linear-gradient(140deg,var(--surface),var(--panel)); border-radius: 5px; position: relative; }
.format-icons > span:after { content: ''; position: absolute; inset: 10% 12%; border-top: 3px solid var(--accent); opacity: .6; }
.format-phone { width: 32px; height: 61px; }.format-tablet { width: 67px; height: 90px; }.format-desktop { width: 140px; height: 99px; }
.delivery-visual > strong { font: 750 26px/1.2 Manrope, sans-serif; }
.delivery-checks { display: flex; justify-content: center; gap: 16px; margin-top: 23px; flex-wrap: wrap; }
.delivery-checks span,.print-checks span { display: flex; align-items: center; gap: 5px; font-size: 12px; }
.delivery-checks svg,.print-checks svg { width: 17px; height: 17px; }
.sample-search { display: flex; align-items: center; gap: 13px; border: 1px solid #b7c4cb; border-radius: 30px; padding: 17px; }
.sample-search strong { font-size: 16px; }
.search-symbol { width: 14px; height: 14px; border: 1.7px solid #53616a; border-radius: 50%; position: relative; flex: none; }
.search-symbol:after { content: ''; position: absolute; width: 6px; height: 1.7px; background: #53616a; right: -4px; bottom: -2px; transform: rotate(45deg); }
.search-match { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.search-match span { background: #e7ebfa; color: #3149aa; font-size: 11px; padding: 6px 8px; border-radius: 4px; }
.search-visual p { margin-top: 25px; }
.zone-visual { text-align: center; }.zone-visual .mini-label { margin-bottom: 15px; }
.zone-map { height: 210px; border: 1px solid var(--line); border-radius: 8px; position: relative; overflow: hidden; background: repeating-linear-gradient(0deg,transparent 0 39px,var(--line) 40px 41px),repeating-linear-gradient(90deg,transparent 0 49px,var(--line) 50px 51px); }
.zone-area { position: absolute; top: 18px; left: calc(50% - 80px); width: 160px; height: 160px; border: 2px solid var(--accent); background: color-mix(in srgb,var(--accent) 14%,transparent); border-radius: 50%; }
.zone-center { position: absolute; left: calc(50% - 8px); top: 88px; width: 16px; height: 16px; background: var(--accent); border: 4px solid var(--bg); border-radius: 50%; box-shadow: 0 0 0 2px var(--accent); }
.zone-map > span { position: absolute; background: var(--bg); color: var(--ink); font-size: 11px; border: 1px solid var(--line); padding: 4px 9px; left: 50%; transform: translateX(-50%); top: 115px; white-space: nowrap; }
.zone-dot { position: absolute; width: 7px; height: 7px; background: var(--muted); border-radius: 50%; }.zone-dot.d1 { top: 54px; left: 40%; background: var(--accent); }.zone-dot.d2 { top: 140px; left: 64%; background: var(--accent); }.zone-dot.d3 { top: 170px; left: 13%; opacity: .3; }.zone-dot.d4 { top: 40px; left: 88%; opacity: .3; }
.zone-visual p { margin-top: 12px; }.zone-visual small { margin-top: 6px; color: var(--muted); }
.budget-visual > div:not(.budget-follow) { padding: 18px 0; border-top: 1px solid #c9d1cf; }
.budget-visual > div > span { font-size: 12px; display: block; margin-bottom: 6px; color: #53616a; }
.budget-visual strong { font: 700 23px/1.3 Manrope, sans-serif; }
.budget-follow { display: flex; gap: 10px; align-items: center; padding-top: 16px; }
.budget-follow i { width: 8px; height: 8px; border-radius: 50%; background: #3c705e; }
.budget-follow span { font-size: 11px !important; margin: 0 !important; }
.identity-visual { text-align: center; }.identity-visual img { width: 85%; max-width: 280px; margin: 30px auto; }.identity-swatches { display: flex; justify-content: center; gap: 7px; margin-bottom: 20px; }.identity-swatches i { width: 40px; height: 24px; background: #b89654; }.identity-swatches i:nth-child(2) { background: #22281f; }.identity-swatches i:nth-child(3) { background: #f1eee5; border: 1px solid #c9d1cf; }
.formats-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: center; }
.formats-visual > div { min-width: 0; text-align: center; }.formats-visual > div:last-child { grid-column: 1/-1; width: 78%; margin: 0 auto; }.formats-visual img { height: 95px; width: 100%; object-fit: contain; filter: drop-shadow(0 6px 5px #17262e20); }.formats-visual > div:last-child img { height: 130px; }.formats-visual span { display: block; font-size: 10px; margin-top: 7px; color: var(--muted); }
.print-visual { padding: 30px; }.print-sheet { padding: 14px; position: relative; border: 1px dashed #b3bcb8; }.print-sheet img { width: 100%; }.crop { position: absolute; width: 15px; height: 15px; border-color: #17262e; }.crop.tl { top: 5px; left: 5px; border-left: 1px solid; border-top: 1px solid; }.crop.br { bottom: 5px; right: 5px; border-right: 1px solid; border-bottom: 1px solid; }.print-checks { display: flex; gap: 16px; margin: 20px 0 15px; flex-wrap: wrap; }.print-visual small { color: #53616a; }

/* Dialog and cookie surfaces have their own contrast contract. */
.qp-privacy,.qp-consent-banner { color: #17262e; background: #f6f4ee; }
.qp-privacy :is(h2,h3,p),.qp-consent-banner p { color: #17262e; }
.site-footer > .qp-privacy-link { color: var(--muted); margin-top: 12px; }
.reply-choice label { min-height: 44px; align-items: center; }
.reply-promise { font-size: 13px; }
input::placeholder,textarea::placeholder { color: var(--muted); opacity: 1; }

@media (max-width: 1100px) {
  .story-body { gap: 5%; }.story-view { padding: 20px; }
  .home-projects .client-logo { width: 48px; height: 44px; }
  .viewer-controls { flex-wrap: wrap; }
}
@media (min-width: 721px) and (max-width: 1100px) {
  .home-projects .project-card .project-caption { grid-template-columns: minmax(0,1fr); }
  .home-projects .project-card .project-caption .client-logo { grid-column: 1; grid-row: 1; }
  .home-projects .project-card .project-caption .project-info { grid-column: 1; grid-row: 2; }
  .home-projects .project-card .project-caption .project-open { grid-column: 1; grid-row: 3; }
}
@media (max-width: 720px) {
  .portfolio-section .project-grid { grid-template-columns: 1fr; gap: 26px; }
  .project-thumb { padding: 20px; }
  .project-caption,.home-projects .project-caption { padding: 19px; grid-template-columns: 48px minmax(0,1fr); gap: 13px; }
  .client-logo,.home-projects .client-logo { width: 48px; height: 46px; padding: 6px; }
  .project-info h3,.home-projects .project-info h3 { font-size: 21px; }
  .project-info p,.home-projects .project-info p { font-size: 13px; }
  .home-projects .project-thumb { aspect-ratio: 1.5; }
  .device-viewer[data-device=auto] .viewer-mobile { display: block; }
  .device-viewer[data-device=auto] .viewer-desktop { display: none; }
  .viewer-controls { padding: 14px; justify-content: center; }
  .viewer-controls > span { width: 100%; text-align: center; }
  .viewer-stage { min-height: 0; padding: 6px 18px 18px; }
  .device-viewer[data-device=mobile] .viewer-screen { width: min(245px,88%); }
  .viewer-projects { gap: 6px; }.viewer-projects button { flex: 1 1 44%; }
  .service-story { padding-top: 65px; }
  .story-body { display: block; }
  .story-stage { z-index: 3; top: calc(var(--site-header-height,78px) + 8px); box-shadow: 0 10px 18px color-mix(in srgb,var(--bg) 80%,transparent); }
  .story-canvas { height: 232px; }
  .story-progress { padding: 10px 15px; font-size: 10px; }
  .story-progress > span:nth-child(2) { font-size: 9px; }
  .story-view { padding: 15px; }
  .story-step { min-height: 330px; padding: 34px 0 65px; }
  .story-step:first-child { margin-top: 28px; }
  .story-step h3 { font-size: 29px; margin: 14px 0 18px; }
  .story-step p { font-size: 16px; }
  .story-step small { font-size: 12px; }
  .story-step:last-child { min-height: 350px; padding-bottom: 80px; }
  .mini-label { font-size: 9px; margin-bottom: 12px; }
  .address-panel,.contact-visual,.budget-visual,.identity-visual,.print-visual,.search-visual { padding: 16px; }
  .domain-line strong { font-size: 16px; }
  .safe-pill { margin: 9px 0 12px 32px; padding: 4px 7px; font-size: 10px; }
  .email-line { font-size: 11px; padding-top: 12px; }.address-panel small { margin-top: 10px; font-size: 9px; }
  .contact-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 12px; max-width: none; }
  .contact-visual .mini-label { grid-column: 1/-1; margin: 0; }
  .sample-heading { font-size: 24px; grid-column: 1; grid-row: 2/5; align-self: center; margin: 0; }
  .sample-field { grid-column: 2; font-size: 10px; padding: 3px 0; }
  .sample-action { grid-column: 2; margin-top: 0; font-size: 10px; padding: 8px; }
  .contact-visual small { grid-column: 1/-1; font-size: 9px; margin: 2px 0 0; }
  .format-icons { height: 65px; gap: 10px; margin-bottom: 14px; }.format-phone { width: 23px; height: 44px; }.format-tablet { width: 44px; height: 61px; }.format-desktop { width: 92px; height: 65px; }
  .delivery-visual > strong { font-size: 23px; }.delivery-checks { gap: 10px; margin-top: 14px; }.delivery-checks span { font-size: 10px; }
  .sample-search { padding: 12px; }.sample-search strong { font-size: 15px; }.search-match { margin-top: 12px; }.search-match span { font-size: 10px; }.search-visual p { font-size: 12px; margin-top: 14px; }
  .zone-visual .mini-label { margin-bottom: 6px; }.zone-map { height: 147px; }.zone-area { width: 118px; height: 118px; left: calc(50% - 59px); top: 10px; }.zone-center { top: 58px; }.zone-map > span { top: 83px; }.zone-visual p { font-size: 12px; margin-top: 7px; }.zone-visual small { font-size: 9px; margin-top: 2px; }.zone-dot.d2 { top: 100px; }.zone-dot.d3 { top: 125px; }
  .budget-visual > div:not(.budget-follow) { padding: 11px 0; }.budget-visual > div > span { font-size: 10px; margin-bottom: 3px; }.budget-visual strong { font-size: 18px; }.budget-follow { padding-top: 9px; }.budget-follow span { font-size: 10px !important; }
  .identity-visual img { max-width: 210px; margin: 19px auto; }.identity-swatches { margin-bottom: 12px; }.identity-swatches i { width: 32px; height: 15px; }.identity-visual p { font-size: 12px; }
  .formats-visual { gap: 9px 14px; }.formats-visual img { height: 68px; }.formats-visual > div:last-child img { height: 82px; }.formats-visual span { font-size: 9px; margin-top: 4px; }
  .print-sheet { max-width: 170px; padding: 9px; margin: auto; }.print-checks { margin: 13px 0 8px; gap: 8px; justify-content: center; }.print-checks span { font-size: 10px; }.print-visual small { font-size: 10px; text-align: center; }
  .case-gallery { grid-template-columns: 1fr; }
  #project-content .device-viewer { margin-inline: -5px; }
}
@media (max-width: 359px) {
  .project-caption,.home-projects .project-caption { padding: 15px; gap: 10px; grid-template-columns: 40px minmax(0,1fr); }
  .client-logo,.home-projects .client-logo { width: 40px; height: 40px; }
  .project-info h3,.home-projects .project-info h3 { font-size: 19px; }
  .story-canvas { height: 224px; }.story-view { padding: 11px; }
  .domain-line strong { font-size: 14px; }.email-line { font-size: 10px; }
  .story-progress { gap: 9px; }.story-progress i { width: 12px; }
  .story-step h3 { font-size: 27px; }
}
@media (max-height: 680px) and (max-width: 720px) {
  .story-stage { position: relative; top: auto; }
  .story-step { min-height: 280px; }
}
:root[data-motion=reduce] .story-stage { position: relative; top: auto; }
:root[data-motion=reduce] .story-step { min-height: 0; padding-bottom: 45px; }
:root[data-motion=reduce] .story-view { transition: none; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .story-stage { position: relative; top: auto; }.story-step { min-height: 0; padding-bottom: 45px; }.story-view { transition: none; transform: none; }
}
