/* Real-world stories: native page scrolling drives a pinned horizontal rail. */
.case-story { position: relative; }
.case-stage { min-width: 0; }
.case-window { overflow: hidden; min-width: 0; }
.case-track { display: flex; }
.case-track > .case-panel { flex: 0 0 100%; min-width: 0; }
.case-story.is-pinned .case-stage { position: sticky; top: var(--case-top, 100px); height: var(--case-height, 680px); display: flex; flex-direction: column; }
.case-story.is-pinned .case-tabs { flex: 0 0 auto; margin-bottom: 20px; }
.case-story.is-pinned .case-tabs button { padding-block: 10px 15px; }
.case-story.is-pinned .case-window { flex: 1; min-height: 0; }
.case-story.is-pinned .case-track, .case-story.is-pinned .case-panel { height: 100%; }
.case-story.is-pinned .case-panel { gap: 32px; padding: 2px; min-height: 0; grid-template-rows: minmax(0, 1fr); }
.case-story.is-pinned .case-main { min-height: 0; }
.case-story.is-pinned .case-cover { height: 100%; }
.case-story.is-pinned .case-body { overflow: hidden; }
.case-story.is-pinned .case-body h3 { font-size: clamp(23px, 2.1vw, 30px); margin-bottom: 12px; }
.case-story.is-pinned .case-description { font-size: 13px; margin-bottom: 15px; }
.case-story.is-pinned .case-tags { margin-bottom: 16px; }
.case-story.is-pinned .case-thumbs button { height: clamp(88px, 15svh, 160px); }
.case-story.is-pinned .case-video { margin-top: 13px; font-size: 12px; }
.case-story.is-pinned .case-poster-link { margin-top: 7px; padding-block: 4px; }
.case-story-footer { display: flex; align-items: center; gap: 20px; position: relative; padding: 16px 0 12px; flex: 0 0 auto; }
.case-scroll-cue { font-size: 11px; color: #526d72; }
.case-scroll-cue b { margin-left: 8px; font-size: 16px; font-weight: 400; }
.case-story-count { margin-left: auto; font: 11px/1 Arial,sans-serif; letter-spacing: 2px; color: #82918f; }
.case-story-count b { color: #203c45; }
.case-story-progress { height: 2px; position: absolute; bottom: 0; left: 0; right: 0; background: #b7c9c64d; overflow: hidden; }
.case-story-progress > span { display: block; width: 100%; height: 100%; background: #2a839d; transform: scaleX(var(--case-progress,0)); transform-origin: left; }
.cases .event-film { margin-top: 48px; margin-bottom: 0; }
.case-story:not(.is-pinned) .case-track { display: block; transform: none !important; }
.case-story:not(.is-pinned) .case-panel { margin-bottom: 48px; scroll-margin-top: 110px; }
.case-story:not(.is-pinned) .case-story-footer { display: none; }
/* Clear, consistent editorial previews; the official post opens on request. */
.instagram-preview { display: block; width: 100%; aspect-ratio: 4 / 5; position: relative; padding: 0; overflow: hidden; background: #ecf0ec; }
.instagram-preview > img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .55s ease; }
.instagram-preview:hover > img { transform: scale(1.035); }
.instagram-open-badge { position: absolute; bottom: 18px; left: 18px; right: 18px; display: flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid #fff9; border-radius: 50px; padding: 12px 16px; background: #ffffffec; color: #223e49; font-size: 12px; font-weight: 600; box-shadow: 0 4px 20px #20363b18; }
.instagram-open-badge svg { width: 19px; height: 19px; stroke: currentColor; stroke-width: 1.7; fill: none; }
.instagram-open-badge .ig-dot { fill: currentColor; stroke: none; }
.instagram-card-copy { padding: 21px 22px 23px; }
.instagram-card-copy > span { font: 10px/1.5 Arial,sans-serif; color: #62808a; }
.instagram-card-copy h3 { font-size: 16px; line-height: 1.6; letter-spacing: -.4px; margin: 8px 0; }
.instagram-card-copy p { font-size: 12px; line-height: 1.8; color: #60747b; margin-bottom: 18px; }
.instagram-card-copy a { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #e4e9e6; padding-top: 15px; font-size: 11px; color: #355a67; }
.instagram-swipe-hint, .instagram-carousel-controls { display: none; }
.instagram-dialog-link { display: block; width: fit-content; margin: 16px auto 0; font-size: 13px; border-bottom: 1px solid #b8d7d4; padding-bottom: 5px; }
/* Small two-tone pictograms belong to the existing blue and ink palette. */
.process-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.process-top > span { font: 12px/1.5 Arial,sans-serif; color: #2585a8; }
.process-icon { width: 52px; height: 52px; padding: 6px; box-sizing: content-box; border-radius: 16px; background: #e5eef0; fill: #f9fcfa; stroke: #345665; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.process-icon circle { fill: #b9dcea; }
.process-icon path:nth-child(2) { stroke: #338bad; }
@media (min-width:761px) and (max-height:760px) {
 .case-story.is-pinned .case-kicker { margin-bottom: 8px; font-size: 10px; }
 .case-story.is-pinned .case-description { line-height: 1.75; font-size: 12px; margin-bottom: 10px; }
 .case-story.is-pinned .case-tags { margin-bottom: 10px; }
 .case-story.is-pinned .case-thumbs button { height: 90px; }
}
@media (max-width:760px) {
 body.case-in-view .mobile-cta { visibility: hidden; }
 .case-story.is-pinned .case-tabs { margin-bottom: 12px; gap: 8px; }
 .case-story.is-pinned .case-tabs button { padding-block: 8px 10px; gap: 3px; }
 .case-story.is-pinned .case-tabs button span { font-size: 11px; }
 .case-story.is-pinned .case-tabs button small { font-size: 8px; letter-spacing: 0; }
 .case-story.is-pinned .case-panel { display: flex; flex-direction: column; gap: 12px; }
 .case-story.is-pinned .case-main { height: clamp(130px, 22svh, 200px); flex: 0 0 auto; }
 .case-story.is-pinned .case-cover { border-radius: 15px; }
 .case-story.is-pinned .case-cover.gimpo img { object-position: 50% 62%; }
 .case-story.is-pinned .case-index { left: 12px; top: 12px; font-size: 8px; padding: 5px 9px; }
 .case-story.is-pinned .case-cover > span { width: 28px; height: 28px; right: 12px; bottom: 12px; font-size: 18px; }
 .case-story.is-pinned .case-kicker, .case-story.is-pinned .case-tags { display: none; }
 .case-story.is-pinned .case-body { flex: 1; min-height: 0; }
 .case-story.is-pinned .case-body h3 { font-size: 20px; line-height: 1.4; letter-spacing: -.8px; margin-bottom: 8px; }
 .case-story.is-pinned .case-description { font-size: 11px; line-height: 1.7; margin-bottom: 10px; }
 .case-story.is-pinned .case-thumbs { gap: 9px; margin-top: auto; }
 .case-story.is-pinned .case-thumbs button { height: clamp(50px, 9svh, 76px); border-radius: 8px; }
 .case-story.is-pinned .case-thumbs span { font-size: 8px; padding: 14px 7px 7px; }
 .case-story.is-pinned .case-video { font-size: 10px; margin-top: 7px; padding-block: 5px; }
 .case-story.is-pinned .case-poster-link { font-size: 9px; padding-block: 3px; margin-top: 4px; }
 .case-story-footer { padding: 9px 0; }
 .case-scroll-cue { font-size: 9px; }
 .case-story-count { font-size: 10px; }
 .instagram .section-heading { margin-bottom: 25px; }
 .instagram-swipe-hint { display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 10px; color: #637c7c; margin: 0 0 3px; }
 .instagram-swipe-hint > span { font-size: 17px; }
 .instagram-grid { --ig-card-width: min(360px, calc(100vw - 80px)); display: flex; width: 100vw; margin-inline: -20px; padding: 20px calc((100vw - var(--ig-card-width)) / 2); gap: 12px; scroll-snap-type: x mandatory; scroll-padding-inline: calc((100vw - var(--ig-card-width)) / 2); overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
 .instagram-grid::-webkit-scrollbar { display: none; }
 .instagram-post { flex: 0 0 var(--ig-card-width); scroll-snap-align: center; box-shadow: 0 8px 20px #24483b09; }
 .post-heading { padding: 13px 14px; font-size: 11px; }
 .post-heading small { font-size: 7px; }
 .instagram-card-copy { padding: 17px; }
 .instagram-card-copy h3 { font-size: 14px; }
 .instagram-card-copy p { font-size: 11px; min-height: 40px; }
 .instagram-open-badge { left: 13px; right: 13px; bottom: 13px; font-size: 11px; padding: 10px; }
 .instagram-carousel-controls { display: flex; align-items: center; justify-content: center; gap: 25px; margin-top: 0; }
 .instagram-carousel-controls > button { width: 42px; height: 42px; border: 1px solid #bac9c5; border-radius: 50%; background: #ffffff70; font-size: 20px; }
 .instagram-carousel-controls > button:disabled { opacity: .3; }
 .instagram-dots { display: flex; align-items: center; gap: 8px; }
 .instagram-dots button { width: 28px; height: 36px; background: transparent; position: relative; padding: 0; }
 .instagram-dots button:before { content: ''; display: block; height: 6px; width: 6px; margin: auto; background: #b2c0bd; border-radius: 9px; transition: width .25s, background .25s; }
 .instagram-dots button[aria-pressed=true]:before { width: 23px; background: #365e6c; }
 .instagram-note { line-height: 1.8; }
 .process-icon { width: 39px; height: 39px; border-radius: 13px; }
}
@media (prefers-reduced-motion:reduce) {
 .instagram-preview > img, .instagram-dots button:before { transition: none; }
}
/* A light, warm canvas for custom branding. */
.custom { background: #fff1e7; color: #213c45; }
.custom .section-heading > p, .custom-list p { color: #64747a; }
.custom .custom-list article { border-color: #dccfc4; }
.custom .custom-list article > span { color: #bc7963; }
.custom .text-link { border-color: #8fa7ab; }
.custom .custom-visual { background: radial-gradient(ellipse at 30% 20%,#fffaf3,#f7dfd5 65%,#f5ddd1); }
.custom .custom-art-note { color: #746862; }
.brand-annotation g.brand-targets { stroke: #508d83; }
.brand-annotation g[marker-end], #brand-arrowhead path { stroke: #508d83; }
.instagram-wordmark { width: 160px; height: auto; margin: 0 0 24px; }
.instagram h2 { font-size: clamp(29px,3.3vw,49px); }
.instagram .section-heading .eyebrow { margin-bottom: 18px; }
.instagram-preview { color: inherit; }
.header .brand img, .footer > img { height: auto; }
.inquiry-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
#inquiry-form label small { font-size: 10px; font-weight: 400; color: #60777e; margin-left: 4px; }
#inquiry-form label em { font-size: 10px; font-style: normal; color: #aa5240; margin-left: 4px; }
#inquiry-form button:disabled, .send-button:disabled { opacity: .65; cursor: wait; }
#inquiry-form button [data-submit-label] { font-size: 14px; }
.inquiry-status { font-size: 13px!important; line-height: 1.7; margin: 15px 0 0!important; }
.inquiry-status:empty { display:none; }
.inquiry-status[data-state=error] { color: #963c33; }
.inquiry-status[data-state=success] { color: #276957; }
@media(max-width:760px){ .instagram-wordmark { width: 133px; margin-bottom: 20px; } .instagram h2 { font-size: 29px; } }
.custom .text-link { color: #294e55; }
.custom .custom-list article p, .custom .fine { color: #63767b; }
.instagram-post > .instagram-preview { padding: 0; margin: 0; border: 0; }
@media(max-width:760px){ body.contact-in-view .mobile-cta { visibility: hidden; } .inquiry-identity { grid-template-columns: 1fr; } }

/* Keep the step icon, number and copy on one consistent reading axis. */
.process-top { justify-content: flex-start; gap: 14px; }
.process-icon { order: -1; flex-shrink: 0; width: 44px; height: 44px; padding: 8px; }
.process-top > span { font-size: 11px; letter-spacing: 1px; }
.process h3 { margin-top: 23px; }
.process p { margin-bottom: 0; }

/* Light selection cards, with the same response for pointer and keyboard. */
.partner-select button { position: relative; color: #24414b; background: #fffdf8; border-color: #d4dfdc; transition: transform .3s ease, background .3s ease, border-color .3s ease, box-shadow .3s ease; }
.partner-select button[aria-selected=true] { background: #dfedf1; color: #24414b; border-color: #abcbd5; }
.partner-select button > span { color: #60777e; opacity: 1; }
.partner-select strong > span { display: inline-block; transition: transform .3s ease; }
.partner-select button:focus-visible { outline: 2px solid #468da4; outline-offset: 5px; }
.partner-select button:focus-visible strong > span { transform: translate(4px,-4px); }
@media (hover:hover) {
 .partner-select button:hover { transform: translateY(-5px); background: #eef7f8; border-color: #8ebdcb; box-shadow: 0 12px 30px #648b9a18; }
 .partner-select button[aria-selected=true]:hover { background: #d4e8ee; }
 .partner-select button:hover strong > span { transform: translate(5px,-5px); }
}
.partner-select button:active { transform: translateY(-1px); }
.partner-panel { background: #eef0e6; }
.event-film { background: #deedf0; color: #24414b; }
.event-copy .eyebrow { color: #53808b; }
.event-copy > p:not(.eyebrow) { color: #5a757d; }
.event-copy > span { color: #637e87; }
.brand-strip { background: #e3eef0; color: #54717b; }

/* The sample floats above frosted glass; no opaque panel surrounds it. */
#media-dialog { background: transparent; color: #24414b; border: 0; box-shadow: none; padding: 64px 24px 22px; overflow: auto; max-height: 96svh; }
#media-dialog::backdrop { background: #eaf0ee85; backdrop-filter: blur(22px) saturate(.85); -webkit-backdrop-filter: blur(22px) saturate(.85); }
#media-content { display: flex; flex-direction: column; align-items: center; }
#media-content img, #media-content video { display: block; width: auto; height: auto; max-width: 100%; max-height: 72svh; border-radius: 4px; box-shadow: 0 16px 55px #244b5530; }
#dialog-close { color: #24414b; background: #ffffffb5; border: 1px solid #ffffffd9; box-shadow: 0 4px 20px #29465312; backdrop-filter: blur(12px); padding: 8px 18px; }
#dialog-close:focus-visible { outline: 2px solid #478ba1; outline-offset: 3px; }
#media-caption { width: fit-content; max-width: 100%; margin: 18px auto 0; padding: 8px 16px; border: 1px solid #ffffffa3; border-radius: 30px; background: #ffffffa6; color: #385862; backdrop-filter: blur(12px); }
@media(max-width:760px) {
 .process-top { gap: 10px; }
 .process-icon { width: 38px; height: 38px; padding: 7px; }
 .process h3 { margin-top: 18px; }
 #media-dialog { padding: 58px 10px 16px; }
 #media-content img, #media-content video { max-height: 70svh; }
 #media-caption { font-size: 10px; border-radius: 16px; }
}
@media(prefers-reduced-motion:reduce) {
 .partner-select button, .partner-select strong > span { transition: none; }
}

#inquiry-form label > .field-badge { display: inline-flex; vertical-align: middle; align-items: center; padding: 3px 7px; margin-left: 9px; border: 1px solid #d7dedb; border-radius: 5px; color: #74817d; background: #e9edeb; font-size: 10px; font-weight: 500; line-height: 1.2; letter-spacing: 0; }
#inquiry-form label > .field-badge.is-required { color: #397489; border-color: #c1dce4; background: #e3eff3; }
.instagram-title-line { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 0 .12em; }
.instagram .instagram-title .instagram-wordmark { display: inline-block; width: 3.75em; height: auto; margin: 0; transform: translateY(.08em); }
.instagram-title-line > .serif { white-space: nowrap; }
@media(max-width:760px) {
 .instagram h2.instagram-title { font-size: clamp(23px,6.9vw,29px); }
 .instagram .instagram-title .instagram-wordmark { width: 3.6em; }
}
