:root {
  --paper: #f7fafb;
  --mist: #eef4f6;
  --fog: #dce7ea;
  --white: #ffffff;
  --ink: #0e242a;
  --ink-soft: rgba(14, 36, 42, 0.72);
  --ink-mute: rgba(14, 36, 42, 0.52);
  --teal: #0e6b7a;
  --teal-deep: #0a3d48;
  --teal-soft: rgba(14, 107, 122, 0.1);
  --steel: #5a7178;
  --line: rgba(14, 36, 42, 0.1);
  --line-strong: rgba(14, 36, 42, 0.2);
  --hero-veil: linear-gradient(
    105deg,
    rgba(8, 28, 34, 0.62) 0%,
    rgba(8, 28, 34, 0.28) 48%,
    rgba(8, 28, 34, 0.12) 100%
  );
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Montserrat", "Segoe UI", sans-serif;
  --font-ui: "Montserrat", "Segoe UI", sans-serif;
  --header-h: 5.1rem;
  --max: 72rem;
  --max-narrow: 40rem;
  --section-y: clamp(4.5rem, 11vh, 7.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--white);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  padding: 0.85rem clamp(1.25rem, 4vw, 3.25rem);
  transition:
    background 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    backdrop-filter 0.4s var(--ease);
}

.site-header.is-solid {
  background: rgba(247, 250, 251, 0.9);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.page-home .logo {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.4s var(--ease),
    visibility 0.4s var(--ease);
}

.page-home .site-header.is-logo-visible .logo,
.page-home .site-header:has(.site-nav.is-open) .logo {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.logo img {
  --logo-dim: 0.92;
  --logo-bright: 1;
  height: clamp(2.15rem, 4.2vw, 2.55rem);
  width: auto;
  max-width: min(12.5rem, 58vw);
  opacity: var(--logo-dim);
  transform-origin: left center;
  animation: logo-breathe 12s infinite;
}

.logo-on-dark {
  display: block;
}

.logo-on-light {
  display: none;
}

.site-header.is-solid .logo-on-dark {
  display: none;
}

.site-header.is-solid .logo-on-light {
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.95rem, 1.7vw, 1.55rem);
}

.site-header:has(.site-nav.is-open) .logo-on-dark {
  display: block;
}

.site-header:has(.site-nav.is-open) .logo-on-light {
  display: none;
}

.site-header:has(.site-nav.is-open) .nav-toggle span {
  background: var(--white);
}

.site-nav a {
  color: rgba(247, 250, 251, 0.82);
  font-size: 0.98rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--white);
}

.site-header.is-solid .site-nav a {
  color: var(--ink-soft);
}

.site-header.is-solid .site-nav a:hover,
.site-header.is-solid .site-nav a:focus-visible,
.site-header.is-solid .site-nav a.is-active {
  color: var(--ink);
}

.nav-socials {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.15rem;
  padding-left: 0.85rem;
  border-left: 1px solid rgba(247, 250, 251, 0.22);
}

.site-header.is-solid .nav-socials {
  border-left-color: var(--line);
}

.nav-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
}

.nav-social svg {
  display: block;
  width: 1.05rem;
  height: 1.05rem;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  z-index: 32;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 1.5px;
  margin: 0.32rem auto;
  background: var(--white);
  transition:
    transform 0.4s var(--ease),
    opacity 0.3s ease,
    background 0.3s ease;
}

.site-header.is-solid .nav-toggle span {
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  transform: scaleX(-1) scale(1.05);
  animation: drift 32s ease-in-out infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    var(--hero-veil),
    linear-gradient(to top, rgba(8, 28, 34, 0.45), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(40rem, 100%);
  padding: clamp(6rem, 14vh, 8.5rem) clamp(1.25rem, 4vw, 3.25rem) var(--section-y);
}

.brand {
  margin: 0 0 1.5rem;
}

.brand-logo {
  --logo-dim: 0.68;
  --logo-bright: 0.84;
  width: min(8.5rem, 32vw);
  height: auto;
  opacity: var(--logo-dim);
  filter: drop-shadow(0 4px 14px rgba(10, 18, 22, 0.14));
  transform-origin: center center;
  animation: logo-breathe 12s infinite;
  animation-delay: 1.15s;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 250, 251, 0.7);
}

.headline {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 6.4vw, 4.15rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.headline-accent {
  color: #f4bd24;
}

.lede {
  margin: 0 0 2rem;
  max-width: 32rem;
  color: rgba(247, 250, 251, 0.82);
  font-size: clamp(1.02rem, 1.7vw, 1.16rem);
  font-weight: 300;
}

.hero-breath {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  z-index: 2;
  width: 1px;
  height: 2.6rem;
  background: linear-gradient(to bottom, transparent, rgba(247, 250, 251, 0.7));
  transform: translateX(-50%);
  animation: breathe 4.8s ease-in-out infinite;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.05rem;
  padding: 0.7rem 1.45rem;
  border: 1px solid rgba(247, 250, 251, 0.42);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  background: transparent;
  transition:
    background 0.35s var(--ease),
    border-color 0.35s var(--ease),
    transform 0.35s var(--ease),
    color 0.35s var(--ease);
}

.cta:hover,
.cta:focus-visible {
  background: rgba(247, 250, 251, 0.12);
  border-color: rgba(247, 250, 251, 0.85);
  transform: translateY(-1px);
}

.cta-dark {
  color: var(--ink);
  border-color: var(--line-strong);
}

.cta-dark:hover,
.cta-dark:focus-visible {
  background: rgba(14, 36, 42, 0.05);
  border-color: var(--ink);
}

.cta-fill {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

.cta-fill:hover,
.cta-fill:focus-visible {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
}

.section {
  padding: var(--section-y) clamp(1.25rem, 4vw, 3.25rem);
}

.section-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.section-kicker {
  margin: 0 0 0.7rem;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-title {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.6vw, 3.35rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 0 0 2.4rem;
  max-width: 38rem;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.18rem);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  padding: 0;
  background: var(--paper);
  scroll-margin-top: var(--header-h);
}

.intro-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: var(--section-y) clamp(2.5rem, 7vw, 5rem);
}

.section-subtitle {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.intro-about {
  position: relative;
  justify-content: flex-start;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
}

.intro-about-copy {
  position: sticky;
  top: var(--header-h);
  align-self: flex-start;
  width: 100%;
  flex: 0 0 auto;
  padding: var(--section-y) clamp(0.7rem, 1.15vw, 0.95rem) var(--section-y) clamp(2.5rem, 7vw, 5rem);
}

.intro-about-copy::after {
  content: "";
  display: block;
  clear: both;
}

.intro-about-text {
  min-width: 0;
}

.intro-about-text .section-title {
  margin-bottom: 0.4rem;
}

.intro-about-text .section-subtitle {
  margin-bottom: 1.15rem;
}

.intro-about .section-subtitle {
  color: var(--teal);
}

.intro-about-portrait {
  --titles: calc(
    1.08 * clamp(2.15rem, 4.6vw, 3.35rem) + 0.4rem +
    1.3 * clamp(1.15rem, 2vw, 1.5rem)
  );
  float: right;
  width: clamp(8.5rem, 26vw, 13.25rem);
  height: clamp(8.5rem, 26vw, 13.25rem);
  margin: max(
      calc((var(--titles) - clamp(8.5rem, 26vw, 13.25rem)) / 2),
      calc(0.55rem - var(--section-y))
    )
    0 0.35rem 0.35rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  shape-outside: circle(50%);
  shape-margin: 1.05rem;
  box-shadow: 0 12px 30px rgba(14, 36, 42, 0.16);
}

.intro-about p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  max-width: 32rem;
}

.intro-about .cta {
  margin-top: 0.85rem;
  margin-bottom: 0;
  align-self: flex-start;
}

.intro-you {
  --art-size: 19rem;
  position: relative;
  color: var(--white);
  background:
    radial-gradient(ellipse at 80% 0%, rgba(14, 107, 122, 0.22), transparent 55%),
    #0e242a;
}

.intro-you-art {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 0;
  width: min(44vw, var(--art-size));
  height: auto;
  pointer-events: none;
  user-select: none;
}

.intro-you .section-title,
.intro-you .section-subtitle,
.intro-you .check-list,
.intro-you .closing {
  position: relative;
  z-index: 1;
}

.intro-you .section-title,
.intro-you .section-subtitle {
  max-width: calc(100% - min(44vw, var(--art-size)) + clamp(2.5rem, 7vw, 5rem) - 1.15rem);
}

.intro-you .section-title {
  color: var(--white);
}

.intro-you .title-mark {
  color: #f4bd24;
  margin-left: 0.08em;
}

.intro-you .section-subtitle {
  color: #9ec4cc;
}

.intro-you p {
  margin: 0 0 1rem;
  color: rgba(247, 250, 251, 0.78);
  max-width: 32rem;
}

.check-list {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
}

.check-list li {
  position: relative;
  margin: 0;
  padding: 0.42rem 0 0.42rem 1.35rem;
  color: rgba(247, 250, 251, 0.78);
  font-size: 0.98rem;
  border-bottom: 1px solid rgba(247, 250, 251, 0.08);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 0.45rem;
  height: 1px;
  background: rgba(247, 250, 251, 0.45);
}

.intro-you .closing {
  margin: 0;
  max-width: 28rem;
  color: rgba(247, 250, 251, 0.9);
  font-size: 1.02rem;
}

.section-work {
  background:
    radial-gradient(ellipse at 8% 0%, rgba(14, 107, 122, 0.08), transparent 46%),
    linear-gradient(180deg, #f3f7f8 0%, var(--paper) 100%);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.05rem 1.25rem 1.4rem;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  transition:
    transform 0.4s var(--ease),
    border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(14, 107, 122, 0.28);
  box-shadow: 0 18px 40px rgba(14, 36, 42, 0.06);
}

.card-art {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 0.55rem;
}

.card-art img {
  width: 88%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
}

/* Optyczne wyrównanie — środki ciężkości rysunków nie leżą w środku plików. */
.card:nth-child(1) .card-art img {
  transform: translate(-6.5%, -4%);
}

.card:nth-child(2) .card-art img {
  transform: translate(4.9%, -6%);
}

.card:nth-child(3) .card-art img {
  transform: translate(-6.6%, 7%);
}

.card:nth-child(4) .card-art img {
  transform: translate(-2%, 1%);
}

.card h3 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.02em;
  min-height: calc(1.18em * 2);
}

.card p {
  margin: 0 0 1.35rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  flex: 1;
}

.card-link {
  color: var(--teal);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.card-link::after {
  content: " →";
}

.section-forma {
  background: var(--ink);
  color: var(--white);
}

.section-forma .section-kicker {
  color: rgba(180, 214, 220, 0.9);
}

.section-forma .section-lead {
  color: rgba(247, 250, 251, 0.72);
}

.forma-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.85rem;
}

.forma-tile {
  --focal-x: 50%;
  --focal-y: 24%;
  position: relative;
  grid-column: span 2;
  min-height: 24.5rem;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.forma-tile:nth-child(4),
.forma-tile:nth-child(5) {
  grid-column: span 3;
  min-height: 24.5rem;
}

.forma-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focal-x) var(--focal-y);
  transform-origin: var(--focal-x) var(--focal-y);
  transition: transform 0.8s var(--ease);
}

.forma-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(8, 28, 34, 0.2) 0%,
    transparent 48%
  );
}

.forma-tile:hover img {
  transform: scale(1.06);
}

.forma-tile-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3.8rem 1.35rem 1.15rem;
  background: linear-gradient(
    to top,
    rgba(8, 28, 34, 0.94) 0%,
    rgba(8, 28, 34, 0.8) 36%,
    rgba(8, 28, 34, 0.42) 68%,
    rgba(8, 28, 34, 0.12) 88%,
    transparent 100%
  );
}

.forma-tile h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1.05;
}

.forma-tile p {
  margin: 0.12rem 0 0;
  min-height: 2.7em;
  color: rgba(247, 250, 251, 0.9);
  font-size: 0.95rem;
  line-height: 1.35;
  max-width: 28rem;
}

.disclaimer {
  margin: 1.6rem 0 0;
  max-width: 42rem;
  color: rgba(247, 250, 251, 0.55);
  font-size: 0.82rem;
  line-height: 1.5;
}

.section-stories {
  background: linear-gradient(180deg, #f3f7f8 0%, var(--paper) 100%);
}

.section-stories .section-lead {
  margin-bottom: 1.15rem;
}

.story-slider-bar {
  display: flex;
  justify-content: flex-end;
  gap: 0.45rem;
  margin: 0 0 0.75rem;
}

.story-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.story-nav svg {
  width: 1.15rem;
  height: 1.15rem;
}

.story-nav:hover:not(:disabled),
.story-nav:focus-visible:not(:disabled) {
  border-color: var(--teal);
  color: var(--teal);
}

.story-nav:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.story-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.story-track {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0.15rem;
  padding: 0.15rem 0.15rem 1.35rem;
  margin-bottom: -1.35rem;
  scrollbar-width: none;
}

.story-track::-webkit-scrollbar {
  display: none;
}

.story-track:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
}

.story-card {
  display: flex;
  flex: 0 0 calc((100% - 2rem) / 3);
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  scroll-snap-align: start;
  padding: 0;
  color: inherit;
  text-decoration: none;
  background: transparent;
  border: none;
}

a.story-card:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
}

.story-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--fog);
}

.story-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  transition: transform 0.8s var(--ease);
}

.story-card:hover .story-card-media img {
  transform: scale(1.05);
}

.story-card blockquote {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
  margin: -2.15rem 0.55rem 0;
  padding: 1.15rem 0.95rem 1.05rem;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(14, 36, 42, 0.06);
}

.story-card blockquote p {
  margin: 0;
  color: var(--ink);
  font-size: 0.98rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  hanging-punctuation: none;
}

.story-card footer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.story-card cite {
  color: var(--ink);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.story-card footer span {
  color: var(--ink-mute);
  font-size: 0.8rem;
  line-height: 1.35;
}

.story-card footer .story-more {
  margin-top: 0.55rem;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

a.story-card:hover .story-more,
a.story-card:focus-visible .story-more {
  color: var(--teal-deep);
}

.section-portfolio {
  background: var(--paper);
}

.section-portfolio .section-title {
  margin-bottom: 1.85rem;
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.45rem 0.7rem;
  align-items: start;
}

.mosaic-item {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-width: 0;
  color: var(--ink);
}

.mosaic-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--fog);
}

.mosaic-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, center);
  transition: transform 0.7s var(--ease);
}

.mosaic-item:hover img {
  transform: scale(1.045);
}

a.mosaic-item:hover h3,
a.mosaic-item:focus-visible h3 {
  color: var(--teal);
}

a.mosaic-item:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
}

.mosaic-item h3 {
  margin: 0;
  padding: 0.72rem 0.05rem 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.25;
}

.section-events {
  background:
    radial-gradient(ellipse at 90% 10%, rgba(14, 107, 122, 0.08), transparent 48%),
    #eaf1f3;
}

.section-events .section-inner {
  container-type: inline-size;
}

.section-events .section-title {
  white-space: nowrap;
  font-size: clamp(1.05rem, 5.15cqi, 3.35rem);
}

.event-timeline.is-pending .event-track {
  opacity: 0;
}

.event-cues {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 2.6rem;
  margin: -0.4rem 0 0.15rem;
}

.event-cues:not(:has(.event-jump:not([hidden]))) {
  display: none;
}

.event-jump {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0.35rem 0;
  color: var(--teal);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
}

.event-jump:hover,
.event-jump:focus-visible {
  color: var(--teal-deep);
}

.event-jump:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.event-jump-next {
  margin-left: auto;
}

.event-scroller {
  position: relative;
}

.event-fade {
  position: absolute;
  top: 0;
  bottom: 0.95rem;
  z-index: 2;
  width: 4.75rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}

.event-fade-left {
  left: 0;
  background: linear-gradient(90deg, #eaf1f3 0 38%, rgba(234, 241, 243, 0));
}

.event-fade-right {
  right: 0;
  background: linear-gradient(270deg, #eaf1f3 0 38%, rgba(234, 241, 243, 0));
}

.event-timeline.is-cut-left .event-fade-left,
.event-timeline.is-cut-right .event-fade-right {
  opacity: 1;
}

.event-track {
  display: flex;
  align-items: stretch;
  gap: 0.9rem;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
  scroll-snap-type: x proximity;
  padding: 0.7rem 0.1rem 1.5rem;
  margin-bottom: -1.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(14, 107, 122, 0.45) transparent;
}

.event-track:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
}

.event-track::-webkit-scrollbar {
  height: 6px;
}

.event-track::-webkit-scrollbar-thumb {
  background: rgba(14, 107, 122, 0.4);
  border-radius: 99px;
}

.event-slide {
  flex: 0 0 min(22rem, 82vw);
  scroll-snap-align: start;
  display: flex;
  min-width: 0;
}

.event-rule {
  flex: 0 0 1px;
  align-self: stretch;
  margin: 0.35rem 0.15rem 1.15rem;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(14, 107, 122, 0.55) 16%,
    rgba(14, 107, 122, 0.55) 84%,
    transparent
  );
}

.event-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 100%;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(14, 36, 42, 0.07);
}

.event-card img,
.event-card-poster {
  width: 100%;
  height: 14.5rem;
  object-fit: cover;
}

.event-card-poster {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.35rem;
  padding: 1.35rem 1.3rem 1.25rem;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(255, 255, 255, 0.16), transparent 46%),
    linear-gradient(165deg, #128093 0%, #0a3d48 100%);
  color: var(--paper);
}

.event-card-poster-march {
  background:
    radial-gradient(ellipse at 0% 100%, rgba(255, 255, 255, 0.14), transparent 42%),
    linear-gradient(165deg, #0e242a 0%, #0e6b7a 100%);
}

.event-card .event-card-poster p {
  margin: 0;
  flex: 0;
  color: rgba(247, 250, 251, 0.72);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.event-card-poster strong {
  font-family: var(--font-display);
  font-size: 3.35rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.event-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.3rem 1.25rem 1.35rem;
}

.event-when {
  align-self: flex-start;
  margin: 0 0 0.55rem;
  padding: 0.16rem 0.42rem 0.12rem;
  border: 1px solid var(--line-strong);
  color: var(--steel);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.3;
}

.event-when:empty {
  display: none;
}

.event-slide.is-future .event-when {
  border-color: rgba(14, 107, 122, 0.35);
  color: var(--teal);
}

.event-date {
  margin: 0 0 0.45rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.15;
}

.event-card-body > p:not(.event-date):not(.event-when) {
  margin: 0 0 1.15rem;
  color: var(--ink-soft);
  font-size: 0.96rem;
  flex: 1;
}

.section-contact {
  background:
    radial-gradient(ellipse at 10% 0%, rgba(14, 107, 122, 0.1), transparent 42%),
    linear-gradient(180deg, var(--paper) 0%, #e7eef1 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 1.15rem;
  margin: 1.5rem 0 0;
}

.contact-details a {
  display: block;
}

.contact-details span {
  display: block;
  color: var(--steel);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.contact-details strong {
  font-weight: 400;
  font-size: 1.12rem;
}

.socials {
  display: flex;
  gap: 1.1rem;
  margin-top: 0.35rem;
}

.socials a {
  color: var(--teal);
  border-bottom: 1px solid transparent;
}

.socials a:hover {
  border-bottom-color: var(--teal);
}

.contact-form {
  display: grid;
  gap: 0.85rem;
  padding: 1.6rem 1.5rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--steel);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  background: #fbfcfd;
  color: var(--ink);
  outline: none;
  resize: vertical;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
}

.contact-form textarea {
  min-height: 8.5rem;
}

.form-status {
  min-height: 1.3rem;
  margin: 0;
  color: var(--teal);
  font-size: 0.88rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: baseline;
  gap: 1rem 1.5rem;
  padding: 1.35rem clamp(1.25rem, 4vw, 3.25rem) 1.7rem;
  color: var(--steel);
  font-size: 0.86rem;
  background: #e7eef1;
}

.site-footer p {
  margin: 0;
}

.site-footer p:first-child {
  justify-self: start;
}

.site-credit {
  justify-self: center;
  letter-spacing: 0.01em;
}

.site-footer p:last-child {
  justify-self: end;
  text-align: right;
}

.site-credit a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(90, 113, 120, 0.38);
}

.site-credit a:hover,
.site-credit a:focus-visible {
  color: var(--teal);
  text-decoration-color: var(--teal);
}

.page-main {
  padding-top: var(--header-h);
}

.page-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: min(72vh, 40rem);
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(ellipse at 80% 0%, rgba(14, 107, 122, 0.22), transparent 55%),
    #0e242a;
}

.page-hero-media {
  position: relative;
  min-height: min(52vh, 28rem);
  overflow: hidden;
}

.page-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.page-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 7vw, 5rem);
}

.page-hero .eyebrow {
  color: #9ec4cc;
}

.page-hero .headline {
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  max-width: 16ch;
}

.page-hero .lede {
  margin-bottom: 0;
  max-width: 28rem;
}

.page-hero .page-cta {
  margin-top: 1.85rem;
}

.page-hero .story-quote {
  margin: 0;
  max-width: 28rem;
  color: rgba(247, 250, 251, 0.88);
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
}

.page-hero .story-role {
  margin: 1rem 0 0;
  max-width: 26rem;
  color: rgba(247, 250, 251, 0.62);
  font-size: 0.92rem;
  line-height: 1.45;
}

.prose {
  width: min(42rem, 100%);
  margin: 0 auto;
}

.prose h2 {
  margin: 2.4rem 0 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 500;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose p + p {
  margin-top: 1rem;
}

.prose ul {
  padding-left: 1.15rem;
}

.prose li + li {
  margin-top: 0.35rem;
}

.prose a {
  color: var(--teal);
  border-bottom: 1px solid rgba(14, 107, 122, 0.3);
}

.split-page {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  width: min(var(--max), 100%);
  margin: 0 auto;
  align-items: start;
}

.split-page img {
  width: 100%;
  height: min(38rem, 78vh);
  object-fit: cover;
}

.meta-box {
  margin-top: 2rem;
  padding: 1.3rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.meta-box p {
  margin: 0 0 0.65rem;
  color: var(--ink-soft);
}

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

.page-cta {
  margin-top: 2.4rem;
}

.section-gallery {
  background: var(--mist);
}

.section-gallery + .section {
  padding-top: clamp(2.4rem, 6vh, 4rem);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery-item {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--white);
  border: 1px solid var(--line);
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.045);
}

.gallery-item:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4.75rem 4.75rem 5.25rem;
  background: rgba(8, 28, 34, 0.94);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.35s var(--ease),
    visibility 0.35s var(--ease);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  margin: 0;
  max-width: min(72rem, 100%);
  max-height: 100%;
}

.lightbox-image {
  max-width: 100%;
  max-height: min(78vh, 52rem);
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.lightbox-caption {
  margin: 0;
  color: rgba(247, 250, 251, 0.82);
  font-size: 0.92rem;
  text-align: center;
}

.lightbox-counter {
  position: absolute;
  left: 50%;
  bottom: 1.35rem;
  margin: 0;
  color: rgba(247, 250, 251, 0.55);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  transform: translateX(-50%);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  padding: 0;
  border: 1px solid rgba(247, 250, 251, 0.28);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transition:
    background 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.lightbox-close:hover,
.lightbox-close:focus-visible,
.lightbox-prev:hover,
.lightbox-prev:focus-visible,
.lightbox-next:hover,
.lightbox-next:focus-visible {
  background: rgba(247, 250, 251, 0.1);
  border-color: rgba(247, 250, 251, 0.7);
}

.lightbox-close svg,
.lightbox-prev svg,
.lightbox-next svg {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
}

.lightbox-close {
  top: 1.2rem;
  right: 1.2rem;
}

.lightbox-prev {
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
}

body.is-lightbox-open {
  overflow: hidden;
}

.reveal {
  opacity: 0;
  transform: translateY(1rem);
  animation: rise 1.05s var(--ease) forwards;
}

.delay-1 {
  animation-delay: 0.16s;
}

.delay-2 {
  animation-delay: 0.32s;
}

.delay-3 {
  animation-delay: 0.48s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes drift {
  from {
    transform: scaleX(-1) scale(1.05);
  }
  to {
    transform: scaleX(-1) scale(1.12) translate3d(1.2%, -0.6%, 0);
  }
}

@keyframes breathe {
  0%,
  100% {
    opacity: 0.25;
    transform: translateX(-50%) scaleY(0.7);
  }
  50% {
    opacity: 0.9;
    transform: translateX(-50%) scaleY(1);
  }
}

@keyframes logo-breathe {
  0% {
    opacity: var(--logo-dim);
    transform: scale(1);
    animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
  }
  33% {
    opacity: var(--logo-bright);
    transform: scale(1.02);
    animation-timing-function: linear;
  }
  40% {
    opacity: var(--logo-bright);
    transform: scale(1.02);
    animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
  }
  90%,
  100% {
    opacity: var(--logo-dim);
    transform: scale(1);
  }
}

@media (max-width: 1100px) {
  .card-grid,
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .forma-tile,
  .forma-tile:nth-child(4),
  .forma-tile:nth-child(5) {
    grid-column: span 1;
    min-height: 22.5rem;
  }

  .site-nav {
    gap: 0.8rem;
  }

  .nav-socials {
    padding-left: 0.55rem;
  }
}

@media (max-width: 860px) {
  .intro-grid,
  .contact-grid,
  .split-page,
  .page-hero {
    grid-template-columns: 1fr;
  }

  .intro-about-copy {
    position: static;
  }

  .intro-you {
    --art-size: 13.5rem;
  }

  .page-hero-media {
    min-height: min(42vh, 22rem);
  }

  .page-hero-copy {
    padding: clamp(2rem, 6vw, 3.25rem) clamp(1.25rem, 5vw, 2.5rem);
  }

  .card-grid,
  .forma-grid {
    grid-template-columns: 1fr;
  }

  .story-card {
    flex-basis: calc((100% - 1rem) / 2);
  }

  .forma-tile,
  .forma-tile:nth-child(4),
  .forma-tile:nth-child(5) {
    min-height: 22rem;
  }

  .card h3 {
    min-height: 0;
  }

  .mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem 0.55rem;
  }

  .mosaic-item h3 {
    font-size: 0.98rem;
  }

  .split-page img {
    height: 22rem;
  }

  .lightbox {
    padding: 4.25rem 1rem 4.5rem;
  }

  .lightbox-image {
    max-height: min(68vh, 36rem);
  }

  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: 1.05rem;
    transform: none;
  }

  .lightbox-prev {
    left: 1rem;
  }

  .lightbox-next {
    right: 1rem;
  }
}

@media (max-width: 760px) {
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-credit,
  .site-footer p:last-child {
    justify-self: start;
    text-align: left;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 31;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    padding: 5.5rem 1.5rem 2rem;
    background: #0e242a;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
  }

  .site-nav a:not(.nav-social),
  .site-header.is-solid .site-nav a:not(.nav-social) {
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.7rem;
  }

  .nav-socials {
    margin: 1.5rem 0 0;
    padding-left: 0;
    border-left: 0;
    gap: 0.85rem;
  }

  .nav-social,
  .site-header.is-solid .nav-social {
    width: 2.7rem;
    height: 2.7rem;
    color: var(--white);
  }

  .nav-social svg {
    width: 1.4rem;
    height: 1.4rem;
  }

  .nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(5px) rotate(40deg);
  }

  .nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-5px) rotate(-40deg);
  }

  .logo {
    z-index: 32;
  }

  .page-home .logo {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .story-card {
    flex-basis: min(22rem, 84%);
  }

  .story-card-media {
    aspect-ratio: 4 / 5;
  }

  .story-card blockquote {
    margin-left: 0.85rem;
    margin-right: 0.85rem;
  }

  .brand-logo {
    --logo-dim: 0.64;
    --logo-bright: 0.8;
    width: min(7.25rem, 34vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .hero-image,
  .hero-breath,
  .brand-logo,
  .logo img,
  .page-home .logo,
  .forma-tile img,
  .mosaic-item img,
  .gallery-item img,
  .story-card-media img {
    animation: none;
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-image {
    transform: scaleX(-1);
  }

  .brand-logo,
  .logo img,
  .forma-tile img,
  .mosaic-item img,
  .mosaic-item:hover img,
  .story-card-media img {
    transform: none;
  }

  .brand-logo,
  .logo img {
    opacity: var(--logo-dim, 0.68);
  }
}
