.scs {
  --scs-accent: #d94b2d;
  --scs-paper: #f1eee7;
  --scs-ink: #252621;
  --scs-top: 0px;
  background: var(--scs-paper);
  color: var(--scs-ink);
  font-family: Arial, Helvetica, sans-serif;
  isolation: isolate;
  position: relative;
  width: 100%;
}
.scs-sticky-ancestor { overflow: visible !important; contain: none !important; }
.scs * { box-sizing: border-box; }
.scs button, .scs a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.scs a { color: inherit; }
.scs button { cursor: pointer; font: inherit; }
.scs :focus-visible { outline: 3px solid var(--scs-accent); outline-offset: 5px; }
.scs-pin { padding: 28px clamp(20px, 2.3vw, 48px) 0; position: relative; }
.scs-top { align-items: center; display: flex; font-size: 12px; justify-content: space-between; letter-spacing: .19em; margin-bottom: 26px; text-transform: uppercase; }
.scs-eyebrow { align-items: center; display: flex; gap: 12px; }
.scs-eyebrow::before { background: var(--scs-accent); content: ""; height: 1px; width: 22px; }
.scs-counter { font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.scs-layout { display: grid; gap: clamp(16px, 2.4vw, 48px); grid-template-columns: 48px minmax(0, 1fr) 76px; }
.scs-years { color: #6d6b65; display: flex; flex-direction: column; font-size: 12px; gap: 12px; justify-content: center; }
.scs-years span.is-active { color: var(--scs-ink); font-weight: 700; }
.scs-years span.is-active::before { color: var(--scs-accent); content: "—"; margin-right: 5px; }
.scs-heading { padding: 0 0 24px; }
.scs-heading h2 { color: var(--scs-accent); font-family: inherit; font-size: clamp(32px, 4.3vw, 84px); font-weight: 750; letter-spacing: -.055em; line-height: 1.04; margin: 0 0 16px; overflow-wrap: anywhere; }
.scs-heading h2 span { color: #6d6b65; display: inline-block; font-size: .46em; letter-spacing: -.045em; }
.scs-meta { align-items: center; display: flex; gap: 16px; justify-content: space-between; }
.scs-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.scs-tags span { border: 1px solid #d6d1c8; border-radius: 24px; color: #5e5c55; font-size: 12px; line-height: 1.2; padding: 6px 10px; }
.scs-all { flex-shrink: 0; font-size: 11px; letter-spacing: .14em; padding: 10px 0; text-transform: uppercase; text-underline-offset: 6px; }
.scs-image { aspect-ratio: 16 / 9; background: #dcd6cc; border-radius: 22px; overflow: hidden; position: relative; }
.scs-image > img { display: block; height: 100%; object-fit: cover; width: 100%; }
.scs-year { background: #252621b3; border-radius: 4px; color: #fff; font-size: 12px; padding: 5px 8px; position: absolute; right: 20px; top: 18px; }
.scs-project-link { background: var(--scs-paper); border-radius: 40px; bottom: 20px; font-size: 13px; padding: 14px 20px; position: absolute; right: 20px; text-decoration: none; }
.scs-thumbs { display: flex; flex-direction: column; gap: 8px; justify-content: center; min-height: 0; overflow: auto; }
.scs-thumbs button { background: transparent; border: 2px solid transparent; border-radius: 7px; color: white; flex-shrink: 0; min-height: 48px; padding: 3px; position: relative; width: 76px; }
.scs-thumbs img { border-radius: 3px; display: block; height: 42px; object-fit: cover; opacity: .55; transition: opacity .2s; width: 100%; }
.scs-thumbs button[aria-current="true"] { border-color: var(--scs-accent); }
.scs-thumbs button[aria-current="true"] img, .scs-thumbs button:hover img { opacity: 1; }
.scs-thumbs button span { background: #252621; border-radius: 2px; bottom: 5px; font-size: 10px; padding: 1px 3px; position: absolute; right: 5px; }
.scs-bottom { align-items: center; color: #5e5c55; display: flex; font-size: 12px; justify-content: space-between; margin-left: calc(48px + clamp(16px, 2.4vw, 48px)); min-height: 58px; }
.scs-bottom > div { display: flex; gap: 8px; }
.scs-bottom button { background: transparent; border: 1px solid #ccc6bb; border-radius: 50%; color: var(--scs-ink); height: 44px; padding: 0; width: 44px; }
.scs-bottom button:disabled { cursor: default; opacity: .35; }
.scs-progress { background: #d8d2c8; height: 2px; margin: 0 calc(-1 * clamp(20px, 2.3vw, 48px)); }
.scs-progress span { background: var(--scs-accent); display: block; height: 100%; transform: scaleX(var(--scs-progress, 0)); transform-origin: left; transition: transform .2s; width: 100%; }
.scs-sr, .scs-skip { clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }
.scs-skip:focus { background: var(--scs-paper); clip-path: none; height: auto; left: 25%; padding: 12px; top: 12px; width: auto; z-index: 5; }
.scs-slide { margin-bottom: 32px; }
.scs:not(.is-ready) .scs-thumbs, .scs:not(.is-ready) .scs-bottom, .scs:not(.is-ready) .scs-years { display: none; }
.scs:not(.is-ready) .scs-layout { display: block; }
.scs.is-ready .scs-slide { margin: 0; }
.scs [hidden] { display: none !important; }
.scs.is-pinned { overflow: visible !important; }
.scs.is-pinned .scs-pin { display: flex; flex-direction: column; height: calc(100dvh - var(--scs-top)); max-height: calc(100vh - var(--scs-top)); overflow: hidden; position: sticky; top: var(--scs-top); }
.scs.is-pinned .scs-layout { flex: 1; min-height: 0; }
.scs.is-pinned .scs-content, .scs.is-pinned .scs-slide { height: 100%; min-height: 0; }
.scs.is-pinned .scs-slide { display: flex; flex-direction: column; }
.scs.is-pinned .scs-image { aspect-ratio: auto; flex: 1; min-height: 140px; }
.scs.is-ready .scs-slide:not([hidden]) .scs-image { animation: scs-reveal .25s ease-out; }
@keyframes scs-reveal { from { opacity: .5; } to { opacity: 1; } }

@media (max-width: 1023px) {
  .scs-layout { gap: 18px; grid-template-columns: minmax(0, 1fr); }
  .scs-years { display: none; }
  .scs-thumbs { flex-direction: row; justify-content: flex-start; max-width: 100%; padding: 5px 0; }
  .scs-heading h2 { font-size: clamp(34px, 6vw, 64px); }
  .scs-heading h2 span { display: block; margin-top: 8px; }
  .scs-meta { align-items: flex-start; flex-direction: column; gap: 8px; }
  .scs-image { aspect-ratio: 4 / 3; border-radius: 14px; }
  .scs-bottom { margin-left: 0; }
  .scs-top { margin-bottom: 30px; }
  .scs-pin { padding-top: 24px; }
}
@media (min-width: 1024px) and (max-height: 760px) {
  .scs-pin { padding-top: 16px; }
  .scs-top { margin-bottom: 12px; }
  .scs-heading { padding-bottom: 12px; }
  .scs-heading h2 { font-size: clamp(30px, 3.4vw, 58px); margin-bottom: 9px; }
  .scs-tags span { padding: 4px 8px; }
  .scs-bottom { min-height: 48px; }
  .scs-bottom button { height: 38px; width: 38px; }
  .scs-image { border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .scs * { animation: none !important; transition: none !important; }
}
