/* Angular work layouts; the shared font is defined in hero.css. */
@keyframes case-arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.featured-work, .case-page { --paper: #f8f6f1; --work-ink: #151515; --work-muted: #6d6b68; color: var(--work-ink); background: var(--paper); }
.featured-work { position: relative; overflow: clip; padding-top: 1px; background: linear-gradient(#f8f0f2, #f8f6f1 260px); }
.work-intro, .project-presentation, .work-footer, .case-container, .case-nav { width: calc(100% - 112px); max-width: 1500px; margin-inline: auto; }
.work-intro { padding-top: 70px; padding-bottom: 34px; }
.work-eyebrow { display: flex; align-items: center; gap: 24px; margin: 0 0 32px; font-size: 11px; font-weight: 650; letter-spacing: .15em; text-transform: uppercase; }
.work-eyebrow > span { margin-left: auto; color: var(--work-muted); font-weight: 450; letter-spacing: .08em; }
.work-intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 8%; align-items: end; }
.work-intro h2 { margin: 0; font-size: clamp(56px, 5.4vw, 84px); line-height: .98; letter-spacing: -.055em; font-weight: 750; }
.work-intro h2 > span { color: inherit; }
.work-intro-note { max-width: 370px; padding-bottom: 5px; }
.work-intro-note > p { margin: 0 0 20px; font-size: 16px; line-height: 1.6; letter-spacing: -.025em; color: var(--work-muted); }
.work-scroll-cue { display: flex; align-items: center; gap: 24px; font-size: 11px; color: var(--work-muted); }
.work-scroll-cue > span { font-size: 24px; color: var(--wine); }
.project-row { position: relative; min-height: 112svh; padding-block: 36px; }
.project-row::before { content: ''; position: absolute; width: 108%; left: -4%; top: 0; height: 1px; background: rgb(40 35 38 / 32%); transform: rotate(-5deg); transform-origin: center; }
.project-row:nth-of-type(even)::before { transform: rotate(5deg); }
.project-row:first-of-type::before { display: none; }
.project-presentation { position: sticky; top: 8svh; min-height: 570px; height: 76svh; max-height: 820px; display: grid; grid-template-columns: 1fr .85fr 1.45fr; grid-template-rows: 1fr 1fr; column-gap: 3.5%; align-content: center; align-items: center; }
.project-heading { grid-column: 1; grid-row: 1; align-self: end; padding-bottom: 22px; }
.project-number { display: block; color: var(--project-accent); font-size: 14px; margin-bottom: 25px; }
.project-number > span { color: #9f9696; font-size: 10px; padding-left: 8px; }
.project-heading h3 { font-size: clamp(32px, 3.7vw, 58px); font-weight: 750; line-height: 1.04; letter-spacing: -.055em; margin: 0; }
[data-project="coca-cola-fifa-world-cup-trophy-tour"] h3 { font-size: clamp(28px, 2.95vw, 46px); line-height: 1.14; }
.project-subtitle { font-size: 12px; color: var(--work-muted); line-height: 1.55; margin: 14px 0 0; }
.project-details { grid-column: 1; grid-row: 2; align-self: start; }
.work-tags { display: flex; flex-wrap: wrap; gap: 8px 13px; list-style: none; padding: 0; margin: 0 0 22px; }
.work-tags li { font-size: 9px; font-weight: 650; line-height: 1.7; letter-spacing: .045em; text-transform: uppercase; }
.project-details > p { margin: 0; max-width: 330px; color: var(--work-muted); font-size: 14px; line-height: 1.65; }
.case-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 44px; padding: 10px 21px; margin-top: 22px; border: 1px solid #252525; border-radius: 999px; background: #252525; color: #fff; font-size: 11px; font-weight: 650; transition: background .25s, color .25s; }
.case-link span { font-size: 21px; }
.case-link:hover { color: #fff; background: var(--project-accent); }
.project-row--reverse .case-link { background: transparent; color: var(--work-ink); }
.project-row--reverse .case-link:hover { background: #252525; color: #fff; }
.project-visual { grid-column: 3; grid-row: 1 / 3; min-width: 0; }
.project-media-link { --panel-skew: -6deg; position: relative; display: block; height: min(48svh, 480px); min-height: 350px; overflow: hidden; border-radius: 38px; background: var(--project-tint); transform: skewY(var(--panel-skew)); isolation: isolate; }
.project-row--reverse .project-media-link { --panel-skew: 5deg; }
.project-media-link > img, .project-media-link > video { display: block; width: 100%; height: 100%; object-fit: cover; transform: skewY(calc(-1 * var(--panel-skew))) scale(1.18); transition: transform .5s ease; }
.project-media-link:hover > img { transform: skewY(calc(-1 * var(--panel-skew))) scale(1.21); }
[data-project="coca-cola-fifa-world-cup-trophy-tour"] .project-media-link > img { object-position: 64% center; }
[data-project="sprite"] .project-media-link > img { object-fit: contain; transform: skewY(calc(-1 * var(--panel-skew))) scale(1.5); }
[data-project="sprite"] .project-media-link:hover > img { transform: skewY(calc(-1 * var(--panel-skew))) scale(1.52); }
.media-open { display: flex; position: absolute; right: 18px; bottom: 18px; align-items: center; justify-content: center; width: 44px; height: 44px; background: #f5f2ed; color: #282326; border-radius: 50%; font-size: 22px; transform: skewY(calc(-1 * var(--panel-skew))); }
.media-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; margin-top: 30px; color: var(--work-muted); font-size: 10px; }
.preview-toggle { font: inherit; min-height: 44px; border: 0; padding: 0 3px; background: transparent; text-decoration: underline; text-underline-offset: 4px; }
.project-row--reverse .project-heading, .project-row--reverse .project-details { grid-column: 3; }
.project-row--reverse .project-visual { grid-column: 1; }
.project-row--reverse .project-presentation { grid-template-columns: 1.45fr .85fr 1fr; }
.product-sequence { position: relative; grid-column: 2; grid-row: 1 / 3; align-self: center; min-width: 0; text-align: center; isolation: isolate; }
.product-aura { position: absolute; inset: -20% -45% 0; z-index: -1; background: radial-gradient(ellipse, var(--project-tint), transparent 65%); opacity: .45; pointer-events: none; }
.product-float { position: relative; z-index: 1; will-change: transform; }
.product-float img { display: block; width: 100%; height: auto; transform: rotate(var(--object-tilt, 0deg)); transform-origin: 50% 55%; }
.product-shadow { display: block; width: 50%; height: 14px; margin: -22px auto 32px; background: #282326; opacity: .1; filter: blur(9px); border-radius: 50%; }
.sequence-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; font-size: 9px; color: var(--work-muted); }
.sequence-hint { display: block; margin-top: 10px; font-size: 9px; color: var(--work-muted); }
.work-footer { border-top: 1px solid rgb(40 35 38 / 15%); min-height: 170px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 12px; }
.work-footer p { color: var(--work-muted); }
.work-footer > a:last-child { padding-block: 16px; }
.work-motion [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .85s cubic-bezier(.2,.7,.2,1); }
.work-motion .project-row.is-visible [data-reveal] { opacity: 1; transform: none; }
.work-motion .is-visible .project-heading h3 { transition-delay: 70ms; }
.work-motion .is-visible .project-subtitle { transition-delay: 120ms; }
.work-motion .is-visible .project-details { transition-delay: 190ms; }
.work-motion .is-visible .project-visual { transition-delay: 110ms; }

/* Shared editorial case-study layout. */
.case-nav { display: flex; align-items: center; gap: 48px; min-height: 108px; border-bottom: 1px solid rgb(40 35 38 / 14%); font-size: 12px; }
.case-nav > a:nth-child(2) { margin-left: auto; padding-block: 16px; }
.case-counter { color: var(--work-muted); font-size: 11px; }
.work-skip { position: fixed; z-index: 20; top: -100px; left: 20px; background: #fff; padding: 15px; }
.work-skip:focus { top: 16px; }
.case-intro { padding-block: 90px 60px; }
.case-intro { animation: case-arrive .4s ease-out both; }
.case-intro h1 { max-width: 1120px; font-size: clamp(48px, 7.2vw, 112px); line-height: 1.05; letter-spacing: -.055em; font-weight: 700; }
.case-headline { font-size: clamp(20px, 2.1vw, 30px); max-width: 760px; line-height: 1.55; margin: 32px 0 52px; color: var(--work-muted); letter-spacing: -.035em; }
.case-facts { display: grid; grid-template-columns: 1fr 1.4fr 2fr; gap: 40px; padding-top: 24px; border-top: 1px solid rgb(40 35 38 / 14%); }
.case-facts dt { text-transform: uppercase; font-size: 10px; letter-spacing: .12em; color: var(--work-muted); margin-bottom: 12px; }
.case-facts dd { margin: 0; font-size: 13px; line-height: 1.7; }
.case-cover { margin-block: 0; }
.case-cover img { width: 100%; height: min(78svh, 850px); min-height: 420px; display: block; object-fit: contain; background: var(--project-tint); }
.case-page figure { margin-block: 0; }
.case-page figcaption { color: var(--work-muted); font-size: 11px; line-height: 1.6; padding-top: 13px; }
.case-overview { display: grid; grid-template-columns: 1fr 1fr; gap: 9%; padding-block: 130px; }
.case-page h2 { font-size: clamp(32px, 3.5vw, 56px); line-height: 1.15; letter-spacing: -.055em; font-weight: 500; margin: 0 0 30px; }
.case-page h3 { font-size: 17px; font-weight: 600; margin: 38px 0 16px; }
.case-prose p, .case-direction-copy > p:not(.work-eyebrow), .case-outcome p:not(.work-eyebrow) { font-size: 16px; line-height: 1.95; color: var(--work-muted); margin: 0 0 25px; }
.case-direction { display: grid; grid-template-columns: 1.25fr 1fr; gap: 12%; align-items: center; padding-block: 75px 110px; border-top: 1px solid rgb(40 35 38 / 14%); }
.case-object { max-width: 360px; justify-self: center; width: 100%; }
.case-object .product-aura { inset: -10% 0 0; }
.case-object .product-float img { max-height: 470px; object-fit: contain; }
.object-note { text-align: center; font-size: 12px; color: var(--work-muted); margin-top: 28px; }
.rotation-control { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; font-size: 11px; text-align: left; }
.rotation-control input { width: 100%; accent-color: var(--project-accent); min-height: 28px; cursor: ew-resize; }
.rotation-control input:focus-visible { outline: 2px solid var(--project-accent); outline-offset: 4px; }
.case-section-heading { max-width: 700px; margin-bottom: 56px; }
.case-section-heading > p:last-child:not(.work-eyebrow) { color: var(--work-muted); line-height: 1.7; }
.editorial-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 70px 6%; align-items: start; }
.editorial-gallery figure { margin: 0; min-width: 0; }
.editorial-gallery img { width: 100%; height: auto; display: block; }
.gallery-item--0 { grid-column: 1 / -1; }
.gallery-item--0 img { max-height: 800px; object-fit: contain; background: var(--project-tint); }
.gallery-item--2 { padding-top: 100px; }
.case-films { padding-top: 130px; }
.film-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 55px 6%; }
.film-grid figure { margin-inline: 0; min-width: 0; }
.film-grid video { width: 100%; display: block; height: min(70svh, 620px); background: #171417; object-fit: contain; }
.case-outcome { margin-top: 130px; padding-block: 70px 110px; border-top: 1px solid rgb(40 35 38 / 14%); display: grid; grid-template-columns: 1fr 2fr; gap: 10%; }
.case-outcome blockquote { margin: 45px 0 0; font-size: clamp(22px, 2.3vw, 35px); line-height: 1.55; letter-spacing: -.035em; color: var(--project-accent); }
.next-project { display: block; background: #ebe3e0; padding-block: 65px; }
.next-project-grid { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 12%; }
.next-project h2 { font-size: clamp(35px, 4.5vw, 70px); margin: 0; }
.next-project h2 > span:first-child { display: block; margin-bottom: 26px; font-size: 14px; color: var(--work-muted); letter-spacing: 0; }
.next-project img { width: 100%; height: 310px; object-fit: cover; }
.case-bottom { min-height: 120px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 11px; }
.case-bottom span { color: var(--work-muted); }

@media (max-width: 1100px) {
  .work-intro, .project-presentation, .work-footer, .case-container, .case-nav { width: calc(100% - 64px); }
  .project-row { min-height: 110svh; }
  .project-presentation { grid-template-columns: 1fr .7fr 1.15fr; gap: 3%; min-height: 570px; }
  .project-row--reverse .project-presentation { grid-template-columns: 1.15fr .7fr 1fr; }
  .project-media-link { min-height: 310px; height: 43svh; border-radius: 28px; }
  .project-details > p { font-size: 13px; }
  .project-heading h3 { font-size: 34px; }
  [data-project="coca-cola-fifa-world-cup-trophy-tour"] h3 { font-size: 28px; }
  .sequence-caption { font-size: 8px; gap: 5px; }
  .case-direction { gap: 6%; }
}
@media (max-width: 850px) and (min-width: 761px) {
  .project-presentation, .project-row--reverse .project-presentation { grid-template-columns: 1fr 1.2fr; grid-template-rows: auto 1fr; gap: 20px 40px; height: auto; min-height: 84svh; }
  .project-heading, .project-row--reverse .project-heading { grid-column: 1; grid-row: 1; padding-bottom: 0; }
  .product-sequence { grid-column: 1; grid-row: 2; width: 180px; justify-self: center; }
  .project-visual, .project-row--reverse .project-visual { grid-column: 2; grid-row: 1; }
  .project-media-link { min-height: 320px; height: 37svh; }
  .project-details, .project-row--reverse .project-details { grid-column: 2; grid-row: 2; align-self: center; }
  .case-object .product-sequence { width: auto; }
}
@media (max-width: 760px) {
  .work-intro, .project-presentation, .work-footer, .case-container, .case-nav { width: calc(100% - 44px); }
  .work-intro { padding-block: 72px 74px; }
  .work-eyebrow { font-size: 9px; gap: 12px; margin-bottom: 26px; }
  .work-intro-grid { grid-template-columns: 1fr; gap: 35px; }
  .work-intro h2 { font-size: clamp(46px, 12.5vw, 76px); }
  .work-intro-note { max-width: 340px; }
  .work-intro-note > p { font-size: 17px; margin-bottom: 23px; }
  .project-row { min-height: 0; padding-block: 65px 85px; }
  .project-presentation, .project-row--reverse .project-presentation { position: relative; top: auto; height: auto; min-height: 0; max-height: none; display: flex; flex-direction: column; gap: 0; align-items: stretch; }
  .project-heading { padding-bottom: 0; align-self: auto; }
  .project-number { margin-bottom: 17px; }
  .project-heading h3 { font-size: 48px; }
  [data-project="coca-cola-fifa-world-cup-trophy-tour"] h3 { font-size: 36px; }
  .project-subtitle { margin-top: 14px; }
  .product-sequence { width: min(68%, 250px); align-self: center; margin-block: 42px 42px; }
  .sequence-caption { font-size: 10px; }
  .project-media-link { min-height: 0; height: auto; aspect-ratio: 4 / 5; --panel-skew: -4deg; border-radius: 26px; }
  .project-row--reverse .project-media-link { --panel-skew: 4deg; }
  .project-media-link > img, .project-media-link > video { height: 100%; position: absolute; inset: 0; }
  .project-details { align-self: auto; padding-top: 25px; }
  .work-tags { margin-bottom: 17px; }
  .work-tags li { font-size: 10px; }
  .project-details > p { font-size: 15px; max-width: 460px; }
  .case-link { font-size: 13px; margin-top: 16px; }
  .work-footer { min-height: 210px; padding-block: 32px; flex-wrap: wrap; gap: 20px; }
  .work-footer p { order: 3; width: 100%; margin: 0; }
  .case-nav { min-height: 86px; gap: 18px; }
  .case-nav .wordmark { font-size: 24px; }
  .case-counter { display: none; }
  .case-intro { padding-block: 60px 35px; }
  .case-intro h1 { font-size: clamp(40px, 10vw, 65px); }
  .case-headline { font-size: 20px; margin-block: 27px 35px; }
  .case-facts { grid-template-columns: 1fr 1fr; gap: 25px; }
  .case-facts > div:last-child { grid-column: 1 / -1; }
  .case-cover img { height: auto; max-height: 650px; min-height: 0; }
  .case-overview, .case-direction { grid-template-columns: 1fr; gap: 30px; padding-block: 70px; }
  .case-page h2 { font-size: 34px; margin-bottom: 22px; }
  .case-prose p, .case-direction-copy > p:not(.work-eyebrow), .case-outcome p:not(.work-eyebrow) { font-size: 15px; line-height: 1.85; }
  .case-object { max-width: 290px; }
  .case-object .product-sequence { width: 100%; margin-block: 10px; }
  .case-object .product-float { width: 88%; margin-inline: auto; }
  .case-section-heading { margin-bottom: 35px; }
  .editorial-gallery, .film-grid { grid-template-columns: 1fr; gap: 38px; }
  .gallery-item--2 { padding-top: 0; }
  .case-films { padding-top: 70px; }
  .film-grid video { height: auto; max-height: 650px; aspect-ratio: 9 / 14; }
  .case-outcome { margin-top: 70px; grid-template-columns: 1fr; gap: 0; padding-block: 50px 70px; }
  .next-project { padding-block: 45px; }
  .next-project-grid { grid-template-columns: 1fr; gap: 35px; }
  .next-project img { height: 260px; }
  .case-bottom { flex-wrap: wrap; justify-content: center; padding-block: 26px; min-height: 100px; }
}
@media (max-width: 380px) {
  .case-nav { gap: 10px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .project-row { min-height: 0; padding-block: 60px; }
  .project-presentation { position: relative; top: auto; }
  .work-motion [data-reveal] { opacity: 1; transform: none; }
  .product-float { transform: none !important; will-change: auto; }
  .sequence-hint { display: none; }
}
