/* Logitech case study — layout and components matched to the Figma frame. */
.logitech-page {
  --logi-blue: #1b5ebf;
  --logi-frame-blue: #2176b9;
  background: #fff;
  color: #1e1e1e;
  font-family: Inter, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

.logitech-header {
  position: sticky;
  top: 0;
  inset: 0 0 auto;
  z-index: 60;
  width: 100%;
  height: 56px;
  padding: 0;
  background: #fff;
}
.logitech-header .brand-logo { left: 14px; top: 2px; }
.logitech-header .brand-logo-svg { display: block; width: 50.55px; height: 52.19px; object-fit: contain; }
.logitech-header .site-nav {
  position: absolute;
  left: clamp(170px, calc((100vw - 1032px) / 2 + 48px), 252px);
  top: 19px;
  gap: 54px;
}
.logitech-header .nav-link { color: #1e1e1e; font: 400 16px/19px 'Product Sans', sans-serif; }
.logitech-header .header-right { position: absolute; top: 11px; right: clamp(24px, 10.5vw, 151px); margin: 0; }
.logitech-header .recruiter-btn { border-color: #fe5eae; border-radius: 4px; }

.cs-side-nav {
  position: fixed;
  z-index: 50;
  top: 97px;
  left: max(18px, calc((100vw - 1032px) / 2 - 180px));
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 160px;
}
.cs-side-nav a { position: relative; color: #1e1e1e; font: 400 16px/19px 'Product Sans', sans-serif; text-decoration: none; white-space: nowrap; }
.cs-side-nav a::after { position: absolute; top: 50%; left: calc(100% + 12px); z-index: 70; padding: 7px 10px; transform: translateY(-50%) translateX(-4px); border-radius: 5px; background: #1e1e1e; color: #fff; content: attr(data-tooltip); font: 400 12px/16px Inter, sans-serif; opacity: 0; pointer-events: none; transition: opacity 140ms ease, transform 140ms ease; }
.cs-side-nav a:hover::after,.cs-side-nav a:focus-visible::after { transform: translateY(-50%) translateX(0); opacity: 1; }
.cs-side-nav .cs-back-link { display: inline-flex; align-items: center; gap: 2px; margin-bottom: 8px; color: #fe5eae; }
.cs-side-nav .cs-back-link svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.cs-side-nav .cs-nav-item.active,.cs-side-nav .cs-nav-item:hover { color: var(--logi-blue); }
.cs-side-nav a:focus-visible { outline: 2px solid var(--logi-blue); outline-offset: 3px; border-radius: 2px; }

.logitech-container {
  box-sizing: border-box;
  width: min(1032px, calc(100vw - 48px));
  max-width: none;
  margin: 0 auto;
  padding: 41px 0 120px;
}
.cs-section { margin: 0 0 48px; scroll-margin-top: 80px; }
.cs-hero-section { margin-bottom: 20px; }
.cs-hero-img-wrap { width: 100%; height: 620px; margin: 0; overflow: hidden; border-radius: 0; }
.cs-hero-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cs-hero-title { margin: 28px 0 68px; color: #000; font: 400 48px/58px 'Product Sans', sans-serif; }
.cs-hero-meta { display: grid; grid-template-columns: repeat(4, 168px); justify-content: space-between; gap: 24px; margin: 0; padding: 0; border: 0; }
.cs-meta-col { min-width: 0; }
.cs-meta-col-title { margin: 0 0 9px; color: #1e1e1e; font: italic 600 16px/19px Inter, sans-serif; }
.cs-meta-col-val { color: #757575; font: 400 16px/20px Inter, sans-serif; }
.persona-case { height: 578px; padding: 17px 21px; }
.persona-kicker { color: #757575; font: 400 16px/18px 'Product Sans', sans-serif; text-align: center; }
.persona-art { position: relative; width: min(700px, 100%); height: 521px; margin: 0 auto; }
.persona-art > img { position: absolute; top: 0; left: 50%; width: 521px; height: 521px; transform: translateX(-50%); object-fit: contain; }
.persona-chip { position: absolute; z-index: 1; padding: 7px 10px; border-radius: 18px; background: #2176b9; color: #fff; font: 500 14px/19px Inter, sans-serif; white-space: nowrap; }
.persona-chip-switching { top: 50px; left: 0; }
.persona-chip-deadlines { top: 24px; right: 10%; }
.persona-chip-devices { top: 139px; right: 3%; }
.persona-chip-sketches { right: 7%; bottom: 140px; }
.persona-quote { position: absolute; bottom: 77px; left: 5%; color: #2176b9; font: italic 700 23px/26px 'Product Sans', sans-serif; }

.cs-label { margin: 0 0 8px; color: #b3b3b3; font: italic 400 16px/20px Inter, sans-serif; }
.cs-heading-blue,.cs-heading-dark { margin: 0 0 10px; color: var(--logi-blue); font: 400 36px/1.12 'Product Sans', sans-serif; }
.cs-subline,.cs-body { max-width: none; margin: 0; color: #757575; font: 400 16px/24px Inter, sans-serif; }
.cs-body { margin: 0 0 20px; }

.case-box {
  box-sizing: border-box;
  position: relative;
  width: 100%;
  max-width: none;
  margin: 24px 0 0;
  overflow: hidden;
  border: 1px solid var(--logi-frame-blue);
  border-radius: 0;
  background: #fff;
}
.case-box-scrollable { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.case-box-inner-svg { display: block; width: 100%; height: auto; min-width: 100%; }

.cs-carousel { position: relative; width: 100%; height: 580px; overflow: hidden; background: #fff; }
.cs-carousel-track { display: flex; width: 100%; height: 100%; transition: transform 400ms cubic-bezier(.25,1,.5,1); }
.cs-carousel-slide { box-sizing: border-box; display: flex; position: relative; flex: 0 0 100%; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 18px 52px 26px; }
.cs-carousel-img-wrap { position: relative; display: flex; flex: 1; align-items: center; justify-content: center; width: 100%; min-height: 0; overflow: hidden; cursor: pointer; }
.cs-carousel-img-wrap::after { position: absolute; right: 50%; bottom: 14px; z-index: 4; padding: 7px 11px; transform: translate(50%, 4px); border-radius: 5px; background: rgba(30,30,30,.88); color: #fff; content: attr(data-tooltip); font: 400 12px/16px Inter, sans-serif; opacity: 0; pointer-events: none; transition: opacity 150ms ease, transform 150ms ease; white-space: nowrap; }
.cs-carousel-img-wrap:hover::after,.cs-carousel-img-wrap:focus-visible::after { transform: translate(50%,0); opacity: 1; }
.cs-carousel-img-wrap:focus-visible { outline: 2px solid var(--logi-blue); outline-offset: -4px; }
.cs-carousel-img { display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: cover; }
.cs-activity-carousel { height: 520px; }
.cs-carousel-caption { display: block; margin-top: 18px; color: #1e1e1e; font: 400 17px/22px 'Product Sans', sans-serif; text-align: center; }
.activity-carousel-title { padding: 18px 24px 0; color: #1b5ebf; font: 400 16px/20px 'Product Sans', sans-serif; text-align: center; }
.cs-carousel-arrow { position: absolute; z-index: 2; top: 50%; display: flex; align-items: center; justify-content: center; width: 57px; height: 57px; padding: 0; transform: translateY(-50%); border: 1px solid rgba(33, 94, 191, .24); border-radius: 50%; background: rgba(255,255,255,.9); box-shadow: 0 3px 12px rgba(21, 50, 83, .16); cursor: pointer; touch-action: manipulation; transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease; }
.cs-carousel-arrow svg { display: none; }
.cs-carousel-arrow::before { width: 12px; height: 12px; transform: rotate(-135deg); border-top: 2px solid #1e1e1e; border-right: 2px solid #1e1e1e; content: ''; }
.cs-carousel-next::before { transform: rotate(45deg); }
.cs-carousel-arrow:hover { transform: translateY(-50%) scale(1.08); background: #fff; box-shadow: 0 5px 18px rgba(33, 94, 191, .28); }
.cs-carousel-arrow:active { transform: translateY(-50%) scale(.94); }
.cs-carousel-arrow:focus-visible { outline: 2px solid var(--logi-blue); outline-offset: 3px; }
.cs-carousel-prev { left: 20px; }
.cs-carousel-next { right: 20px; }
.cs-carousel-next svg { transform: scaleX(-1); }

.decision-list { display: flex; flex-direction: column; gap: 50px; padding: 50px 41px; border-color: var(--logi-frame-blue); }
.decision-card { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(250px, 1fr); align-items: center; gap: 24px; padding: 22px; background: rgba(33,118,185,.03); }
.decision-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid rgba(0,0,0,.16); }
.decision-card h3 { margin: 0 0 7px; color: var(--logi-frame-blue); font: 500 26px/1.2 'Product Sans', sans-serif; }
.decision-card p { color: rgba(33,118,185,.7); font: 400 19px/1.4 Inter, sans-serif; }

.cs-box-padding { padding: 32px; }
.workshop-overview,.workshop-followup { padding: 42px; }
.workshop-photo-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.workshop-photo-grid img { display: block; width: 100%; height: 160px; object-fit: cover; }
.workshop-photo-grid img:nth-child(-n+3) { grid-column: span 2; }
.workshop-photo-grid img:nth-child(n+4) { grid-column: span 3; }
.workshop-overview-row { display: grid; grid-template-columns: minmax(0, 469fr) minmax(0, 420fr); align-items: center; gap: 48px; min-height: 271px; margin-top: 42px; color: #64696f; }
.workshop-overview-row p { margin: 0 0 20px; font: 400 16px/24px Inter, sans-serif; }
.workshop-overview-row p:first-child { font: 400 20px/26px 'Product Sans', sans-serif; }
.workshop-overview-row p:last-child { margin-bottom: 0; }
.workshop-overview-row img { display: block; width: 100%; max-height: 333px; object-fit: contain; transform: scaleX(-1); }
.workshop-followup { margin-top: 38px; padding: 42px 40px 46px; }
.workshop-followup-top { display: grid; grid-template-columns: 267fr 267fr 393fr; gap: 18px; align-items: center; }
.workshop-followup-photos { display: contents; }
.workshop-followup-photos img { display: block; width: 100%; height: 160px; object-fit: cover; }
.workshop-studios { box-sizing: border-box; min-height: 160px; padding: 13px; border: 1px solid var(--logi-frame-blue); border-radius: 5px; color: var(--logi-frame-blue); }
.workshop-studios h3 { margin: 0 0 8px; color: var(--logi-frame-blue); font: 700 14px/19px 'Product Sans', sans-serif; text-transform: uppercase; }
.workshop-studios ol { display: grid; grid-template-columns: 1fr; gap: 1px; margin: 0; padding-left: 18px; font: 400 14px/18px 'Product Sans', sans-serif; }
.cs-insights-panel { margin: 73px 0; padding: 20px 32px 30px; border: 1px solid var(--logi-frame-blue); border-radius: 16px; background: rgba(211,228,241,.3); }
.cs-insights-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 27px; }
.cs-insights-heading h3 { margin: 0; color: #212121; font: 400 22px/28px 'Product Sans', sans-serif; }
.cs-insights-heading p { margin: 2px 0 0; color: #212121; font: 400 16px/21px 'Product Sans', sans-serif; text-align: right; }
.cs-insights-body { display: flex; flex-direction: column; gap: 13px; margin: 0; padding-left: 24px; color: var(--logi-frame-blue); font: 400 15px/1.45 Inter, sans-serif; }
.cs-insights-body li:last-child { color: rgba(33,118,185,.7); }
.workshop-challenge-intro { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: 6px; }
.workshop-challenge-intro img { display: block; width: 100%; height: 360px; object-fit: contain; }
.workshop-challenge-intro h3 { margin: 0 0 14px; color: #64696f; font: 400 24px/1.2 'Product Sans', sans-serif; text-align: right; }
.workshop-challenge-intro p { margin: 0; color: #64696f; font: 400 16px/1.5 Inter, sans-serif; text-align: right; }
.workshop-challenge-details { display: grid; grid-template-columns: minmax(0, 418fr) minmax(0, 431fr); align-items: start; gap: clamp(28px, 8vw, 115px); margin-top: 28px; }
.workshop-challenge-copy { color: #64696f; }
.workshop-challenge-copy p { margin: 0 0 11px; font: 400 22px/1.3 'Product Sans', sans-serif; }
.workshop-challenge-copy p + p { color: #616161; font: 400 16px/1.5 Inter, sans-serif; }
.workshop-activity-images { display: grid; gap: 29px; }
.workshop-activity-images img { display: block; width: 100%; aspect-ratio: 16 / 9; border: 1px solid rgba(0,0,0,.25); border-radius: 5px; object-fit: cover; }
.cs-carousel-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.cs-carousel:focus-visible { outline: 2px solid var(--logi-blue); outline-offset: 4px; }
.cs-challenge-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; margin-top: 32px; }
.cs-challenge-box { margin-bottom: 16px; padding: 12px; border: 1px solid #dce6ef; border-radius: 0; }
.cs-challenge-box img { display: block; width: 100%; height: auto; }

.cs-impact-group { margin: 0 0 42px; }
.cs-impact-group .cs-heading-blue { margin-bottom: 4px; font-size: 28px !important; line-height: 36px !important; }
.cs-stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px; margin-top: 18px; }
.cs-stat-tile { display: flex; min-height: 95px; flex-direction: column; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 18px; background: #287fba; color: #fff; text-align: center; }
.cs-stat-tile--unfold-pending { clip-path: inset(0 0 100% 0); opacity: 0; transform: translateY(-10px); transition: clip-path 700ms cubic-bezier(.16,1,.3,1), opacity 420ms ease, transform 650ms cubic-bezier(.16,1,.3,1); }
.cs-stat-tile--unfold-pending.is-unfolded { clip-path: inset(0); opacity: 1; transform: translateY(0); }
.cs-stat-number { color: #fff; font: 400 36px/40px 'Product Sans', sans-serif; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cs-stat-label { color: rgba(255,255,255,.94); font: 400 13px/16px Inter, sans-serif; }

@media (max-width: 1370px) {
  .cs-side-nav { position: sticky; top: 56px; left: 0; z-index: 50; box-sizing: border-box; flex-direction: row; align-items: center; gap: 20px; width: 100%; margin: 0 auto; padding: 10px 24px; overflow-x: auto; background: rgba(255,255,255,.96); scrollbar-width: thin; }
  .cs-side-nav .cs-back-link { margin-bottom: 0; }
  .cs-side-nav a::after { display: none; }
  .cs-section[id] { scroll-margin-top: 116px; }
}
@media (max-width: 900px) {
  .logitech-header .site-nav { left: 100px; gap: 22px; }
  .logitech-header .nav-link { font-size: 14px; }
  .logitech-header .header-right { right: 16px; }
  .logitech-container { padding-top: 24px; }
  .cs-hero-img-wrap { height: auto; aspect-ratio: 1033 / 620; }
  .cs-hero-title { margin-bottom: 36px; font-size: 40px; line-height: 1.15; }
  .cs-hero-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .persona-case { height: auto; min-height: 450px; }
  .persona-art { height: auto; aspect-ratio: 1; }
  .persona-art > img { width: 74%; height: 100%; }
  .persona-chip { padding: 5px 7px; font-size: 11px; line-height: 14px; }
  .persona-chip-switching { top: 10%; left: 0; }
  .persona-chip-deadlines { top: 6%; right: 3%; }
  .persona-chip-devices { top: 28%; right: 0; }
  .persona-chip-sketches { right: 0; bottom: 21%; }
  .persona-quote { bottom: 17%; left: 0; font-size: 18px; line-height: 21px; }
  .cs-carousel { height: clamp(300px, 58vw, 500px); }
  .cs-activity-carousel { height: clamp(300px, 56vw, 460px); }
  .decision-list { gap: 24px; padding: 24px; }
  .decision-card { grid-template-columns: minmax(0, 1.2fr) minmax(180px, 1fr); gap: 18px; padding: 16px; }
  .decision-card h3 { font-size: 21px; }
  .decision-card p { font-size: 16px; }
  .workshop-overview,.workshop-followup { padding: 24px; }
  .workshop-photo-grid { gap: 10px; }
  .workshop-photo-grid img { height: clamp(110px, 17vw, 150px); }
  .workshop-overview-row { grid-template-columns: minmax(0, 1fr) 42%; gap: 22px; }
  .workshop-followup-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workshop-studios { grid-column: 1 / -1; min-height: 0; }
  .workshop-studios ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 18px; }
  .cs-insights-panel { margin: 38px 0; }
  .workshop-challenge-intro { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .workshop-challenge-intro img { height: 300px; }
  .workshop-challenge-details { gap: 28px; }
  .cs-stat-grid { gap: 16px; }
}
@media (max-width: 1100px) {
  .logitech-header .header-right { right: 16px; }
}
@media (max-width: 640px) {
  .logitech-header { height: 58px; }
  .logitech-header .brand-logo { left: 14px; top: 3px; }
  .logitech-header .brand-logo-svg { width: 50.55px; height: 52.19px; }
  .logitech-header .site-nav { left: 82px; top: 20px; gap: 16px; }
  .logitech-header .nav-link { font-size: 14px; }
  .logitech-header .header-right { display: none; }
  .logitech-container { width: calc(100vw - 32px); padding: 24px 0 64px; }
  .cs-side-nav { top: 58px; }
  .cs-section { margin-bottom: 42px; }
  .cs-hero-section { margin-bottom: 24px; }
  .cs-hero-title { margin: 16px 0 28px; font-size: 32px; line-height: 1.2; }
  .cs-hero-meta { gap: 20px 16px; }
  .persona-case { min-height: 0; padding: 14px 10px; }
  .cs-meta-col-title,.cs-meta-col-val { font-size: 14px; line-height: 19px; }
  .cs-heading-blue,.cs-heading-dark { font-size: 28px; line-height: 1.2; }
  .cs-subline,.cs-body { font-size: 15px; line-height: 23px; }
  .case-box { margin-top: 18px; }
  .case-box-inner-svg { min-width: 760px; }
  .cs-carousel { height: 330px; }
  .cs-carousel-slide { padding: 12px 42px 16px; }
  .cs-carousel-arrow { width: 40px; height: 40px; }
  .cs-carousel-prev { left: 8px; }
  .cs-carousel-next { right: 8px; }
  .cs-carousel-caption { max-width: 90%; font-size: 14px; }
  .decision-list { gap: 16px; padding: 12px; }
  .decision-card { grid-template-columns: 1fr; gap: 12px; padding: 12px; }
  .decision-card h3 { font-size: 19px; }
  .decision-card p { font-size: 15px; }
  .cs-box-padding { padding: 16px; }
  .workshop-overview,.workshop-followup { padding: 14px; }
  .workshop-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .workshop-photo-grid img,.workshop-photo-grid img:nth-child(n) { grid-column: auto; height: auto; aspect-ratio: 16 / 10; }
  .workshop-photo-grid img:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .workshop-overview-row { grid-template-columns: 1fr; gap: 12px; margin-top: 18px; }
  .workshop-overview-row img { max-height: 220px; }
  .workshop-followup-top { grid-template-columns: 1fr; gap: 10px; }
  .workshop-followup-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .workshop-followup-photos img { height: auto; aspect-ratio: 16 / 10; }
  .workshop-studios { grid-column: auto; padding: 12px; }
  .workshop-studios ol { grid-template-columns: 1fr; }
  .cs-insights-panel { margin: 28px 0; padding: 16px; border-radius: 12px; }
  .cs-insights-heading { flex-direction: column; gap: 5px; margin-bottom: 17px; }
  .cs-insights-heading p { text-align: left; }
  .workshop-challenge-intro { grid-template-columns: 1fr; gap: 8px; }
  .workshop-challenge-intro img { height: auto; max-height: 230px; }
  .workshop-challenge-intro h3,.workshop-challenge-intro p { text-align: left; }
  .workshop-challenge-details { grid-template-columns: 1fr; gap: 18px; margin-top: 24px; }
  .workshop-challenge-copy p { font-size: 19px; }
  .workshop-activity-images { gap: 14px; }
  .cs-challenge-grid { grid-template-columns: 1fr; gap: 20px; }
  .cs-stat-grid { grid-template-columns: 1fr; gap: 12px; }
  .cs-stat-tile { min-height: 84px; border-radius: 14px; }
  .cs-stat-number { font-size: 32px; line-height: 36px; }
}
@media (min-width: 641px) and (max-width: 760px) {
  .logitech-header { height: 58px; }
  .cs-side-nav { top: 58px; }
  .logitech-header .brand-logo { top: 3px; }
  .logitech-header .header-right { display: none; }
  .logitech-header .nav-link { font-size: 14px; }
}
@media (max-width: 760px) {
  .logitech-container { width: calc(100vw - 32px); }
  .cs-side-nav { gap: 16px; padding: 9px 16px; }
  .cs-side-nav a { font-size: 14px; }
  .cs-section[id] { scroll-margin-top: 116px; }
}
@media (max-width: 420px) {
  .logitech-header .site-nav { gap: 12px; }
  .logitech-header .nav-link { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .cs-carousel-arrow { transition: none; }
  .cs-carousel-track { transition: none; }
  .cs-stat-tile--unfold-pending,.cs-stat-tile--unfold-pending.is-unfolded { clip-path: none; opacity: 1; transform: none; transition: none; }
}
