.immersive-portfolio {
  --ip-card-height: clamp(300px, 25.3vw, 460px);
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100svh;
  min-height: 760px;
  overflow: hidden;
  color: #fff;
  background: #625954;
}
.ip-backdrops { position: absolute; z-index: -2; inset: 0; }
.ip-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0% 100%; opacity: 0; transition: opacity 800ms ease; }
.ip-background.is-visible { opacity: 1; }
.ip-backdrops::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27, 20, 18, .28), transparent 49%), linear-gradient(0deg, rgba(27, 20, 18, .15), transparent 52%); }
.ip-content { position: absolute; left: 4%; top: 13%; width: 32%; }
.ip-heading { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(82px, 6.5vw, 122px); line-height: .86; letter-spacing: -.04em; color: #fff; }
.ip-heading:focus { outline: none; }
.ip-title-rule { width: clamp(150px, 14.3vw, 252px); height: 2px; margin-top: 24px; background: rgba(255, 255, 255, .36); }
.ip-title-rule::before { content: ''; display: block; width: 43%; height: 100%; background: #fff; }
.ip-info { margin-top: clamp(120px, calc(100svh - 600px), 240px); }
.ip-category { margin: 0 0 15px; font-size: 14px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; line-height: 1.5; }
.ip-project-title { max-width: 420px; margin: 0 0 18px; font-family: var(--serif); font-weight: 500; font-style: italic; font-size: clamp(44px, 3.8vw, 72px); line-height: .98; letter-spacing: -.035em; }
.ip-project-title span { display: block; }
.immersive-portfolio[data-active-project="no-regrets"] .ip-project-title { white-space: nowrap; font-size: clamp(40px, 3.25vw, 64px); }
.ip-description { margin: 0; max-width: 350px; font-size: clamp(16px, 1.2vw, 22px); line-height: 1.6; text-shadow: 0 1px 12px rgba(8, 28, 48, .2); }
.ip-filters { display: flex; flex-wrap: nowrap; gap: 12px; margin-top: 30px; }
.ip-filter { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 13px 17px; border: 1px solid rgba(255, 255, 255, .9); border-radius: 999px; color: #fff; background: transparent; font-size: clamp(12px, .9vw, 16px); white-space: nowrap; transition: background-color 300ms, color 300ms; }
.ip-filter svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; flex-shrink: 0; }
.ip-filter:hover { background: rgba(255, 255, 255, .15); }
.ip-gallery { position: absolute; left: 46.5%; right: 2.5%; top: min(33%, calc(100% - var(--ip-card-height) - 130px)); background: transparent; }
.ip-track { position: relative; height: var(--ip-card-height); column-gap: clamp(8px, .8vw, 14px); overflow: hidden; background: transparent; touch-action: pan-y pinch-zoom; user-select: none; -webkit-user-select: none; cursor: grab; outline-offset: -4px; }
.ip-filmstrip-window { position: absolute; left: 0; bottom: 0; height: 100%; overflow: hidden; }
.ip-filmstrip { position: absolute; left: 0; bottom: 0; display: flex; align-items: flex-end; height: 100%; width: max-content; transition: transform 600ms cubic-bezier(.22,.72,.14,1); will-change: transform; }
.ip-filmstrip-slot { position: relative; flex: 0 0 auto; height: 100%; transition: width 600ms cubic-bezier(.22,.72,.14,1); }
.ip-card { position: absolute; left: 0; bottom: 0; margin: 0; overflow: hidden; aspect-ratio: 9 / 16; border-radius: 15px; transform-origin: left bottom; background: #79adca; border: 1px solid rgba(255, 255, 255, .6); transition: transform 600ms cubic-bezier(.22, .72, .14, 1), width 600ms cubic-bezier(.22, .72, .14, 1), height 600ms cubic-bezier(.22, .72, .14, 1), box-shadow 400ms, border-color 400ms; will-change: transform; }
.ip-card.is-active { border-color: rgba(255, 255, 255, .9); box-shadow: 0 0 0 1px rgba(255, 255, 255, .3), 0 0 12px rgba(218, 243, 255, .2); }
.ip-poster, .ip-video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.ip-card::after { content: ''; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 38%, rgba(7, 20, 26, .13) 57%, rgba(6, 17, 23, .82)); }
.ip-card-copy { display: none; position: absolute; z-index: 2; left: 22px; right: 15px; bottom: 24px; pointer-events: none; }
.ip-card-copy p { margin: 0 0 13px; font-size: 12px; font-weight: 500; line-height: 1.35; letter-spacing: .07em; text-transform: uppercase; }
.ip-card-copy h4 { margin: 0; max-width: 210px; font-size: clamp(20px, 1.6vw, 29px); font-style: italic; font-weight: 400; letter-spacing: -.7px; line-height: 1.18; }
.ip-card-copy h4 span { display: block; }
.ip-card.is-active .ip-card-copy { right: 66px; }
.ip-card-action { position: absolute; z-index: 3; inset: 0; width: 100%; height: 100%; padding: 0; border-radius: inherit; color: white; }
.ip-card-action:focus-visible { outline: 3px solid #fff; outline-offset: -5px; }
.ip-card-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: clamp(54px, 4.8vw, 82px); height: clamp(54px, 4.8vw, 82px); padding-left: 3px; border-radius: 50%; border: 1px solid #ffffff9c; background: rgba(36, 74, 135, .75); font-size: clamp(18px, 1.5vw, 26px); opacity: 0; transition: opacity 300ms, background 300ms; }
.ip-card.is-active .ip-card-play { opacity: 1; }
.ip-card-action:hover .ip-card-play { background: rgba(37, 76, 128, .9); }
.ip-duration { position: absolute; z-index: 3; right: 14px; bottom: 18px; padding: 5px 11px; color: #fff; background: rgba(6, 37, 64, .88); border-radius: 999px; font-size: 14px; line-height: 1.2; opacity: 0; pointer-events: none; }
.ip-card.is-active .ip-duration { opacity: 1; }
.ip-card.is-video-open .ip-video { z-index: 5; object-fit: contain; background: #071623; }
.ip-card.is-video-open::after, .ip-card.is-video-open .ip-card-copy, .ip-card.is-video-open .ip-duration { opacity: 0; }
.ip-video-close { position: absolute; z-index: 6; top: 12px; right: 12px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #071623cc; color: #fff; border: 1px solid #ffffff80; font-size: 24px; line-height: 1; }
.ip-video-expand { position: absolute; z-index: 6; right: 12px; bottom: 58px; width: 38px; height: 38px; display: grid; place-items: center; padding: 0; color: #fff; border: 1px solid #ffffff80; border-radius: 50%; background: #071623a6; font: 24px/1 var(--font); transition: background-color 250ms; }
.ip-video-expand:hover { background: #183b60e6; }
.ip-card.is-video-open .ip-video-expand { bottom: 48px; }
.ip-video-modal { width: min(calc((100dvh - 32px) * 9 / 16), calc(100vw - 32px)); height: min(calc(100dvh - 32px), calc((100vw - 32px) * 16 / 9)); max-width: none; max-height: none; margin: auto; padding: 0; border: 0; border-radius: 10px; background: #040b16; color: #fff; overflow: hidden; }
.ip-video-modal::backdrop { background: rgba(5, 17, 35, .86); }
.ip-expanded-stage { width: 100%; height: 100%; }
.ip-expanded-stage .ip-video { position: static; display: block; width: 100%; height: 100%; object-fit: contain; background: #040b16; }
.ip-expanded-close { position: absolute; z-index: 2; top: 10px; right: 10px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: #fff; border: 1px solid #ffffff80; border-radius: 50%; background: #071623c9; font: 28px/1 var(--font); }
.ip-card.is-expanded .ip-video-close, .ip-card.is-expanded .ip-video-expand { visibility: hidden; }
.ip-track.is-dragging .ip-card, .ip-track.ip-is-resizing .ip-card { transition: none; }
.ip-track.is-dragging :is(.ip-filmstrip,.ip-filmstrip-slot), .ip-track.ip-is-resizing :is(.ip-filmstrip,.ip-filmstrip-slot,.ip-card-play,.ip-duration) { transition: none; }
.ip-track.is-dragging { cursor: grabbing; }
.ip-navigation { display: flex; align-items: center; gap: 18px; margin: 32px 1.6vw 0 1vw; }
.ip-step { display: grid; place-items: center; width: clamp(44px, 3.9vw, 68px); height: clamp(44px, 3.9vw, 68px); flex-shrink: 0; border: 1px solid #ffffffb8; border-radius: 50%; color: #fff; background: #ffffff08; font-size: 29px; line-height: 1; transition: background-color 250ms; }
.ip-step:hover { background: #ffffff20; }
.ip-step:disabled { opacity: .4; }
.immersive-portfolio :is(.ip-filter, .ip-step) { color: #fff; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.45); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 1px 0 rgba(255,255,255,.18); transition: background-color 250ms ease, border-color 250ms ease; }
.immersive-portfolio :is(.ip-filter, .ip-step):hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.7); }
.immersive-portfolio .ip-filter[aria-pressed="true"] { color: #fff; background: rgba(11,25,47,.74); border-color: rgba(255,255,255,.82); }
.immersive-portfolio .ip-filter[aria-pressed="true"]:hover { background: rgba(11,25,47,.84); border-color: rgba(255,255,255,.95); }
.ip-progress { flex: 1; height: 3px; margin: 0 20px; background: rgba(255, 255, 255, .3); }
.ip-progress span { display: block; height: 100%; background: #fff; transition: width 600ms cubic-bezier(.22,.72,.14,1); }
.ip-view-all-slot { position: relative; min-width: 80px; text-align: right; }
.ip-view-all { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: inline-block; color: #fff; font-size: 13px; line-height: 1.3; white-space: nowrap; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color 250ms ease; }
.ip-view-all:focus-visible { outline-color: #fff; }
.ip-view-all-arrow { display: inline-block; margin-left: 2px; font-size: .95em; transition: transform 250ms ease; }
.ip-view-all:hover, .ip-view-all:focus-visible { text-decoration-color: rgba(255, 255, 255, .65); }
.ip-view-all:hover .ip-view-all-arrow, .ip-view-all:focus-visible .ip-view-all-arrow { transform: translate(2px, -2px); }
.ip-message { margin: 14px 0 0; font-size: 14px; line-height: 1.5; }
.ip-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.ip-preview { width: min(920px, 92vw); max-height: 92svh; padding: 0; border: 0; border-radius: 10px; background: #f5f4f0; color: #0b192f; overflow: auto; }
.ip-preview::backdrop { background: rgba(5, 19, 36, .8); backdrop-filter: blur(12px); }
.ip-preview-media { height: min(68svh, 700px); background: #e8e5dc; }
.ip-preview-media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.ip-preview-copy { padding: 25px 30px 28px; }
.ip-preview h3 { margin: 0 0 12px; font-size: 24px; font-weight: 400; letter-spacing: -.6px; }
.ip-preview-description { margin: 0; font-size: 16px; line-height: 1.6; }
.ip-preview-note { margin: 18px 0 0; color: #697383; font-size: 12px; }
.ip-preview-close { position: absolute; z-index: 2; top: 15px; right: 15px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #0b192f; background: #ffffffee; border: 1px solid #ffffffb3; font-size: 27px; }
.immersive-portfolio button:focus-visible { outline-color: #fff; }
.ip-preview button:focus-visible { outline-color: #0b192f; }
@media (max-width: 1350px) and (min-width: 1101px) {
  .ip-content { width: 33%; }
  .ip-filters { gap: 10px; }
  .ip-filter { padding: 12px 13px; font-size: 12px; gap: 7px; }
  .ip-card-copy { left: 17px; bottom: 19px; }
  .ip-card-copy p { font-size: 11px; }
  .ip-card-copy h4 { font-size: 23px; }
  .ip-navigation { gap: 13px; }
  .ip-progress { margin: 0 10px; }
  .ip-view-all { width: 80px; white-space: normal; }
  .ip-view-all-tail { display: block; white-space: nowrap; }
}
@media (max-width: 1100px) {
  .immersive-portfolio { --ip-card-height: 440px; height: auto; min-height: 100svh; padding-bottom: 40px; }
  .ip-backdrops { height: 680px; }
  .ip-background { object-position: 50% top; }
  .immersive-portfolio[data-active-project="no-regrets"] .ip-background { object-position: 50% top !important; }
  .ip-backdrops::after { background: linear-gradient(180deg, rgba(27, 20, 18, .08), transparent 35%, rgba(98, 89, 84, .78) 78%, #625954); }
  .ip-content { position: relative; left: auto; top: auto; width: auto; padding: 36px 32px 0; }
  .ip-heading { font-size: 92px; }
  .ip-title-rule { margin-top: 20px; width: 190px; }
  .ip-info { margin-top: 240px; }
  .ip-project-title { font-size: 54px; max-width: 570px; }
  .immersive-portfolio[data-active-project="no-regrets"] .ip-project-title { font-size: 54px; }
  .ip-project-title span { display: inline; }
  .ip-description { max-width: 550px; font-size: 18px; }
  .ip-filter { font-size: 14px; padding: 12px 18px; }
  .ip-gallery { position: relative; left: auto; right: auto; top: auto; bottom: auto; margin: 32px 0 0 32px; }
  .ip-navigation { margin: 26px 32px 0 0; }
  .ip-progress { margin: 0 12px; }
  .ip-view-all-slot { min-width: 70px; }
  .ip-view-all { width: 70px; white-space: normal; }
  .ip-view-all-tail { display: block; white-space: nowrap; }
}
@media (max-width: 700px) {
  .immersive-portfolio { --ip-card-height: clamp(360px, 108vw, 440px); padding-bottom: 32px; }
  .ip-backdrops { top: 145px; bottom: auto; height: 56.25vw; }
  .ip-background { object-position: center; }
  .ip-backdrops::after { background: linear-gradient(0deg, rgba(98, 89, 84, .25), transparent 32%); }
  .ip-content { padding: 30px 24px 0; }
  .ip-heading { font-size: 78px; }
  .ip-title-rule { width: 155px; margin-top: 18px; }
  .ip-info { margin-top: calc(56.25vw + 44px); }
  .ip-category { font-size: 12px; margin-bottom: 10px; }
  .ip-project-title { font-size: 44px; margin-bottom: 16px; }
  .immersive-portfolio[data-active-project="no-regrets"] .ip-project-title { font-size: clamp(36px, 10.5vw, 44px); }
  .ip-description { font-size: 16px; line-height: 1.55; max-width: 350px; }
  .ip-filters { gap: 10px; margin-top: 24px; }
  .ip-filter { font-size: 12px; padding: 11px 12px; gap: 7px; }
  .ip-filter svg { width: 16px; height: 16px; }
  .ip-gallery { margin: 28px 0 0 24px; }
  .ip-card { border-radius: 12px; }
  .ip-card-copy { left: 18px; bottom: 20px; }
  .ip-card-copy h4 { font-size: 27px; }
  .ip-card-copy p { font-size: 12px; }
  .ip-navigation { margin: 24px 24px 0 0; gap: 10px; }
  .ip-step { width: 42px; height: 42px; font-size: 24px; }
  .ip-progress { margin: 0 5px; }
  .ip-view-all-slot { min-width: 62px; }
  .ip-view-all { width: 62px; font-size: 12px; line-height: 1.25; }
  .ip-preview-copy { padding: 23px; }
}
@media (max-width: 370px) {
  .ip-content { padding-right: 18px; padding-left: 18px; }
  .ip-gallery { margin-left: 18px; }
  .ip-filter { font-size: 12px; padding: 11px 7px; gap: 4px; }
  .ip-filter svg { width: 14px; height: 14px; }
  .ip-filters { gap: 8px; }
  .ip-project-title { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .ip-filmstrip,.ip-filmstrip-slot { transition: none; }
  .immersive-portfolio :is(.ip-filter, .ip-step) { transition: none; }
  .ip-background, .ip-card, .ip-card-play, .ip-filter, .ip-progress span, .ip-view-all, .ip-view-all-arrow { transition: none; }
}
