:root {
  --lokb-blue: #0098db;
  --lokb-coral: #d24d57;
  --lokb-mint: #49c5b1;
  --lokb-yellow: #ffcd00;
  --lokb-green: #3eb75a;
  --lokb-ice: #c4d4da;
  --lokb-grey: #7c878e;
  --lokb-lilac: #8b84d7;
  --lokb-paper: #f4f6f5;
  --lokb-paper-blue: #eaf4f8;
  --lokb-navy: #052737;
  --lokb-ink: #111315;
  --lokb-line: rgba(17, 19, 21, 0.17);
}

.lokb-case {
  background: var(--lokb-paper);
  color: var(--lokb-ink);
}

.lokb-case img {
  width: 100%;
  height: auto;
}

.lokb-case .button {
  background: var(--lokb-blue);
}

.lokb-case .button:hover {
  background: #007eb7;
}

.case-section {
  position: relative;
  padding-block: var(--section-space);
}

.case-section figure {
  margin: 0;
}

.case-section figcaption {
  margin-top: 11px;
  color: currentColor;
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.section-heading,
.idea__header,
.identity__header,
.digital__header,
.implementation__header,
.concepts__header,
.context__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.section-heading .eyebrow,
.idea__header .eyebrow,
.identity__header .eyebrow,
.digital__header .eyebrow,
.implementation__header .eyebrow,
.concepts__header .eyebrow {
  grid-column: 1 / span 2;
  padding-top: 0.72em;
}

.section-heading h2,
.idea__header h2,
.identity__header h2,
.digital__header h2,
.implementation__header h2,
.concepts__header h2 {
  grid-column: 3 / span 8;
  max-width: 1180px;
}

.section-heading--with-copy > p:last-child,
.idea__header > p:last-child,
.identity__header > p:last-child,
.digital__header > p:last-child,
.implementation__header > p:last-child,
.concepts__header > p:last-child {
  grid-column: 11 / -1;
  align-self: end;
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

/* Hero */

.lokb-hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  grid-template-columns: minmax(440px, 42%) minmax(0, 58%);
  overflow: hidden;
  background: #fff;
  color: var(--lokb-ink);
}

.lokb-hero__copy {
  position: relative;
  z-index: 2;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(26px, 3.5vw, 58px) clamp(30px, 4.2vw, 78px) clamp(50px, 5.2vw, 88px);
  background: #fff;
}

.lokb-hero__meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.lokb-hero__meta p,
.lokb-hero__meta span {
  margin: 0;
}

.lokb-hero__meta span {
  color: rgba(17, 19, 21, 0.48);
  white-space: nowrap;
}

.lokb-hero__title {
  align-self: center;
  padding-block: 52px;
}

.lokb-hero__title .eyebrow {
  max-width: 360px;
  margin-bottom: clamp(28px, 3.2vw, 48px);
  color: var(--lokb-blue);
}

.lokb-hero h1 {
  max-width: 730px;
  margin: 0 0 clamp(30px, 3vw, 48px);
  font-size: clamp(70px, 7vw, 122px);
  line-height: 0.88;
  letter-spacing: -0.047em;
}

.lokb-hero__title > p:last-child {
  max-width: 590px;
  margin: 0;
  font-size: clamp(15px, 1.18vw, 20px);
  line-height: 1.48;
}

.lokb-hero__footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.lokb-hero__footer > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.lokb-hero__footer > div span {
  padding: 6px 9px;
  border: 1px solid rgba(17, 19, 21, 0.28);
  border-radius: 999px;
  font-size: 9px;
  line-height: 1;
}

.lokb-hero__footer > a {
  flex: 0 0 auto;
  font-size: 12px;
  text-underline-offset: 0.25em;
}

.lokb-hero__visual {
  position: relative;
  min-width: 0;
  min-height: calc(100svh - var(--header-h));
  margin: 0;
  overflow: hidden;
  background: var(--lokb-paper-blue);
}

.lokb-hero__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.lokb-hero__visual figcaption {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 34px;
  margin: 0;
  padding: 9px 11px;
  background: rgba(5, 39, 55, 0.82);
  color: #fff;
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lokb-hero__color {
  position: absolute;
  z-index: 5;
  bottom: 0;
  width: 25%;
  height: 10px;
}

.lokb-hero__color--coral { left: 0; background: var(--lokb-coral); }
.lokb-hero__color--mint { left: 25%; background: var(--lokb-mint); }
.lokb-hero__color--yellow { left: 50%; background: var(--lokb-yellow); }
.lokb-hero__color--lilac { left: 75%; background: var(--lokb-lilac); }

/* Sticky index */

.case-index {
  position: relative;
  z-index: 70;
  top: auto;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  background: rgba(244, 246, 245, 0.94);
  border-bottom: 1px solid var(--lokb-line);
  backdrop-filter: blur(16px);
}

.case-index a {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border-right: 1px solid var(--lokb-line);
  color: rgba(17, 19, 21, 0.56);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}

.case-index a:last-child {
  border-right: 0;
}

.case-index a span {
  color: var(--lokb-blue);
}

.case-index a:is(:hover, :focus-visible),
.case-index a.is-active {
  background: #fff;
  color: var(--lokb-ink);
}

/* Context */

.context {
  background: var(--lokb-paper);
}

.context .section-heading {
  margin-bottom: clamp(70px, 8vw, 126px);
}

.context__lead {
  grid-column: 1 / span 7;
  margin: 0;
  font: 400 clamp(36px, 3.8vw, 66px)/0.99 var(--display);
  letter-spacing: -0.035em;
}

.context__copy {
  grid-column: 9 / -1;
  font-size: 16px;
  line-height: 1.52;
}

.context__copy p:last-child {
  margin-bottom: 0;
}

.context__image {
  margin-top: clamp(72px, 9vw, 142px) !important;
}

.context__image img,
.mark__story img,
.identity__language img,
.identity__palette img,
.digital__concept img,
.implementation__grid img,
.concepts__grid img {
  display: block;
  width: 100%;
  height: auto;
}

/* Idea */

.idea {
  overflow: hidden;
  background: var(--lokb-blue);
  color: #fff;
}

.idea__header {
  margin-bottom: clamp(68px, 8vw, 126px);
}

.idea__header > p:last-child {
  color: rgba(255,255,255,0.75);
}

.idea__stage {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr);
  background: #fff;
  color: var(--lokb-ink);
}

.idea__stage > figure {
  min-width: 0;
  display: grid;
  place-items: center;
  padding: clamp(20px, 3vw, 50px);
  background: var(--lokb-paper-blue);
}

.idea__stage > figure img {
  width: 100%;
  height: auto;
}

.idea__quotes {
  display: grid;
  grid-template-rows: 1fr 1fr;
}

.idea__quotes blockquote {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
  padding: clamp(28px, 4vw, 64px);
}

.idea__quotes blockquote:first-child {
  background: var(--lokb-yellow);
}

.idea__quotes blockquote:last-child {
  background: var(--lokb-mint);
}

.idea__quotes span {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.idea__quotes p {
  max-width: 570px;
  margin: 38px 0 0;
  font: 400 clamp(48px, 4vw, 75px)/0.91 var(--display);
  letter-spacing: -0.035em;
}

/* Sign and visual system */

.mark {
  background: #fff;
}

.mark .section-heading {
  margin-bottom: clamp(68px, 8vw, 126px);
}

.mark__logo {
  position: relative;
  min-height: min(62vw, 850px);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--lokb-paper-blue);
}

.mark__logo img {
  position: relative;
  z-index: 2;
  width: clamp(230px, 31vw, 520px);
  height: auto;
}

.mark__logo > span {
  position: absolute;
  right: -0.03em;
  bottom: -0.12em;
  color: rgba(0, 152, 219, 0.08);
  font: 400 clamp(150px, 23vw, 400px)/0.8 var(--display);
  letter-spacing: -0.06em;
  pointer-events: none;
}

.mark__story {
  margin-top: clamp(64px, 8vw, 130px) !important;
}

.identity {
  background: var(--lokb-paper-blue);
}

.identity__header {
  margin-bottom: clamp(68px, 8vw, 126px);
}

.palette {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  margin-bottom: clamp(70px, 8vw, 120px);
}

.palette span {
  min-height: clamp(110px, 12vw, 190px);
  display: flex;
  align-items: end;
  padding: 13px;
  background: var(--c);
}

.palette b {
  color: #fff;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.palette span:nth-child(4) b,
.palette span:nth-child(6) b {
  color: var(--lokb-ink);
}

.identity__palette {
  margin-top: clamp(58px, 7vw, 110px) !important;
}

.identity-slider {
  margin-top: clamp(80px, 10vw, 150px);
}

.identity-slider__viewport {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #fff;
}

.identity-slider__viewport figure {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 480ms ease;
}

.identity-slider__viewport figure.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}

.identity-slider__viewport img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.identity-slider__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.identity-slider__controls > div {
  display: flex;
  gap: 8px;
}

.identity-slider__controls button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--lokb-line);
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.identity-slider__controls button:hover {
  background: var(--lokb-ink);
  color: #fff;
}

/* Digital */

.digital {
  background: var(--lokb-navy);
  color: #fff;
}

.digital__header {
  margin-bottom: clamp(68px, 8vw, 126px);
}

.digital__header .eyebrow {
  color: var(--lokb-mint);
}

.digital__header > p:last-child {
  color: rgba(255,255,255,0.7);
}

.digital__concept {
  padding: clamp(14px, 2vw, 32px);
  background: #fff;
  color: var(--lokb-ink);
}

.digital__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(22px, 2.5vw, 42px);
  margin-top: clamp(70px, 8vw, 126px);
}

.digital__grid figure {
  min-width: 0;
}

.digital__grid figcaption {
  color: rgba(255,255,255,0.62);
}

/* Environment and concepts */

.implementation {
  background: #fff;
}

.implementation__header,
.concepts__header {
  margin-bottom: clamp(68px, 8vw, 126px);
}

.implementation__grid,
.concepts__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 3.2vw, 54px);
  align-items: start;
}

.implementation__wide,
.concepts__wide {
  grid-column: 1 / -1;
}

.implementation__note {
  max-width: 880px;
  margin: clamp(65px, 7vw, 110px) 0 0 auto;
  padding-top: 22px;
  border-top: 1px solid var(--lokb-line);
  color: rgba(17, 19, 21, 0.65);
  font-size: 14px;
}

.concepts {
  background: var(--lokb-paper-blue);
}

/* Result, credits, related */

.result {
  background: var(--lokb-blue);
  color: #fff;
}

.result .section-heading {
  margin-bottom: clamp(70px, 8vw, 126px);
}

.result__grid {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: clamp(80px, 10vw, 170px);
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.34);
}

.result__grid > div {
  font-size: clamp(20px, 1.6vw, 27px);
  line-height: 1.43;
}

.result__grid > div p:last-child {
  margin-bottom: 0;
}

.result__grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.result__grid li {
  padding: 13px 0;
  border-top: 1px solid rgba(255,255,255,0.28);
  font-size: 14px;
}

.result__grid li:last-child {
  border-bottom: 1px solid rgba(255,255,255,0.28);
}

.credits {
  background: var(--lokb-coral);
  color: #fff;
}

.credits__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(60px, 8vw, 140px);
}

.credits h2 {
  max-width: 650px;
  margin-top: 36px;
}

.credits__list article {
  display: grid;
  grid-template-columns: 3fr 5fr;
  gap: 30px;
  padding: 26px 0;
  border-top: 1px solid rgba(255,255,255,0.34);
}

.credits__list article:last-child {
  border-bottom: 1px solid rgba(255,255,255,0.34);
}

.credits__list strong {
  font: 400 clamp(30px, 2.7vw, 46px)/0.96 var(--display);
}

.credits__list span {
  color: rgba(255,255,255,0.74);
  font-size: 14px;
}

.related {
  background: var(--lokb-paper);
}

.related__grid {
  display: grid;
  grid-template-columns: 4fr 7fr;
  gap: clamp(60px, 8vw, 150px);
  align-items: center;
}

.related h2 {
  margin: 34px 0;
}

.related__grid > div > p:not(.eyebrow) {
  max-width: 490px;
}

.related__grid > a {
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: 440px;
  place-items: center;
  background: #dfe5e5;
  color: #fff;
}

.related__grid > a img {
  width: min(70%, 560px);
  height: auto;
  object-fit: contain;
  transition: transform 700ms cubic-bezier(.2,.7,.2,1);
}

.related__grid > a:hover img {
  transform: translateY(-4px) scale(1.02);
}

.related__grid > a span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 9px 12px;
  background: rgba(5,39,55,0.86);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Contact */

.case-contact {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 91% 8%, rgba(73,197,177,0.18), transparent 34%),
    radial-gradient(circle at 35% 44%, rgba(0,152,219,0.17), transparent 42%),
    var(--black);
}

.case-contact .contact__main .eyebrow {
  color: var(--lokb-mint);
}

.case-contact .gradient-text {
  --text-gradient: linear-gradient(104deg, var(--lokb-mint) 0%, var(--lokb-blue) 100%);
}

.case-contact .contact__main .button {
  background: var(--lokb-blue);
}

/* Reveal */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms cubic-bezier(.2,.7,.2,1);
}

.js [data-reveal].is-visible,
.js.is-static [data-reveal] {
  opacity: 1;
  transform: none;
}

@media (max-width: 1199px) {
  .section-heading h2,
  .idea__header h2,
  .identity__header h2,
  .digital__header h2,
  .implementation__header h2,
  .concepts__header h2 {
    grid-column: 3 / span 7;
  }

  .section-heading--with-copy > p:last-child,
  .idea__header > p:last-child,
  .identity__header > p:last-child,
  .digital__header > p:last-child,
  .implementation__header > p:last-child,
  .concepts__header > p:last-child {
    grid-column: 10 / -1;
  }

  .lokb-hero {
    grid-template-columns: minmax(390px, 46%) minmax(0, 54%);
  }

  .lokb-hero__copy {
    padding-inline: 36px;
  }

  .lokb-hero h1 {
    font-size: clamp(64px, 7.6vw, 92px);
  }
}

@media (max-width: 959px) {
  .section-heading,
  .idea__header,
  .identity__header,
  .digital__header,
  .implementation__header,
  .concepts__header {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .section-heading .eyebrow,
  .idea__header .eyebrow,
  .identity__header .eyebrow,
  .digital__header .eyebrow,
  .implementation__header .eyebrow,
  .concepts__header .eyebrow {
    grid-column: 1 / span 2;
  }

  .section-heading h2,
  .idea__header h2,
  .identity__header h2,
  .digital__header h2,
  .implementation__header h2,
  .concepts__header h2 {
    grid-column: 3 / -1;
  }

  .section-heading--with-copy > p:last-child,
  .idea__header > p:last-child,
  .identity__header > p:last-child,
  .digital__header > p:last-child,
  .implementation__header > p:last-child,
  .concepts__header > p:last-child {
    grid-column: 3 / span 5;
    margin-top: 22px;
  }

  .lokb-hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .lokb-hero__copy {
    min-height: 710px;
  }

  .lokb-hero__visual {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .context__lead {
    grid-column: 1 / span 7;
  }

  .context__copy {
    grid-column: 8 / -1;
  }

  .idea__stage {
    grid-template-columns: 1fr;
  }

  .idea__quotes {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .palette {
    grid-template-columns: repeat(4, 1fr);
  }

  .result__grid,
  .credits__grid,
  .related__grid {
    grid-template-columns: 1fr;
  }

  .credits__list {
    margin-top: 34px;
  }
}

@media (max-width: 767px) {
  .case-section {
    padding-block: 82px;
  }

  .case-section figcaption {
    margin-top: 8px;
    font-size: 8px;
  }

  .case-index {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .case-index::-webkit-scrollbar {
    display: none;
  }

  .case-index a {
    min-width: 118px;
    min-height: 48px;
    scroll-snap-align: start;
    font-size: 8px;
  }

  .lokb-hero__copy {
    min-height: min(720px, calc(100svh - var(--header-h)));
    padding: 22px 18px 46px;
  }

  .lokb-hero__meta {
    font-size: 7px;
  }

  .lokb-hero__meta span {
    display: none;
  }

  .lokb-hero__title {
    padding-block: 34px;
  }

  .lokb-hero__title .eyebrow {
    margin-bottom: 28px;
  }

  .lokb-hero h1 {
    font-size: clamp(58px, 19vw, 78px);
    line-height: 0.89;
  }

  .lokb-hero__title > p:last-child {
    font-size: 14px;
  }

  .lokb-hero__footer > div {
    display: none;
  }

  .lokb-hero__visual {
    aspect-ratio: 4 / 3;
  }

  .lokb-hero__visual figcaption {
    right: 12px;
    bottom: 18px;
    left: 12px;
    width: max-content;
    max-width: calc(100% - 24px);
  }

  .lokb-hero__color {
    height: 7px;
  }

  .section-heading,
  .idea__header,
  .identity__header,
  .digital__header,
  .implementation__header,
  .concepts__header,
  .context__grid {
    display: block;
  }

  .section-heading .eyebrow,
  .idea__header .eyebrow,
  .identity__header .eyebrow,
  .digital__header .eyebrow,
  .implementation__header .eyebrow,
  .concepts__header .eyebrow {
    margin-bottom: 26px;
  }

  .section-heading--with-copy > p:last-child,
  .idea__header > p:last-child,
  .identity__header > p:last-child,
  .digital__header > p:last-child,
  .implementation__header > p:last-child,
  .concepts__header > p:last-child {
    max-width: 520px;
    margin-top: 26px;
    font-size: 15px;
  }

  .context .section-heading,
  .idea__header,
  .mark .section-heading,
  .identity__header,
  .digital__header,
  .implementation__header,
  .concepts__header {
    margin-bottom: 62px;
  }

  .context__lead {
    margin-bottom: 36px;
    font-size: 35px;
  }

  .context__copy {
    font-size: 15px;
  }

  .context__image,
  .mark__story,
  .identity__palette,
  .identity-slider,
  .digital__grid {
    margin-top: 60px !important;
  }

  .idea__stage > figure {
    padding: 10px;
  }

  .idea__quotes {
    grid-template-columns: 1fr;
  }

  .idea__quotes blockquote {
    min-height: 230px;
    padding: 24px 18px;
  }

  .idea__quotes p {
    font-size: 49px;
  }

  .mark__logo {
    min-height: 430px;
  }

  .mark__logo img {
    width: 64vw;
  }

  .mark__logo > span {
    font-size: 28vw;
  }

  .palette {
    grid-template-columns: repeat(2, 1fr);
  }

  .palette span {
    min-height: 104px;
  }

  .identity-slider__viewport {
    aspect-ratio: 1.05;
  }

  .digital__concept {
    padding: 10px;
  }

  .digital__grid,
  .implementation__grid,
  .concepts__grid {
    grid-template-columns: 1fr;
  }

  .implementation__wide,
  .concepts__wide {
    grid-column: auto;
  }

  .result__grid,
  .credits__grid,
  .related__grid {
    gap: 54px;
  }

  .result__grid > div {
    font-size: 19px;
  }

  .result h2 {
    font-size: clamp(40px, 11.5vw, 50px);
  }

  .credits__list article {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .related h2 {
    margin-block: 26px;
  }

  .related__grid > a {
    min-height: 340px;
  }

  .related__grid > a img {
    width: 72%;
  }

  .case-contact .gradient-text {
    --text-gradient: linear-gradient(110deg, var(--lokb-mint) 0%, var(--lokb-blue) 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal],
  .identity-slider__viewport figure,
  .identity-slider__controls button,
  .related__grid > a img {
    transition: none !important;
  }
}

/* Calendar case */

.lokb-calendar-case {
  overflow-x: clip;
  background: var(--lokb-paper);
  color: var(--lokb-ink);
}

.lokb-calendar-case img {
  max-width: 100%;
  height: auto;
}

.lokb-calendar-case .button {
  background: var(--lokb-blue);
}

.lokb-calendar-case .case-index {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.calendar-hero {
  min-height: calc(100svh - var(--header-h));
  display: grid;
  grid-template-columns: minmax(470px, 42%) minmax(0, 58%);
  overflow: hidden;
  background: #fff;
}

.calendar-hero__copy {
  position: relative;
  z-index: 2;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(28px, 3.6vw, 62px) clamp(30px, 4.4vw, 80px) clamp(48px, 5vw, 86px);
  background: #fff;
}

.calendar-hero__meta,
.calendar-hero__footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.calendar-hero__meta {
  color: rgba(17, 19, 21, 0.52);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.calendar-hero__meta p,
.calendar-hero__meta span,
.calendar-hero__title p {
  margin: 0;
}

.calendar-hero__title {
  align-self: center;
  padding-block: 54px;
}

.calendar-hero__title .eyebrow {
  max-width: 440px;
  margin-bottom: clamp(28px, 3vw, 48px);
  color: var(--lokb-blue);
}

.calendar-hero h1 {
  max-width: 780px;
  margin: 0 0 clamp(30px, 3vw, 50px);
  font-size: clamp(64px, 6.6vw, 116px);
  font-weight: 400;
  line-height: 0.91;
  letter-spacing: -0.052em;
}

.calendar-hero h1 span,
.calendar-hero h1 strong {
  display: block;
}

.calendar-hero h1 strong {
  color: var(--lokb-blue);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.045em;
}

.calendar-hero__title > p:last-child {
  max-width: 610px;
  font-size: clamp(15px, 1.18vw, 20px);
  line-height: 1.5;
}

.calendar-hero__footer {
  align-items: flex-end;
}

.calendar-hero__footer > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.calendar-hero__footer > div span {
  padding: 6px 9px;
  border: 1px solid var(--lokb-line);
  border-radius: 999px;
  font-size: 8px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.calendar-hero__footer > a {
  color: var(--lokb-ink);
  font-size: 11px;
  text-decoration: none;
  white-space: nowrap;
}

.calendar-hero__visual {
  position: relative;
  min-width: 0;
  margin: 0;
  display: grid;
  place-items: center;
  padding: clamp(34px, 4vw, 72px);
  background: var(--lokb-paper-blue);
}

.calendar-hero__visual::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(var(--lokb-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--lokb-line) 1px, transparent 1px);
  background-size: 25% 25%;
  opacity: 0.34;
  pointer-events: none;
}

.calendar-hero__visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100svh - var(--header-h) - 110px);
  object-fit: contain;
}

.calendar-hero__visual figcaption {
  position: absolute;
  z-index: 2;
  right: clamp(34px, 4vw, 72px);
  bottom: clamp(24px, 3vw, 48px);
  margin: 0;
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calendar-hero__months {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 42%;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  pointer-events: none;
}

.calendar-hero__months span {
  min-height: 20px;
  display: grid;
  place-items: center;
  border-left: 1px solid rgba(17, 19, 21, 0.16);
  color: rgba(17, 19, 21, 0.48);
  font-size: 7px;
  font-variant-numeric: tabular-nums;
}

.coincidence {
  overflow: hidden;
  background: var(--lokb-navy);
  color: #fff;
}

.coincidence__header,
.calendar-experience__header,
.illustrations__header,
.formats__header {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: end;
  margin-bottom: clamp(68px, 8vw, 130px);
}

.coincidence__header .eyebrow,
.calendar-experience__header .eyebrow,
.illustrations__header .eyebrow,
.formats__header .eyebrow {
  grid-column: 1 / span 2;
  align-self: start;
  padding-top: 0.72em;
}

.coincidence__header h2,
.calendar-experience__header h2,
.illustrations__header h2,
.formats__header h2 {
  grid-column: 3 / span 7;
  margin: 0;
}

.coincidence__header > p:last-child,
.calendar-experience__header > p:last-child,
.illustrations__header > p:last-child,
.formats__header > p:last-child {
  grid-column: 10 / -1;
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

.coincidence__header > p:last-child {
  color: rgba(255, 255, 255, 0.7);
}

.coincidence__equation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(18px, 3vw, 54px);
  align-items: center;
}

.coincidence__equal {
  color: var(--lokb-yellow);
  font: 400 clamp(54px, 6vw, 104px)/1 var(--display);
}

.year-card {
  min-width: 0;
  padding: clamp(20px, 3vw, 46px);
  background: #fff;
  color: var(--lokb-ink);
}

.year-card header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--lokb-line);
}

.year-card header span {
  color: var(--lokb-blue);
  font-size: 11px;
}

.year-card header strong {
  font: 400 clamp(54px, 6vw, 98px)/0.82 var(--display);
  letter-spacing: -0.045em;
}

.year-card > p {
  margin: 24px 0 30px;
  font: 400 clamp(26px, 2.7vw, 46px)/1 var(--display);
}

.year-card__week,
.year-card__days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.year-card__week {
  margin-bottom: 9px;
  color: rgba(17, 19, 21, 0.44);
  font-size: 8px;
  text-align: center;
}

.year-card__days span {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: var(--lokb-paper-blue);
  font-size: clamp(10px, 1.05vw, 17px);
  font-variant-numeric: tabular-nums;
}

.year-card__days span.is-empty {
  background: transparent;
}

.coincidence__note {
  max-width: 870px;
  margin: clamp(52px, 6vw, 96px) 0 0 auto;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(17px, 1.45vw, 24px);
  line-height: 1.5;
}

.calendar-experience {
  overflow: hidden;
  background: #eaf5f8;
}

.calendar-stage {
  --calendar-accent: var(--lokb-blue);
  position: relative;
  max-width: 1160px;
  margin-inline: auto;
  padding: clamp(48px, 6vw, 92px) clamp(20px, 5vw, 74px) clamp(20px, 3vw, 44px);
  background: color-mix(in srgb, var(--calendar-accent) 13%, white);
  border: 1px solid rgba(17, 19, 21, 0.14);
  outline: none;
  transition: background 320ms ease;
  touch-action: pan-y;
}

.calendar-stage:focus-visible {
  box-shadow: inset 0 0 0 3px var(--calendar-accent);
}

.calendar-binding {
  position: absolute;
  z-index: 4;
  top: 22px;
  right: clamp(20px, 5vw, 74px);
  left: clamp(20px, 5vw, 74px);
  display: flex;
  justify-content: space-around;
  pointer-events: none;
}

.calendar-binding i {
  position: relative;
  width: clamp(7px, 0.72vw, 12px);
  height: clamp(30px, 3vw, 50px);
  border: 2px solid var(--lokb-ink);
  border-radius: 999px;
  background: #fff;
}

.calendar-binding i::after {
  position: absolute;
  right: 50%;
  bottom: -7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lokb-ink);
  content: "";
  transform: translateX(50%);
}

.calendar-stage__viewport {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: #fff;
  perspective: 1700px;
}

.calendar-sheet {
  position: absolute;
  inset: 0;
  display: none;
}

.calendar-sheet.is-active {
  display: grid;
}

.calendar-sheet__card {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 180ms cubic-bezier(.2, .75, .2, 1), opacity 180ms ease;
}

.calendar-stage[data-side="front"] .calendar-sheet__card,
.calendar-stage[data-side="back"] .calendar-sheet__card {
  transition-duration: 700ms;
}

.calendar-sheet__front,
.calendar-sheet__back {
  position: absolute;
  inset: 0;
  margin: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.calendar-sheet__back {
  transform: rotateY(180deg);
}

.calendar-sheet img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.calendar-stage[data-side="back"] .calendar-sheet__card {
  transform: rotateY(180deg);
}

.calendar-stage.is-turning .calendar-sheet__card {
  opacity: 0.15;
  transition-duration: 180ms;
}

.calendar-stage.is-turning[data-direction="next"] .calendar-sheet__card {
  transform: translateX(-3.5%);
}

.calendar-stage.is-turning[data-direction="previous"] .calendar-sheet__card {
  transform: translateX(3.5%);
}

.calendar-stage__caption {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(20px, 2.5vw, 34px) 0;
  border-bottom: 1px solid rgba(17, 19, 21, 0.2);
}

.calendar-stage__caption > div {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 18px;
}

.calendar-stage__caption span {
  flex: 0 0 auto;
  color: rgba(17, 19, 21, 0.52);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.calendar-stage__caption strong {
  overflow: hidden;
  font: 400 clamp(26px, 2.7vw, 46px)/1 var(--display);
  text-overflow: ellipsis;
}

.calendar-stage__caption button,
.calendar-stage__controls button {
  border: 1px solid rgba(17, 19, 21, 0.23);
  background: transparent;
  color: var(--lokb-ink);
  cursor: pointer;
}

.calendar-stage__caption button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.calendar-stage__caption button i {
  font-style: normal;
  font-size: 17px;
  transition: transform 500ms ease;
}

.calendar-stage__caption button span {
  color: inherit;
}

.calendar-stage[data-side="back"] .calendar-stage__caption button i {
  transform: rotate(180deg);
}

.calendar-stage__controls {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 10px;
  align-items: stretch;
  padding-top: 18px;
}

.calendar-stage__controls > button {
  min-height: 46px;
  font-size: 19px;
}

.calendar-stage__months {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(30px, 1fr));
}

.calendar-stage__months button {
  min-height: 46px;
  border-right: 0;
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}

.calendar-stage__months button:last-child {
  border-right: 1px solid rgba(17, 19, 21, 0.23);
}

.calendar-stage__controls button:hover,
.calendar-stage__controls button.is-active,
.calendar-stage__caption button:hover {
  background: var(--lokb-ink);
  color: #fff;
}

.calendar-stage__hint {
  margin: 12px 0 0;
  color: rgba(17, 19, 21, 0.46);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.illustrations {
  background: var(--lokb-paper);
}

.calendar-themes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: clamp(60px, 8vw, 128px);
  border-top: 1px solid var(--lokb-line);
  border-left: 1px solid var(--lokb-line);
}

.calendar-themes button {
  min-height: clamp(170px, 17vw, 270px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: clamp(18px, 2vw, 30px);
  border: 0;
  border-right: 1px solid rgba(17, 19, 21, 0.17);
  border-bottom: 1px solid rgba(17, 19, 21, 0.17);
  background: #fff;
  color: var(--lokb-ink);
  text-align: left;
  cursor: pointer;
  transition: filter 180ms ease, transform 180ms ease;
}

.calendar-themes button:nth-child(1),
.calendar-themes button:nth-child(8) { background: #bdebf7; }
.calendar-themes button:nth-child(2),
.calendar-themes button:nth-child(9) { background: #8ad8c8; }
.calendar-themes button:nth-child(3),
.calendar-themes button:nth-child(10) { background: #ffe36e; }
.calendar-themes button:nth-child(4),
.calendar-themes button:nth-child(11) { background: #f29aa3; }
.calendar-themes button:nth-child(5),
.calendar-themes button:nth-child(12) { background: #8dd6a1; }
.calendar-themes button:nth-child(6) { background: #c8c3f0; }
.calendar-themes button:nth-child(7) { background: #83bce5; }

.calendar-themes button:hover,
.calendar-themes button:focus-visible {
  z-index: 1;
  filter: saturate(1.1);
  transform: translateY(-3px);
}

.calendar-themes button span {
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.calendar-themes button strong {
  max-width: 250px;
  font: 400 clamp(25px, 2.4vw, 41px)/0.95 var(--display);
}

.illustrations__overview img,
.calendar-formats img,
.formats__system img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.formats {
  background: var(--lokb-paper-blue);
}

.calendar-formats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.calendar-formats figure,
.formats__system {
  margin: 0;
}

.formats__system {
  max-width: 1100px;
  margin: clamp(70px, 9vw, 145px) auto 0 !important;
}

.related--calendar .related__grid > a {
  background: #dceef4;
}

.related--calendar .related__grid > a img {
  width: 100%;
  max-width: none;
}

@media (max-width: 1199px) {
  .calendar-hero {
    grid-template-columns: minmax(400px, 45%) minmax(0, 55%);
  }

  .calendar-hero__copy {
    padding-inline: 36px;
  }

  .calendar-hero__months {
    left: 45%;
  }

  .coincidence__header h2,
  .calendar-experience__header h2,
  .illustrations__header h2,
  .formats__header h2 {
    grid-column: 3 / span 6;
  }

  .coincidence__header > p:last-child,
  .calendar-experience__header > p:last-child,
  .illustrations__header > p:last-child,
  .formats__header > p:last-child {
    grid-column: 9 / -1;
  }
}

@media (max-width: 959px) {
  .calendar-hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .calendar-hero__copy {
    min-height: 700px;
  }

  .calendar-hero__visual {
    min-height: 0;
    padding-block: 58px 76px;
  }

  .calendar-hero__visual img {
    max-height: none;
  }

  .calendar-hero__months {
    left: 0;
  }

  .coincidence__header,
  .calendar-experience__header,
  .illustrations__header,
  .formats__header {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .coincidence__header .eyebrow,
  .calendar-experience__header .eyebrow,
  .illustrations__header .eyebrow,
  .formats__header .eyebrow {
    grid-column: 1 / span 2;
  }

  .coincidence__header h2,
  .calendar-experience__header h2,
  .illustrations__header h2,
  .formats__header h2 {
    grid-column: 3 / -1;
  }

  .coincidence__header > p:last-child,
  .calendar-experience__header > p:last-child,
  .illustrations__header > p:last-child,
  .formats__header > p:last-child {
    grid-column: 3 / -1;
    margin-top: 22px;
  }

  .calendar-themes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .calendar-hero__copy {
    min-height: min(700px, calc(100svh - var(--header-h)));
    padding: 22px 18px 44px;
  }

  .calendar-hero__meta {
    font-size: 7px;
  }

  .calendar-hero__meta span,
  .calendar-hero__footer > div {
    display: none;
  }

  .calendar-hero__title {
    padding-block: 36px;
  }

  .calendar-hero h1 {
    font-size: clamp(58px, 18vw, 78px);
    line-height: 0.94;
  }

  .calendar-hero__title > p:last-child {
    font-size: 14px;
  }

  .calendar-hero__visual {
    padding: 38px 18px 58px;
  }

  .calendar-hero__visual figcaption {
    right: 18px;
    bottom: 28px;
    left: 18px;
  }

  .calendar-hero__months span {
    min-height: 16px;
    font-size: 6px;
  }

  .coincidence__header,
  .calendar-experience__header,
  .illustrations__header,
  .formats__header {
    display: block;
    margin-bottom: 52px;
  }

  .coincidence__header .eyebrow,
  .calendar-experience__header .eyebrow,
  .illustrations__header .eyebrow,
  .formats__header .eyebrow {
    margin-bottom: 26px;
    padding: 0;
  }

  .coincidence__header > p:last-child,
  .calendar-experience__header > p:last-child,
  .illustrations__header > p:last-child,
  .formats__header > p:last-child {
    margin-top: 22px;
    font-size: 14px;
  }

  .coincidence__equation {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .coincidence__equal {
    text-align: center;
  }

  .year-card {
    padding: 18px;
  }

  .year-card header strong {
    font-size: clamp(52px, 18vw, 72px);
  }

  .year-card__days span {
    font-size: 10px;
  }

  .calendar-stage {
    margin-inline: -18px;
    padding: 50px 12px 18px;
    border-right: 0;
    border-left: 0;
  }

  .calendar-binding {
    top: 18px;
    right: 12px;
    left: 12px;
  }

  .calendar-binding i {
    height: 29px;
    border-width: 1.5px;
  }

  .calendar-stage__caption {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .calendar-stage__caption > div {
    display: block;
  }

  .calendar-stage__caption strong {
    display: block;
    margin-top: 8px;
    overflow: visible;
    font-size: clamp(28px, 9vw, 42px);
    text-overflow: clip;
  }

  .calendar-stage__caption button {
    justify-content: space-between;
  }

  .calendar-stage__controls {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
  }

  .calendar-stage__months {
    overflow-x: auto;
    display: flex;
    scrollbar-width: none;
  }

  .calendar-stage__months::-webkit-scrollbar {
    display: none;
  }

  .calendar-stage__months button {
    min-width: 42px;
    flex: 0 0 42px;
  }

  .calendar-stage__hint {
    display: none;
  }

  .calendar-themes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calendar-themes button {
    min-height: 148px;
  }

  .calendar-themes button strong {
    font-size: clamp(24px, 7.5vw, 34px);
  }

  .calendar-formats {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 480px) {
  .calendar-themes button {
    min-height: 132px;
    padding: 14px;
  }

  .calendar-themes button strong {
    font-size: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .calendar-stage,
  .calendar-sheet__card,
  .calendar-stage__caption button i,
  .calendar-themes button {
    transition: none !important;
  }

  .calendar-stage[data-side="back"] .calendar-sheet__card {
    transform: none;
  }

  .calendar-stage[data-side="back"] .calendar-sheet__front {
    visibility: hidden;
  }

  .calendar-stage[data-side="back"] .calendar-sheet__back {
    transform: none;
  }
}
