:root {
  --ink: #f6f7f9;
  --muted: #a9afb9;
  --bg: #07090d;
  --panel: rgba(15, 18, 25, 0.56);
  --line: rgba(255, 255, 255, 0.15);
  --accent: #a8d9ff;
  --serif: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --radius: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
}
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 75% 0%, #17202d 0, transparent 34rem), var(--bg);
  overflow-x: hidden;
}
body.menu-open {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  color: inherit;
}
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}
.glass {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(24px) saturate(125%);
  -webkit-backdrop-filter: blur(24px) saturate(125%);
}
.topbar {
  position: fixed;
  z-index: 40;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 32px));
  height: 74px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 0 22px;
  transition:
    transform 0.6s var(--ease),
    background 0.4s;
}
.topbar.hidden {
  transform: translate(-50%, -130%);
}
.brand {
  display: inline-grid;
  line-height: 0.76;
  font-weight: 600;
  letter-spacing: -0.06em;
  font-size: 1.38rem;
}
.brand span:last-child {
  padding-left: 1.45rem;
}
nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
nav a {
  font-size: 0.92rem;
  padding: 13px 18px;
  border-radius: 14px;
  color: #d8dbe1;
  transition:
    background 0.3s,
    color 0.3s,
    transform 0.3s;
}
nav a:hover,
nav a.active {
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
  transform: translateY(-1px);
}
nav .nav-instagram {
  color: var(--accent);
}
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 1px;
  background: #fff;
  transition: 0.3s;
}
.menu-toggle span:first-child {
  top: 17px;
}
.menu-toggle span:last-child {
  top: 25px;
}
main {
  min-height: 100vh;
}
html.site-loading {
  overflow: hidden;
}
.site-loader {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #fbfcff 0%, #f1f5fc 54%, #faf7ff 100%);
  color: #17212d;
  transition:
    opacity 0.65s 0.32s ease,
    visibility 0.65s 0.32s,
    clip-path 1s cubic-bezier(0.76, 0, 0.24, 1);
  clip-path: inset(0 0 0 0);
}
.site-loader:before,
.site-loader:after {
  content: '';
  position: absolute;
  width: 46vw;
  height: 46vw;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: loaderAura 2.8s ease-in-out infinite alternate;
}
.site-loader:before {
  left: -18vw;
  top: -20vw;
  background: radial-gradient(circle, #c4e4ff, transparent 68%);
}
.site-loader:after {
  right: -16vw;
  bottom: -23vw;
  background: radial-gradient(circle, #e3c8ff, transparent 68%);
  animation-delay: -1.4s;
}
.loader-frame {
  position: relative;
  z-index: 2;
  width: min(520px, calc(100% - 48px));
  transition:
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.5s;
}
.loader-mark {
  display: grid;
  width: max-content;
  margin: auto;
  font: 800 clamp(4.7rem, 11vw, 8rem)/0.63 var(--sans);
  letter-spacing: -0.095em;
}
.loader-mark span {
  display: block;
  clip-path: inset(0 100% 0 0);
  animation: loaderWord 0.7s 0.06s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.loader-mark span:last-child {
  padding-left: 0.72em;
  animation-delay: 0.17s;
}
.loader-track {
  position: relative;
  height: 2px;
  margin: 42px 0 17px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(33, 47, 65, 0.11);
}
.loader-track i {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #6f88f7, #b274e6, #ff9d78);
  transform: scaleX(0);
  transform-origin: left;
  animation: loaderProgress 0.82s 0.08s cubic-bezier(0.65, 0, 0.15, 1) forwards;
}
.loader-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #727d89;
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.16em;
}
.loader-meta p {
  margin: 0;
}
.loader-meta span {
  white-space: nowrap;
}
.loader-orbit {
  position: absolute;
  z-index: 1;
  width: min(64vw, 670px);
  aspect-ratio: 1;
  border: 1px solid rgba(78, 103, 188, 0.09);
  border-radius: 50%;
  animation: loaderOrbit 8s linear infinite;
}
.loader-orbit:before,
.loader-orbit:after {
  content: '';
  position: absolute;
  border: 1px solid rgba(78, 103, 188, 0.08);
  border-radius: 50%;
}
.loader-orbit:before {
  inset: 12%;
}
.loader-orbit:after {
  inset: 25%;
}
.loader-orbit i {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #7188f5;
  box-shadow: 0 0 0 9px rgba(113, 136, 245, 0.08);
}
.loader-orbit i:first-child {
  left: 6.5%;
  top: 24%;
}
.loader-orbit i:nth-child(2) {
  right: 9%;
  bottom: 20%;
  width: 7px;
  height: 7px;
  background: #b678e5;
}
.loader-orbit i:nth-child(3) {
  left: 48%;
  bottom: -4px;
  width: 5px;
  height: 5px;
  background: #ff9d78;
}
.loader-index {
  position: absolute;
  z-index: 2;
  left: 28px;
  right: 28px;
  bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #7c8794;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}
.loader-index i {
  height: 1px;
  flex: 1;
  background: rgba(40, 55, 75, 0.11);
}
.site-loader.is-complete {
  opacity: 0;
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
}
.site-loader.is-complete .loader-frame {
  transform: translateY(-24px) scale(0.98);
  opacity: 0;
}
.site-loader.is-complete .loader-orbit {
  transform: scale(1.12);
  opacity: 0;
  transition: 1s cubic-bezier(0.22, 1, 0.36, 1);
}
html.site-loading .topbar,
html.site-loading #app,
html.site-loading .footer {
  opacity: 0;
  transform: translateY(12px);
}
.topbar,
#app,
.footer {
  transition:
    opacity 0.8s 0.24s ease,
    transform 0.9s 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}
html.site-ready .topbar,
html.site-ready #app,
html.site-ready .footer {
  opacity: 1;
  transform: none;
}
@keyframes loaderWord {
  to {
    clip-path: inset(0 0 0 0);
  }
}
@keyframes loaderProgress {
  to {
    transform: scaleX(1);
  }
}
@keyframes loaderOrbit {
  to {
    transform: rotate(360deg);
  }
}
@keyframes loaderAura {
  to {
    transform: translate3d(5vw, 3vh, 0) scale(1.12);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.hero {
  height: 100svh;
  min-height: 680px;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.04);
  animation: heroZoom 12s var(--ease) both;
}
.hero-media:after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 7, 11, 0.08) 30%, rgba(4, 7, 11, 0.88) 100%),
    linear-gradient(90deg, rgba(4, 7, 11, 0.28), transparent 60%);
}
@keyframes heroZoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
}
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #cbd1d9;
  margin: 0 0 16px;
}
.hero h1,
.page-head h1,
.about-copy h1,
.contact-copy h1 {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.065em;
  line-height: 0.88;
  margin: 0;
  font-size: clamp(4.6rem, 12vw, 10.5rem);
}
.hero h1 span {
  display: block;
}
.hero-meta {
  max-width: 300px;
  margin-bottom: 9px;
}
.hero-meta p {
  font-size: 1.03rem;
  line-height: 1.5;
  color: #e5e8ed;
}
.scroll-cue {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d2d6dc;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.scroll-cue i {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
  animation: float 1.8s ease-in-out infinite;
}
@keyframes float {
  50% {
    transform: translateY(5px);
  }
}
.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 140px 0;
}
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 32px;
}
.section-label:before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--accent);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 10vw;
}
.intro-grid h2 {
  font: 300 clamp(2.7rem, 5.4vw, 5.8rem)/0.98 var(--serif);
  letter-spacing: -0.06em;
  margin: 0;
}
.intro-grid p {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 540px;
  margin: 0;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  padding: 8px 9px 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.5));
  box-shadow:
    0 12px 32px rgba(47, 62, 86, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  font-size: 0.94rem;
  font-weight: 600;
  transition:
    transform 0.4s var(--ease),
    background 0.3s,
    border-color 0.3s,
    box-shadow 0.4s;
}
.text-link span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #7187f4, #9a73df);
  color: #fff;
  box-shadow: 0 8px 18px rgba(102, 124, 240, 0.25);
  transition: transform 0.45s var(--ease);
}
.text-link:hover {
  gap: 14px;
  transform: translateY(-3px);
  border-color: #fff;
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 18px 42px rgba(47, 62, 86, 0.15),
    inset 0 1px 0 #fff;
}
.text-link:hover span {
  transform: translateX(3px) rotate(-35deg);
}
.category-stack {
  display: grid;
  gap: 20px;
}
.category-card {
  height: min(68vh, 700px);
  min-height: 480px;
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  isolation: isolate;
}
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 1.2s var(--ease),
    filter 0.8s;
  filter: saturate(0.76);
}
.category-card:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(3, 5, 8, 0.85));
  z-index: 1;
}
.category-card:hover img {
  transform: scale(1.045);
  filter: saturate(1);
}
.category-info {
  position: absolute;
  inset: auto 28px 28px;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}
.category-info h3 {
  font: 300 clamp(2.4rem, 5vw, 5.5rem)/0.9 var(--serif);
  letter-spacing: -0.06em;
  margin: 0;
}
.category-info p {
  margin: 0;
  color: #d1d5dc;
}
.round-arrow {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  background: rgba(9, 12, 17, 0.25);
  backdrop-filter: blur(10px);
  transition:
    transform 0.4s,
    background 0.4s;
}
.category-card:hover .round-arrow {
  transform: rotate(-35deg);
  background: rgba(255, 255, 255, 0.15);
}
.page-head {
  padding: 190px 20px 70px;
  width: min(1180px, 100%);
  margin: auto;
}
.page-head-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
}
.page-head p {
  max-width: 450px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 12px;
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 42px;
}
.filter {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  padding: 11px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.3s;
}
.filter:hover,
.filter.active {
  background: #f4f6f8;
  color: #090b0f;
  border-color: #fff;
}
.gallery-grid {
  width: min(1500px, calc(100% - 24px));
  margin: 0 auto 140px;
  columns: 3 340px;
  column-gap: 12px;
}
.gallery-item {
  display: block;
  width: 100%;
  margin: 0 0 12px;
  break-inside: avoid;
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: 18px;
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
}
.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  transition:
    transform 0.8s var(--ease),
    filter 0.6s;
  filter: saturate(0.82);
}
.gallery-item:hover img {
  transform: none;
  filter: saturate(1);
}
.gallery-item:after {
  content: 'Otwórz';
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(7, 9, 13, 0.55);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(6px);
  transition: 0.3s;
  font-size: 0.74rem;
}
.gallery-item:hover:after {
  opacity: 1;
  transform: none;
}
.about {
  padding: 160px 20px 100px;
  width: min(1180px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 8vw;
  align-items: start;
}
.about-photo {
  position: sticky;
  top: 120px;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.about-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  filter: saturate(0.8);
}
.about-copy {
  padding-top: 40px;
}
.about-copy h1 {
  font-size: clamp(4rem, 8vw, 8rem);
  margin-bottom: 48px;
}
.about-copy .lead {
  font: 300 clamp(1.7rem, 3vw, 2.7rem)/1.25 var(--serif);
  letter-spacing: -0.035em;
  color: #edf0f4;
}
.about-copy p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.04rem;
}
.awards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 48px;
}
.award {
  padding: 24px;
  border-radius: 20px;
}
.award strong {
  display: block;
  margin-bottom: 8px;
}
.award span {
  color: var(--muted);
  font-size: 0.88rem;
}
.contact {
  min-height: 100svh;
  padding: 170px 20px 100px;
  width: min(1180px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 9vw;
  align-items: center;
}
.contact-copy h1 {
  font-size: clamp(4rem, 8vw, 8.5rem);
  margin-bottom: 36px;
}
.contact-copy > p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 520px;
}
.contact-links {
  display: grid;
  gap: 10px;
  margin-top: 40px;
}
.contact-links a {
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  transition:
    padding 0.3s,
    color 0.3s;
}
.contact-links a:hover {
  padding-left: 10px;
  color: var(--accent);
}
.contact-form {
  border-radius: 30px;
  padding: 30px;
  display: grid;
  gap: 18px;
}
.contact-form label {
  display: grid;
  gap: 9px;
  color: #cfd3da;
  font-size: 0.85rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: #fff;
  border-radius: 14px;
  padding: 14px 15px;
  outline: none;
  transition: 0.3s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(168, 217, 255, 0.1);
}
textarea {
  resize: vertical;
  min-height: 130px;
}
.button {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition:
    transform 0.3s,
    background 0.3s,
    color 0.3s;
}
.button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
}
.button.primary {
  background: #f4f6f8;
  color: #080a0e;
  border-color: #fff;
}
.button.danger {
  color: #ffb5b5;
  border-color: rgba(255, 100, 100, 0.3);
}
.form-status {
  font-size: 0.84rem;
  color: var(--muted);
  min-height: 1.3em;
}
.private-gate {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 120px 20px;
}
.gate-card {
  width: min(520px, 100%);
  border-radius: 28px;
  padding: 42px;
  text-align: center;
}
.gate-card .lock {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  background: rgba(168, 217, 255, 0.1);
  font-size: 1.7rem;
}
.gate-card h1 {
  font: 300 3rem/1 var(--serif);
  letter-spacing: -0.05em;
  margin: 0 0 12px;
}
.gate-card p {
  color: var(--muted);
  line-height: 1.6;
}
.gate-card form {
  display: flex;
  gap: 9px;
  margin-top: 26px;
}
.gate-card input {
  flex: 1;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-radius: 14px;
  padding: 14px;
}
.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 16px;
  border-radius: 22px;
  min-height: 88px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.84rem;
}
.footer a {
  color: var(--ink);
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(2, 3, 5, 0.93);
  backdrop-filter: blur(18px);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.45s;
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
}
.lightbox figure {
  margin: 0;
  width: min(86vw, 1400px);
  height: 86vh;
  display: grid;
  place-items: center;
}
.lightbox img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  transform: scale(0.94);
  opacity: 0;
  transition: 0.6s var(--ease);
}
.lightbox.open img {
  transform: none;
  opacity: 1;
}
.lightbox figcaption {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 12px;
}
.lightbox button {
  position: absolute;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
}
.lightbox-close {
  right: 26px;
  top: 26px;
}
.lightbox-prev {
  left: 26px;
  top: 50%;
}
.lightbox-next {
  right: 26px;
  top: 50%;
}
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.stagger > * {
  opacity: 0;
  transform: translateY(24px);
}
.stagger.visible > * {
  animation: rise 0.8s var(--ease) forwards;
}
.stagger.visible > *:nth-child(2) {
  animation-delay: 0.08s;
}
.stagger.visible > *:nth-child(3) {
  animation-delay: 0.16s;
}
.stagger.visible > *:nth-child(4) {
  animation-delay: 0.24s;
}
.stagger.visible > *:nth-child(5) {
  animation-delay: 0.32s;
}
@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.stat {
  border-radius: 22px;
  padding: 24px;
}
.stat strong {
  font: 300 2.8rem/1 var(--serif);
}
.stat span {
  display: block;
  color: var(--muted);
  margin-top: 9px;
}
.photo-manager {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 18px;
}
.photo-tile {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1;
}
.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-tile button {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  cursor: pointer;
}
@media (max-width: 900px) {
  .topbar {
    height: 64px;
  }
  .menu-toggle {
    display: block;
  }
  nav {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    height: calc(100svh - 74px);
    background: rgba(7, 9, 13, 0.94);
    backdrop-filter: blur(24px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s;
  }
  body.menu-open nav {
    opacity: 1;
    visibility: visible;
  }
  nav a {
    font: 300 2.6rem/1 var(--serif);
    text-align: center;
    padding: 16px;
  }
  .hero-content {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: clamp(4rem, 17vw, 7rem);
  }
  .hero-meta {
    display: none;
  }
  .intro-grid,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }
  .about-photo {
    position: relative;
    top: auto;
  }
  .contact {
    padding-top: 150px;
  }
  .page-head-row {
    display: block;
  }
  .page-head p {
    margin-top: 24px;
  }
  .stat-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .hero {
    min-height: 620px;
  }
  .hero-content {
    margin-bottom: 34px;
  }
  .section {
    padding: 100px 0;
  }
  .category-card {
    min-height: 430px;
  }
  .category-info {
    inset: auto 18px 20px;
  }
  .category-info p {
    display: none;
  }
  .page-head {
    padding-top: 145px;
  }
  .gallery-grid {
    columns: 2 160px;
    column-gap: 7px;
    width: calc(100% - 14px);
  }
  .gallery-item {
    margin-bottom: 7px;
    border-radius: 11px;
  }
  .footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .lightbox-prev {
    left: 10px;
  }
  .lightbox-next {
    right: 10px;
  }
  .lightbox-close {
    right: 10px;
    top: 10px;
  }
  .gate-card {
    padding: 28px 20px;
  }
  .gate-card form {
    display: grid;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
:root {
  --ink: #18212c;
  --muted: #66717d;
  --bg: #f6f8fc;
  --panel: rgba(255, 255, 255, 0.68);
  --line: rgba(30, 46, 66, 0.13);
  --accent: #7388ff;
}
html {
  background: var(--bg);
}
body {
  position: relative;
  isolation: isolate;
  color: var(--ink);
  background: linear-gradient(135deg, #fff 0%, #f4f7ff 44%, #fdfaff 100%);
}
body:before,
body:after {
  content: '';
  position: fixed;
  z-index: -2;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.42;
  pointer-events: none;
  animation: ambientFloat 18s ease-in-out infinite alternate;
}
body:before {
  left: -13vw;
  top: 8vh;
  background: radial-gradient(circle, #b9dfff 0, rgba(185, 223, 255, 0) 68%);
}
body:after {
  right: -12vw;
  bottom: -12vh;
  background: radial-gradient(circle, #e6ccff 0, rgba(230, 204, 255, 0) 68%);
  animation-delay: -7s;
}
@keyframes ambientFloat {
  to {
    transform: translate3d(7vw, -5vh, 0) scale(1.12);
  }
}
.grain {
  opacity: 0.022;
  mix-blend-mode: multiply;
}
.glass {
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(44, 61, 82, 0.12);
  box-shadow:
    0 28px 80px rgba(63, 76, 98, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(30px) saturate(145%);
  -webkit-backdrop-filter: blur(30px) saturate(145%);
}
.topbar {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow:
    0 16px 55px rgba(58, 73, 98, 0.16),
    inset 0 1px 0 #fff;
}
.brand {
  color: #17202b;
}
nav a {
  color: #4e5866;
}
nav a:hover,
nav a.active {
  background: rgba(95, 119, 255, 0.1);
  color: #263366;
}
nav .nav-instagram {
  color: #6077e8;
}
.menu-toggle span {
  background: #202b38;
}
.hero {
  color: #fff;
  background: #bac6d1;
}
.hero-media:after {
  background:
    linear-gradient(180deg, rgba(24, 32, 42, 0.02) 25%, rgba(17, 23, 31, 0.64) 100%),
    linear-gradient(90deg, rgba(16, 22, 30, 0.26), transparent 60%);
}
.hero .eyebrow {
  color: rgba(255, 255, 255, 0.9);
}
.hero-meta p {
  color: #fff;
}
.scroll-cue {
  color: #fff;
}
.scroll-cue i {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}
.section-label,
.eyebrow {
  color: #707b89;
}
.section-label:before {
  background: linear-gradient(90deg, #7d8fff, #a67be8);
}
.intro-grid p,
.page-head p,
.about-copy p,
.contact-copy > p {
  color: var(--muted);
}
.text-link {
  border-color: rgba(34, 48, 66, 0.2);
}
.category-card {
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow: 0 30px 80px rgba(36, 50, 70, 0.14);
  transition:
    transform 0.28s var(--ease),
    box-shadow 0.5s var(--ease);
}
.category-card:before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    color-mix(in srgb, var(--card-accent) 34%, transparent),
    transparent 38%
  );
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.category-card:hover:before {
  opacity: 0.7;
}
.category-card:hover {
  box-shadow: 0 40px 95px color-mix(in srgb, var(--card-accent) 18%, rgba(36, 50, 70, 0.16));
}
.category-card .card-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 1px solid color-mix(in srgb, var(--card-accent) 55%, transparent);
  border-radius: inherit;
  opacity: 0.55;
  pointer-events: none;
}
.category-info {
  z-index: 3;
  color: #fff;
}
.category-info p {
  color: rgba(255, 255, 255, 0.78);
}
.page-head {
  position: relative;
}
.page-head h1,
.about-copy h1,
.contact-copy h1 {
  color: #18212c;
}
.gallery-accent-line {
  display: block;
  width: clamp(90px, 18vw, 250px);
  height: 5px;
  border-radius: 99px;
  background: linear-gradient(
    90deg,
    var(--gallery-accent),
    color-mix(in srgb, var(--gallery-accent) 10%, transparent)
  );
  margin-top: 34px;
  transform-origin: left;
  animation: lineIn 1.2s var(--ease) both;
}
@keyframes lineIn {
  from {
    transform: scaleX(0);
    opacity: 0;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}
.gallery-grid {
  columns: var(--gallery-columns, 3) 300px;
}
.gallery-frame {
  display: block;
  break-inside: avoid;
  margin: 0 0 12px;
}
.gallery-frame > .gallery-item {
  margin-bottom: 0;
}
.gallery-grid.layout-masonry.is-packed {
  display: block;
  columns: auto;
  position: relative;
  overflow-anchor: none;
}
.gallery-grid.layout-masonry.is-packed > .gallery-frame {
  position: absolute;
  margin: 0;
}
.gallery-frame figcaption {
  padding: 10px 8px 18px;
  color: var(--muted);
  font-size: 0.84rem;
}
.gallery-item {
  box-shadow: 0 16px 40px rgba(43, 59, 79, 0.1);
  background: #fff;
}
.gallery-grid.layout-grid {
  columns: auto;
  display: grid;
  grid-template-columns: repeat(var(--gallery-columns, 3), minmax(0, 1fr));
  gap: 12px;
}
.gallery-grid.layout-grid .gallery-frame {
  margin: 0;
}
.gallery-grid.layout-grid .gallery-item,
.gallery-grid.layout-grid .gallery-item img {
  height: 100%;
  aspect-ratio: 4/5;
  object-fit: contain;
}
.gallery-grid.layout-cinematic {
  columns: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  width: min(1240px, calc(100% - 28px));
}
.gallery-grid.layout-cinematic .gallery-frame {
  margin: 0;
}
.gallery-grid.layout-cinematic .gallery-item img {
  max-height: 84vh;
  object-fit: contain;
}
.gallery-item:after {
  background: rgba(255, 255, 255, 0.72);
  color: #1e2936;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.12);
}
.about-photo {
  box-shadow: 0 35px 90px rgba(45, 61, 80, 0.18);
  border-color: #fff;
}
.about-copy .lead {
  color: #2d3948;
}
.award {
  background: rgba(255, 255, 255, 0.66);
}
.contact-form,
.gate-card {
  color: var(--ink);
}
.contact-form input,
.contact-form textarea,
.gate-card input {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  border-color: rgba(32, 48, 67, 0.13);
}
.contact-links a {
  border-color: rgba(32, 48, 67, 0.15);
}
.button {
  color: #24303e;
  background: rgba(255, 255, 255, 0.66);
}
.button:hover {
  background: #fff;
  box-shadow: 0 12px 30px rgba(67, 79, 102, 0.12);
}
.button.primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(115deg, #667cf0, #9b71df);
  box-shadow: 0 12px 28px rgba(102, 124, 240, 0.25);
}
.button.primary:hover {
  background: linear-gradient(115deg, #536ae3, #895fd1);
  box-shadow: 0 16px 38px rgba(102, 124, 240, 0.34);
}
.footer {
  color: #5d6876;
}
.footer a {
  color: #1c2734;
}
.scroll-progress {
  position: fixed;
  z-index: 120;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, #6b8cff, #c775e6, #ff9c78);
  box-shadow: 0 0 20px rgba(105, 131, 255, 0.6);
}
.cursor-orb {
  position: fixed;
  z-index: 30;
  left: -18px;
  top: -18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(120, 145, 255, 0.2), rgba(120, 145, 255, 0) 70%);
  border: 1px solid rgba(104, 128, 230, 0.18);
  mix-blend-mode: multiply;
  will-change: transform;
}
.page-loader span {
  border-color: rgba(30, 46, 66, 0.16);
  border-top-color: #7187f1;
}
.lightbox {
  background: rgba(241, 245, 250, 0.9);
  color: #1c2734;
}
.lightbox button {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(32, 48, 67, 0.15);
  color: #1c2734;
}
.lightbox figcaption {
  color: #5f6976;
}
.stat {
  background: rgba(255, 255, 255, 0.65);
}
.stat strong {
  color: #263345;
}
.stat span {
  color: #77818e;
}
.settings-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 10px 0 0;
  color: #7a8491;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.settings-divider:after {
  content: '';
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, rgba(40, 57, 77, 0.13), transparent);
}
.color-field label {
  position: relative;
}
.color-field input[type='color'] {
  height: 49px;
  padding: 6px;
  cursor: pointer;
}
.color-field span {
  position: absolute;
  right: 14px;
  bottom: 15px;
  font: 600 0.75rem var(--sans);
  color: #4f5b68;
  pointer-events: none;
}
.upload-progress {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 0;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, #6a83f1, #b16cdb);
  transition: width 0.3s;
}
@keyframes dropSpin {
  to {
    transform: rotate(360deg);
  }
}
.photo-manager {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 22px;
}
.cover-badge,
.photo-number {
  position: absolute;
  top: 10px;
  padding: 7px 10px;
  border-radius: 99px;
  font-size: 0.68rem;
  font-weight: 600;
  backdrop-filter: blur(12px);
}
.cover-badge {
  left: 10px;
  background: rgba(255, 255, 255, 0.84);
  color: #5e70cd;
}
.photo-number {
  right: 10px;
  background: rgba(20, 29, 39, 0.54);
  color: #fff;
}
.photo-toolbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  padding: 8px;
  border-bottom: 1px solid rgba(35, 51, 70, 0.08);
}
.photo-toolbar button {
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: #f1f4f8;
  color: #44505e;
  cursor: pointer;
  transition: 0.25s;
}
.photo-toolbar button:hover:not(:disabled) {
  background: #e7ebff;
  color: #556bd2;
  transform: translateY(-1px);
}
.photo-toolbar button:disabled {
  opacity: 0.32;
  cursor: default;
}
.photo-toolbar .danger-mini:hover {
  background: #fff0f0 !important;
  color: #d45252 !important;
}
.mini-save {
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: #eef1ff;
  color: #5b6fcd;
  font-weight: 600;
  cursor: pointer;
}
.mini-save:hover {
  background: #e2e7ff;
}
@media (max-width: 900px) {
  nav {
    background: rgba(250, 252, 255, 0.96);
  }
  nav a {
    color: #253140;
  }
  .gallery-grid.layout-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cursor-orb {
    display: none;
  }
  .photo-manager {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .gallery-grid.layout-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
  .photo-manager {
    grid-template-columns: 1fr;
  }
}
.grain.is-hidden {
  display: none;
}
.hero {
  height: var(--hero-height, 100svh);
}
.hero-index {
  position: absolute;
  z-index: 2;
  right: 28px;
  top: 120px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  writing-mode: vertical-rl;
}
.marquee {
  overflow: hidden;
  border-top: 1px solid rgba(38, 52, 70, 0.12);
  border-bottom: 1px solid rgba(38, 52, 70, 0.12);
  background: rgba(255, 255, 255, 0.5);
  padding: 20px 0;
}
.marquee div {
  width: max-content;
  white-space: nowrap;
  font-size: clamp(1.2rem, 2.8vw, 2.6rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  animation: marqueeMove 26s linear infinite;
}
@keyframes marqueeMove {
  to {
    transform: translateX(-50%);
  }
}
.section-heading {
  display: grid;
  grid-template-columns: 1fr 1.15fr 0.85fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 54px;
}
.section-heading .section-label {
  margin: 0;
}
.section-heading h2,
.services-head h2 {
  font: 300 clamp(3rem, 7vw, 7rem)/0.88 var(--serif);
  letter-spacing: -0.065em;
  margin: 0;
}
.section-heading > p:last-child {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}
.editorial {
  padding-top: 40px;
}
.editorial-collage {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 140px 210px 190px 260px;
  gap: 12px;
  position: relative;
}
.editorial-shot {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) * 0.72);
  box-shadow: 0 20px 55px rgba(45, 59, 79, 0.12);
}
.editorial-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 1s var(--ease),
    filter 0.6s;
}
.editorial-shot:hover img {
  transform: scale(1.04);
  filter: saturate(1.08);
}
.editorial-shot span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  padding: 8px 11px;
  border-radius: 99px;
  font-size: 0.7rem;
}
.shot-1 {
  grid-column: 1/7;
  grid-row: 1/4;
}
.shot-2 {
  grid-column: 7/10;
  grid-row: 1/3;
}
.shot-3 {
  grid-column: 10/13;
  grid-row: 1/3;
}
.shot-4 {
  grid-column: 7/13;
  grid-row: 3/5;
}
.shot-5 {
  grid-column: 1/7;
  grid-row: 4/5;
}
.intro-editorial {
  padding-bottom: 70px;
}
.portfolio-section {
  padding-top: 70px;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}
.project-card {
  grid-column: span 6;
  min-height: 610px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 22px 65px rgba(39, 52, 72, 0.12);
  isolation: isolate;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.5s;
}
.project-card.card-wide {
  grid-column: span 8;
}
.project-card.card-tall {
  grid-column: span 4;
  min-height: 720px;
}
.project-image {
  position: absolute;
  inset: 0;
}
.project-image:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 13, 20, 0.02) 30%, rgba(9, 13, 20, 0.72) 100%);
}
.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--cover-position);
  transition:
    transform 1.2s var(--ease),
    filter 0.7s;
}
.project-card:hover .project-image img {
  transform: scale(1.045);
  filter: saturate(1.08);
}
.project-card:before {
  content: '';
  position: absolute;
  z-index: 2;
  inset: 0;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    color-mix(in srgb, var(--card-accent) 34%, transparent),
    transparent 32%
  );
  opacity: 0;
  transition: 0.35s;
}
.project-card:hover:before {
  opacity: 0.7;
}
.project-meta {
  position: absolute;
  z-index: 3;
  left: 24px;
  right: 24px;
  top: 22px;
  display: flex;
  justify-content: space-between;
  color: #fff;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
}
.project-title {
  position: absolute;
  z-index: 3;
  left: 24px;
  right: 24px;
  bottom: 24px;
  color: #fff;
  display: flex;
  align-items: end;
  justify-content: space-between;
}
.project-title p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
}
.project-title h3 {
  font: 300 clamp(3rem, 6vw, 6.6rem)/0.82 var(--serif);
  letter-spacing: -0.065em;
  margin: 0;
}
.project-card.card-tall .project-title h3 {
  font-size: clamp(2.5rem, 4.2vw, 4.8rem);
}
.project-card.style-split {
  padding-top: 74%;
  min-height: 680px;
  background: #fff;
}
.project-card.style-split .project-image {
  bottom: auto;
  height: 74%;
}
.project-card.style-split .project-image:after {
  display: none;
}
.project-card.style-split .project-title {
  color: var(--ink);
}
.project-card.style-split .project-title p,
.project-card.style-split .project-meta {
  color: var(--muted);
}
.project-card.style-split .project-meta {
  top: calc(74% + 18px);
}
.project-card.style-split .round-arrow {
  border-color: rgba(30, 45, 63, 0.18);
  background: #f4f6fa;
}
.project-card.style-minimal {
  box-shadow: none;
  border-color: transparent;
  background: transparent;
  border-radius: 0;
}
.project-card.style-minimal .project-image {
  inset: 0 0 100px;
}
.project-card.style-minimal .project-image:after {
  display: none;
}
.project-card.style-minimal .project-title {
  color: var(--ink);
  bottom: 12px;
  left: 0;
  right: 0;
}
.project-card.style-minimal .project-title p,
.project-card.style-minimal .project-meta {
  color: var(--muted);
}
.project-card.style-minimal .project-meta {
  top: auto;
  bottom: 78px;
  left: 0;
  right: 0;
}
.project-card.style-minimal .round-arrow {
  color: var(--ink);
  border-color: rgba(30, 45, 63, 0.18);
  background: transparent;
}
.manifesto {
  margin: 80px auto;
  background: #151b24;
  color: #fff;
  padding: clamp(80px, 12vw, 170px) max(20px, calc((100vw - 1180px) / 2));
  text-align: center;
  position: relative;
  overflow: hidden;
}
.manifesto:before {
  content: 'JW';
  position: absolute;
  inset: auto 0 -10vw;
  font: 700 34vw/0.65 var(--sans);
  letter-spacing: -0.1em;
  color: rgba(255, 255, 255, 0.025);
}
.manifesto blockquote {
  position: relative;
  font: 300 clamp(2.7rem, 6vw, 6.6rem)/0.98 var(--serif);
  letter-spacing: -0.055em;
  margin: 0 auto;
  max-width: 1100px;
}
.manifesto p {
  position: relative;
  margin: 34px 0 0;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: #abb4c0;
}
.services {
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(32px, 6vw, 76px);
  margin: 90px auto;
  padding: clamp(30px, 5vw, 62px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: calc(var(--radius) * 1.5);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(244, 247, 255, 0.66));
  box-shadow:
    0 28px 80px rgba(52, 68, 92, 0.11),
    inset 0 1px 0 #fff;
  overflow: hidden;
}
.services:before {
  content: '';
  position: absolute;
  right: -120px;
  top: -170px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 143, 255, 0.2), rgba(123, 143, 255, 0) 68%);
  pointer-events: none;
}
.services-head {
  position: relative;
  top: auto;
  align-self: start;
}
.services-head .section-label {
  margin-bottom: 20px;
}
.services-head h2 {
  max-width: 430px;
  font-size: clamp(2.55rem, 5vw, 5.1rem);
  line-height: 0.94;
}
.services-list {
  position: relative;
  display: grid;
  gap: 9px;
  border: 0;
}
.services-list > div {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 12px 14px;
  border: 1px solid rgba(35, 52, 75, 0.09);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 7px 20px rgba(45, 61, 84, 0.045);
  transition:
    transform 0.4s var(--ease),
    border-color 0.35s,
    box-shadow 0.35s,
    background 0.35s;
}
.services-list > div:hover {
  transform: translateX(-6px);
  border-color: rgba(105, 127, 238, 0.3);
  background: #fff;
  box-shadow: 0 14px 35px rgba(61, 79, 113, 0.11);
}
.services-list span {
  font-size: 0.64rem;
  font-weight: 700;
  color: #8993a0;
  letter-spacing: 0.1em;
}
.services-list strong {
  font: 550 clamp(1.05rem, 1.7vw, 1.4rem)/1.15 var(--sans);
  letter-spacing: -0.025em;
}
.services-list i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f0f3ff;
  color: #6076e6;
  font-style: normal;
  transition:
    transform 0.4s var(--ease),
    background 0.3s,
    color 0.3s;
}
.services-list > div:hover i {
  transform: rotate(-35deg);
  background: #6076e6;
  color: #fff;
}
.stats-strip {
  position: relative;
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 0;
}
.stats-strip > div {
  min-height: 130px;
  padding: 22px;
  border: 1px solid rgba(35, 52, 75, 0.09);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.64);
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.35s;
}
.stats-strip > div:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 38px rgba(56, 72, 99, 0.1);
}
.stats-strip strong {
  display: block;
  font: 600 clamp(2rem, 4.2vw, 3.8rem)/1 var(--sans);
  letter-spacing: -0.065em;
}
.stats-strip span {
  display: block;
  max-width: 170px;
  color: var(--muted);
  margin-top: 10px;
  font-size: 0.76rem;
  line-height: 1.45;
}
.home-cta {
  margin: 30px 20px 120px;
  padding: clamp(70px, 10vw, 140px) 20px;
  text-align: center;
  border-radius: calc(var(--radius) * 1.4);
  background: linear-gradient(
    125deg,
    color-mix(in srgb, var(--accent) 14%, #fff),
    color-mix(in srgb, var(--accent-2) 15%, #fff)
  );
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 30px 80px rgba(54, 67, 91, 0.12);
}
.home-cta h2 {
  font: 300 clamp(3.6rem, 9vw, 9rem)/0.86 var(--serif);
  letter-spacing: -0.07em;
  max-width: 1050px;
  margin: 24px auto;
}
.home-cta > p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 auto 34px;
  color: var(--muted);
  line-height: 1.7;
}
.home-cta .button {
  margin: auto;
  min-width: 220px;
}
.project-index {
  padding-top: 10px;
}
.project-index-head {
  padding-bottom: 45px;
}
.gallery-page {
  background: var(--gallery-bg);
  padding-bottom: 100px;
}
.gallery-story-head {
  position: relative;
  overflow: hidden;
}
.gallery-facts {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 45px;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.gallery-hero-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.58);
}
.hero-cover .gallery-story-head {
  width: calc(100% - 32px);
  max-width: none;
  min-height: 86svh;
  margin: 16px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: end;
  color: #fff;
}
.hero-cover .gallery-story-head > *:not(.gallery-hero-cover) {
  position: relative;
}
.hero-cover .gallery-story-head h1,
.hero-cover .gallery-story-head p,
.hero-cover .gallery-facts {
  color: #fff;
}
.hero-compact .gallery-story-head {
  padding-bottom: 35px;
}
.hero-compact .gallery-story-head h1 {
  font-size: clamp(3.8rem, 8vw, 7rem);
}
.gallery-grid {
  column-gap: var(--gallery-gap);
  margin-bottom: 60px;
}
.gallery-frame {
  margin-bottom: var(--gallery-gap);
}
.gallery-item {
  border-radius: var(--image-radius);
}
.gallery-grid.layout-grid {
  gap: var(--gallery-gap);
}
.gallery-grid.layout-grid .span-wide {
  grid-column: span 2;
}
.gallery-grid.layout-grid .span-tall {
  grid-row: span 2;
}
.gallery-grid.layout-grid .span-large {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-grid.layout-grid .gallery-item img {
  object-fit: contain;
}
.next-project {
  width: min(1180px, calc(100% - 40px));
  margin: 80px auto 0;
  padding: 30px 0;
  border-top: 1px solid rgba(31, 46, 64, 0.15);
  display: flex;
  justify-content: space-between;
  font-size: clamp(1.4rem, 3vw, 2.7rem);
}
.footer {
  gap: 24px;
}
.footer #owner-mark {
  cursor: default;
  user-select: none;
}
html[data-reveal='fade'] .reveal {
  transform: none;
}
html[data-reveal='zoom'] .reveal {
  transform: scale(0.96);
}
html[data-motion='off'] .marquee div {
  animation: none;
}
html[data-motion='off'] .reveal,
html[data-motion='off'] .stagger > * {
  opacity: 1 !important;
  transform: none !important;
}
.toggle-field select {
  cursor: pointer;
}
.range-field input {
  accent-color: var(--accent);
}
.field-note {
  color: var(--muted);
  font-size: 0.72rem;
  margin-top: -2px;
}
@media (max-width: 900px) {
  .section-heading {
    grid-template-columns: 1fr 1fr;
  }
  .section-heading > p:last-child {
    grid-column: 2;
  }
  .editorial-collage {
    grid-template-rows: 130px 180px 180px 220px;
  }
  .project-card,
  .project-card.card-wide {
    grid-column: span 12;
  }
  .project-card.card-tall {
    grid-column: span 6;
  }
  .services {
    grid-template-columns: 1fr;
  }
  .services-head {
    position: relative;
    top: auto;
  }
  .footer {
    flex-wrap: wrap;
  }
  .footer > * {
    width: calc(50% - 12px);
  }
}
@media (max-width: 600px) {
  .marquee {
    padding: 14px 0;
  }
  .section-heading {
    display: block;
  }
  .section-heading h2 {
    margin: 20px 0;
  }
  .section-heading > p:last-child {
    margin-top: 20px;
  }
  .editorial-collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 180px 240px;
    gap: 8px;
  }
  .editorial-shot {
    grid-column: auto;
    grid-row: auto;
  }
  .shot-1 {
    grid-column: 1/3;
  }
  .shot-4 {
    grid-column: 1/3;
  }
  .shot-5 {
    display: none;
  }
  .project-grid {
    gap: 12px;
  }
  .project-card,
  .project-card.card-wide,
  .project-card.card-tall {
    grid-column: span 12;
    min-height: 520px;
  }
  .project-card.card-tall {
    min-height: 620px;
  }
  .project-title h3,
  .project-card.card-tall .project-title h3 {
    font-size: 3.3rem;
  }
  .manifesto {
    margin-top: 30px;
    margin-bottom: 30px;
  }
  .services {
    width: calc(100% - 20px);
    margin: 42px auto;
    padding: 22px 14px;
    border-radius: 26px;
    gap: 24px;
  }
  .services-head h2 {
    font-size: 2.7rem;
    max-width: 330px;
  }
  .services-list > div {
    grid-template-columns: 30px minmax(0, 1fr) 32px;
    min-height: 62px;
    padding: 10px 11px;
    border-radius: 15px;
  }
  .services-list strong {
    font-size: 1rem;
  }
  .services-list > div:hover {
    transform: none;
  }
  .stats-strip {
    grid-template-columns: 1fr 1fr;
    margin-top: 0;
  }
  .stats-strip > div {
    min-height: 108px;
    padding: 17px;
    border-radius: 16px;
  }
  .stats-strip > div:last-child {
    grid-column: 1/-1;
  }
  .home-cta {
    margin: 20px 10px 70px;
  }
  .gallery-facts {
    gap: 12px;
  }
  .gallery-grid.layout-grid .span-wide,
  .gallery-grid.layout-grid .span-large {
    grid-column: span 2;
  }
  .footer > * {
    width: 100%;
  }
  .hero-index {
    display: none;
  }
}
.project-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}
.project-row {
  display: grid;
  grid-template-columns: minmax(0, var(--left)) minmax(0, 1fr);
  gap: 18px;
}
.project-row.solo {
  grid-template-columns: minmax(0, 1fr);
}
.project-row .project-card {
  grid-column: auto !important;
  min-width: 0;
  min-height: clamp(450px, 54vw, 690px);
}
.project-row .project-card.card-tall {
  min-height: clamp(520px, 63vw, 760px);
}
.project-row .project-card.style-minimal {
  min-height: clamp(450px, 54vw, 690px);
}
@media (max-width: 700px) {
  .project-grid,
  .project-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
  }
  .project-row .project-card,
  .project-row .project-card.card-tall {
    min-height: 530px;
  }
}
@view-transition {
  navigation: auto;
}
::view-transition-old(root) {
  animation: pageOut 0.35s ease both;
}
::view-transition-new(root) {
  animation: pageIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes pageOut {
  to {
    opacity: 0;
    filter: blur(8px);
    transform: scale(0.985);
  }
}
@keyframes pageIn {
  from {
    opacity: 0;
    filter: blur(12px);
    transform: scale(1.015);
  }
  to {
    opacity: 1;
    filter: none;
    transform: none;
  }
}
.hero h1 {
  animation: heroType 1.5s cubic-bezier(0.18, 1, 0.32, 1) both;
  transform-origin: left bottom;
}
.hero h1 span {
  animation: heroLast 1.7s 0.12s cubic-bezier(0.18, 1, 0.32, 1) both;
}
@keyframes heroType {
  from {
    opacity: 0;
    filter: blur(22px);
    transform: translateY(56px) skewY(4deg);
  }
  to {
    opacity: 1;
    filter: none;
    transform: none;
  }
}
@keyframes heroLast {
  from {
    opacity: 0;
    transform: translateX(54px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.hero-media img {
  animation:
    heroZoom 14s var(--ease) both,
    heroLight 11s ease-in-out infinite alternate;
}
@keyframes heroLight {
  to {
    filter: saturate(1.05) contrast(1.08);
  }
}
.project-card.reveal {
  opacity: 1;
  transform: none;
}
.project-card.reveal .project-image {
  clip-path: inset(4% 0 0 round var(--radius));
  transition: clip-path 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.project-card.reveal.visible .project-image {
  clip-path: inset(0 round var(--radius));
}
.project-card .project-title h3 {
  transition:
    transform 0.6s var(--ease),
    letter-spacing 0.6s;
}
.project-card:hover .project-title h3 {
  transform: translateY(-5px);
  letter-spacing: -0.075em;
}
.project-card .project-meta {
  transition: transform 0.5s var(--ease);
}
.project-card:hover .project-meta {
  transform: translateY(4px);
}
.project-card .round-arrow {
  transition:
    transform 0.5s var(--ease),
    background 0.5s;
}
.project-card:hover .round-arrow {
  transform: rotate(45deg) scale(1.09);
  background: color-mix(in srgb, var(--card-accent) 36%, rgba(255, 255, 255, 0.18));
}
.editorial-shot {
  transition:
    transform 0.55s var(--ease),
    box-shadow 0.55s;
}
.editorial-shot:hover {
  transform: translateY(-8px) rotate(-0.4deg);
  box-shadow: 0 32px 75px rgba(39, 54, 75, 0.22);
}
.editorial-shot img {
  transform: scale(1.08);
}
.editorial-shot:hover img {
  transform: scale(1);
}
.section-heading h2,
.services-head h2 {
  transition: letter-spacing 0.6s var(--ease);
}
.section-heading:hover h2,
.services-head:hover h2 {
  letter-spacing: -0.076em;
}
.button.primary {
  position: relative;
  overflow: hidden;
}
.button.primary:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.34) 48%,
    transparent 68%
  );
  transform: translateX(-140%);
  transition: transform 0.8s;
}
.button.primary:hover:before {
  transform: translateX(140%);
}
.custom-section {
  position: relative;
  overflow: hidden;
  background: var(--custom-bg);
  margin: 20px;
  border-radius: var(--radius);
}
.custom-copy h2 {
  font: 300 clamp(3.2rem, 8vw, 8.5rem)/0.91 var(--serif);
  letter-spacing: -0.07em;
  margin: 0 0 25px;
}
.custom-copy > p:last-child {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.7;
  max-width: 620px;
}
.custom-text {
  padding: clamp(80px, 10vw, 155px);
}
.custom-text .custom-copy {
  max-width: 850px;
}
.custom-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5vw;
  align-items: center;
  padding: clamp(40px, 7vw, 100px);
}
.custom-split-image {
  min-height: 500px;
  border-radius: calc(var(--radius) * 0.7);
  overflow: hidden;
  background: linear-gradient(135deg, #e9edf5, #d3dbea);
}
.custom-split-image img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.custom-split:hover img {
  transform: scale(1.04);
}
.custom-image {
  min-height: 85svh;
  background: #20242d;
}
.custom-image-main {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.custom-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  grid-column: 1/-1;
  filter: brightness(0.64);
}
.custom-image-main img.custom-image-second {
  grid-column: 2;
  grid-row: 1;
  filter: brightness(0.62);
}
.custom-image-main:has(.custom-image-second) > img:first-child {
  grid-column: 1;
  grid-row: 1;
}
.custom-image .custom-copy {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: clamp(35px, 9vw, 130px);
  min-height: 85svh;
  display: flex;
  flex-direction: column;
  justify-content: end;
}
.custom-image .custom-copy > p:last-child,
.custom-image .eyebrow {
  color: rgba(255, 255, 255, 0.84);
}
.custom-quote {
  text-align: center;
  padding: clamp(80px, 12vw, 170px) 7vw;
}
.custom-quote blockquote {
  font: 300 clamp(2.7rem, 6vw, 6.7rem)/1 var(--serif);
  letter-spacing: -0.06em;
  max-width: 1100px;
  margin: 22px auto;
}
.custom-quote > p:last-child {
  color: var(--muted);
}
.custom-cta {
  padding: clamp(80px, 12vw, 150px) 5vw;
  text-align: center;
}
.custom-cta .custom-copy > p:last-child {
  margin: 0 auto 25px;
}
.custom-cta .button {
  margin: auto;
}
.section-builder {
  display: grid;
  gap: 15px;
}
.section-card {
  padding: 22px 24px;
  border-radius: 22px;
}
.section-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}
.section-card-head span {
  font-size: 0.67rem;
  letter-spacing: 0.15em;
  color: var(--muted);
}
.section-card-head h2 {
  font: 400 clamp(1.3rem, 2.5vw, 2rem)/1 var(--serif);
  letter-spacing: -0.04em;
  margin: 8px 0 15px;
}
.section-card-actions {
  display: flex;
  gap: 5px;
}
.section-card-actions button {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
}
.section-card-actions button:disabled {
  opacity: 0.3;
  cursor: default;
}
.section-card-actions button:hover:not(:disabled) {
  background: #e9edff;
  color: #596edf;
}
.section-visibility {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.8rem;
  color: var(--muted);
}
.section-visibility select {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  padding: 8px 12px;
}
.section-hint {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}
.section-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}
.section-fields label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.8rem;
}
.section-fields label.full {
  grid-column: 1/-1;
}
.section-fields input,
.section-fields textarea,
.section-fields select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  padding: 11px 12px;
}
.section-fields textarea {
  min-height: 95px;
}
.section-save {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
}
.section-save p {
  color: var(--muted);
  font-size: 0.8rem;
}
@media (max-width: 700px) {
  .custom-section {
    margin: 10px;
  }
  .custom-split {
    grid-template-columns: 1fr;
  }
  .custom-split-image,
  .custom-split-image img {
    min-height: 340px;
  }
  .custom-image,
  .custom-image .custom-copy {
    min-height: 650px;
  }
  .custom-text {
    padding: 75px 25px;
  }
  .section-fields {
    grid-template-columns: 1fr;
  }
  .section-fields label.full {
    grid-column: auto;
  }
  .section-save {
    display: grid;
  }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }
  .hero h1,
  .hero h1 span,
  .hero-media img,
  .marquee div {
    animation: none !important;
  }
  .project-card.reveal .project-image {
    clip-path: none !important;
  }
  .custom-section,
  .editorial-shot {
    transition: none !important;
  }
}
body {
  background: linear-gradient(135deg, #fff 0%, var(--bg) 52%, #fdfaff 100%);
}
.glass,
.topbar {
  background: rgba(255, 255, 255, var(--glass-alpha, 0.68));
}
html[data-motion='subtle'] .hero h1,
html[data-motion='subtle'] .hero h1 span {
  animation-duration: 0.7s;
}
html[data-motion='subtle'] .editorial-shot:hover {
  transform: translateY(-3px);
}
html[data-motion='off'] .hero h1,
html[data-motion='off'] .hero h1 span,
html[data-motion='off'] .hero-media img {
  animation: none !important;
}
html[data-motion='off'] .project-card .project-image {
  clip-path: none !important;
}
html[data-motion='off'] .editorial-shot:hover,
html[data-motion='off'] .project-card:hover {
  transform: none !important;
}
@supports (animation-timeline: view()) {
  html[data-motion='full'] .custom-image-main img {
    animation: customDrift linear both;
    animation-timeline: view();
    animation-range: cover 0% cover 100%;
  }
  @keyframes customDrift {
    from {
      transform: translateY(-4%) scale(1.1);
    }
    to {
      transform: translateY(4%) scale(1.1);
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  html[data-motion='full'] .custom-image-main img {
    animation: none !important;
  }
}
.skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 10px;
  transform: translateY(-150%);
  padding: 12px 18px;
  border-radius: 12px;
  background: #17212d;
  color: #fff;
}
.skip-link:focus {
  transform: none;
}
:focus-visible {
  outline: 3px solid var(--accent) !important;
  outline-offset: 4px;
}
.project-card:focus-visible,
.editorial-shot:focus-visible {
  outline-offset: 6px;
}
.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}
.quick-action {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--admin-line);
  border-radius: 11px;
  color: var(--admin-ink);
  cursor: pointer;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.quick-action:hover {
  border-color: #b7c5f6;
  box-shadow: 0 6px 18px rgba(49, 94, 232, 0.08);
}
.quick-action b {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--admin-blue-soft);
  color: var(--admin-blue);
  font-size: 17px;
}
.quick-action span {
  display: grid;
}
.quick-action strong {
  font-size: 13px;
}
.quick-action small {
  margin-top: 2px;
  color: var(--admin-muted);
  font-size: 11px;
}
.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.status-dot:before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #17a66b;
}
.status-dot.private:before {
  background: #df9b24;
}
.optimization-note {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 11px 0 2px;
}
.optimization-note > * {
  padding: 5px 8px;
  border: 1px solid var(--admin-line);
  border-radius: 6px;
  background: #f8f9fb;
  color: var(--admin-muted);
  font-size: 10px;
}
.optimization-note b {
  background: #eaf8f1;
  border-color: #ccebdc;
  color: #13764e;
}
@media (max-width: 1000px) {
  .quick-actions {
    grid-template-columns: 1fr;
  }
}
.text-link {
  border-color: rgba(255, 255, 255, 0.9);
}
.loader-mark span {
  clip-path: none;
  opacity: 0;
  transform: translateY(24px);
  animation: loaderWordReveal 0.52s 0.04s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.loader-mark span:last-child {
  animation-delay: 0.13s;
}
@keyframes loaderWordReveal {
  to {
    opacity: 1;
    transform: none;
  }
}
.site-footer {
  position: relative;
  isolation: isolate;
  width: calc(100% - 28px);
  max-width: none;
  min-height: 420px;
  margin: 90px 14px 14px;
  padding: clamp(32px, 4.6vw, 64px);
  display: grid;
  grid-template-columns: minmax(310px, 1.3fr) minmax(170px, 0.55fr) minmax(330px, 1fr);
  grid-template-rows: 1fr auto;
  align-items: start;
  gap: clamp(34px, 5vw, 80px);
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(244, 247, 255, 0.57));
  box-shadow:
    0 30px 90px rgba(49, 64, 88, 0.14),
    inset 0 1px 0 #fff;
  backdrop-filter: blur(34px) saturate(155%);
  -webkit-backdrop-filter: blur(34px) saturate(155%);
  color: #1c2632;
  overflow: hidden;
}
.site-footer:before,
.site-footer:after {
  content: '';
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(15px);
  pointer-events: none;
}
.site-footer:before {
  width: 430px;
  height: 430px;
  right: -130px;
  top: -230px;
  background: radial-gradient(circle, rgba(125, 145, 255, 0.23), rgba(125, 145, 255, 0) 68%);
}
.site-footer:after {
  width: 360px;
  height: 360px;
  left: 18%;
  bottom: -270px;
  background: radial-gradient(circle, rgba(200, 126, 230, 0.2), rgba(200, 126, 230, 0) 68%);
}
.footer-primary {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  align-items: flex-start;
}
.footer-kicker,
.footer-title {
  margin: 0;
  color: #77818d;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.19em;
}
.footer-logo {
  display: grid;
  width: max-content;
  margin: 34px 0 30px;
  font: 800 clamp(3.8rem, 7vw, 7.1rem)/0.61 var(--sans);
  letter-spacing: -0.095em;
  color: #19232e;
}
.footer-logo span:last-child {
  padding-left: 0.64em;
}
.footer-primary #footer-note {
  max-width: 360px;
  margin: auto 0 0;
  color: #65717e;
  font-size: 0.88rem;
  line-height: 1.55;
}
.footer-column {
  display: grid;
  align-content: start;
  gap: 0;
}
.footer-column .footer-title {
  margin-bottom: 25px;
}
.footer-column > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(35, 51, 70, 0.11);
  font-size: 0.95rem;
  font-weight: 650;
  transition:
    padding 0.35s var(--ease),
    color 0.3s;
}
.footer-column > a span {
  color: #788bef;
  transition: transform 0.35s;
}
.footer-column > a:hover {
  padding-left: 7px;
  color: #5d70db;
}
.footer-column > a:hover span {
  transform: rotate(-35deg);
}
.footer-contact {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow:
    0 14px 36px rgba(48, 63, 88, 0.08),
    inset 0 1px 0 #fff;
}
.footer-contact > .footer-title {
  margin-bottom: 15px;
}
.footer-contact > p:not(.footer-title) {
  max-width: 420px;
  margin: 0 0 25px;
  color: #66717d;
  font-size: 0.84rem;
  line-height: 1.65;
}
.footer-mail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 52px;
  padding: 8px 9px 8px 15px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 24px rgba(49, 65, 90, 0.08);
  font-size: clamp(0.78rem, 1.25vw, 0.98rem);
  font-weight: 700;
}
.footer-mail i {
  width: 35px;
  height: 35px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #7087f3, #a16fde);
  color: #fff;
  font-style: normal;
  transition: transform 0.4s var(--ease);
}
.footer-mail:hover i {
  transform: rotate(-35deg) scale(1.06);
}
.footer-instagram {
  display: flex;
  justify-content: space-between;
  margin-top: 17px;
  padding: 0 3px;
  color: #6677df;
  font-size: 0.78rem;
  font-weight: 700;
}
.footer-bottom {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(35, 51, 70, 0.11);
  color: #6c7784;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.04em;
}
.footer-bottom p {
  margin: 0;
}
.footer-bottom a {
  display: flex;
  align-items: center;
  gap: 9px;
}
.footer-bottom a span {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  transition: transform 0.35s;
}
.footer-bottom a:hover span {
  transform: translateY(-3px);
}
.lightbox {
  padding: 12px;
  background: rgba(8, 12, 19, 0.84);
  backdrop-filter: blur(28px) saturate(125%);
}
.lightbox-shell {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: 66px minmax(0, 1fr) 92px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(10, 15, 23, 0.8);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  transform: scale(0.975);
  transition: transform 0.55s var(--ease);
}
.lightbox.open .lightbox-shell {
  transform: none;
}
.lightbox-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 14px 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: #fff;
}
.lightbox-brand {
  display: grid;
  width: max-content;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 0.67;
  letter-spacing: -0.06em;
}
.lightbox-brand span:last-child {
  padding-left: 12px;
}
.lightbox-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #aeb7c4;
  font-size: 0.7rem;
}
.lightbox-counter {
  color: #fff;
  letter-spacing: 0.12em;
}
.lightbox-tools {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}
.lightbox .lightbox-tools button,
.lightbox-download {
  position: static;
  width: auto;
  height: 36px;
  min-width: 36px;
  display: grid;
  place-items: center;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-size: 0.76rem;
  transition:
    background 0.25s,
    transform 0.25s;
}
.lightbox .lightbox-tools button:hover,
.lightbox-download:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}
.lightbox .lightbox-zoom-reset {
  min-width: 55px;
}
.lightbox .lightbox-close {
  font-size: 1.1rem;
}
.lightbox-download {
  display: flex;
  gap: 8px;
  background: linear-gradient(120deg, #667df0, #9c70df);
}
.lightbox-download[hidden] {
  display: none;
}
.lightbox-stage {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 58px;
  align-items: center;
}
.lightbox-stage figure {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  padding: 14px 0 8px;
}
.lightbox-image-wrap {
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  cursor: zoom-in;
}
.lightbox-image-wrap img {
  max-width: 100%;
  max-height: calc(100vh - 205px);
  object-fit: contain;
  transform-origin: center;
  transition:
    transform 0.35s var(--ease),
    opacity 0.5s;
}
.lightbox-stage figcaption {
  min-height: 24px;
  margin: 7px 0 0;
  text-align: center;
  color: #aab3bf;
  font-size: 0.72rem;
}
.lightbox .lightbox-prev,
.lightbox .lightbox-next {
  position: static;
  justify-self: center;
  width: 42px;
  height: 42px;
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.lightbox-footer {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 10px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}
.lightbox-footer > p {
  margin: 0;
  color: #788391;
  font-size: 0.64rem;
  line-height: 1.45;
}
.lightbox-thumbs {
  display: flex;
  justify-content: center;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
}
.lightbox-thumbs::-webkit-scrollbar {
  display: none;
}
.lightbox .lightbox-thumbs button {
  position: static;
  width: 54px;
  height: 62px;
  flex: 0 0 auto;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 9px;
  background: #1a212c;
  overflow: hidden;
  opacity: 0.48;
  transition: 0.3s;
}
.lightbox .lightbox-thumbs button.active {
  border-color: #8295ff;
  opacity: 1;
  transform: translateY(-2px);
}
.lightbox-thumbs img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  opacity: 1;
  transform: none;
}
.topbar {
  transition:
    transform 0.6s var(--ease),
    background 0.4s,
    opacity 0.8s 0.24s ease;
}
html.site-loading .topbar {
  transform: translateX(-50%) translateY(12px);
}
html.site-ready .topbar {
  transform: translateX(-50%);
}
html.site-ready .topbar.hidden {
  transform: translate(-50%, -130%);
}
@media (max-width: 600px) {
  .loader-frame {
    width: calc(100% - 34px);
  }
  .loader-mark {
    font-size: clamp(4.4rem, 23vw, 6.3rem);
  }
  .loader-track {
    margin-top: 34px;
  }
  .loader-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
  .loader-orbit {
    width: 118vw;
  }
  .loader-index {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }
}
@media (max-width: 900px) {
  .site-footer {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
  }
  .footer-primary {
    grid-column: 1/-1;
    min-height: 190px;
  }
  .footer-logo {
    font-size: clamp(4.5rem, 14vw, 7rem);
  }
  .footer-column,
  .footer-contact {
    min-width: 0;
  }
  .footer-bottom {
    grid-column: 1/-1;
  }
}
@media (max-width: 600px) {
  .site-footer {
    width: calc(100% - 16px);
    margin: 55px 8px 8px;
    padding: 29px 20px;
    grid-template-columns: 1fr;
    gap: 38px;
    border-radius: 25px;
  }
  .site-footer > * {
    width: auto;
  }
  .footer-primary {
    grid-column: auto;
    min-height: 225px;
  }
  .footer-logo {
    font-size: clamp(4rem, 22vw, 6rem);
    margin-top: 28px;
  }
  .footer-column,
  .footer-contact {
    grid-column: auto;
  }
  .footer-contact {
    padding: 18px;
    border-radius: 19px;
  }
  .footer-bottom {
    grid-column: auto;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .footer-bottom a {
    margin-top: 5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .loader-mark span {
    clip-path: none;
    opacity: 1;
    transform: none;
    animation: none;
  }
  .loader-track i {
    transform: none;
    animation: none;
  }
  .loader-orbit,
  .site-loader:before,
  .site-loader:after {
    animation: none;
  }
  .site-loader {
    transition: opacity 0.2s;
  }
  .site-loader.is-complete {
    clip-path: none;
  }
}
.nav-badge {
  margin-left: auto;
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border-radius: 99px;
  background: #637df0;
  color: #fff;
  font-size: 9px;
}
@keyframes adminViewEnter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.quick-action,
.section-card {
  box-shadow: 0 10px 32px rgba(28, 42, 61, 0.045);
}
@media (max-width: 600px) {
  .lightbox {
    padding: 5px;
  }
  .lightbox-shell {
    grid-template-rows: 58px minmax(0, 1fr) 78px;
    border-radius: 16px;
  }
  .lightbox-head {
    grid-template-columns: auto 1fr;
    padding: 0 8px 0 13px;
  }
  .lightbox-meta {
    justify-self: center;
  }
  .lightbox-gallery-title,
  .lightbox-brand,
  .lightbox-zoom-out,
  .lightbox-zoom-in,
  .lightbox-zoom-reset,
  .lightbox-fullscreen {
    display: none !important;
  }
  .lightbox-stage {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
  }
  .lightbox .lightbox-prev,
  .lightbox .lightbox-next {
    width: 34px;
    height: 34px;
  }
  .lightbox-footer {
    grid-template-columns: 1fr;
    padding: 7px;
  }
  .lightbox-footer > p {
    display: none;
  }
  .lightbox .lightbox-thumbs button {
    width: 45px;
    height: 54px;
  }
  .lightbox-image-wrap img {
    max-height: calc(100vh - 165px);
  }
}
.lightbox {
  background: rgba(5, 8, 13, 0.92);
}
.lightbox-shell {
  background: #0a0f17;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.58);
}
.lightbox {
  background: rgba(239, 244, 251, 0.82);
  color: #1b2634;
  backdrop-filter: blur(30px) saturate(135%);
}
.lightbox-shell {
  border-color: rgba(255, 255, 255, 0.9);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(244, 247, 252, 0.96));
  box-shadow:
    0 35px 100px rgba(42, 57, 78, 0.2),
    inset 0 1px 0 #fff;
}
.lightbox-head {
  border-bottom-color: rgba(33, 48, 68, 0.1);
  color: #1b2634;
}
.lightbox-meta {
  color: #778291;
}
.lightbox-counter {
  color: #1b2634;
}
.lightbox .lightbox-tools button,
.lightbox-download {
  border-color: rgba(33, 48, 68, 0.11);
  background: rgba(255, 255, 255, 0.72);
  color: #263342;
  box-shadow: 0 4px 14px rgba(39, 55, 76, 0.05);
}
.lightbox .lightbox-tools button:hover {
  background: #fff;
  box-shadow: 0 8px 20px rgba(39, 55, 76, 0.1);
}
.lightbox-download {
  color: #fff;
  background: linear-gradient(125deg, #7188f5, #aa75df);
  box-shadow: 0 8px 20px rgba(113, 136, 245, 0.24);
}
.lightbox-download:hover {
  background: linear-gradient(125deg, #647df1, #9c67d6);
  box-shadow: 0 12px 26px rgba(113, 136, 245, 0.3);
}
.lightbox-stage {
  background: radial-gradient(
    circle at 50% 35%,
    rgba(255, 255, 255, 0.96),
    rgba(237, 242, 249, 0.74)
  );
}
.lightbox-image-wrap img {
  border-radius: 12px;
  box-shadow: 0 22px 55px rgba(27, 38, 52, 0.14);
}
.lightbox-stage figcaption {
  color: #75808e;
}
.lightbox .lightbox-prev,
.lightbox .lightbox-next {
  border-color: rgba(33, 48, 68, 0.12);
  background: rgba(255, 255, 255, 0.8);
  color: #263342;
  box-shadow: 0 8px 24px rgba(39, 55, 76, 0.08);
}
.lightbox-footer {
  border-top-color: rgba(33, 48, 68, 0.09);
  background: rgba(255, 255, 255, 0.34);
}
.lightbox-footer > p {
  color: #7a8592;
}
.lightbox .lightbox-thumbs button {
  background: #e4e9f0;
  box-shadow: 0 4px 12px rgba(32, 46, 65, 0.08);
}
.lightbox .lightbox-thumbs button.active {
  border-color: #7b8ff4;
  box-shadow: 0 7px 18px rgba(92, 116, 224, 0.22);
}
.photo-context-menu {
  position: fixed;
  z-index: 300;
  width: 250px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.91);
  box-shadow:
    0 20px 55px rgba(31, 46, 65, 0.2),
    inset 0 1px 0 #fff;
  backdrop-filter: blur(24px) saturate(150%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(7px) scale(0.98);
  transform-origin: top left;
  transition:
    opacity 0.18s,
    transform 0.22s,
    visibility 0.18s;
}
.photo-context-menu.open {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.photo-context-menu > a,
.context-download-off {
  display: grid;
  grid-template-columns: 38px 1fr;
  column-gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 10px;
  color: #22303f;
}
.photo-context-menu > a:hover {
  background: #eef2ff;
}
.photo-context-menu span {
  grid-row: 1/3;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #7188f5, #aa75df);
  color: #fff;
  font-size: 16px;
}
.photo-context-menu b {
  font-size: 11px;
}
.photo-context-menu small {
  color: #7d8895;
  font-size: 9px;
}
.context-download-off {
  color: #687482;
}
.context-download-off span {
  background: #e9edf2;
  color: #7b8795;
}
.lightbox-stage figure {
  grid-template-rows: minmax(0, 1fr);
  padding: 14px 0;
}
.lightbox-stage figcaption {
  display: none !important;
}
.gallery-item,
.gallery-item img {
  cursor: pointer;
}
.lightbox-image-wrap,
.lightbox-image-wrap img {
  cursor: default;
}
.lightbox-image-wrap {
  will-change: transform, opacity, filter;
}
.lightbox-image-wrap.switch-out-next {
  animation: photoOutNext 0.19s cubic-bezier(0.55, 0.08, 0.68, 0.53) both;
}
.lightbox-image-wrap.switch-out-prev {
  animation: photoOutPrev 0.19s cubic-bezier(0.55, 0.08, 0.68, 0.53) both;
}
.lightbox-image-wrap.switch-in-next {
  animation: photoInNext 0.48s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.lightbox-image-wrap.switch-in-prev {
  animation: photoInPrev 0.48s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes photoOutNext {
  to {
    opacity: 0;
    filter: blur(10px);
    transform: translateX(-38px) scale(0.975);
  }
}
@keyframes photoOutPrev {
  to {
    opacity: 0;
    filter: blur(10px);
    transform: translateX(38px) scale(0.975);
  }
}
@keyframes photoInNext {
  from {
    opacity: 0;
    filter: blur(12px);
    transform: translateX(54px) scale(0.965);
  }
  to {
    opacity: 1;
    filter: none;
    transform: none;
  }
}
@keyframes photoInPrev {
  from {
    opacity: 0;
    filter: blur(12px);
    transform: translateX(-54px) scale(0.965);
  }
  to {
    opacity: 1;
    filter: none;
    transform: none;
  }
}
.lightbox-footer {
  position: relative;
  grid-template-columns: minmax(0, 1fr);
  padding: 5px 18px;
}
.lightbox-footer > p {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 16px;
}
.lightbox-thumbs {
  width: min(720px, 100%);
  height: 82px;
  margin: 0 auto;
  align-items: center;
  justify-content: flex-start;
  padding: 10px calc(50% - 27px);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.lightbox .lightbox-thumbs button {
  scroll-snap-align: center;
  opacity: 0.42;
  transform: scale(0.88);
  filter: saturate(0.55);
  transition:
    opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.4s,
    border-color 0.35s,
    box-shadow 0.4s;
}
.lightbox .lightbox-thumbs button:hover {
  opacity: 0.76;
  transform: scale(0.96);
  filter: saturate(0.85);
}
.lightbox .lightbox-thumbs button.active {
  opacity: 1;
  transform: translateY(-3px) scale(1.08);
  filter: saturate(1);
  animation: thumbSelected 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes thumbSelected {
  0% {
    transform: scale(0.82);
    box-shadow: 0 0 0 0 rgba(123, 143, 244, 0.35);
  }
  55% {
    transform: translateY(-4px) scale(1.13);
    box-shadow: 0 0 0 7px rgba(123, 143, 244, 0);
  }
  100% {
    transform: translateY(-3px) scale(1.08);
  }
}
@media (prefers-reduced-motion: reduce) {
  .lightbox-image-wrap.switch-out-next,
  .lightbox-image-wrap.switch-out-prev,
  .lightbox-image-wrap.switch-in-next,
  .lightbox-image-wrap.switch-in-prev,
  .lightbox .lightbox-thumbs button.active {
    animation: none;
  }
  .lightbox-thumbs {
    scroll-behavior: auto;
  }
}
.calendar-page {
  position: relative;
  overflow: hidden;
  padding: 155px 20px 130px;
  background:
    radial-gradient(circle at 8% 12%, rgba(127, 164, 255, 0.13), transparent 29rem),
    radial-gradient(circle at 91% 5%, rgba(207, 143, 239, 0.12), transparent 27rem);
}
.calendar-page:before {
  content: '';
  position: absolute;
  top: 85px;
  left: 50%;
  width: min(82vw, 1100px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(66, 83, 106, 0.13), transparent);
  transform: translateX(-50%);
}
.calendar-hero {
  position: relative;
  width: min(1240px, 100%);
  margin: 0 auto 70px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  align-items: center;
  gap: 40px;
}
.calendar-hero h1 {
  max-width: 900px;
  margin: 0;
  font: 300 clamp(4.3rem, 9vw, 9.5rem)/0.82 var(--serif);
  letter-spacing: -0.075em;
  color: #17212d;
}
.calendar-hero > div:first-child > p:last-child {
  max-width: 540px;
  margin: 35px 0 0;
  color: #697582;
  font-size: 1.05rem;
  line-height: 1.65;
}
.calendar-hero .eyebrow {
  color: #697582;
}
.calendar-orbit {
  position: relative;
  width: 210px;
  aspect-ratio: 1;
  border: 1px solid rgba(66, 83, 106, 0.12);
  border-radius: 50%;
  display: grid;
  place-items: center;
  animation: calendarFloat 6s ease-in-out infinite;
}
.calendar-orbit:before,
.calendar-orbit:after {
  content: '';
  position: absolute;
  border: 1px solid rgba(103, 128, 229, 0.1);
  border-radius: 50%;
}
.calendar-orbit:before {
  inset: 18%;
}
.calendar-orbit:after {
  inset: 34%;
}
.calendar-orbit span {
  font: 300 3.2rem var(--serif);
  color: #263444;
}
.calendar-orbit i {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #7188f5;
  box-shadow: 0 0 0 8px rgba(113, 136, 245, 0.1);
}
.calendar-orbit i:first-child {
  left: 6%;
  top: 29%;
}
.calendar-orbit i:nth-child(2) {
  right: 8%;
  bottom: 24%;
  background: #c37bdd;
}
@keyframes calendarFloat {
  50% {
    transform: translateY(-10px) rotate(3deg);
  }
}
.calendar-glass {
  width: min(1240px, 100%);
  margin: auto;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.79), rgba(244, 247, 252, 0.61));
  box-shadow:
    0 35px 100px rgba(39, 55, 76, 0.12),
    inset 0 1px 0 #fff;
  backdrop-filter: blur(28px) saturate(140%);
}
.calendar-glass > header {
  height: 105px;
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  text-align: center;
}
.calendar-glass > header > a {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(44, 61, 83, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 8px 24px rgba(38, 53, 72, 0.07);
  font-size: 1.25rem;
  transition: 0.35s var(--ease);
}
.calendar-glass > header > a:hover {
  transform: translateY(-3px) rotate(-8deg);
  box-shadow: 0 14px 30px rgba(38, 53, 72, 0.12);
}
.calendar-glass > header > a:last-child:hover {
  transform: translateY(-3px) rotate(8deg);
}
.calendar-glass > header p {
  margin: 0;
  color: #8a94a0;
  font-size: 0.64rem;
  font-weight: 750;
  letter-spacing: 0.19em;
}
.calendar-glass > header h2 {
  margin: 3px 0 0;
  font: 300 clamp(2rem, 4vw, 3.5rem)/1 var(--serif);
  text-transform: capitalize;
  letter-spacing: -0.05em;
  color: #1d2936;
}
.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.calendar-weekdays {
  padding: 0 2px;
}
.calendar-weekdays span {
  padding: 14px 10px;
  color: #8c96a2;
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}
.calendar-grid {
  overflow: hidden;
  border: 1px solid rgba(43, 59, 79, 0.09);
  border-radius: 22px;
}
.calendar-day {
  position: relative;
  min-height: 116px;
  padding: 13px;
  border-right: 1px solid rgba(43, 59, 79, 0.075);
  border-bottom: 1px solid rgba(43, 59, 79, 0.075);
  background: rgba(255, 255, 255, 0.42);
  transition:
    background 0.3s,
    transform 0.35s;
}
.calendar-day:nth-child(7n) {
  border-right: 0;
}
.calendar-day:hover {
  z-index: 2;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 35px rgba(42, 57, 78, 0.1);
}
.calendar-day.is-empty {
  background: rgba(229, 234, 241, 0.32);
}
.calendar-day-number {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #596675;
  font-size: 0.72rem;
  font-weight: 700;
}
.calendar-day.is-today .calendar-day-number {
  background: #202c3a;
  color: #fff;
  box-shadow: 0 8px 18px rgba(30, 43, 58, 0.2);
}
.calendar-day.has-events:after {
  content: '';
  position: absolute;
  top: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 99px;
}
.calendar-day-events {
  display: grid;
  gap: 5px;
  margin-top: 8px;
}
.calendar-day-events a {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 5px 7px;
  border-radius: 7px;
  background: color-mix(in srgb, var(--event-color) 10%, white);
  color: #44515f;
  font-size: 0.59rem;
  transition: 0.25s;
}
.calendar-day-events a:hover {
  background: color-mix(in srgb, var(--event-color) 18%, white);
  transform: translateX(2px);
}
.calendar-day-events a i {
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--event-color);
}
.calendar-day-events a span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.calendar-day-events small {
  color: #8d96a0;
  font-size: 0.58rem;
}
.calendar-agenda {
  width: min(1040px, 100%);
  margin: 95px auto 0;
}
.calendar-agenda > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 28px;
}
.calendar-agenda > header h2 {
  margin: 0;
  font: 300 clamp(2.5rem, 5vw, 4.8rem)/1 var(--serif);
  letter-spacing: -0.055em;
  color: #1d2936;
}
.event-card-list {
  display: grid;
  gap: 10px;
}
.calendar-event-card {
  position: relative;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 46px;
  gap: 22px;
  align-items: start;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 23px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(246, 248, 252, 0.69));
  box-shadow:
    0 12px 40px rgba(38, 53, 72, 0.07),
    inset 0 1px 0 #fff;
  backdrop-filter: blur(22px);
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s,
    border-color 0.35s;
}
.calendar-event-card:before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 0 99px 99px 0;
  background: var(--event-color);
}
.calendar-event-card:hover,
.calendar-event-card:focus-within,
.calendar-event-card:focus {
  z-index: 2;
  transform: translateY(-5px) scale(1.008);
  border-color: color-mix(in srgb, var(--event-color) 35%, white);
  box-shadow:
    0 28px 70px rgba(38, 53, 72, 0.14),
    inset 0 1px 0 #fff;
  outline: none;
}
.event-date {
  height: 86px;
  display: grid;
  align-content: center;
  text-align: center;
  border: 1px solid rgba(42, 58, 78, 0.09);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.68);
}
.event-date b {
  font: 300 2.4rem/1 var(--serif);
  letter-spacing: -0.05em;
  color: #1f2b39;
}
.event-date span {
  margin-top: 5px;
  color: #7e8996;
  font-size: 0.61rem;
  font-weight: 750;
  text-transform: uppercase;
}
.event-card-main > p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 3px 0 7px;
  color: #7a8592;
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.event-card-main > p span {
  color: var(--event-color);
}
.event-card-main > p i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #a5adb7;
}
.event-card-main h2 {
  margin: 0;
  color: #1c2734;
  font: 500 clamp(1.25rem, 2.2vw, 1.85rem)/1.1 var(--sans);
  letter-spacing: -0.035em;
}
.event-quick {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 11px;
  color: #6c7886;
  font-size: 0.72rem;
}
.event-quick strong {
  padding: 4px 7px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--event-color) 12%, white);
  color: var(--event-color);
  font-size: 0.5rem;
  letter-spacing: 0.12em;
}
.event-reveal {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition:
    max-height 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s 0.03s,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    margin 0.5s;
}
.calendar-event-card:hover .event-reveal,
.calendar-event-card:focus .event-reveal,
.calendar-event-card:focus-within .event-reveal {
  max-height: 420px;
  margin-top: 19px;
  opacity: 1;
  transform: none;
}
.event-reveal > p {
  max-width: 700px;
  margin: 0;
  color: #4f5c6a;
  font-size: 0.9rem;
  line-height: 1.65;
}
.event-reveal > small {
  display: block;
  max-width: 700px;
  margin-top: 12px;
  color: #7c8793;
  font-size: 0.72rem;
  line-height: 1.6;
}
.event-reveal > a {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding: 10px 12px 10px 15px;
  border-radius: 99px;
  background: #202d3b;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 650;
}
.event-reveal > a span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--event-color);
}
.event-expand {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  justify-self: end;
  border: 1px solid rgba(42, 58, 78, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  color: #556271;
  font-size: 1.1rem;
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.3s;
}
.calendar-event-card:hover .event-expand,
.calendar-event-card:focus .event-expand,
.calendar-event-card:focus-within .event-expand {
  transform: rotate(135deg);
  background: color-mix(in srgb, var(--event-color) 13%, white);
  color: var(--event-color);
}
.calendar-empty {
  padding: 70px 30px;
  border-radius: 25px;
  text-align: center;
  background: rgba(255, 255, 255, 0.64);
  border-color: rgba(255, 255, 255, 0.9);
  color: #263342;
}
.calendar-empty i {
  width: 56px;
  height: 56px;
  margin: auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(44, 60, 80, 0.12);
  border-radius: 50%;
  font-style: normal;
  font-size: 1.5rem;
}
.calendar-empty h3 {
  margin: 19px 0 6px;
  font-size: 1.15rem;
}
.calendar-empty p {
  margin: 0;
  color: #7b8693;
  font-size: 0.84rem;
}
.event-save {
  width: 100%;
  justify-content: center;
  margin-top: 18px;
}
@media (max-width: 900px) {
  .calendar-page {
    padding: 125px 14px 90px;
  }
  .calendar-hero {
    grid-template-columns: 1fr;
    margin-bottom: 45px;
  }
  .calendar-orbit {
    display: none;
  }
  .calendar-glass {
    padding: 10px;
    border-radius: 24px;
  }
  .calendar-day {
    min-height: 90px;
    padding: 8px;
  }
  .calendar-day-events a span {
    display: none;
  }
  .calendar-agenda {
    margin-top: 65px;
  }
}
@media (max-width: 600px) {
  .calendar-hero h1 {
    font-size: 3.7rem;
  }
  .calendar-hero > div:first-child > p:last-child {
    margin-top: 24px;
  }
  .calendar-glass > header {
    height: 82px;
  }
  .calendar-weekdays span {
    font-size: 0.52rem;
  }
  .calendar-day {
    min-height: 61px;
    padding: 5px;
  }
  .calendar-day-number {
    width: 23px;
    height: 23px;
    font-size: 0.62rem;
  }
  .calendar-day-events {
    display: flex;
    gap: 3px;
    margin: 5px 0 0;
  }
  .calendar-day-events a {
    width: 6px;
    height: 6px;
    padding: 0;
    border-radius: 50%;
    background: var(--event-color);
  }
  .calendar-day-events a i,
  .calendar-day-events a span,
  .calendar-day-events small {
    display: none;
  }
  .calendar-event-card {
    grid-template-columns: 64px minmax(0, 1fr) 32px;
    gap: 11px;
    padding: 13px;
  }
  .event-date {
    height: 66px;
  }
  .event-date b {
    font-size: 1.8rem;
  }
  .event-card-main h2 {
    font-size: 1rem;
  }
  .event-quick {
    font-size: 0.62rem;
  }
  .event-expand {
    width: 30px;
    height: 30px;
  }
  .calendar-agenda > header {
    display: block;
  }
  .calendar-agenda > header h2 {
    margin-top: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .calendar-orbit {
    animation: none;
  }
  .calendar-event-card,
  .event-reveal,
  .event-expand {
    transition: none;
  }
}
.calendar-glass > header > button {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(44, 61, 83, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 8px 24px rgba(38, 53, 72, 0.07);
  color: #273443;
  font-size: 1.25rem;
  cursor: pointer;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s,
    background 0.3s;
}
.calendar-glass > header > button:hover {
  transform: translateY(-3px) rotate(-8deg);
  background: #fff;
  box-shadow: 0 14px 30px rgba(38, 53, 72, 0.12);
}
.calendar-glass > header > button:last-child:hover {
  transform: translateY(-3px) rotate(8deg);
}
.calendar-orbit i:first-child,
.calendar-orbit i:nth-child(2) {
  left: 50%;
  right: auto;
  top: 50%;
  bottom: auto;
  margin: -5px 0 0 -5px;
  transform: rotate(var(--planet-a)) translateX(104px);
  transition:
    transform 1.15s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.4s;
  animation: planetGlow 2.35s ease-in-out infinite;
}
.calendar-orbit i:nth-child(2) {
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  transform: rotate(var(--planet-b)) translateX(104px);
  animation-delay: -1.12s;
}
.calendar-orbit i:after {
  content: '';
  position: absolute;
  inset: -8px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.18;
  animation: planetRing 2.35s ease-out infinite;
}
.calendar-orbit i:nth-child(2):after {
  animation-delay: -1.12s;
}
.calendar-orbit:before {
  animation: orbitRingPulse 4s ease-in-out infinite;
}
.calendar-orbit:after {
  animation: orbitRingPulse 4s -2s ease-in-out infinite;
}
.calendar-orbit.is-travelling i {
  filter: saturate(1.35) brightness(1.08);
}
.calendar-orbit > span {
  transition:
    color 0.35s,
    transform 0.5s;
}
.calendar-orbit > span.month-number-pop {
  animation: monthNumberPop 0.72s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes planetGlow {
  0%,
  100% {
    box-shadow:
      0 0 0 7px rgba(113, 136, 245, 0.08),
      0 0 14px rgba(113, 136, 245, 0.16);
  }
  50% {
    box-shadow:
      0 0 0 13px rgba(113, 136, 245, 0),
      0 0 28px rgba(113, 136, 245, 0.38);
  }
}
@keyframes planetRing {
  0% {
    transform: scale(0.55);
    opacity: 0.35;
  }
  75%,
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}
@keyframes orbitRingPulse {
  50% {
    border-color: rgba(103, 128, 229, 0.19);
    transform: scale(1.035);
  }
}
@keyframes monthNumberPop {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.72);
    filter: blur(8px);
  }
  65% {
    opacity: 1;
    transform: translateY(-3px) scale(1.07);
    filter: none;
  }
  100% {
    transform: none;
  }
}
.calendar-glass.month-is-leaving .calendar-grid,
.calendar-glass.month-is-leaving .calendar-month-title {
  pointer-events: none;
  animation: calendarMonthOut 0.26s ease both;
}
.calendar-glass.month-to-prev.month-is-leaving .calendar-grid,
.calendar-glass.month-to-prev.month-is-leaving .calendar-month-title {
  animation-name: calendarMonthOutPrev;
}
.calendar-glass.month-is-entering .calendar-grid,
.calendar-glass.month-is-entering .calendar-month-title {
  animation: calendarMonthIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.calendar-glass.month-to-prev.month-is-entering .calendar-grid,
.calendar-glass.month-to-prev.month-is-entering .calendar-month-title {
  animation-name: calendarMonthInPrev;
}
.calendar-agenda.month-is-leaving {
  animation: agendaMonthOut 0.26s ease both;
}
.calendar-agenda.month-is-entering {
  animation: agendaMonthIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes calendarMonthOut {
  to {
    opacity: 0;
    transform: translateX(-34px) scale(0.985);
    filter: blur(5px);
  }
}
@keyframes calendarMonthOutPrev {
  to {
    opacity: 0;
    transform: translateX(34px) scale(0.985);
    filter: blur(5px);
  }
}
@keyframes calendarMonthIn {
  from {
    opacity: 0;
    transform: translateX(42px) scale(0.985);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
@keyframes calendarMonthInPrev {
  from {
    opacity: 0;
    transform: translateX(-42px) scale(0.985);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
@keyframes agendaMonthOut {
  to {
    opacity: 0;
    transform: translateY(15px);
  }
}
@keyframes agendaMonthIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.calendar-empty i {
  position: relative;
  border-color: rgba(113, 136, 245, 0.24);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.96), rgba(232, 237, 255, 0.76));
  box-shadow:
    0 0 0 7px rgba(113, 136, 245, 0.06),
    0 10px 26px rgba(79, 99, 185, 0.12);
  color: #7188f5;
  animation: emptyCalendarPulse 2.6s ease-in-out infinite;
}
.calendar-empty i:after {
  content: '';
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(113, 136, 245, 0.34);
  border-radius: 50%;
  animation: emptyCalendarRing 2.6s ease-out infinite;
}
@keyframes emptyCalendarPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      0 0 0 7px rgba(113, 136, 245, 0.06),
      0 10px 26px rgba(79, 99, 185, 0.12);
  }
  50% {
    transform: scale(1.07);
    box-shadow:
      0 0 0 13px rgba(113, 136, 245, 0),
      0 14px 35px rgba(79, 99, 185, 0.22);
  }
}
@keyframes emptyCalendarRing {
  0% {
    opacity: 0.5;
    transform: scale(0.82);
  }
  78%,
  100% {
    opacity: 0;
    transform: scale(1.8);
  }
}
@media (prefers-reduced-motion: reduce) {
  .calendar-orbit i,
  .calendar-orbit i:after,
  .calendar-orbit:before,
  .calendar-orbit:after,
  .calendar-orbit > span.month-number-pop,
  .calendar-empty i,
  .calendar-empty i:after,
  .calendar-glass.month-is-leaving .calendar-grid,
  .calendar-glass.month-is-leaving .calendar-month-title,
  .calendar-glass.month-is-entering .calendar-grid,
  .calendar-glass.month-is-entering .calendar-month-title,
  .calendar-agenda.month-is-leaving,
  .calendar-agenda.month-is-entering {
    animation: none;
  }
  .calendar-orbit i {
    transition: none;
  }
}
.nav-social {
  position: relative;
  margin-left: 5px;
  isolation: isolate;
}
.nav-social button {
  font: inherit;
}
.nav-social-trigger {
  position: relative;
  z-index: 3;
  width: 126px;
  height: 46px;
  padding: 0 13px;
  border: 1px solid rgba(39, 54, 73, 0.1);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(244, 247, 252, 0.64));
  box-shadow:
    0 8px 24px rgba(42, 57, 79, 0.08),
    inset 0 1px 0 #fff;
  color: #283544;
  cursor: pointer;
  overflow: hidden;
  transition:
    width 0.5s var(--ease),
    transform 0.4s var(--ease),
    box-shadow 0.4s,
    border-color 0.35s;
}
.nav-social-trigger:before {
  content: '';
  position: absolute;
  inset: -70% -25%;
  background: linear-gradient(
    105deg,
    transparent 34%,
    rgba(255, 255, 255, 0.9) 48%,
    transparent 62%
  );
  transform: translateX(-80%) rotate(8deg);
  transition: transform 0.9s var(--ease);
  pointer-events: none;
}
.nav-social-trigger > span {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-social-trigger > span > i {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  margin-left: -3px;
  border: 1px solid rgba(46, 61, 81, 0.09);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 3px 9px rgba(32, 45, 63, 0.06);
  font-style: normal;
  transition:
    transform 0.5s var(--ease),
    margin 0.5s var(--ease),
    background 0.35s;
}
.nav-social-trigger > span > i:first-child {
  margin-left: 0;
}
.nav-social-trigger svg,
.nav-social-item svg {
  width: 14px;
  height: 14px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav-social-trigger .social-icon-dot,
.nav-social-item .social-icon-dot {
  fill: currentColor;
  stroke: none;
}
.nav-social-trigger .social-icon-play,
.nav-social-item .social-icon-play {
  fill: currentColor;
  stroke: none;
}
.nav-social-trigger > b {
  position: absolute;
  left: 50%;
  bottom: 3px;
  opacity: 0;
  transform: translate(-50%, 7px);
  color: #6d7886;
  font-size: 0.52rem;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition:
    opacity 0.3s,
    transform 0.4s var(--ease);
}
.nav-social:hover .nav-social-trigger,
.nav-social:focus-within .nav-social-trigger,
.nav-social.is-open .nav-social-trigger {
  border-color: rgba(100, 121, 218, 0.2);
  box-shadow:
    0 15px 34px rgba(56, 73, 105, 0.15),
    inset 0 1px 0 #fff;
  transform: translateY(-2px);
}
.nav-social:hover .nav-social-trigger:before,
.nav-social:focus-within .nav-social-trigger:before,
.nav-social.is-open .nav-social-trigger:before {
  transform: translateX(80%) rotate(8deg);
}
.nav-social:hover .nav-social-trigger > span > i,
.nav-social:focus-within .nav-social-trigger > span > i,
.nav-social.is-open .nav-social-trigger > span > i {
  margin: 0 2px;
  transform: translateY(-5px) scale(0.9);
  background: #fff;
}
.nav-social:hover .nav-social-trigger > b,
.nav-social:focus-within .nav-social-trigger > b,
.nav-social.is-open .nav-social-trigger > b {
  opacity: 1;
  transform: translate(-50%, 0);
}
.nav-social-menu {
  position: absolute;
  z-index: 2;
  top: calc(100% + 9px);
  right: 0;
  width: 222px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 19px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(242, 246, 252, 0.78));
  box-shadow:
    0 24px 60px rgba(43, 58, 81, 0.17),
    inset 0 1px 0 #fff;
  backdrop-filter: blur(26px) saturate(155%);
  -webkit-backdrop-filter: blur(26px) saturate(155%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px) scale(0.92);
  transform-origin: top right;
  clip-path: inset(0 0 100% 35% round 19px);
  transition:
    opacity 0.28s,
    visibility 0.28s,
    transform 0.55s var(--ease),
    clip-path 0.55s var(--ease);
}
.nav-social:hover .nav-social-menu,
.nav-social:focus-within .nav-social-menu,
.nav-social.is-open .nav-social-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  clip-path: inset(0 0 0 0 round 19px);
}
nav .nav-social-item {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  min-height: 43px;
  padding: 4px 7px 4px 5px;
  border-radius: 12px;
  color: #394756;
  font-size: 0.78rem;
  font-weight: 650;
  opacity: 0;
  transform: translateX(16px);
  transition:
    opacity 0.35s calc(var(--social-index) * 0.055s),
    transform 0.48s calc(var(--social-index) * 0.055s) var(--ease),
    background 0.25s,
    color 0.25s;
}
nav .nav-social:hover .nav-social-item,
nav .nav-social:focus-within .nav-social-item,
nav .nav-social.is-open .nav-social-item {
  opacity: 1;
  transform: none;
}
nav .nav-social-item:hover {
  background: rgba(103, 126, 232, 0.09);
  color: #3f57ba;
  transform: translateX(3px);
}
.nav-social-item > i {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(43, 58, 78, 0.09);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 5px 13px rgba(43, 58, 78, 0.06);
  font-style: normal;
  transition:
    transform 0.4s var(--ease),
    background 0.3s;
}
.nav-social-item:hover > i {
  transform: rotate(-7deg) scale(1.05);
  background: #fff;
}
.nav-social-item > b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-social-item > em {
  font-style: normal;
  color: #8a95a2;
  transition: transform 0.35s var(--ease);
}
.nav-social-item:hover > em {
  transform: translate(2px, -2px);
}
nav .nav-social-item.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
nav .nav-social-item.is-disabled:hover {
  background: transparent;
  color: #394756;
  transform: none;
}
.nav-social-item.is-disabled > em {
  display: none;
}
@media (max-width: 900px) {
  .nav-social {
    width: min(340px, 100%);
    margin: 10px auto 0;
    display: grid;
    justify-items: center;
  }
  .nav-social-trigger {
    width: 150px;
    height: 52px;
  }
  .nav-social-menu {
    position: relative;
    top: auto;
    right: auto;
    width: min(320px, 100%);
    max-height: 0;
    margin-top: 0;
    padding: 0 7px;
    border-width: 0;
    overflow: hidden;
    transform: translateY(-8px) scale(0.96);
    transform-origin: top center;
  }
  .nav-social:hover .nav-social-menu:not(:focus-within):not(.keep-open) {
    opacity: 0;
    visibility: hidden;
    max-height: 0;
  }
  .nav-social.is-open .nav-social-menu,
  .nav-social:focus-within .nav-social-menu {
    max-height: 230px;
    margin-top: 10px;
    padding: 7px;
    border-width: 1px;
    opacity: 1;
    visibility: visible;
    transform: none;
    clip-path: inset(0 0 0 0 round 19px);
  }
  nav .nav-social-item {
    font: 650 0.82rem/1 var(--sans);
    text-align: left;
    padding: 4px 7px 4px 5px;
  }
  .nav-social:hover:not(.is-open):not(:focus-within) .nav-social-item {
    opacity: 0;
    transform: translateX(16px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .nav-social-trigger:before {
    display: none;
  }
  .nav-social-trigger,
  .nav-social-trigger > span > i,
  .nav-social-menu,
  nav .nav-social-item,
  .nav-social-item > i {
    transition: none;
  }
}
@keyframes adminStatus {
  50% {
    box-shadow: 0 0 0 8px rgba(105, 220, 158, 0);
  }
}
@keyframes adminHeadIn {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes adminCardIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes settingsOpen {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes previewIn {
  from {
    opacity: 0;
    transform: translateX(25px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes saveBarIn {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes dirtyPulse {
  50% {
    transform: scale(0.72);
    opacity: 0.65;
  }
}
nav .nav-social .nav-social-item.is-disabled {
  opacity: 0.38;
  color: #78838f;
}
.nav-social-trigger {
  width: calc(var(--social-count, 4) * 37px + 28px);
  height: 56px;
  padding: 0 16px;
  border-radius: 18px;
}
.nav-social-trigger > span > i {
  width: 34px;
  height: 34px;
  margin-left: 3px;
  border-color: rgba(37, 52, 72, 0.13);
  box-shadow: 0 5px 14px rgba(32, 45, 63, 0.09);
}
.nav-social-trigger > span > i:first-child {
  margin-left: 0;
}
.nav-social-trigger svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
}
.nav-social-trigger > b {
  bottom: 4px;
  font-size: 0.56rem;
}
.nav-social:hover .nav-social-trigger > span > i,
.nav-social:focus-within .nav-social-trigger > span > i,
.nav-social.is-open .nav-social-trigger > span > i {
  margin: 0 3px;
  transform: translateY(-6px) scale(0.88);
}
.nav-social-menu {
  top: calc(100% + 11px);
  width: 246px;
  padding: 9px;
  border-radius: 21px;
}
nav .nav-social-item {
  grid-template-columns: 42px minmax(0, 1fr) 20px;
  min-height: 50px;
  font-size: 0.86rem;
}
.nav-social-item > i {
  width: 40px;
  height: 40px;
  border-radius: 13px;
}
.nav-social-item svg {
  width: 17px;
  height: 17px;
}
@media (max-width: 900px) {
  .nav-social-trigger {
    width: 190px;
    height: 58px;
  }
  .nav-social-menu {
    width: min(340px, 100%);
  }
}
.contact {
  width: min(1240px, 100%);
  grid-template-columns: minmax(0, 0.86fr) minmax(560px, 1.14fr);
  gap: clamp(46px, 6vw, 92px);
  align-items: start;
}
.contact-copy {
  position: sticky;
  top: 145px;
  padding-top: 24px;
}
.contact-copy h1 {
  font-size: clamp(4rem, 7.2vw, 7.6rem);
  margin-bottom: 30px;
}
.contact-promises {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  margin-top: 34px;
}
.contact-promises > div {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px;
  border: 1px solid rgba(35, 51, 70, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: 0 9px 25px rgba(45, 61, 84, 0.05);
}
.contact-promises b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #fff;
  color: #687de5;
  font-size: 0.65rem;
  box-shadow: 0 5px 13px rgba(60, 78, 115, 0.09);
}
.contact-promises span {
  color: #5e6977;
  font-size: 0.73rem;
  line-height: 1.45;
}
.contact-links {
  margin-top: 28px;
}
.contact-links a {
  font-size: clamp(1.05rem, 1.7vw, 1.45rem);
  padding: 14px 0;
}
.contact-form {
  position: relative;
  isolation: isolate;
  padding: clamp(24px, 3.2vw, 38px);
  gap: 25px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(242, 246, 253, 0.68));
  box-shadow:
    0 34px 90px rgba(46, 62, 87, 0.15),
    inset 0 1px 0 #fff;
  overflow: hidden;
}
.contact-form:before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 330px;
  height: 330px;
  right: -180px;
  top: -180px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--accent) 22%, transparent),
    transparent 68%
  );
  pointer-events: none;
}
.contact-form-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 21px;
  border-bottom: 1px solid rgba(35, 51, 70, 0.1);
}
.contact-form-head p {
  margin: 0 0 8px;
  color: #788493;
  font-size: 0.6rem;
  font-weight: 750;
  letter-spacing: 0.18em;
}
.contact-form-head h2 {
  max-width: 430px;
  margin: 0;
  font: 500 clamp(1.5rem, 2.3vw, 2.1rem)/1.08 var(--sans);
  letter-spacing: -0.04em;
}
.contact-form-head > span {
  color: #8b95a1;
  font-size: 0.66rem;
  letter-spacing: 0.13em;
}
.contact-project-types {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.contact-project-types legend {
  margin-bottom: 11px;
  color: #626e7b;
  font-size: 0.76rem;
  font-weight: 650;
}
.contact-project-types > div {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.contact-project-types label {
  display: block;
  cursor: pointer;
}
.contact-project-types input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.contact-project-types label span {
  display: block;
  padding: 10px 14px;
  border: 1px solid rgba(35, 51, 70, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #596573;
  font-size: 0.74rem;
  font-weight: 650;
  transition:
    transform 0.3s var(--ease),
    background 0.3s,
    color 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}
.contact-project-types label:hover span {
  transform: translateY(-2px);
  background: #fff;
}
.contact-project-types input:checked + span {
  border-color: transparent;
  background: #253344;
  color: #fff;
  box-shadow: 0 8px 20px rgba(31, 45, 64, 0.2);
}
.contact-project-types input:focus-visible + span {
  outline: 3px solid rgba(108, 133, 239, 0.25);
  outline-offset: 2px;
}
.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.contact-form label {
  gap: 7px;
  color: #687482;
  font-size: 0.72rem;
  font-weight: 650;
}
.contact-form label > span:first-child {
  padding-left: 2px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid rgba(35, 51, 70, 0.1);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.74);
  color: #25313f;
  padding: 13px 14px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition:
    border-color 0.25s,
    box-shadow 0.25s,
    background 0.25s,
    transform 0.25s;
}
.contact-form input,
.contact-form select {
  height: 48px;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #a0a8b2;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: rgba(96, 120, 227, 0.55);
  background: #fff;
  box-shadow:
    0 0 0 4px rgba(104, 128, 235, 0.1),
    0 9px 25px rgba(45, 61, 84, 0.06);
}
.contact-message textarea {
  min-height: 155px;
  line-height: 1.65;
  resize: vertical;
}
.contact-message small {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 0 3px;
  color: #9099a4;
  font-size: 0.64rem;
  font-weight: 500;
}
.contact-message small i {
  font-style: normal;
}
.contact-message small b {
  white-space: nowrap;
  color: #73808e;
}
.contact-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 2px;
}
.contact-submit p {
  max-width: 310px;
  margin: 0;
  color: #8a94a0;
  font-size: 0.62rem;
  line-height: 1.5;
}
.contact-submit .button {
  min-width: 178px;
  min-height: 52px;
  border-radius: 15px;
}
.contact-form .form-status {
  min-height: 0;
  margin: -13px 0 0;
  padding: 0;
  font-size: 0.72rem;
}
.contact-form .form-status:not(:empty) {
  padding: 11px 13px;
  border-radius: 11px;
  background: #f0f3f7;
}
.contact-form .form-status.success {
  background: #edf9f2;
  color: #218054;
}
.contact-form .form-status.error {
  background: #fff0f0;
  color: #b34545;
}
.contact-form button:disabled {
  opacity: 0.62;
  cursor: wait;
  transform: none;
}
@media (max-width: 1000px) {
  .contact {
    grid-template-columns: 1fr;
    max-width: 760px;
  }
  .contact-copy {
    position: relative;
    top: auto;
  }
  .contact-form {
    margin-top: 0;
  }
}
@media (max-width: 600px) {
  .contact {
    padding-left: 12px;
    padding-right: 12px;
  }
  .contact-copy {
    padding-left: 8px;
    padding-right: 8px;
  }
  .contact-promises {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding: 21px 15px;
    border-radius: 25px;
    gap: 21px;
  }
  .contact-form-grid {
    grid-template-columns: 1fr;
  }
  .contact-form-head h2 {
    font-size: 1.45rem;
  }
  .contact-form-head > span {
    display: none;
  }
  .contact-project-types > div {
    gap: 6px;
  }
  .contact-project-types label span {
    padding: 9px 12px;
  }
  .contact-submit {
    display: grid;
  }
  .contact-submit .button {
    width: 100%;
  }
  .contact-submit p {
    grid-row: 2;
  }
  .contact-message small i {
    display: none;
  }
}
.phone-field {
  align-content: start;
}
.phone-control {
  display: grid;
  grid-template-columns: 114px minmax(0, 1fr);
  gap: 7px;
}
.contact-form .phone-control select {
  width: 114px;
  padding: 0 30px 0 11px;
  background-color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  cursor: pointer;
}
.contact-form .phone-control input {
  min-width: 0;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.045em;
}
.phone-hint {
  min-height: 13px;
  padding-left: 3px;
  color: #8b96a2;
  font-size: 0.61rem;
  font-weight: 550;
  transition: color 0.25s;
}
.phone-field.is-required .phone-hint {
  color: #6176dc;
}
.phone-field.is-required [data-phone-label] {
  color: #4057bd;
}
.phone-field:focus-within .phone-control {
  filter: drop-shadow(0 8px 18px rgba(65, 83, 120, 0.06));
}
@media (max-width: 600px) {
  .phone-control {
    grid-template-columns: 108px minmax(0, 1fr);
  }
  .contact-form .phone-control select {
    width: 108px;
  }
}
.site-loader {
  animation: loaderCurtainIn 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
  transition:
    opacity 0.92s 0.14s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s 1.25s,
    clip-path 1.28s cubic-bezier(0.76, 0, 0.24, 1);
}
.loader-frame {
  will-change: transform, opacity, filter;
  transition:
    transform 1.05s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.78s 0.08s ease,
    filter 0.85s ease;
}
.loader-track i {
  animation-duration: 1.3s;
  animation-timing-function: cubic-bezier(0.62, 0, 0.18, 1);
}
.loader-orbit {
  will-change: transform, opacity, scale;
  animation-duration: 7s;
}
.loader-orbit:before {
  animation: loaderRingBreath 3.4s ease-in-out infinite;
}
.loader-orbit:after {
  animation: loaderRingBreath 3.4s -1.7s ease-in-out infinite;
}
.loader-orbit i {
  animation: loaderDotPulse 2.2s ease-in-out infinite;
}
.loader-orbit i:nth-child(2) {
  animation-delay: -0.75s;
}
.loader-orbit i:nth-child(3) {
  animation-delay: -1.4s;
}
.loader-index i {
  position: relative;
  overflow: hidden;
}
.loader-index i:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, #8294ef, transparent);
  transform: translateX(-100%);
  animation: loaderIndexSweep 1.7s 0.25s ease-in-out infinite;
}
.site-loader.is-complete {
  animation: none;
}
.site-loader.is-complete .loader-mark span {
  animation: loaderWordOut 0.62s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
.site-loader.is-complete .loader-mark span:last-child {
  animation-delay: 0.07s;
}
.site-loader.is-complete .loader-meta,
.site-loader.is-complete .loader-index {
  opacity: 0;
  transform: translateY(9px);
  transition:
    opacity 0.48s 0.05s,
    transform 0.58s 0.05s var(--ease);
}
.site-loader.is-complete .loader-frame {
  transform: translateY(-34px) scale(0.975);
  opacity: 0;
  filter: blur(7px);
}
.site-loader.is-complete .loader-orbit {
  transform: none;
  scale: 1.12;
  opacity: 0;
  animation-play-state: running;
  transition:
    scale 1.18s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.95s 0.18s ease;
}
@keyframes loaderCurtainIn {
  from {
    opacity: 0;
    transform: scale(1.015);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
@keyframes loaderWordOut {
  0% {
    opacity: 1;
    transform: none;
    filter: none;
  }
  100% {
    opacity: 0;
    transform: translateY(-24px);
    filter: blur(6px);
  }
}
@keyframes loaderRingBreath {
  50% {
    scale: 1.045;
    opacity: 0.45;
  }
}
@keyframes loaderDotPulse {
  0%,
  100% {
    scale: 1;
    box-shadow: 0 0 0 8px rgba(113, 136, 245, 0.07);
  }
  50% {
    scale: 1.22;
    box-shadow:
      0 0 0 16px rgba(113, 136, 245, 0),
      0 0 28px rgba(113, 136, 245, 0.3);
  }
}
@keyframes loaderIndexSweep {
  50%,
  100% {
    transform: translateX(100%);
  }
}
.reveal {
  opacity: 0;
  transform: translate3d(0, 56px, 0) scale(0.985);
  filter: blur(7px);
  transition:
    opacity 1.05s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 1.18s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.95s ease;
  will-change: opacity, transform, filter;
}
.reveal.visible {
  opacity: 1;
  transform: none;
  filter: none;
}
.stagger > * {
  opacity: 0;
  transform: translate3d(0, 44px, 0) scale(0.987);
  filter: blur(6px);
  will-change: opacity, transform, filter;
}
.stagger.visible > * {
  animation: riseSmooth 1.05s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.stagger.visible > *:nth-child(2) {
  animation-delay: 0.11s;
}
.stagger.visible > *:nth-child(3) {
  animation-delay: 0.22s;
}
.stagger.visible > *:nth-child(4) {
  animation-delay: 0.33s;
}
.stagger.visible > *:nth-child(5) {
  animation-delay: 0.44s;
}
.stagger.visible > *:nth-child(6) {
  animation-delay: 0.55s;
}
@keyframes riseSmooth {
  0% {
    opacity: 0;
    transform: translate3d(0, 44px, 0) scale(0.987);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
html[data-reveal='fade'] .reveal {
  transform: none;
}
html[data-reveal='zoom'] .reveal {
  transform: scale(0.95);
}
html[data-motion='off'] .reveal,
html[data-motion='off'] .stagger > * {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  animation: none !important;
}
.site-footer {
  min-height: 0;
  margin-top: 64px;
  padding: clamp(28px, 3.4vw, 46px);
  grid-template-columns: minmax(270px, 1.15fr) minmax(170px, 0.55fr) minmax(300px, 0.95fr);
  grid-template-rows: auto auto;
  gap: clamp(26px, 3.4vw, 50px);
}
.footer-primary {
  min-height: 180px;
}
.footer-logo {
  margin: 25px 0 22px;
  font-size: clamp(3.7rem, 6vw, 5.8rem);
}
.footer-primary #footer-note {
  margin-top: auto;
}
.footer-column .footer-title {
  margin-bottom: 14px;
}
.footer-column > a {
  padding: 11px 0;
  font-size: 0.88rem;
}
.footer-contact {
  padding: 20px;
  border-radius: 21px;
}
.footer-contact > .footer-title {
  margin-bottom: 11px;
}
.footer-contact > p:not(.footer-title) {
  margin-bottom: 17px;
  font-size: 0.79rem;
}
.footer-mail {
  min-height: 48px;
  font-size: 0.86rem;
}
.footer-mail i {
  width: 32px;
  height: 32px;
}
.footer-instagram {
  margin-top: 13px;
}
.footer-bottom {
  padding-top: 18px;
}
@media (max-width: 900px) {
  .site-footer {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-primary {
    min-height: 150px;
  }
  .footer-logo {
    margin: 22px 0 18px;
  }
}
@media (max-width: 600px) {
  .site-footer {
    margin-top: 44px;
    padding: 25px 18px;
    gap: 28px;
  }
  .footer-primary {
    min-height: 175px;
  }
  .footer-logo {
    margin: 23px 0 19px;
  }
  .footer-bottom {
    padding-top: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-loader {
    animation: none;
  }
  .loader-orbit:before,
  .loader-orbit:after,
  .loader-orbit i,
  .loader-index i:after {
    animation: none;
  }
  .site-loader.is-complete .loader-mark span {
    animation: none;
    opacity: 0;
  }
  .reveal,
  .stagger > * {
    filter: none;
    will-change: auto;
  }
}
.reveal.motion-settled,
.stagger.motion-settled > * {
  will-change: auto;
}
#app,
.footer {
  transition:
    opacity 0.95s 0.08s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 1.05s 0.08s cubic-bezier(0.16, 1, 0.3, 1);
}
.topbar {
  transition:
    transform 0.7s var(--ease),
    background 0.4s,
    opacity 0.9s 0.08s ease;
}
body:before,
body:after {
  filter: none;
  animation: none;
  opacity: 0.24;
}
.grain {
  opacity: 0.014;
  mix-blend-mode: normal;
  contain: strict;
  transform: translateZ(0);
}
.glass {
  backdrop-filter: blur(16px) saturate(125%);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
}
.topbar {
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
}
.site-footer {
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
}
.hero-media {
  will-change: transform;
}
.hero-media img {
  animation: heroZoom 9s var(--ease) both !important;
  filter: saturate(0.9) contrast(1.04);
}
.project-row,
.custom-section,
.manifesto,
.services,
.home-cta {
  content-visibility: auto;
  contain-intrinsic-size: auto 760px;
}
.gallery-frame {
  /* Multi-column balancing needs the actual height, including offscreen cards. */
  content-visibility: visible;
  contain-intrinsic-size: none;
}
.reveal {
  filter: none;
  will-change: auto;
  transform: translate3d(0, 46px, 0) scale(0.99);
  transition:
    opacity 0.82s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.96s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.motion-primed {
  will-change: opacity, transform;
}
.stagger > * {
  filter: none;
  will-change: auto;
  transform: translate3d(0, 34px, 0);
  transition:
    opacity 0.72s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.stagger.motion-primed > * {
  will-change: opacity, transform;
}
.stagger.visible > * {
  opacity: 1;
  transform: none;
  animation: none;
}
.stagger > *:nth-child(1) {
  --reveal-delay: 0s;
}
.stagger > *:nth-child(2) {
  --reveal-delay: 0.055s;
}
.stagger > *:nth-child(3) {
  --reveal-delay: 0.11s;
}
.stagger > *:nth-child(4) {
  --reveal-delay: 0.165s;
}
.stagger > *:nth-child(5) {
  --reveal-delay: 0.22s;
}
.stagger > *:nth-child(6) {
  --reveal-delay: 0.275s;
}
.reveal.motion-settled,
.stagger.motion-settled > * {
  will-change: auto;
}
.project-card.reveal .project-image {
  clip-path: none;
  opacity: 0.01;
  transform: translate3d(0, 25px, 0) scale(0.987);
  transition:
    opacity 0.72s ease,
    transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.project-card.reveal.visible .project-image {
  opacity: 1;
  transform: none;
}
.gallery-reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0) scale(0.992);
  transition:
    opacity 0.68s ease,
    transform 0.88s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-reveal.motion-primed {
  will-change: opacity, transform;
}
.gallery-reveal.visible {
  opacity: 1;
  transform: none;
}
.gallery-reveal.motion-settled {
  will-change: auto;
}
.project-image,
.editorial-shot {
  transform: translateZ(0);
}
.gallery-item img,
.project-image img,
.editorial-shot img {
  backface-visibility: hidden;
}
.gallery-item:after,
.editorial-shot span {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(255, 255, 255, 0.9);
}
.cursor-orb {
  width: 30px;
  height: 30px;
  left: -15px;
  top: -15px;
  will-change: transform;
  transition: transform 0.075s linear;
}
.scroll-progress {
  will-change: transform;
  box-shadow: none;
}
.lightbox {
  background: rgba(242, 246, 251, 0.97);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.lightbox-image-wrap {
  will-change: auto;
}
.lightbox-image-wrap.switch-out-next,
.lightbox-image-wrap.switch-out-prev,
.lightbox-image-wrap.switch-in-next,
.lightbox-image-wrap.switch-in-prev {
  will-change: transform, opacity;
}
.lightbox-image-wrap.switch-out-next {
  animation: photoOutNextFast 0.16s ease-in both;
}
.lightbox-image-wrap.switch-out-prev {
  animation: photoOutPrevFast 0.16s ease-in both;
}
.lightbox-image-wrap.switch-in-next {
  animation: photoInNextFast 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.lightbox-image-wrap.switch-in-prev {
  animation: photoInPrevFast 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes photoOutNextFast {
  to {
    opacity: 0;
    transform: translate3d(-30px, 0, 0) scale(0.985);
  }
}
@keyframes photoOutPrevFast {
  to {
    opacity: 0;
    transform: translate3d(30px, 0, 0) scale(0.985);
  }
}
@keyframes photoInNextFast {
  from {
    opacity: 0;
    transform: translate3d(42px, 0, 0) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes photoInPrevFast {
  from {
    opacity: 0;
    transform: translate3d(-42px, 0, 0) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
::view-transition-old(root) {
  animation: pageOutFast 0.22s ease both;
}
::view-transition-new(root) {
  animation: pageInFast 0.42s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes pageOutFast {
  to {
    opacity: 0;
    transform: scale(0.995);
  }
}
@keyframes pageInFast {
  from {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.loader-track {
  height: 18px;
  margin: 35px 0 12px;
  overflow: visible;
  background: none;
  border-radius: 0;
}
.loader-track svg {
  display: block;
  width: 100%;
  height: 18px;
  overflow: visible;
}
.loader-track path {
  fill: none;
  vector-effect: non-scaling-stroke;
}
.loader-track-base {
  stroke: rgba(111, 91, 166, 0.14);
  stroke-width: 4;
  stroke-linecap: round;
}
.loader-track-active {
  stroke: #6f5ba6;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: loaderWaveProgress 1.22s 0.08s cubic-bezier(0.62, 0, 0.18, 1) forwards;
}
.loader-track-stop {
  fill: #f7f4fb;
  stroke: #494252;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}
.site-loader.is-complete .loader-track {
  opacity: 0;
  transform: translateY(5px);
  transition:
    opacity 0.38s,
    transform 0.5s var(--ease);
}
.site-loader:before,
.site-loader:after {
  filter: none;
  opacity: 0.32;
}
.loader-frame {
  filter: none !important;
}
.site-loader.is-complete .loader-frame {
  filter: none;
}
.site-loader.is-complete .loader-mark span {
  filter: none;
}
.returning-visit .loader-mark {
  transform: scale(0.78);
}
.returning-visit .loader-meta {
  opacity: 0.72;
}
.returning-visit .site-loader {
  transition-duration: 0.64s, 0.64s, 0.72s;
}
.returning-visit .loader-track-active {
  animation-duration: 0.44s;
}
.returning-visit .loader-orbit {
  animation-duration: 5s;
}
@keyframes loaderWaveProgress {
  to {
    stroke-dashoffset: 0;
  }
}
@media (max-width: 700px) {
  body:before,
  body:after {
    display: none;
  }
  .glass,
  .topbar,
  .site-footer {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .cursor-orb {
    display: none;
  }
}
.loader-track-base {
  stroke: rgba(111, 136, 247, 0.14);
}
.loader-track-active {
  stroke: url(#loader-progress-gradient);
  filter: drop-shadow(0 2px 5px rgba(164, 112, 224, 0.18));
}
.loader-track-stop {
  fill: #ff9d78;
  stroke: none;
  filter: drop-shadow(0 0 4px rgba(255, 157, 120, 0.45));
}
.returning-visit .loader-mark {
  transform: scale(0.82);
}
.returning-visit .loader-meta {
  opacity: 0.78;
}
.returning-visit .site-loader {
  transition-duration: 0.82s, 0.82s, 0.9s;
}
.returning-visit .loader-track-active {
  animation-duration: 0.72s;
}
.returning-visit .loader-orbit {
  animation-duration: 5.6s;
}
@keyframes loginPanelIn {
  from {
    opacity: 0;
    transform: translateX(42px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes loginStoryIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes loginFadeDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes loginFadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes loginAura {
  to {
    transform: translate3d(4vw, 3vh, 0) scale(1.12);
  }
}
@keyframes loginPulse {
  50% {
    box-shadow: 0 0 0 9px rgba(111, 137, 244, 0);
  }
}
@keyframes loginLock {
  from {
    transform: translateY(6px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
@keyframes loginArrow {
  50% {
    transform: translateX(5px);
  }
}
.current-session > em {
  padding: 4px 6px;
  border-radius: 5px;
  background: #edf9f3;
  color: #34805d;
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.current-session {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin: 15px 0;
  padding: 11px;
  border: 1px solid #e2ebe6;
  border-radius: 10px;
  background: #f7fcf9;
}
.current-session > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #44be80;
  box-shadow: 0 0 0 4px rgba(68, 190, 128, 0.09);
}
.current-session > span {
  display: grid;
  gap: 2px;
}
.current-session b {
  font-size: 10.5px;
}
.current-session small {
  color: #87919d;
  font-size: 8.5px;
}
.end-other-sessions {
  width: 100%;
  min-height: 39px;
  justify-content: center;
  border-radius: 9px;
  background: #f7f8fa;
  color: #53606e;
  font-size: 9.5px;
}
.end-other-sessions span {
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 99px;
  background: #e8ebf0;
  font-size: 8px;
}
.end-other-sessions:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.end-other-sessions:disabled:hover {
  transform: none;
}
.session-card {
  animation-delay: 0.19s;
}
.section-constructor {
  display: grid;
  grid-template-columns: minmax(360px, 440px) minmax(440px, 1fr);
  gap: 12px;
  align-items: start;
  padding-bottom: 82px;
}
@keyframes builderPreviewIn {
  from {
    opacity: 0;
    transform: scale(0.985) translateY(5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 1120px) {
  .section-constructor {
    grid-template-columns: 340px minmax(0, 1fr);
  }
}
@media (max-width: 900px) {
  .section-constructor {
    grid-template-columns: 1fr;
  }
}
.history-map-page {
  position: relative;
  overflow: hidden;
  padding: clamp(120px, 14vw, 190px) clamp(20px, 6vw, 96px) clamp(80px, 10vw, 150px);
  background:
    radial-gradient(circle at 76% 22%, rgba(188, 168, 244, 0.18), transparent 28%),
    radial-gradient(circle at 18% 54%, rgba(126, 183, 220, 0.14), transparent 26%), var(--bg);
}
.map-hero {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  max-width: 1420px;
  margin: 0 auto 40px;
}
.map-hero > div {
  max-width: 820px;
}
.map-hero h1 {
  max-width: 780px;
  margin: 12px 0 20px;
  font-size: clamp(3.3rem, 7.4vw, 8.4rem);
  font-weight: 470;
  line-height: 0.86;
  letter-spacing: -0.075em;
}
.map-hero > div > p:last-child {
  max-width: 590px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.35vw, 1.25rem);
  line-height: 1.65;
}
.map-hero > aside {
  display: flex;
  align-items: end;
  gap: 14px;
  padding: 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 18px 50px rgba(64, 73, 106, 0.08);
  backdrop-filter: blur(20px);
}
.map-hero > aside span {
  font-size: clamp(2.7rem, 5vw, 5.4rem);
  font-weight: 350;
  line-height: 0.78;
  letter-spacing: -0.08em;
}
.map-hero > aside p {
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.history-map-shell {
  position: relative;
  z-index: 2;
  max-width: 1420px;
  min-height: min(820px, 76vw);
  margin: auto;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: clamp(30px, 4vw, 62px);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(244, 246, 253, 0.42));
  box-shadow:
    0 40px 100px rgba(55, 65, 97, 0.12),
    inset 0 1px 0 #fff;
  backdrop-filter: blur(28px);
  isolation: isolate;
}
.history-map-shell:before {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(90, 103, 145, 0.08);
  border-radius: calc(clamp(30px, 4vw, 62px) - 12px);
  pointer-events: none;
}
.map-ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.55;
  pointer-events: none;
}
.map-ambient-a {
  width: 340px;
  height: 340px;
  right: 4%;
  top: 5%;
  background: radial-gradient(circle, rgba(152, 131, 231, 0.2), transparent 68%);
  animation: mapAmbient 9s ease-in-out infinite;
}
.map-ambient-b {
  width: 280px;
  height: 280px;
  left: 5%;
  bottom: 5%;
  background: radial-gradient(circle, rgba(98, 177, 199, 0.18), transparent 68%);
  animation: mapAmbient 12s 1.2s ease-in-out infinite reverse;
}
.history-map-stage {
  position: relative;
  width: min(650px, 58vw);
  aspect-ratio: 600/650;
  margin: auto;
  overflow: visible;
}
.history-map-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.poland-shape {
  fill: url(#poland-fill);
}
.poland-outline {
  fill: none;
  stroke: rgba(68, 77, 108, 0.35);
  stroke-width: 2;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.map-regions path,
.map-rivers path {
  fill: none;
  vector-effect: non-scaling-stroke;
}
.map-regions path {
  stroke: rgba(105, 116, 153, 0.1);
  stroke-width: 1;
}
.map-rivers path {
  stroke: rgba(105, 151, 211, 0.22);
  stroke-width: 2;
  stroke-linecap: round;
}
.map-points-layer {
  position: absolute;
  inset: 0;
  z-index: 4;
}
.history-point {
  position: absolute;
  left: var(--point-x);
  top: var(--point-y);
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  color: #263343;
  cursor: pointer;
  outline: none;
  animation: mapPointArrive 0.8s calc(0.12s * var(--point-index)) cubic-bezier(0.2, 0.8, 0.2, 1)
    both;
}
.history-point.size-small {
  scale: 0.8;
}
.history-point.size-large {
  scale: 1.18;
}
.point-rings {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.point-rings b {
  position: relative;
  z-index: 3;
  width: 9px;
  height: 9px;
  border: 3px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  background: var(--point-color);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--point-color) 55%, transparent);
}
.point-rings i {
  position: absolute;
  width: 24px;
  height: 24px;
  border: 1px solid color-mix(in srgb, var(--point-color) 68%, transparent);
  border-radius: 50%;
  animation: mapPulse 2.5s ease-out infinite;
}
.point-rings i:nth-child(2) {
  animation-delay: 1.2s;
}
.pulse-calm .point-rings i {
  animation-duration: 3.8s;
}
.pulse-energetic .point-rings i {
  animation-duration: 1.65s;
}
.history-point.featured .point-rings:after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  border: 1px dashed color-mix(in srgb, var(--point-color) 38%, transparent);
  border-radius: 50%;
  animation: mapSpin 9s linear infinite;
}
.history-point > em {
  position: absolute;
  left: 32px;
  top: 8px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 6px 18px rgba(50, 62, 91, 0.08);
  backdrop-filter: blur(12px);
  font-size: 0.56rem;
  font-style: normal;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: 0.35s;
}
.history-point.label-left > em {
  left: auto;
  right: 32px;
}
.history-point.label-top > em {
  left: 50%;
  top: auto;
  bottom: 31px;
  transform: translateX(-50%);
}
.history-point.label-bottom > em {
  left: 50%;
  top: 31px;
  transform: translateX(-50%);
}
.history-point:hover > em,
.history-point:focus-visible > em,
.history-point.is-open > em {
  border-color: color-mix(in srgb, var(--point-color) 34%, #fff);
  background: #fff;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--point-color) 16%, transparent);
}
.map-point-card {
  position: absolute;
  z-index: 20;
  left: 33px;
  top: 50%;
  display: block;
  width: min(370px, 44vw);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 22px;
  background: rgba(252, 252, 255, 0.9);
  box-shadow: 0 26px 70px rgba(41, 51, 82, 0.2);
  backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(12px, -50%) scale(0.94);
  transform-origin: left center;
  transition:
    opacity 0.28s,
    visibility 0.28s,
    transform 0.42s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.history-point.label-left .map-point-card {
  left: auto;
  right: 33px;
  transform: translate(-12px, -50%) scale(0.94);
  transform-origin: right center;
}
.history-point:hover .map-point-card,
.history-point:focus-within .map-point-card,
.history-point.is-open .map-point-card {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(0, -50%) scale(1);
}
.map-point-card > small {
  display: block;
  color: var(--point-color);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.map-point-card > strong {
  display: block;
  margin: 5px 0 7px;
  font-family: Georgia, serif;
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: -0.04em;
}
.map-point-card > p {
  margin: 0;
  color: #717987;
  font-size: 0.72rem;
  line-height: 1.5;
}
.map-point-count {
  display: block;
  margin: 12px 0 7px;
  color: #9aa0aa;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.map-point-albums {
  display: grid;
  gap: 6px;
}
.map-album-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 5px;
  border: 1px solid rgba(57, 70, 102, 0.08);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.72);
  color: inherit;
  text-decoration: none;
  transition: 0.3s;
}
.map-album-card:hover {
  border-color: color-mix(in srgb, var(--point-color) 28%, #fff);
  background: #fff;
  transform: translateX(3px);
}
.map-album-card img {
  width: 52px;
  height: 44px;
  border-radius: 9px;
  object-fit: cover;
}
.map-album-card > span {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.map-album-card small {
  color: #979da7;
  font-size: 0.48rem;
  letter-spacing: 0.1em;
}
.map-album-card b {
  overflow: hidden;
  font-size: 0.68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.map-album-card > i {
  font-size: 0.8rem;
  font-style: normal;
}
.map-no-albums {
  padding: 12px;
  border-radius: 11px;
  background: #f3f5f9;
  color: #8e96a2;
  font-size: 0.65rem;
}
.map-compass {
  position: absolute;
  left: -20%;
  bottom: 12%;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(71, 82, 115, 0.12);
  border-radius: 50%;
  color: #7e8797;
  font-size: 0.55rem;
}
.map-compass:before,
.map-compass:after {
  content: '';
  position: absolute;
  background: rgba(71, 82, 115, 0.12);
}
.map-compass:before {
  width: 1px;
  height: 100%;
}
.map-compass:after {
  width: 100%;
  height: 1px;
}
.map-compass span {
  position: absolute;
  z-index: 2;
  top: -7px;
  padding: 1px 5px;
  background: var(--bg);
  font-weight: 800;
}
.map-compass i {
  z-index: 2;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(115, 136, 255, 0.1);
}
.map-instruction {
  position: absolute;
  right: -38%;
  bottom: 10%;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: #8c94a1;
  font-size: 0.6rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.map-instruction i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(115, 136, 255, 0.1);
  animation: mapInstruction 2.5s ease-in-out infinite;
}
.map-mobile-stories {
  display: none;
}
@keyframes mapPointArrive {
  from {
    opacity: 0;
    translate: 0 18px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@keyframes mapPulse {
  0% {
    opacity: 0.8;
    transform: scale(0.35);
  }
  75%,
  100% {
    opacity: 0;
    transform: scale(1.8);
  }
}
@keyframes mapSpin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes mapAmbient {
  50% {
    transform: translate3d(18px, -14px, 0) scale(1.08);
  }
}
@keyframes mapInstruction {
  50% {
    box-shadow: 0 0 0 12px rgba(115, 136, 255, 0);
  }
}
@media (max-width: 900px) {
  .map-hero {
    align-items: start;
  }
  .map-hero > aside {
    padding: 14px 17px;
  }
  .history-map-shell {
    min-height: 0;
    padding: 30px 0;
  }
  .history-map-stage {
    width: min(620px, 86vw);
  }
  .map-compass,
  .map-instruction {
    display: none;
  }
  .map-point-card {
    width: min(330px, 70vw);
  }
  .history-point[style*='--point-x:6'] .map-point-card,
  .history-point[style*='--point-x:7'] .map-point-card,
  .history-point[style*='--point-x:8'] .map-point-card,
  .history-point[style*='--point-x:9'] .map-point-card {
    left: auto;
    right: 33px;
    transform-origin: right center;
  }
}
@media (max-width: 650px) {
  .history-map-page {
    padding: 110px 14px 75px;
  }
  .map-hero {
    display: block;
    margin-bottom: 24px;
    padding: 0 8px;
  }
  .map-hero h1 {
    font-size: clamp(3.2rem, 15vw, 5.4rem);
  }
  .map-hero > aside {
    display: none;
  }
  .history-map-shell {
    border-radius: 30px;
  }
  .history-map-shell:before {
    inset: 8px;
    border-radius: 23px;
  }
  .history-map-stage {
    width: 94vw;
    max-width: 540px;
  }
  .history-point > em,
  .map-point-card {
    display: none;
  }
  .history-point {
    width: 42px;
    height: 42px;
    margin: -21px 0 0 -21px;
  }
  .point-rings b {
    width: 11px;
    height: 11px;
  }
  .map-mobile-stories {
    display: grid;
    gap: 12px;
    padding: 72px 5px 0;
  }
  .map-mobile-stories > article {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 14px 35px rgba(55, 65, 97, 0.07);
    backdrop-filter: blur(18px);
  }
  .map-mobile-stories > article > span {
    color: #9aa1ad;
    font-size: 0.62rem;
    font-weight: 800;
  }
  .map-mobile-stories article small {
    color: var(--accent);
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  .map-mobile-stories h2 {
    margin: 4px 0 7px;
    font-size: 1.7rem;
  }
  .map-mobile-stories article p {
    margin: 0 0 14px;
    color: #747d89;
    font-size: 0.76rem;
    line-height: 1.55;
  }
  .map-mobile-stories article > div > div {
    display: grid;
    gap: 6px;
  }
  .map-empty {
    padding: 30px 20px;
    border-radius: 24px;
    background: #fff;
  }
  .map-empty h2 {
    margin: 0 0 7px;
  }
  .map-empty p {
    margin: 0;
    color: var(--muted);
  }
}
@media (prefers-reduced-motion: reduce) {
  .point-rings i,
  .history-point.featured .point-rings:after,
  .map-ambient,
  .map-instruction i {
    animation: none;
  }
}
.map-copy-form,
.map-point-list {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid #e9ecf1;
  border-radius: 11px;
  background: #fbfcfd;
}
.map-side-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 3px;
}
.map-side-title > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #eef2ff;
  color: #647be2;
}
.map-side-title > div {
  display: grid;
  gap: 2px;
}
.map-side-title b {
  font-size: 10px;
}
.map-side-title small {
  color: #949da8;
  font-size: 7.5px;
}
.map-copy-form > label {
  display: grid;
  gap: 4px;
  color: #64707d;
  font-size: 8px;
  font-weight: 700;
}
.map-copy-form input,
.map-copy-form textarea {
  width: 100%;
  padding: 8px 9px;
  border: 1px solid #dfe3e9;
  border-radius: 7px;
  background: #fff;
  color: #32404e;
  font-size: 9px;
  outline: none;
  resize: vertical;
}
.map-copy-form input:focus,
.map-copy-form textarea:focus {
  border-color: #7d92eb;
  box-shadow: 0 0 0 3px rgba(105, 130, 235, 0.08);
}
.map-copy-form .button {
  min-height: 35px;
  justify-content: center;
  border-radius: 7px;
  font-size: 8.5px;
}
.map-point-list > button {
  display: grid;
  grid-template-columns: 9px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 8px;
  border: 1px solid #e8ebef;
  border-radius: 8px;
  background: #fff;
  color: #394653;
  text-align: left;
  cursor: pointer;
  transition: 0.25s;
}
.map-point-list > button:hover {
  border-color: #bbc7f3;
  background: #f6f8ff;
  transform: translateX(2px);
}
.map-point-list > button > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--color) 12%, transparent);
}
.map-point-list > button > span {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.map-point-list b {
  overflow: hidden;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.map-point-list small {
  color: #949ca7;
  font-size: 7px;
}
.map-point-list em {
  color: #88929e;
  font-size: 6px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.map-list-empty {
  padding: 18px;
  color: #929ba6;
  font-size: 8px;
  text-align: center;
}
.map-point-editor {
  display: grid;
  grid-template-columns: minmax(440px, 1.05fr) minmax(430px, 0.95fr);
  gap: 12px;
  align-items: start;
  padding-bottom: 30px;
}
.map-point-form {
  border: 1px solid var(--admin-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 13px 38px rgba(27, 42, 62, 0.055);
}
.map-point-form {
  display: grid;
  gap: 12px;
  padding: 16px;
}
.map-form-section {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 9px;
  border-bottom: 1px solid #eceef2;
}
.map-form-section > span {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #eef2ff;
  color: #6178df;
  font-size: 7px;
  font-weight: 800;
}
.map-form-section > div {
  display: grid;
  gap: 2px;
}
.map-form-section b {
  font-size: 10px;
}
.map-form-section small {
  color: #929ba6;
  font-size: 7.5px;
}
.map-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.map-form-grid label {
  display: grid;
  gap: 5px;
  color: #64707d;
  font-size: 8px;
  font-weight: 700;
}
.map-form-grid label.full {
  grid-column: 1/-1;
}
.map-form-grid input,
.map-form-grid textarea,
.map-form-grid select {
  width: 100%;
  min-height: 37px;
  padding: 8px 9px;
  border: 1px solid #dde1e7;
  border-radius: 8px;
  background: #fafbfc;
  color: #32404e;
  font-size: 9px;
  outline: none;
}
.map-form-grid textarea {
  min-height: 78px;
  resize: vertical;
}
.map-form-grid :is(input, textarea, select):focus {
  border-color: #7b91ec;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(105, 130, 235, 0.08);
}
.map-color-control > div {
  position: relative;
}
.map-color-control input {
  padding: 4px;
  cursor: pointer;
}
.map-color-control span {
  position: absolute;
  right: 9px;
  top: 12px;
  color: #76818e;
  font-size: 7px;
}
.map-album-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.map-album-picker input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.map-album-picker label {
  min-width: 0;
  cursor: pointer;
}
.map-album-picker label > span {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: 1fr 1fr;
  column-gap: 8px;
  align-items: center;
  padding: 5px;
  border: 1px solid #e3e6eb;
  border-radius: 9px;
  background: #fafbfc;
  transition: 0.25s;
}
.map-album-picker img {
  grid-row: 1/3;
  width: 42px;
  height: 38px;
  border-radius: 6px;
  object-fit: cover;
  filter: saturate(0.7);
  transition: 0.25s;
}
.map-album-picker b {
  overflow: hidden;
  align-self: end;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.map-album-picker small {
  align-self: start;
  color: #929ba6;
  font-size: 6.5px;
}
.map-album-picker i {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 14px;
  height: 14px;
  border: 1px solid #d5dae1;
  border-radius: 4px;
  background: #fff;
}
.map-album-picker input:checked + span {
  border-color: #8196eb;
  background: #f3f6ff;
  box-shadow: 0 0 0 2px rgba(105, 130, 235, 0.07);
}
.map-album-picker input:checked + span img {
  filter: none;
}
.map-album-picker input:checked + span i {
  border-color: #687fe5;
  background: #687fe5;
}
.map-album-picker input:checked + span i:after {
  content: '✓';
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 8px;
}
.map-publish-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.map-publish-row label {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid #e2e6eb;
  border-radius: 9px;
  background: #fafbfc;
  cursor: pointer;
}
.map-publish-row input {
  position: absolute;
  opacity: 0;
}
.map-publish-row label > span {
  position: relative;
  width: 32px;
  height: 19px;
  border-radius: 99px;
  background: #cbd1d9;
  transition: 0.25s;
}
.map-publish-row label > span i {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(20, 32, 47, 0.18);
  transition: 0.25s;
}
.map-publish-row input:checked + span {
  background: #687fe5;
}
.map-publish-row input:checked + span i {
  transform: translateX(13px);
}
.map-publish-row b {
  display: grid;
  font-size: 8px;
}
.map-publish-row small {
  color: #929ba6;
  font-size: 6.5px;
  font-weight: 400;
}
.map-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  padding-top: 4px;
}
.map-form-actions .button {
  min-height: 38px;
  border-radius: 8px;
  font-size: 8.5px;
}
.button.danger {
  border-color: #f0dadd;
  background: #fff7f8;
  color: #b24a53;
}
@media (max-width: 1050px) {
  .map-point-editor {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 680px) {
  .map-point-editor {
    display: block;
  }
  .map-point-form {
    margin-top: 10px;
  }
  .map-form-grid,
  .map-publish-row {
    grid-template-columns: 1fr;
  }
  .map-form-grid label.full {
    grid-column: auto;
  }
  .map-album-picker {
    grid-template-columns: 1fr 1fr;
  }
}
.history-map-stage {
  width: min(760px, 63vw);
  aspect-ratio: 2061/1925;
}
.history-map-svg.real-poland-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  overflow: visible;
  filter: drop-shadow(0 28px 28px rgba(67, 76, 109, 0.15));
}
.map-compass {
  left: -16%;
  bottom: 12%;
}
.map-instruction {
  right: -25%;
  bottom: 8%;
}
.map-attribution {
  position: absolute;
  right: 28px;
  bottom: 20px;
  color: #a2a8b3;
  font-size: 0.45rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  opacity: 0.72;
  transition: 0.25s;
}
.map-attribution:hover {
  color: #727d8c;
  opacity: 1;
}
@media (max-width: 900px) {
  .history-map-stage {
    width: min(720px, 88vw);
  }
  .map-attribution {
    right: 18px;
    bottom: 13px;
  }
}
@media (max-width: 650px) {
  .history-map-stage {
    width: 94vw;
  }
  .map-attribution {
    right: 14px;
    bottom: 10px;
    font-size: 0.4rem;
  }
}
.history-map-page {
  padding-top: clamp(125px, 11vw, 165px);
  background:
    radial-gradient(circle at 78% 12%, rgba(181, 154, 246, 0.2), transparent 24%),
    radial-gradient(circle at 9% 52%, rgba(111, 194, 218, 0.16), transparent 26%),
    linear-gradient(180deg, #f8f9fc 0%, #f3f5fa 56%, #fafbfc 100%);
}
.map-hero {
  max-width: 1320px;
  margin-bottom: 30px;
}
.map-hero h1 {
  max-width: 720px;
  font-size: clamp(3.4rem, 6.2vw, 7.25rem);
}
.map-hero > aside {
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(248, 248, 255, 0.46));
  box-shadow:
    0 22px 55px rgba(59, 70, 103, 0.1),
    inset 0 1px 0 #fff;
  animation: mapCounterFloat 6s ease-in-out infinite;
}
.history-map-shell {
  --map-mouse-x: 60%;
  --map-mouse-y: 35%;
  max-width: 1320px;
  min-height: 0;
  padding: 24px 28px 16px;
  overflow: hidden;
  border-radius: 36px;
  background:
    radial-gradient(
      circle at var(--map-mouse-x) var(--map-mouse-y),
      rgba(255, 255, 255, 0.98),
      rgba(250, 250, 255, 0.67) 25%,
      rgba(239, 243, 250, 0.57) 68%
    ),
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(240, 243, 250, 0.47));
  box-shadow:
    0 32px 100px rgba(51, 63, 96, 0.14),
    inset 0 1px 0 #fff;
  transition: background 0.3s ease;
}
.history-map-shell:before {
  inset: 10px;
  border-radius: 28px;
}
.history-map-shell:after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -45%;
  background: conic-gradient(
    from 90deg at 50% 50%,
    transparent 0 32%,
    rgba(135, 118, 231, 0.08) 38%,
    transparent 44% 76%,
    rgba(102, 190, 216, 0.08) 82%,
    transparent 88%
  );
  animation: mapAuraSpin 24s linear infinite;
  pointer-events: none;
}
.map-grid-sheen {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(79, 91, 124, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 91, 124, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, transparent, #000 17%, #000 82%, transparent);
  pointer-events: none;
}
.map-explorer {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 180px minmax(400px, 1fr) 250px;
  align-items: stretch;
  gap: 24px;
  max-width: 1220px;
  margin: auto;
}
.map-story-rail,
.map-place-panel {
  min-width: 0;
  margin: 12px 0;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.48);
  box-shadow:
    0 18px 55px rgba(49, 62, 93, 0.08),
    inset 0 1px 0 #fff;
  backdrop-filter: blur(22px);
}
.map-story-rail {
  display: flex;
  flex-direction: column;
  padding: 18px;
}
.map-story-rail > header,
.map-place-panel > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(72, 84, 115, 0.09);
}
.map-story-rail > header span,
.map-place-panel > header small {
  color: #7d8796;
  font-size: 0.51rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.map-story-rail > header i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7391f3;
  box-shadow: 0 0 0 6px rgba(115, 145, 243, 0.1);
  animation: mapSignal 2.4s ease-out infinite;
}
.map-rail-index {
  padding-top: 27px;
}
.map-rail-index small {
  color: #959daa;
  font-size: 0.46rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}
.map-rail-index strong {
  display: block;
  margin: 7px 0 13px;
  font: 400 4.8rem/0.78 var(--serif);
  letter-spacing: -0.08em;
  background: linear-gradient(135deg, #293644, #8d75d8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.map-rail-index p {
  margin: 0;
  color: #7b8593;
  font-size: 0.66rem;
  line-height: 1.6;
}
.map-rail-line {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 1;
  min-height: 110px;
  padding: 25px 0;
}
.map-rail-line i {
  position: relative;
  width: 1px;
  height: 100%;
  min-height: 82px;
  background: linear-gradient(transparent, rgba(113, 130, 185, 0.35), transparent);
}
.map-rail-line i:before,
.map-rail-line i:after {
  content: '';
  position: absolute;
  left: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(113, 130, 185, 0.3);
}
.map-rail-line i:before {
  top: 17%;
  animation: mapRailTravel 3.8s ease-in-out infinite;
}
.map-rail-line i:after {
  bottom: 13%;
}
.map-rail-line span {
  color: #9ca4af;
  font-size: 0.46rem;
  font-weight: 800;
  line-height: 1.7;
  letter-spacing: 0.14em;
}
.map-story-rail > footer {
  display: flex;
  align-items: end;
  gap: 9px;
  padding-top: 14px;
  border-top: 1px solid rgba(72, 84, 115, 0.09);
}
.map-story-rail > footer span {
  font: 400 2rem/0.85 var(--serif);
}
.map-story-rail > footer p {
  margin: 0;
  color: #939ba7;
  font-size: 0.48rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.map-visual {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  min-width: 0;
  padding: 22px 0;
}
.map-visual:before {
  content: '';
  position: absolute;
  inset: 8% 2%;
  border: 1px solid rgba(97, 111, 150, 0.055);
  border-radius: 50%;
  transform: rotate(-6deg);
  animation: mapHaloBreath 7s ease-in-out infinite;
}
.map-visual-label {
  position: absolute;
  z-index: 5;
  left: 4px;
  top: 20px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #8c96a3;
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}
.map-visual-label i {
  width: 20px;
  height: 1px;
  background: linear-gradient(90deg, #7b91ee, transparent);
  animation: mapLineBlink 2.8s ease-in-out infinite;
}
.history-map-stage {
  width: min(510px, 42vw);
  aspect-ratio: 2061/1925;
  margin: 0;
  transform: translateZ(0);
  animation: mapFloat 8s ease-in-out infinite;
}
.history-map-svg.real-poland-map {
  filter: drop-shadow(0 22px 22px rgba(65, 76, 109, 0.13));
  animation: mapShapeGlow 6s ease-in-out infinite;
}
.map-route-network {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.map-route-network polyline {
  fill: none;
  vector-effect: non-scaling-stroke;
}
.route-shadow {
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 4;
}
.route-line {
  stroke: url(#none);
  stroke: #8799e8;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 3 7;
  animation: mapRouteFlow 9s linear infinite;
}
.map-route-network circle {
  fill: #fff;
  stroke: #8297ed;
  stroke-width: 0.18;
  vector-effect: non-scaling-stroke;
  animation: mapNodeBlink 3s ease-in-out infinite;
}
.map-instruction {
  position: relative;
  right: auto;
  bottom: auto;
  margin: 9px 0 0;
  color: #8f98a4;
  font-size: 0.5rem;
}
.map-compass {
  left: -3%;
  bottom: 7%;
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(8px);
}
.history-point {
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  animation: mapPointArrive 1s calc(0.15s * var(--point-index)) cubic-bezier(0.16, 1, 0.3, 1) both;
}
.history-point.size-small {
  scale: 0.84;
}
.history-point.size-large {
  scale: 1.14;
}
.point-rings {
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 28%,
    rgba(255, 255, 255, 0.94),
    rgba(255, 255, 255, 0.46) 55%,
    rgba(223, 229, 245, 0.48)
  );
  box-shadow:
    0 8px 24px color-mix(in srgb, var(--point-color) 16%, rgba(55, 66, 97, 0.16)),
    inset 0 1px 0 #fff;
  backdrop-filter: blur(8px);
  transition:
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.45s;
}
.history-point:hover .point-rings,
.history-point.is-open .point-rings,
.history-point:focus-visible .point-rings {
  transform: scale(1.18);
  box-shadow:
    0 13px 35px color-mix(in srgb, var(--point-color) 34%, transparent),
    inset 0 1px 0 #fff;
}
.point-rings b {
  display: grid;
  place-items: center;
  width: 14px;
  height: 14px;
  border: 3px solid rgba(255, 255, 255, 0.98);
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--point-color) 72%, #fff),
    var(--point-color)
  );
  box-shadow: 0 4px 13px color-mix(in srgb, var(--point-color) 58%, transparent);
}
.point-rings b span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px 2px #fff;
}
.point-rings i {
  width: 40px;
  height: 40px;
  border-color: color-mix(in srgb, var(--point-color) 52%, transparent);
  animation: mapPulsePolished 3.1s cubic-bezier(0.2, 0.65, 0.3, 1) infinite;
}
.point-rings i:nth-child(2) {
  width: 54px;
  height: 54px;
  animation-delay: 1.45s;
}
.history-point.featured .point-rings:after {
  width: 58px;
  height: 58px;
  border-style: solid;
  border-color: color-mix(in srgb, var(--point-color) 22%, transparent);
  background: conic-gradient(
    from 90deg,
    color-mix(in srgb, var(--point-color) 72%, transparent) 0 4%,
    transparent 4% 47%,
    color-mix(in srgb, var(--point-color) 45%, transparent) 47% 50%,
    transparent 50%
  );
  mask: radial-gradient(transparent 63%, #000 64%);
  animation: mapSpin 7s linear infinite;
}
.history-point > em {
  left: 41px;
  top: 12px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 8px 25px rgba(45, 57, 88, 0.1);
  font-size: 0.5rem;
  transition: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.history-point.label-left > em {
  right: 41px;
}
.history-point.label-top > em {
  bottom: 40px;
}
.history-point.label-bottom > em {
  top: 40px;
}
.history-point:hover > em,
.history-point:focus-visible > em,
.history-point.is-open > em {
  transform: translateX(3px);
  letter-spacing: 0.12em;
}
.history-point.label-left:hover > em,
.history-point.label-left.is-open > em {
  transform: translateX(-3px);
}
.map-point-card {
  left: 42px;
  width: min(330px, 40vw);
  border-radius: 20px;
  background: rgba(252, 253, 255, 0.94);
  box-shadow:
    0 24px 75px rgba(37, 49, 82, 0.2),
    inset 0 1px 0 #fff;
}
.history-point.label-left .map-point-card {
  right: 42px;
}
.map-place-panel {
  display: flex;
  flex-direction: column;
  padding: 16px;
}
.map-place-panel > header span {
  color: #a0a7b2;
  font-size: 0.48rem;
  font-weight: 700;
}
.map-place-list {
  display: grid;
  gap: 7px;
  padding: 16px 0;
}
.map-place-button {
  position: relative;
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr) 22px 18px;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 11px 9px;
  overflow: hidden;
  border: 1px solid rgba(70, 83, 116, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.42);
  color: #344150;
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s,
    background 0.3s,
    box-shadow 0.4s;
}
.map-place-button:before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 2px;
  border-radius: 0 3px 3px 0;
  background: var(--place-color);
  opacity: 0;
  transform: scaleY(0.3);
  transition: 0.4s;
}
.map-place-button:hover,
.map-place-button.active,
.map-place-button:focus-visible {
  border-color: color-mix(in srgb, var(--place-color) 22%, #fff);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 32px color-mix(in srgb, var(--place-color) 10%, rgba(39, 53, 85, 0.08));
  transform: translateX(-5px);
  outline: none;
}
.map-place-button:is(:hover, .active, :focus-visible):before {
  opacity: 1;
  transform: none;
}
.map-place-button > span {
  color: #a0a8b3;
  font-size: 0.48rem;
  font-weight: 800;
}
.map-place-button > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.map-place-button small {
  overflow: hidden;
  color: var(--place-color);
  font-size: 0.42rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.map-place-button b {
  overflow: hidden;
  font-size: 0.7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.map-place-button em {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f0f2f7;
  color: #798492;
  font-size: 0.45rem;
  font-style: normal;
  font-weight: 800;
}
.map-place-button > i {
  font-size: 0.68rem;
  font-style: normal;
  opacity: 0.35;
  transition: 0.4s;
}
.map-place-button:is(:hover, .active) > i {
  opacity: 1;
  transform: rotate(45deg);
}
.map-place-panel > footer {
  display: grid;
  grid-template-columns: 7px 1fr;
  gap: 9px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(72, 84, 115, 0.09);
}
.map-place-panel > footer i {
  width: 7px;
  height: 7px;
  margin-top: 3px;
  border-radius: 50%;
  background: #78aac4;
  box-shadow: 0 0 0 5px rgba(120, 170, 196, 0.1);
  animation: mapSignal 2.8s ease-out infinite;
}
.map-place-panel > footer p {
  margin: 0;
  color: #8b94a1;
  font-size: 0.55rem;
  line-height: 1.5;
}
.map-place-empty {
  color: #8c96a3;
  font-size: 0.65rem;
  line-height: 1.5;
}
.map-signal-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 13px;
  max-width: 1220px;
  margin: 8px auto 0;
  padding: 13px 4px 4px;
  color: #929ba7;
  font-size: 0.45rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.map-signal-strip i {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(103, 118, 160, 0.18), transparent);
  background-size: 200% 100%;
  animation: mapSignalLine 4s linear infinite;
}
.map-signal-strip b {
  color: #7f8997;
  font-size: 0.46rem;
  letter-spacing: 0.16em;
}
.map-attribution {
  right: 28px;
  bottom: 8px;
}
.map-ambient-a {
  right: 15%;
  top: -8%;
}
.map-ambient-b {
  left: 24%;
  bottom: -10%;
}
@keyframes mapCounterFloat {
  50% {
    transform: translateY(-5px);
  }
}
@keyframes mapAuraSpin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes mapFloat {
  50% {
    transform: translate3d(0, -5px, 0);
  }
}
@keyframes mapShapeGlow {
  50% {
    filter: drop-shadow(0 28px 28px rgba(88, 91, 151, 0.2));
  }
}
@keyframes mapHaloBreath {
  50% {
    opacity: 0.35;
    transform: rotate(3deg) scale(1.035);
  }
}
@keyframes mapRouteFlow {
  to {
    stroke-dashoffset: -100;
  }
}
@keyframes mapNodeBlink {
  50% {
    opacity: 0.35;
  }
}
@keyframes mapSignal {
  0% {
    box-shadow: 0 0 0 0 rgba(115, 145, 243, 0.34);
  }
  70%,
  100% {
    box-shadow: 0 0 0 10px rgba(115, 145, 243, 0);
  }
}
@keyframes mapLineBlink {
  50% {
    width: 33px;
    opacity: 0.45;
  }
}
@keyframes mapRailTravel {
  0%,
  100% {
    top: 12%;
    opacity: 0.25;
  }
  50% {
    top: 75%;
    opacity: 1;
  }
}
@keyframes mapPulsePolished {
  0% {
    opacity: 0.72;
    transform: scale(0.55);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(1.42);
  }
}
@keyframes mapSignalLine {
  to {
    background-position: -200% 0;
  }
}
@media (max-width: 1120px) {
  .map-explorer {
    grid-template-columns: 140px minmax(380px, 1fr) 220px;
    gap: 14px;
  }
  .history-map-stage {
    width: min(480px, 43vw);
  }
  .map-story-rail {
    padding: 14px;
  }
  .map-rail-index strong {
    font-size: 4rem;
  }
  .map-point-card {
    width: 290px;
  }
}
@media (max-width: 900px) {
  .history-map-shell {
    padding: 20px;
  }
  .map-explorer {
    grid-template-columns: minmax(0, 1fr) 230px;
  }
  .map-story-rail {
    display: none;
  }
  .history-map-stage {
    width: min(520px, 59vw);
  }
  .map-place-panel {
    margin: 6px 0;
  }
  .map-compass {
    left: 0;
  }
  .map-attribution {
    right: 22px;
  }
  .map-point-card {
    width: min(300px, 38vw);
  }
}
@media (max-width: 700px) {
  .history-map-page {
    padding-top: 108px;
  }
  .map-hero h1 {
    font-size: clamp(3.1rem, 14vw, 5rem);
  }
  .history-map-shell {
    padding: 15px 10px 10px;
    border-radius: 28px;
  }
  .map-explorer {
    display: block;
  }
  .map-place-panel {
    margin: 8px 4px 4px;
  }
  .map-place-panel > footer {
    display: none;
  }
  .map-place-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    padding-bottom: 0;
  }
  .map-place-button {
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 5px;
    padding: 9px 7px;
  }
  .map-place-button > em,
  .map-place-button > i {
    display: none;
  }
  .map-place-button b {
    font-size: 0.6rem;
  }
  .map-place-button:hover,
  .map-place-button.active,
  .map-place-button:focus-visible {
    transform: translateY(-3px);
  }
  .map-visual {
    padding: 35px 0 14px;
  }
  .map-visual-label {
    left: 15px;
    top: 12px;
  }
  .history-map-stage {
    width: min(520px, 88vw);
  }
  .map-signal-strip {
    grid-template-columns: auto 1fr auto;
    padding: 10px 10px 3px;
  }
  .map-signal-strip i:nth-of-type(2),
  .map-signal-strip span:last-child {
    display: none;
  }
  .map-attribution {
    bottom: 4px;
  }
  .map-mobile-stories {
    padding-top: 46px;
  }
  .history-point > em,
  .map-point-card {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .history-map-shell:after,
  .map-hero > aside,
  .history-map-stage,
  .history-map-svg.real-poland-map,
  .map-visual:before,
  .route-line,
  .map-route-network circle,
  .map-story-rail > header i,
  .map-rail-line i:before,
  .map-visual-label i,
  .point-rings i,
  .history-point.featured .point-rings:after,
  .map-place-panel > footer i,
  .map-signal-strip i {
    animation: none !important;
  }
}
@media (min-width: 901px) {
  .topbar {
    width: min(1240px, calc(100% - 32px));
  }
  .topbar nav > a {
    padding-inline: 13px;
    font-size: 0.82rem;
  }
}
.journal-index-page {
  position: relative;
  overflow: hidden;
  padding: clamp(135px, 13vw, 185px) clamp(18px, 5vw, 76px) 130px;
  background:
    radial-gradient(circle at 80% 9%, rgba(184, 152, 241, 0.2), transparent 23%),
    radial-gradient(circle at 10% 43%, rgba(100, 190, 211, 0.14), transparent 24%),
    linear-gradient(180deg, #fafbfe, #f3f5fa 62%, #fafbfc);
}
.journal-index-page:before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(65, 78, 110, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65, 78, 110, 0.025) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(#000, transparent 76%);
  pointer-events: none;
}
.journal-index-hero {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(270px, 0.6fr);
  gap: 7vw;
  align-items: end;
  max-width: 1360px;
  margin: 0 auto 50px;
  padding-bottom: 35px;
  border-bottom: 1px solid rgba(42, 56, 83, 0.12);
}
.journal-index-hero h1 {
  max-width: 900px;
  margin: 13px 0 0;
  font-size: clamp(3.8rem, 7.2vw, 8.2rem);
  font-weight: 450;
  line-height: 0.84;
  letter-spacing: -0.075em;
}
.journal-index-hero > aside > p {
  margin: 0;
  color: #697583;
  font-size: clamp(0.93rem, 1.25vw, 1.16rem);
  line-height: 1.65;
}
.journal-index-hero > aside > div {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  color: #8993a0;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}
.journal-index-hero > aside > div i {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, rgba(90, 106, 150, 0.25), transparent);
  animation: journalLine 3.4s linear infinite;
}
.journal-orbit {
  position: absolute;
  right: 16%;
  top: -65px;
  width: 118px;
  height: 118px;
  border: 1px solid rgba(93, 108, 153, 0.13);
  border-radius: 50%;
  animation: journalOrbitFloat 7s ease-in-out infinite;
}
.journal-orbit:before,
.journal-orbit:after {
  content: '';
  position: absolute;
  border: 1px solid rgba(117, 132, 180, 0.1);
  border-radius: 50%;
}
.journal-orbit:before {
  inset: 13px;
}
.journal-orbit:after {
  inset: 30px;
}
.journal-orbit i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  margin: -3px;
  border-radius: 50%;
  background: #8a91ee;
  box-shadow: 0 0 0 7px rgba(138, 145, 238, 0.1);
  animation: journalPlanet 8s linear infinite;
}
.journal-orbit i:nth-child(2) {
  background: #d28ac4;
  animation-duration: 12s;
  animation-direction: reverse;
}
.journal-orbit span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #7d8797;
  font: 400 1.4rem var(--serif);
}
.journal-cover-story {
  position: relative;
  z-index: 2;
  max-width: 1360px;
  margin: auto;
}
.journal-card {
  --card-lift: 0px;
  position: relative;
  display: grid;
  min-width: 0;
  color: #1b2633;
  text-decoration: none;
}
.journal-card figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 28px;
  background: #dfe4eb;
  box-shadow: 0 24px 60px rgba(41, 54, 82, 0.12);
}
.journal-card figure:after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: inherit;
  pointer-events: none;
}
.journal-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 1.4s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.7s;
}
.journal-card:hover figure img {
  transform: scale(1.045);
  filter: saturate(1.08);
}
.journal-card-wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(14, 20, 30, 0.66));
  opacity: 0.74;
  transition: opacity 0.5s;
}
.journal-card:hover .journal-card-wash {
  opacity: 0.5;
}
.journal-card figure > small {
  position: absolute;
  left: 18px;
  top: 18px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
  transition:
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.4s;
}
.journal-card:hover figure > small {
  transform: rotate(12deg) scale(1.08);
  background: var(--journal-accent);
}
.journal-card-copy {
  padding: 18px 4px;
}
.journal-card-copy > p {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: #88919e;
  font-size: 0.55rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.journal-card-copy > p span {
  color: var(--journal-accent);
}
.journal-card-copy > p i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #aab1bb;
}
.journal-card-copy h2 {
  margin: 8px 0 14px;
  font: 430 clamp(1.8rem, 3vw, 3.6rem)/0.98 var(--serif);
  letter-spacing: -0.05em;
}
.journal-card-copy > div {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #89929f;
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.journal-card-copy > div b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-left: auto;
  border: 1px solid rgba(48, 62, 89, 0.11);
  border-radius: 50%;
  font-size: 0.8rem;
  transition: 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.journal-card:hover .journal-card-copy > div b {
  transform: rotate(45deg);
  background: #202d3b;
  color: #fff;
}
.journal-card.is-featured {
  grid-template-columns: minmax(0, 1.65fr) minmax(290px, 0.55fr);
  min-height: 570px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.46);
  box-shadow: 0 36px 100px rgba(44, 56, 91, 0.13);
  backdrop-filter: blur(24px);
}
.journal-card.is-featured figure {
  min-height: 570px;
  border-radius: 35px 0 0 35px;
}
.journal-card.is-featured .journal-card-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 44px 34px;
}
.journal-card.is-featured .journal-card-copy h2 {
  font-size: clamp(2.7rem, 4.4vw, 5.1rem);
}
.journal-card.is-featured .journal-card-copy > div {
  margin-top: auto;
  padding-top: 35px;
  border-top: 1px solid rgba(46, 59, 86, 0.1);
}
.journal-cover-index {
  position: absolute;
  z-index: 3;
  right: 28px;
  top: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8b94a1;
  font-size: 0.45rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}
.journal-cover-index i {
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, #8b9bed, transparent);
}
.journal-cover-index b {
  font-size: 0.55rem;
}
.journal-timeline {
  position: relative;
  z-index: 2;
  max-width: 1360px;
  margin: 110px auto 0;
}
.journal-timeline > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.journal-timeline > header span {
  color: #99a1ac;
  font-size: 0.5rem;
  font-weight: 750;
  letter-spacing: 0.13em;
}
.journal-timeline-line {
  position: absolute;
  left: 50%;
  top: 54px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    transparent,
    rgba(87, 103, 147, 0.19) 8%,
    rgba(87, 103, 147, 0.19) 92%,
    transparent
  );
}
.journal-timeline-line i {
  position: sticky;
  top: 50vh;
  display: block;
  width: 7px;
  height: 7px;
  margin-left: -3px;
  border-radius: 50%;
  background: #8495ed;
  box-shadow: 0 0 0 8px rgba(132, 149, 237, 0.1);
  animation: journalSignal 2.6s ease-out infinite;
}
.journal-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 85px 8vw;
  padding-top: 48px;
}
.journal-story-grid .journal-card:nth-child(even) {
  margin-top: 150px;
}
.journal-story-grid .journal-card figure {
  aspect-ratio: 4/3;
}
.journal-story-grid .journal-card:nth-child(3n + 2) figure {
  aspect-ratio: 3/4;
}
.journal-manifesto {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 150px auto 0;
  padding: 70px clamp(25px, 7vw, 100px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 38px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(240, 241, 250, 0.58));
  box-shadow: 0 28px 80px rgba(42, 55, 85, 0.1);
  text-align: center;
}
.journal-manifesto:before {
  content: '';
  position: absolute;
  width: 380px;
  height: 380px;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(119, 134, 181, 0.09);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: journalManifestoHalo 9s ease-in-out infinite;
}
.journal-manifesto > span {
  position: relative;
  color: #8b94ea;
}
.journal-manifesto > p {
  position: relative;
  margin: 18px 0;
  color: #8c95a1;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.journal-manifesto h2 {
  position: relative;
  margin: 0;
  font: 420 clamp(2.4rem, 4.8vw, 5.5rem)/0.98 var(--serif);
  letter-spacing: -0.055em;
}
.journal-manifesto h2 em {
  color: #8879cf;
  font-style: italic;
}
.journal-manifesto a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 33px;
  padding: 8px 9px 8px 18px;
  border: 1px solid rgba(46, 60, 88, 0.11);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.72);
  color: #354250;
  font-size: 0.72rem;
  font-weight: 650;
}
.journal-manifesto a i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #233140;
  color: #fff;
  font-style: normal;
  transition: 0.5s;
}
.journal-manifesto a:hover i {
  transform: rotate(45deg);
}
.journal-article {
  background: linear-gradient(180deg, #f7f8fb, #fff 38%, #f3f5fa);
}
.journal-article-hero {
  position: relative;
  height: min(86svh, 890px);
  min-height: 610px;
  overflow: hidden;
}
.journal-article-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: journalHeroReveal 1.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.journal-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 18, 26, 0.12),
    rgba(11, 17, 25, 0.15) 40%,
    rgba(10, 16, 24, 0.74)
  );
}
.journal-article-title {
  position: absolute;
  z-index: 2;
  left: clamp(22px, 7vw, 110px);
  right: clamp(22px, 7vw, 110px);
  bottom: clamp(45px, 8vw, 105px);
  color: #fff;
}
.journal-article-title > p {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.14em;
}
.journal-article-title > p span {
  color: color-mix(in srgb, var(--journal-accent) 55%, #fff);
}
.journal-article-title h1 {
  max-width: 1050px;
  margin: 17px 0 24px;
  font-size: clamp(4rem, 9vw, 10.5rem);
  font-weight: 440;
  line-height: 0.82;
  letter-spacing: -0.075em;
  text-wrap: balance;
}
.journal-article-title > div {
  display: flex;
  gap: 30px;
  font-size: 0.58rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}
.journal-scroll-cue {
  position: absolute;
  z-index: 2;
  right: clamp(22px, 5vw, 75px);
  bottom: 55px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  writing-mode: vertical-rl;
}
.journal-scroll-cue i {
  width: 1px;
  height: 48px;
  background: linear-gradient(#fff, transparent);
  animation: journalScrollCue 2s ease-in-out infinite;
}
.journal-article-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 50px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 70px 25px;
  border-bottom: 1px solid rgba(45, 59, 86, 0.1);
}
.journal-article-meta > p {
  max-width: 760px;
  margin: 0;
  font: 420 clamp(1.55rem, 2.6vw, 2.75rem)/1.2 var(--serif);
  letter-spacing: -0.035em;
}
.journal-article-meta > div {
  display: flex;
  align-content: start;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 240px;
}
.journal-article-meta span {
  padding: 7px 10px;
  border: 1px solid rgba(44, 58, 85, 0.1);
  border-radius: 99px;
  color: #7d8794;
  font-size: 0.55rem;
}
.journal-article-body {
  padding: 65px 0;
}
.journal-block-lead,
.journal-block-text,
.journal-block-heading {
  width: min(760px, calc(100% - 44px));
  margin: 70px auto;
}
.journal-block-lead {
  font: 420 clamp(1.65rem, 3vw, 3rem)/1.23 var(--serif);
  letter-spacing: -0.035em;
}
.journal-block-text p {
  margin: 0 0 1.4em;
  color: #4e5b69;
  font-size: clamp(0.98rem, 1.25vw, 1.16rem);
  line-height: 1.85;
}
.journal-block-heading {
  font: 430 clamp(2.5rem, 5vw, 5.8rem)/0.95 var(--serif);
  letter-spacing: -0.055em;
}
.journal-block-image {
  width: min(1180px, calc(100% - 36px));
  margin: 105px auto;
}
.journal-block-image.layout-portrait {
  width: min(720px, calc(100% - 36px));
}
.journal-block-image.layout-full {
  width: 100%;
  max-width: none;
}
.journal-block-image > div {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 28px 85px rgba(35, 48, 75, 0.15);
}
.journal-block-image.layout-full > div {
  border-radius: 0;
}
.journal-block-image img {
  display: block;
  width: 100%;
  max-height: 88svh;
  object-fit: cover;
  transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.journal-block-image:hover img {
  transform: scale(1.025);
}
.journal-block-image > div > span {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.73);
  color: #596574;
  font-size: 0.55rem;
  backdrop-filter: blur(12px);
}
.journal-block-image figcaption,
.journal-filmstrip figcaption {
  margin-top: 13px;
  color: #8a94a1;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.journal-block-quote {
  position: relative;
  width: min(930px, calc(100% - 40px));
  margin: 120px auto;
  padding: 75px clamp(30px, 7vw, 90px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 35px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(241, 241, 251, 0.65));
  box-shadow: 0 28px 80px rgba(47, 58, 91, 0.09);
  text-align: center;
}
.journal-block-quote > i {
  display: block;
  color: var(--journal-accent);
  font: italic 5rem/0.5 var(--serif);
}
.journal-block-quote p {
  margin: 30px 0;
  font: italic 430 clamp(2rem, 4vw, 4.5rem)/1.03 var(--serif);
  letter-spacing: -0.05em;
}
.journal-block-quote span {
  color: #9099a5;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.journal-filmstrip {
  width: 100%;
  margin: 115px 0;
  padding: 35px 0;
  overflow: hidden;
  background: #17212c;
  color: #fff;
}
.journal-filmstrip > div {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 6vw 15px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.journal-filmstrip > div::-webkit-scrollbar {
  display: none;
}
.journal-filmstrip > div > span {
  position: relative;
  flex: 0 0 min(520px, 72vw);
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 17px;
  scroll-snap-align: center;
}
.journal-filmstrip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.journal-filmstrip span:hover img {
  transform: scale(1.04);
}
.journal-filmstrip span i {
  position: absolute;
  left: 13px;
  bottom: 12px;
  padding: 5px 7px;
  border-radius: 99px;
  background: rgba(13, 19, 28, 0.45);
  font-size: 0.52rem;
  font-style: normal;
  backdrop-filter: blur(8px);
}
.journal-filmstrip figcaption {
  padding: 0 6vw;
  color: #99a5b3;
}
.journal-connections {
  max-width: 1040px;
  margin: 70px auto 0;
  padding: 70px 25px 110px;
}
.journal-connections header h2 {
  margin: 8px 0 30px;
  font: 430 clamp(2.4rem, 4vw, 4.5rem)/1 var(--serif);
  letter-spacing: -0.05em;
}
.journal-connections > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.journal-map-link {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 12px;
  padding: 9px;
  border: 1px solid rgba(54, 68, 96, 0.1);
  border-radius: 15px;
  background: #fff;
  color: #34414e;
  transition: 0.35s;
}
.journal-map-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 35px rgba(39, 53, 81, 0.1);
}
.journal-map-link > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: color-mix(in srgb, var(--journal-accent) 12%, #f3f5f9);
  color: var(--journal-accent);
}
.journal-map-link > div {
  display: grid;
  gap: 2px;
}
.journal-map-link small {
  color: var(--journal-accent);
  font-size: 0.47rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.journal-map-link b {
  font-size: 0.8rem;
}
.journal-map-link p {
  margin: 0;
  color: #929aa5;
  font-size: 0.56rem;
}
.journal-map-link > i {
  font-style: normal;
}
.journal-next-story {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 110px 7vw;
  background: #18232f;
  color: #fff;
  text-align: center;
}
.journal-next-story:before {
  content: '';
  position: absolute;
  inset: -70%;
  background: conic-gradient(transparent, rgba(125, 145, 237, 0.14), transparent 30%);
  animation: mapAuraSpin 18s linear infinite;
}
.journal-next-story > * {
  position: relative;
}
.journal-next-story small {
  color: #95a1af;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}
.journal-next-story h2 {
  margin: 18px auto 25px;
  font: 430 clamp(3.5rem, 7vw, 8rem)/0.88 var(--serif);
  letter-spacing: -0.065em;
}
.journal-next-story > span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin: auto;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  transition: 0.5s;
}
.journal-next-story:hover > span {
  transform: rotate(45deg);
  background: #fff;
  color: #17212c;
}
@keyframes journalLine {
  50% {
    opacity: 0.35;
    transform: scaleX(0.75);
  }
}
@keyframes journalOrbitFloat {
  50% {
    transform: translateY(-10px) rotate(8deg);
  }
}
@keyframes journalPlanet {
  to {
    transform: rotate(360deg) translateX(58px) rotate(-360deg);
  }
}
@keyframes journalSignal {
  0% {
    box-shadow: 0 0 0 0 rgba(132, 149, 237, 0.35);
  }
  70%,
  100% {
    box-shadow: 0 0 0 12px rgba(132, 149, 237, 0);
  }
}
@keyframes journalManifestoHalo {
  50% {
    transform: translate(-50%, -50%) scale(1.16);
    opacity: 0.35;
  }
}
@keyframes journalHeroReveal {
  from {
    transform: scale(1.09);
    filter: blur(7px);
  }
  to {
    transform: none;
    filter: none;
  }
}
@keyframes journalScrollCue {
  50% {
    transform: scaleY(0.65);
    opacity: 0.4;
  }
}
@media (max-width: 850px) {
  .journal-index-hero {
    grid-template-columns: 1fr;
  }
  .journal-index-hero > aside {
    max-width: 600px;
  }
  .journal-orbit {
    right: 4%;
    top: -40px;
  }
  .journal-card.is-featured {
    grid-template-columns: 1fr;
  }
  .journal-card.is-featured figure {
    min-height: 55vw;
    border-radius: 35px 35px 0 0;
  }
  .journal-card.is-featured .journal-card-copy {
    min-height: 320px;
  }
  .journal-story-grid {
    gap: 55px 22px;
  }
  .journal-article-meta {
    grid-template-columns: 1fr;
  }
  .journal-article-meta > div {
    justify-content: flex-start;
    max-width: none;
  }
  .journal-connections > div {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  .journal-index-page {
    padding: 120px 14px 85px;
  }
  .journal-index-hero {
    margin-bottom: 25px;
  }
  .journal-index-hero h1 {
    font-size: clamp(3.3rem, 15vw, 5.3rem);
  }
  .journal-orbit {
    width: 78px;
    height: 78px;
  }
  .journal-orbit i {
    display: none;
  }
  .journal-card.is-featured {
    min-height: 0;
    border-radius: 25px;
  }
  .journal-card.is-featured figure {
    min-height: 72vw;
    border-radius: 24px 24px 0 0;
  }
  .journal-card.is-featured .journal-card-copy {
    min-height: 280px;
    padding: 28px 20px;
  }
  .journal-cover-index {
    display: none;
  }
  .journal-timeline {
    margin-top: 75px;
  }
  .journal-timeline-line {
    left: 8px;
  }
  .journal-story-grid {
    grid-template-columns: 1fr;
    gap: 45px;
    padding-left: 22px;
  }
  .journal-story-grid .journal-card:nth-child(even) {
    margin-top: 0;
  }
  .journal-story-grid .journal-card:nth-child(3n + 2) figure {
    aspect-ratio: 4/3;
  }
  .journal-manifesto {
    margin-top: 90px;
    padding: 55px 22px;
    border-radius: 28px;
  }
  .journal-article-hero {
    height: 78svh;
    min-height: 560px;
  }
  .journal-article-title {
    bottom: 55px;
  }
  .journal-article-title h1 {
    font-size: clamp(3.3rem, 15vw, 6rem);
  }
  .journal-article-title > div {
    display: grid;
    gap: 8px;
  }
  .journal-scroll-cue {
    display: none;
  }
  .journal-article-meta {
    padding: 45px 20px;
  }
  .journal-block-image {
    margin-block: 70px;
  }
  .journal-block-image > div {
    border-radius: 19px;
  }
  .journal-block-quote {
    margin-block: 80px;
    padding: 55px 24px;
    border-radius: 25px;
  }
  .journal-filmstrip {
    margin-block: 80px;
  }
  .journal-next-story {
    padding: 80px 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .journal-orbit,
  .journal-orbit i,
  .journal-index-hero > aside > div i,
  .journal-timeline-line i,
  .journal-manifesto:before,
  .journal-article-hero > img,
  .journal-scroll-cue i,
  .journal-next-story:before {
    animation: none !important;
  }
}
.journal-block-builder {
  display: grid;
  gap: 9px;
}
.journal-block-two label {
  display: grid;
  gap: 4px;
  padding: 9px;
  color: #64707d;
  font-size: 8px;
  font-weight: 700;
}
.journal-block-two {
  display: grid;
  grid-template-columns: 1fr 150px;
}
.journal-add-block {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  padding: 8px;
  border: 1px dashed #cbd3e5;
  border-radius: 10px;
  background: #f7f9fd;
}
.journal-add-block > span {
  margin-right: 4px;
  color: #7e8996;
  font-size: 8px;
}
.journal-add-block button {
  padding: 7px 8px;
  border: 1px solid #dce2f1;
  border-radius: 7px;
  background: #fff;
  color: #5d6b79;
  font-size: 8px;
  cursor: pointer;
  transition: 0.25s;
}
.journal-add-block button:hover {
  border-color: #8da0ec;
  color: #5b70d2;
  transform: translateY(-1px);
}
.journal-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.journal-links-grid > label,
.journal-gallery-links {
  display: grid;
  gap: 5px;
  color: #64707d;
  font-size: 8px;
  font-weight: 700;
}
.journal-links-grid > .full {
  grid-column: 1/-1;
}
.journal-links-grid select,
.journal-links-grid input {
  width: 100%;
  min-height: 37px;
  padding: 8px 9px;
  border: 1px solid #dde1e7;
  border-radius: 8px;
  background: #fafbfc;
  color: #32404e;
  font-size: 9px;
}
.journal-gallery-links {
  grid-template-columns: repeat(2, 1fr);
}
.journal-gallery-links > span {
  grid-column: 1/-1;
}
.journal-gallery-links label {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 6px;
  padding: 7px;
  border: 1px solid #e2e6eb;
  border-radius: 7px;
  background: #fafbfc;
  cursor: pointer;
}
.journal-gallery-links input {
  position: absolute;
  opacity: 0;
}
.journal-gallery-links i {
  width: 15px;
  height: 15px;
  border: 1px solid #d5dae1;
  border-radius: 4px;
  background: #fff;
}
.journal-gallery-links input:checked + i {
  border-color: #687fe5;
  background: #687fe5;
}
.journal-gallery-links input:checked + i:after {
  content: '✓';
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 8px;
}
.journal-gallery-links b {
  overflow: hidden;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.journal-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid #eaedf1;
}
@media (max-width: 650px) {
  .journal-block-two,
  .journal-links-grid {
    grid-template-columns: 1fr;
  }
  .journal-links-grid > .full {
    grid-column: auto;
  }
}
.journal-index-reimagined {
  overflow: clip;
  padding: 0 0 130px;
  background:
    radial-gradient(circle at 82% 7%, rgba(184, 147, 242, 0.25), transparent 24%),
    radial-gradient(circle at 8% 28%, rgba(111, 203, 218, 0.16), transparent 25%),
    linear-gradient(180deg, #fafbff 0, #f3f5fb 44%, #fafbfe 100%);
}
.journal-index-reimagined:before {
  position: fixed;
  z-index: 0;
  background-image:
    linear-gradient(rgba(55, 70, 105, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(55, 70, 105, 0.025) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(#000 0 80%, transparent);
}
.journal-signal-hero {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  align-items: center;
  gap: clamp(30px, 5vw, 85px);
  min-height: 100svh;
  padding: clamp(140px, 14vh, 190px) clamp(22px, 5vw, 78px) 100px;
  overflow: hidden;
}
.journal-signal-copy {
  position: relative;
  z-index: 3;
  max-width: 760px;
}
.journal-signal-copy > .eyebrow {
  margin: 0 0 23px;
  color: #707c8a;
}
.journal-signal-copy h1 {
  margin: 0;
  font-size: clamp(4.7rem, 8vw, 9.4rem);
  font-weight: 430;
  line-height: 0.8;
  letter-spacing: -0.085em;
  text-wrap: balance;
}
.journal-signal-copy > p:not(.eyebrow) {
  max-width: 540px;
  margin: 35px 0 0;
  color: #687583;
  font-size: clamp(0.94rem, 1.25vw, 1.15rem);
  line-height: 1.7;
}
.journal-signal-copy > div {
  display: flex;
  align-items: center;
  gap: 13px;
  width: min(440px, 100%);
  margin-top: 37px;
  color: #7f8997;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}
.journal-signal-copy > div i {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), transparent);
  background-size: 200% 100%;
  animation: journalSignalLine 4s linear infinite;
}
.journal-hero-aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.journal-hero-aurora i {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.45;
}
.journal-hero-aurora i:first-child {
  width: 44vw;
  height: 44vw;
  right: -9vw;
  top: -12vw;
  border: 1px solid rgba(119, 135, 238, 0.18);
  box-shadow: inset 0 0 100px rgba(128, 148, 242, 0.07);
  animation: journalHaloBreathe 9s ease-in-out infinite;
}
.journal-hero-aurora i:nth-child(2) {
  width: 28vw;
  height: 28vw;
  right: 13vw;
  top: 24vh;
  border: 1px solid rgba(206, 125, 215, 0.19);
  animation: journalHaloBreathe 12s -3s ease-in-out infinite reverse;
}
.journal-hero-aurora i:last-child {
  width: 8px;
  height: 8px;
  right: 31vw;
  top: 17vh;
  background: var(--accent);
  box-shadow:
    0 0 0 12px rgba(115, 136, 255, 0.09),
    0 0 50px 18px rgba(115, 136, 255, 0.22);
  animation: journalStarDrift 8s ease-in-out infinite;
}
.journal-signal-cover {
  position: relative;
  display: block;
  height: min(70vh, 760px);
  min-height: 530px;
  color: #fff;
  text-decoration: none;
  perspective: 1200px;
}
.journal-signal-cover:before {
  content: '';
  position: absolute;
  inset: 7% -4% -3% 13%;
  border: 1px solid rgba(119, 134, 181, 0.16);
  border-radius: 46% 26% 38% 25%/28% 42% 24% 45%;
  transform: rotate(4deg);
  animation: journalFrameMorph 11s ease-in-out infinite;
}
.journal-signal-cover figure {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 32% 15% 27% 13%/18% 31% 16% 36%;
  background: #dce1e9;
  box-shadow: 0 48px 120px rgba(33, 43, 75, 0.2);
  animation: journalCoverFloat 8s ease-in-out infinite;
  transform: translateZ(0);
}
.journal-signal-cover figure:after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: inherit;
  box-shadow: inset 0 0 80px rgba(255, 255, 255, 0.12);
}
.journal-signal-cover figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 1.6s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.8s;
}
.journal-signal-cover:hover figure img {
  transform: scale(1.055);
  filter: saturate(1.12);
}
.journal-signal-cover figure span {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    transparent 30%,
    rgba(10, 18, 29, 0.08) 54%,
    rgba(10, 16, 25, 0.68)
  );
}
.journal-signal-number {
  position: absolute;
  z-index: 3;
  right: -12px;
  top: 10%;
  font: italic 300 clamp(5rem, 10vw, 10rem)/1 var(--serif);
  letter-spacing: -0.08em;
  color: rgba(255, 255, 255, 0.85);
  mix-blend-mode: overlay;
  animation: journalNumberFloat 6s ease-in-out infinite;
}
.journal-signal-title {
  position: absolute;
  z-index: 4;
  left: clamp(24px, 5vw, 72px);
  right: clamp(24px, 5vw, 60px);
  bottom: clamp(30px, 6vw, 75px);
}
.journal-signal-title small {
  font-size: 0.53rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.journal-signal-title h2 {
  max-width: 640px;
  margin: 12px 0 20px;
  font: 450 clamp(2.7rem, 5vw, 6rem)/0.87 var(--serif);
  letter-spacing: -0.06em;
}
.journal-signal-title > span {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  padding: 8px 8px 8px 15px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  font-size: 0.58rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  backdrop-filter: blur(16px);
}
.journal-signal-title > span i {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: #fff;
  color: #1c2836;
  font-style: normal;
  transition: transform 0.5s;
}
.journal-signal-cover:hover .journal-signal-title > span i {
  transform: rotate(45deg);
}
.journal-signal-scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(-50%);
  color: #7f8996;
  font-size: 0.49rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}
.journal-signal-scroll i {
  position: relative;
  width: 80px;
  height: 1px;
  overflow: hidden;
  background: rgba(83, 98, 135, 0.14);
}
.journal-signal-scroll i:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--accent-2), transparent);
  transform: translateX(-100%);
  animation: journalScrollBeam 2.4s ease-in-out infinite;
}
.journal-wave-section {
  position: relative;
  z-index: 2;
  margin-top: 70px;
}
.journal-wave-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.42fr);
  align-items: end;
  gap: 70px;
  width: min(1320px, calc(100% - 56px));
  margin: auto;
  padding: 0 0 38px;
  border-bottom: 1px solid rgba(48, 63, 95, 0.11);
}
.journal-wave-heading h2 {
  max-width: 850px;
  margin: 10px 0 0;
  font: 430 clamp(3.3rem, 6vw, 7rem)/0.9 var(--serif);
  letter-spacing: -0.065em;
}
.journal-wave-heading h2 em {
  color: var(--accent-2);
  font-weight: 400;
}
.journal-wave-heading > p {
  margin: 0 0 7px;
  color: #73808d;
  font-size: 0.9rem;
  line-height: 1.65;
}
.journal-wave-stage {
  --pointer-x: 50%;
  --pointer-y: 20%;
  position: relative;
  width: min(1440px, 100%);
  height: var(--wave-height);
  margin: 0 auto;
  overflow: hidden;
  isolation: isolate;
}
.journal-wave-field {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(
    circle 340px at var(--pointer-x) var(--pointer-y),
    rgba(134, 142, 246, 0.12),
    transparent 72%
  );
  transition: opacity 0.5s;
  pointer-events: none;
}
.journal-wave-stage:before,
.journal-wave-stage:after {
  content: '';
  position: absolute;
  z-index: -2;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}
.journal-wave-stage:before {
  left: -250px;
  top: 23%;
  border: 1px solid rgba(109, 170, 221, 0.13);
  box-shadow: inset 0 0 90px rgba(91, 178, 215, 0.05);
  animation: journalHaloBreathe 13s ease-in-out infinite;
}
.journal-wave-stage:after {
  right: -240px;
  bottom: 14%;
  border: 1px solid rgba(199, 117, 230, 0.13);
  box-shadow: inset 0 0 100px rgba(199, 117, 230, 0.06);
  animation: journalHaloBreathe 16s -5s ease-in-out infinite reverse;
}
.journal-wave-svg {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.journal-wave-track,
.journal-wave-progress,
.journal-wave-echo {
  fill: none;
  vector-effect: non-scaling-stroke;
}
.journal-wave-track {
  stroke: rgba(82, 97, 135, 0.12);
  stroke-width: 2;
}
.journal-wave-progress {
  stroke: url(#journal-wave-gradient);
  stroke-width: 4;
  stroke-linecap: round;
  filter: url(#journal-wave-glow);
  transition: stroke-dashoffset 0.11s linear;
}
.journal-wave-echo {
  stroke: url(#journal-wave-gradient);
  stroke-width: 1.2;
  stroke-linecap: round;
  opacity: 0.2;
  stroke-dasharray: 0.018 0.035;
  animation: journalWaveCurrent 6s linear infinite;
}
.wave-echo-a {
  transform: translateX(-13px);
}
.wave-echo-b {
  transform: translateX(13px);
  animation-direction: reverse;
  animation-duration: 8s;
}
.journal-wave-node circle {
  vector-effect: non-scaling-stroke;
}
.journal-wave-node .node-orbit {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1;
  stroke-dasharray: 4 8;
  opacity: 0.2;
  transform-box: fill-box;
  transform-origin: center;
  animation: journalNodeOrbit 12s linear infinite;
}
.journal-wave-node .node-pulse {
  fill: rgba(255, 255, 255, 0.86);
  stroke: var(--accent-2);
  stroke-width: 1;
  opacity: 0.48;
  transform-box: fill-box;
  transform-origin: center;
  animation: journalNodePulse 2.8s ease-out infinite;
}
.journal-wave-node .node-core {
  fill: #fff;
  stroke: var(--accent);
  stroke-width: 3;
  filter: url(#journal-wave-glow);
  transition: 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.journal-wave-node.is-active .node-core,
.journal-wave-node.is-hovered .node-core {
  r: 9px;
  fill: var(--accent-2);
}
.journal-wave-node.is-active .node-orbit,
.journal-wave-node.is-hovered .node-orbit {
  opacity: 0.7;
  animation-duration: 3s;
}
.journal-wave-cursor {
  fill: #fff;
  stroke: var(--accent-2);
  stroke-width: 4;
  vector-effect: non-scaling-stroke;
  filter: url(#journal-wave-glow);
}
.journal-wave-cursor-halo {
  fill: rgba(255, 255, 255, 0.05);
  stroke: rgba(130, 142, 238, 0.38);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  transform-box: fill-box;
  transform-origin: center;
  animation: journalCursorPulse 2s ease-out infinite;
}
.journal-wave-particle {
  fill: #fff;
  stroke: var(--accent);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  filter: url(#journal-wave-glow);
}
.journal-wave-label {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #929aa6;
  font-size: 0.47rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
}
.journal-wave-label i {
  width: 1px;
  height: 55px;
  background: linear-gradient(var(--accent), transparent);
}
.label-now {
  left: 50%;
  top: 24px;
  transform: translateX(-50%);
}
.label-origin {
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
}
.journal-wave-story {
  position: absolute;
  z-index: 3;
  top: calc(var(--wave-y) - 185px);
  display: grid;
  width: min(40%, 500px);
  color: #1d2936;
  text-decoration: none;
  opacity: 0.16;
  filter: grayscale(0.65);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.9s,
    transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.journal-wave-story.wave-left {
  left: 4%;
  transform: translate3d(-70px, 80px, 0) rotate(-2deg);
}
.journal-wave-story.wave-right {
  right: 4%;
  transform: translate3d(70px, 80px, 0) rotate(2deg);
}
.journal-wave-story.is-reached {
  opacity: 1;
  filter: none;
  transform: translate3d(0, 0, 0) rotate(0);
}
.journal-wave-story.is-current {
  z-index: 4;
}
.journal-wave-story figure {
  position: relative;
  height: clamp(240px, 27vw, 390px);
  margin: 0;
  overflow: hidden;
  border-radius: 34px 34px 14px 34px;
  background: #dfe4eb;
  box-shadow: 0 32px 80px rgba(38, 50, 81, 0.16);
  transition:
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    border-radius 0.9s;
}
.journal-wave-story.wave-right figure {
  border-radius: 34px 34px 34px 14px;
}
.journal-wave-story:hover figure,
.journal-wave-story.is-current figure {
  transform: translateY(-8px);
  border-radius: 22px 44px 22px 44px;
}
.journal-wave-story figure:after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: inherit;
  pointer-events: none;
}
.journal-wave-story figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 1.4s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.7s;
}
.journal-wave-story:hover figure img {
  transform: scale(1.055);
  filter: saturate(1.08);
}
.journal-wave-story figure > span {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 44%, rgba(15, 21, 31, 0.55));
}
.journal-wave-story figure > small {
  position: absolute;
  left: 17px;
  top: 17px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 0.57rem;
  font-weight: 800;
  backdrop-filter: blur(14px);
  transition: 0.6s;
}
.journal-wave-story:hover figure > small {
  transform: rotate(18deg);
  background: var(--journal-accent);
}
.journal-wave-copy {
  position: relative;
  width: calc(100% - 30px);
  margin: -66px auto 0;
  padding: 22px 25px 20px;
  border: 1px solid rgba(255, 255, 255, 0.83);
  border-radius: 24px;
  background: rgba(251, 252, 255, 0.76);
  box-shadow: 0 20px 55px rgba(45, 58, 91, 0.12);
  backdrop-filter: blur(22px) saturate(1.25);
}
.journal-wave-copy > div {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #818b97;
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.journal-wave-copy > div span {
  color: var(--journal-accent);
}
.journal-wave-copy > div i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #a9b0ba;
}
.journal-wave-copy h2 {
  margin: 11px 0 10px;
  font: 440 clamp(2rem, 3.3vw, 4rem)/0.9 var(--serif);
  letter-spacing: -0.055em;
}
.journal-wave-copy > p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #717c89;
  font-size: 0.75rem;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.journal-wave-copy footer {
  display: grid;
  grid-template-columns: 1fr auto 37px;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(52, 67, 95, 0.09);
  color: #87919d;
  font-size: 0.48rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}
.journal-wave-copy footer i {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  background: #202c39;
  color: #fff;
  font-size: 0.75rem;
  font-style: normal;
  transition: 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.journal-wave-story:hover footer i {
  transform: rotate(45deg);
  background: var(--journal-accent);
}
.journal-manifesto-final {
  margin-top: 60px;
}
.journal-manifesto-final:after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow:
    0 0 0 18px rgba(199, 117, 230, 0.07),
    0 0 80px rgba(115, 136, 255, 0.35);
  transform: translate(-50%, -50%);
  animation: journalNodePulse 3s ease-out infinite;
  pointer-events: none;
}
@keyframes journalSignalLine {
  to {
    background-position: -200% 0;
  }
}
@keyframes journalHaloBreathe {
  50% {
    transform: scale(1.14) rotate(8deg);
    opacity: 0.22;
  }
}
@keyframes journalStarDrift {
  50% {
    transform: translate3d(-70px, 55px, 0) scale(1.45);
  }
}
@keyframes journalFrameMorph {
  50% {
    border-radius: 27% 45% 24% 43%/42% 22% 43% 25%;
    transform: rotate(-2deg) scale(1.03);
  }
}
@keyframes journalCoverFloat {
  50% {
    transform: translate3d(0, -12px, 0) rotate(0.6deg);
    border-radius: 18% 36% 14% 42%/34% 17% 38% 18%;
  }
}
@keyframes journalNumberFloat {
  50% {
    transform: translateY(-18px) rotate(4deg);
  }
}
@keyframes journalScrollBeam {
  55%,
  100% {
    transform: translateX(100%);
  }
}
@keyframes journalWaveCurrent {
  to {
    stroke-dashoffset: -0.53;
  }
}
@keyframes journalNodeOrbit {
  to {
    transform: rotate(360deg);
  }
}
@keyframes journalNodePulse {
  0% {
    transform: scale(0.55);
    opacity: 0.8;
  }
  75%,
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}
@keyframes journalCursorPulse {
  0% {
    transform: scale(0.55);
    opacity: 0.8;
  }
  80%,
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}
@media (max-width: 980px) {
  .journal-signal-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 125px;
  }
  .journal-signal-copy {
    max-width: 850px;
  }
  .journal-signal-copy h1 {
    font-size: clamp(4.5rem, 12vw, 8rem);
  }
  .journal-signal-cover {
    height: 65svh;
    min-height: 520px;
  }
  .journal-wave-heading {
    grid-template-columns: 1fr;
  }
  .journal-wave-heading > p {
    max-width: 620px;
  }
  .journal-wave-story {
    width: min(44%, 470px);
  }
  .journal-wave-story.wave-left {
    left: 2%;
  }
  .journal-wave-story.wave-right {
    right: 2%;
  }
}
@media (max-width: 700px) {
  .journal-index-reimagined {
    padding-bottom: 85px;
  }
  .journal-signal-hero {
    padding: 125px 14px 100px;
  }
  .journal-signal-copy h1 {
    font-size: clamp(4rem, 18vw, 6.3rem);
  }
  .journal-signal-copy > p:not(.eyebrow) {
    margin-top: 25px;
  }
  .journal-signal-cover {
    height: 66svh;
    min-height: 500px;
    margin-top: 10px;
  }
  .journal-signal-cover figure {
    border-radius: 28px;
  }
  .journal-signal-cover:before {
    inset: 3% -3% -2% 7%;
    border-radius: 34px;
  }
  .journal-signal-title {
    left: 22px;
    right: 22px;
    bottom: 28px;
  }
  .journal-signal-title h2 {
    font-size: clamp(2.8rem, 13vw, 4.8rem);
  }
  .journal-signal-number {
    right: 4px;
  }
  .journal-signal-scroll {
    bottom: 32px;
  }
  .journal-wave-section {
    margin-top: 35px;
  }
  .journal-wave-heading {
    width: calc(100% - 30px);
    gap: 24px;
    padding-bottom: 28px;
  }
  .journal-wave-heading h2 {
    font-size: clamp(3.3rem, 14vw, 5rem);
  }
  .journal-wave-stage {
    height: auto !important;
    min-height: 900px;
    padding: 70px 13px 90px;
  }
  .journal-wave-svg {
    left: -42%;
    width: 184%;
    height: 100%;
    opacity: 0.55;
  }
  .journal-wave-field {
    display: none;
  }
  .journal-wave-label {
    display: none;
  }
  .journal-wave-story,
  .journal-wave-story.wave-left,
  .journal-wave-story.wave-right {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: calc(100% - 38px);
    margin: 0 0 105px 38px;
    opacity: 1;
    filter: none;
    transform: none;
  }
  .journal-wave-story:last-of-type {
    margin-bottom: 0;
  }
  .journal-wave-story figure {
    height: 74vw;
    min-height: 270px;
    border-radius: 25px;
  }
  .journal-wave-copy {
    width: calc(100% - 18px);
    margin-top: -45px;
    padding: 19px;
  }
  .journal-wave-copy h2 {
    font-size: clamp(2.3rem, 11vw, 3.5rem);
  }
  .journal-wave-copy > p {
    font-size: 0.72rem;
  }
  .journal-wave-node {
    opacity: 0.5;
  }
  .journal-manifesto-final {
    margin-top: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .journal-hero-aurora i,
  .journal-signal-copy > div i,
  .journal-signal-cover:before,
  .journal-signal-cover figure,
  .journal-signal-number,
  .journal-signal-scroll i:after,
  .journal-wave-stage:before,
  .journal-wave-stage:after,
  .journal-wave-echo,
  .journal-wave-node circle,
  .journal-wave-cursor-halo,
  .journal-manifesto-final:after {
    animation: none !important;
  }
  .journal-wave-particle {
    display: none;
  }
  .journal-wave-progress {
    transition: none;
  }
  .journal-wave-story {
    transition: none;
  }
}
.journal-horizontal-journey {
  margin-top: 70px;
}
.journal-horizontal-shell {
  position: relative;
  height: 320vh;
  margin-top: 18px;
}
.journal-horizontal-pin {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 680px;
  overflow: hidden;
  background: linear-gradient(
    110deg,
    rgba(241, 248, 253, 0.72),
    rgba(248, 246, 253, 0.8) 52%,
    rgba(255, 247, 243, 0.68)
  );
  isolation: isolate;
}
.journal-horizontal-pin:before,
.journal-horizontal-pin:after {
  content: '';
  position: absolute;
  z-index: 8;
  top: 0;
  bottom: 0;
  width: min(10vw, 130px);
  pointer-events: none;
}
.journal-horizontal-pin:before {
  left: 0;
  background: linear-gradient(90deg, #f4f7fc, transparent);
}
.journal-horizontal-pin:after {
  right: 0;
  background: linear-gradient(-90deg, #faf7f8, transparent);
}
.journal-horizontal-track {
  --pointer-x: 50vw;
  --pointer-y: 50%;
  position: absolute;
  z-index: 1;
  left: 0;
  top: 50%;
  width: var(--wave-track-width);
  height: 760px;
  margin-top: -380px;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
.journal-horizontal-track .journal-wave-field {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle 360px at var(--pointer-x) var(--pointer-y),
    rgba(132, 142, 246, 0.14),
    transparent 72%
  );
}
.journal-horizontal-track .journal-wave-svg {
  width: 100%;
  height: 100%;
}
.journal-wave-track-line {
  fill: none;
  stroke: rgba(82, 97, 135, 0.13);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}
.journal-horizontal-track .wave-echo-a {
  transform: translateY(-13px);
}
.journal-horizontal-track .wave-echo-b {
  transform: translateY(13px);
}
.journal-horizontal-track .journal-wave-story {
  top: auto;
  width: 430px;
  left: calc(var(--wave-x) - 215px) !important;
  right: auto !important;
  margin: 0;
  filter: grayscale(0.5);
  transform: translate3d(70px, 0, 0) scale(0.94);
}
.journal-horizontal-track .journal-wave-story.wave-top {
  top: 38px;
}
.journal-horizontal-track .journal-wave-story.wave-bottom {
  top: 315px;
}
.journal-horizontal-track .journal-wave-story.is-reached {
  filter: none;
  transform: translate3d(0, 0, 0) scale(1);
}
.journal-horizontal-track .journal-wave-story.is-current {
  transform: translate3d(0, -5px, 0) scale(1.018);
}
.journal-horizontal-track .journal-wave-story figure {
  height: 270px;
}
.journal-horizontal-track .journal-wave-copy {
  padding: 19px 21px 17px;
}
.journal-horizontal-track .journal-wave-copy h2 {
  font-size: clamp(2rem, 2.7vw, 3.35rem);
}
.journal-horizontal-track .journal-wave-label {
  display: flex;
  writing-mode: horizontal-tb;
}
.journal-horizontal-track .journal-wave-label i {
  width: 58px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.journal-horizontal-track .label-now {
  left: 72px;
  top: 353px;
  transform: none;
}
.journal-horizontal-track .label-origin {
  left: auto;
  right: 72px;
  top: 353px;
  bottom: auto;
  transform: none;
}
.journal-horizontal-track .label-origin i {
  background: linear-gradient(90deg, transparent, #ffad7d);
}
.journal-horizontal-meter {
  position: absolute;
  z-index: 12;
  left: clamp(20px, 4vw, 65px);
  right: clamp(20px, 4vw, 65px);
  bottom: 25px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  color: #77828f;
  font-size: 0.47rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  pointer-events: none;
}
.journal-horizontal-meter > i {
  position: relative;
  height: 2px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(58, 73, 105, 0.11);
}
.journal-horizontal-meter > i b {
  position: absolute;
  inset: 0;
  display: block;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), #ffad7d);
  transform: scaleX(0);
  transform-origin: left;
  box-shadow: 0 0 14px rgba(135, 132, 242, 0.45);
  will-change: transform;
}
.journal-horizontal-meter em {
  font-style: normal;
}
.journal-horizontal-meter em:after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 5px rgba(199, 117, 230, 0.1);
  animation: journalSignal 2.2s ease-out infinite;
}
.journal-horizontal-shell.is-complete .journal-horizontal-meter em:after {
  background: #ffad7d;
}
.journal-horizontal-journey + .journal-manifesto-final {
  margin-top: 100px;
}
@media (max-width: 700px) {
  .journal-horizontal-journey {
    margin-top: 35px;
  }
  .journal-horizontal-shell {
    height: 360vh !important;
    padding: 0;
  }
  .journal-horizontal-pin {
    min-height: 620px;
  }
  .journal-horizontal-track {
    height: 760px;
    margin-top: -380px;
  }
  .journal-horizontal-track .journal-wave-svg {
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.62;
  }
  .journal-horizontal-track .journal-wave-story,
  .journal-horizontal-track .journal-wave-story.wave-left,
  .journal-horizontal-track .journal-wave-story.wave-right {
    position: absolute;
    top: auto;
    left: calc(var(--wave-x) - 42vw) !important;
    width: 84vw;
    margin: 0;
    opacity: 0.2;
    filter: grayscale(0.5);
    transform: translate3d(55px, 0, 0) scale(0.94);
  }
  .journal-horizontal-track .journal-wave-story.wave-top {
    top: 65px;
  }
  .journal-horizontal-track .journal-wave-story.wave-bottom {
    top: 335px;
  }
  .journal-horizontal-track .journal-wave-story.is-reached {
    opacity: 1;
    filter: none;
    transform: none;
  }
  .journal-horizontal-track .journal-wave-story.is-current {
    transform: translateY(-4px) scale(1.01);
  }
  .journal-horizontal-track .journal-wave-story figure {
    height: 245px;
    min-height: 0;
  }
  .journal-horizontal-track .journal-wave-copy {
    width: calc(100% - 12px);
    margin-top: -42px;
    padding: 16px;
  }
  .journal-horizontal-track .journal-wave-copy h2 {
    font-size: clamp(2rem, 9.5vw, 3rem);
  }
  .journal-horizontal-track .journal-wave-copy > p {
    display: none;
  }
  .journal-horizontal-track .journal-wave-label {
    display: flex;
  }
  .journal-horizontal-track .label-now {
    left: 28px;
  }
  .journal-horizontal-track .label-origin {
    right: 28px;
  }
  .journal-horizontal-meter {
    bottom: 17px;
    gap: 9px;
  }
  .journal-horizontal-meter > span {
    display: none;
  }
  .journal-horizontal-pin:before,
  .journal-horizontal-pin:after {
    width: 28px;
  }
  .journal-horizontal-journey + .journal-manifesto-final {
    margin-top: 65px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .journal-horizontal-track {
    will-change: auto;
  }
  .journal-horizontal-meter em:after {
    animation: none;
  }
}
#admin-mobile-menu {
  display: none;
}
@keyframes adminViewIn {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 900px) {
  #admin-mobile-menu {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    margin-right: 10px;
    border: 1px solid #e1e5eb;
    border-radius: 9px;
    background: #fff;
    color: #435063;
  }
}
.mobile-nav-intro,
.mobile-nav-foot {
  display: none;
}
@media (max-width: 900px) {
  body:not(.admin-body).menu-open {
    overflow: hidden;
    touch-action: none;
  }
  body:not(.admin-body) .topbar {
    top: 8px;
    width: calc(100% - 16px);
    height: 62px;
    padding: 0 8px 0 16px;
    border-radius: 18px;
    transition:
      width 0.55s var(--ease),
      height 0.55s var(--ease),
      top 0.55s var(--ease),
      left 0.55s var(--ease),
      transform 0.55s var(--ease),
      border-radius 0.55s var(--ease),
      background 0.4s;
  }
  body:not(.admin-body) .topbar .brand {
    position: relative;
    z-index: 4;
    font-size: 1.03rem;
    transition: color 0.3s;
  }
  body:not(.admin-body) .topbar .brand span:last-child {
    padding-left: 1.05rem;
  }
  body:not(.admin-body) .menu-toggle {
    z-index: 5;
    display: block;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(35, 48, 66, 0.08);
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
  }
  body:not(.admin-body) .menu-toggle span {
    left: 13px;
    width: 20px;
    background: #26313e;
    transform-origin: center;
    transition:
      top 0.35s var(--ease),
      transform 0.35s var(--ease),
      width 0.35s;
  }
  body:not(.admin-body).menu-open .menu-toggle span:first-child {
    top: 22px;
    transform: rotate(45deg);
  }
  body:not(.admin-body).menu-open .menu-toggle span:last-child {
    top: 22px;
    transform: rotate(-45deg);
  }
  body:not(.admin-body).menu-open .topbar,
  body:not(.admin-body).menu-open .topbar.hidden {
    top: 0;
    left: 0;
    width: 100%;
    height: 100svh;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: linear-gradient(
      145deg,
      rgba(250, 252, 255, 0.98),
      rgba(242, 245, 252, 0.97) 55%,
      rgba(251, 246, 252, 0.98)
    );
    box-shadow: none;
    transform: none !important;
    backdrop-filter: blur(28px) saturate(130%);
    -webkit-backdrop-filter: blur(28px) saturate(130%);
  }
  body:not(.admin-body).menu-open .topbar > .brand {
    position: absolute;
    left: 18px;
    top: 20px;
  }
  body:not(.admin-body).menu-open .topbar > .menu-toggle {
    position: absolute;
    right: 12px;
    top: 12px;
  }
  body:not(.admin-body) #nav {
    position: absolute;
    z-index: 3;
    inset: 70px 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(54px, auto);
    align-content: center;
    gap: 7px;
    height: auto;
    padding: max(12px, env(safe-area-inset-top)) 16px max(17px, env(safe-area-inset-bottom));
    overflow-y: auto;
    background: transparent;
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px);
    transition:
      opacity 0.3s,
      visibility 0.3s,
      transform 0.55s var(--ease);
    overscroll-behavior: contain;
  }
  body:not(.admin-body).menu-open #nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  body:not(.admin-body) #nav > .mobile-nav-intro {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3px;
    padding: 0 4px 9px;
    border-bottom: 1px solid rgba(38, 52, 71, 0.1);
    color: #7f8995;
    font-size: 0.52rem;
    font-weight: 750;
    letter-spacing: 0.15em;
  }
  body:not(.admin-body) #nav > a {
    position: relative;
    display: grid;
    align-content: center;
    min-height: 68px;
    padding: 12px 13px 11px 42px;
    border: 1px solid rgba(44, 59, 78, 0.075);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.5);
    color: #25303d;
    font: 540 clamp(1.13rem, 5.4vw, 1.55rem)/1.02 var(--sans);
    letter-spacing: -0.035em;
    text-align: left;
    opacity: 0;
    transform: translateY(13px);
    transition:
      opacity 0.35s calc(var(--nav-i, 0) * 0.045s),
      transform 0.55s calc(var(--nav-i, 0) * 0.045s) var(--ease),
      background 0.25s,
      border-color 0.25s;
  }
  body:not(.admin-body).menu-open #nav > a {
    opacity: 1;
    transform: none;
  }
  body:not(.admin-body) #nav > a:nth-of-type(1) {
    --nav-i: 1;
  }
  body:not(.admin-body) #nav > a:nth-of-type(2) {
    --nav-i: 2;
  }
  body:not(.admin-body) #nav > a:nth-of-type(3) {
    --nav-i: 3;
  }
  body:not(.admin-body) #nav > a:nth-of-type(4) {
    --nav-i: 4;
  }
  body:not(.admin-body) #nav > a:nth-of-type(5) {
    --nav-i: 5;
  }
  body:not(.admin-body) #nav > a:nth-of-type(6) {
    --nav-i: 6;
  }
  body:not(.admin-body) #nav > a:before {
    content: '0' counter(nav-item);
    position: absolute;
    left: 13px;
    top: 15px;
    color: #929ba7;
    font-size: 0.48rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    counter-increment: nav-item;
  }
  body:not(.admin-body) #nav {
    counter-reset: nav-item;
  }
  body:not(.admin-body) #nav > a:after {
    content: '↗';
    position: absolute;
    right: 11px;
    bottom: 10px;
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #eef1f7;
    color: #7a86a1;
    font: 600 0.6rem var(--sans);
  }
  body:not(.admin-body) #nav > a.active {
    border-color: rgba(111, 130, 234, 0.18);
    background: linear-gradient(135deg, rgba(230, 235, 255, 0.85), rgba(244, 239, 252, 0.76));
    color: #34478e;
  }
  body:not(.admin-body) #nav > a.active:after {
    background: #7486eb;
    color: #fff;
    box-shadow: 0 7px 17px rgba(94, 116, 224, 0.25);
  }
  body:not(.admin-body) #nav .nav-social {
    grid-column: 1/-1;
    width: 100%;
    margin: 3px 0 0;
    display: block;
  }
  body:not(.admin-body) #nav .nav-social-trigger {
    width: 100%;
    height: 52px;
    border-radius: 14px;
  }
  .nav-social-trigger > span {
    height: 100%;
  }
  body:not(.admin-body) #nav .nav-social-trigger > span > i {
    width: 31px;
    height: 31px;
  }
  body:not(.admin-body) #nav .nav-social-menu {
    width: 100%;
  }
  body:not(.admin-body) #nav .mobile-nav-foot {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 3px 0;
    color: #8c95a0;
    font-size: 0.48rem;
    font-weight: 750;
    letter-spacing: 0.12em;
  }
  body:not(.admin-body) #nav .mobile-nav-foot > a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    background: none;
    color: #5668c5;
    font: 750 0.49rem var(--sans);
    letter-spacing: 0.1em;
    opacity: 1;
    transform: none;
  }
  body:not(.admin-body) #nav .mobile-nav-foot > a:before,
  body:not(.admin-body) #nav .mobile-nav-foot > a:after {
    display: none;
  }
  body:not(.admin-body) #nav .mobile-nav-foot i {
    font-style: normal;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 82px;
  }
  body:not(.admin-body) {
    overflow-x: clip;
  }
  body:not(.admin-body) main {
    overflow: clip;
  }
  body:not(.admin-body) a,
  body:not(.admin-body) button {
    -webkit-tap-highlight-color: transparent;
  }
  .loader-frame {
    width: calc(100% - 36px);
  }
  .loader-mark {
    font-size: clamp(4rem, 20vw, 6.2rem);
  }
  .loader-track {
    margin: 35px 0 15px;
  }
  .loader-meta {
    font-size: 0.48rem;
    letter-spacing: 0.11em;
  }
  .loader-meta p {
    max-width: 60%;
  }
  .loader-orbit {
    width: 110vw;
  }
  .loader-index {
    left: 18px;
    right: 18px;
    bottom: max(18px, env(safe-area-inset-bottom));
  }
  .hero {
    height: 100svh !important;
    min-height: 620px;
  }
  .hero-content {
    width: calc(100% - 28px);
    margin-bottom: max(27px, env(safe-area-inset-bottom));
    gap: 14px;
  }
  .hero .eyebrow {
    margin-bottom: 11px;
    font-size: 0.58rem;
  }
  .hero h1 {
    max-width: 100%;
    font-size: clamp(3.4rem, 17.5vw, 6rem);
    line-height: 0.84;
    overflow-wrap: anywhere;
  }
  .hero-index {
    left: 15px;
    top: 90px;
  }
  .hero-media:after {
    background: linear-gradient(
      180deg,
      rgba(8, 12, 17, 0.08) 17%,
      rgba(8, 12, 17, 0.2) 46%,
      rgba(8, 12, 17, 0.83) 100%
    );
  }
  .section {
    width: calc(100% - 28px);
    padding: 82px 0;
  }
  .section-label {
    margin-bottom: 21px;
    font-size: 0.59rem;
  }
  .intro-editorial {
    padding: 82px 0 48px;
  }
  .intro-grid {
    gap: 27px;
  }
  .intro-grid h2 {
    font-size: clamp(2.55rem, 12vw, 4rem);
    line-height: 0.95;
  }
  .intro-grid p {
    font-size: 0.94rem;
    line-height: 1.65;
  }
  .text-link {
    min-height: 52px;
    margin-top: 22px;
  }
  .editorial-section {
    padding-top: 48px;
    padding-bottom: 70px;
  }
  .editorial-grid {
    gap: 9px;
  }
  .editorial-copy {
    padding: 22px 7px;
  }
  .editorial-copy h2 {
    font-size: clamp(2.5rem, 12vw, 4.2rem);
  }
  .portfolio-section {
    padding-top: 62px;
  }
  .section-heading {
    margin-bottom: 30px;
  }
  .section-heading h2 {
    font-size: clamp(3rem, 14vw, 4.8rem);
  }
  .section-heading > p:last-child {
    font-size: 0.88rem;
  }
  .project-grid,
  .project-row,
  .project-row.solo {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .project-row .project-card,
  .project-row .project-card.card-tall,
  .project-card,
  .project-card.card-wide,
  .project-card.card-tall {
    grid-column: auto !important;
    min-height: 0;
    height: clamp(430px, 128vw, 600px);
    border-radius: 20px;
  }
  .project-card.style-split {
    height: 540px;
    padding-top: 70%;
  }
  .project-card.style-split .project-image {
    height: 70%;
  }
  .project-card.style-split .project-meta {
    top: calc(70% + 15px);
  }
  .project-card.style-minimal {
    height: 520px;
  }
  .project-title {
    left: 18px;
    right: 18px;
    bottom: 19px;
  }
  .project-title h3,
  .project-card.card-tall .project-title h3 {
    font-size: clamp(2.8rem, 13vw, 4.2rem);
  }
  .project-meta {
    left: 18px;
    right: 18px;
    top: 17px;
  }
  .round-arrow {
    width: 46px;
    height: 46px;
  }
  .manifesto {
    margin: 45px 0;
    padding: 90px 17px;
  }
  .manifesto blockquote {
    font-size: clamp(2.45rem, 11vw, 3.8rem);
  }
  .manifesto p {
    margin-top: 24px;
  }
  .services {
    display: grid;
    grid-template-columns: 1fr;
    width: calc(100% - 24px);
    margin: 55px auto;
    padding: 19px;
    border-radius: 24px;
    gap: 25px;
  }
  .services-head h2 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }
  .services-list {
    gap: 7px;
  }
  .services-list > div {
    grid-template-columns: 30px minmax(0, 1fr) 31px;
    min-height: 59px;
    padding: 9px 10px;
    border-radius: 14px;
  }
  .services-list strong {
    font-size: 0.96rem;
  }
  .services-list i {
    width: 30px;
    height: 30px;
  }
  .stats-strip {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }
  .stats-strip > div {
    min-height: 105px;
    padding: 16px;
    border-radius: 15px;
  }
  .stats-strip > div:last-child {
    grid-column: 1/-1;
  }
  .stats-strip strong {
    font-size: 2rem;
  }
  .home-cta {
    margin: 40px 8px 65px;
    padding: 78px 17px;
    border-radius: 26px;
  }
  .home-cta h2 {
    font-size: clamp(3rem, 14vw, 5rem);
    margin: 18px auto;
  }
  .home-cta > p:not(.eyebrow) {
    font-size: 0.9rem;
  }
  .home-cta .button {
    width: 100%;
    max-width: 320px;
    min-height: 54px;
  }
  .page-head {
    padding: 128px 15px 45px;
  }
  .page-head h1 {
    font-size: clamp(3.8rem, 18vw, 6rem);
  }
  .page-head p {
    margin-top: 17px;
    font-size: 0.9rem;
  }
  .project-index {
    padding-top: 0;
  }
  .project-index-head {
    padding-bottom: 28px;
  }
  .gallery-story-head {
    padding-left: 15px;
    padding-right: 15px;
  }
  .gallery-facts {
    gap: 11px 17px;
    margin-top: 28px;
  }
  .hero-cover .gallery-story-head {
    width: calc(100% - 16px);
    min-height: 76svh;
    margin: 8px;
    border-radius: 22px;
    padding: 125px 17px 30px;
  }
  .hero-cover .gallery-story-head h1 {
    font-size: clamp(3.5rem, 17vw, 5.4rem);
  }
  .gallery-grid,
  .gallery-grid.layout-cinematic {
    width: calc(100% - 12px);
    margin-bottom: 35px;
    column-gap: 6px;
  }
  .gallery-grid {
    columns: 2 145px;
  }
  .gallery-frame {
    margin-bottom: 6px;
  }
  .gallery-item {
    margin-bottom: 0;
    border-radius: max(8px, var(--image-radius));
  }
  .gallery-grid.layout-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  .gallery-grid.layout-cinematic {
    gap: 12px;
  }
  .gallery-grid.layout-cinematic .gallery-item img {
    max-height: none;
  }
  .gallery-frame figcaption {
    padding: 7px 5px 11px;
    font-size: 0.66rem;
  }
  .gallery-item:after {
    display: none;
  }
  .next-project {
    width: calc(100% - 28px);
    margin-top: 45px;
    padding: 23px 0;
    font-size: 1.15rem;
  }
  .about {
    padding: 112px 14px 70px;
    gap: 32px;
  }
  .about-photo {
    border-radius: 23px;
  }
  .about-copy {
    padding: 0 5px;
  }
  .about-copy h1 {
    margin-bottom: 28px;
    font-size: clamp(3.7rem, 17vw, 5.8rem);
  }
  .about-copy .lead {
    font-size: 1.55rem;
  }
  .about-copy p {
    font-size: 0.94rem;
    line-height: 1.72;
  }
  .about .stats-strip {
    margin-top: 34px;
  }
  .contact {
    padding: 115px 12px 70px;
    gap: 45px;
  }
  .contact-copy {
    padding: 0 7px;
  }
  .contact-copy h1 {
    margin-bottom: 23px;
    font-size: clamp(3.5rem, 16vw, 5.5rem);
  }
  .contact-copy > p {
    font-size: 0.93rem;
  }
  .contact-promises {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin-top: 25px;
  }
  .contact-promises > div {
    display: grid;
    justify-items: start;
    padding: 12px;
    gap: 8px;
  }
  .contact-promises span {
    font-size: 0.64rem;
  }
  .contact-links {
    margin-top: 21px;
  }
  .contact-links a {
    min-height: 52px;
    padding: 14px 0;
    font-size: 0.92rem;
    overflow-wrap: anywhere;
  }
  .contact-form {
    margin: 0;
    padding: 20px 14px;
    border-radius: 24px;
    gap: 20px;
  }
  .contact-form-head h2 {
    font-size: 1.35rem;
  }
  .contact-project-types > div {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .contact-project-types label span {
    padding: 10px 7px;
    text-align: center;
  }
  .contact-form input,
  .contact-form select {
    height: 52px;
  }
  .phone-control {
    grid-template-columns: 104px minmax(0, 1fr);
  }
  .contact-form .phone-control select {
    width: 104px;
    padding-left: 8px;
  }
  .contact-message textarea {
    min-height: 145px;
  }
  .contact-submit .button {
    min-height: 54px;
  }
  .private-gate {
    padding: 100px 12px 45px;
  }
  .gate-card {
    padding: 27px 17px;
    border-radius: 23px;
  }
  .gate-card h1 {
    font-size: 2.4rem;
  }
  .gate-card form {
    display: grid;
  }
  .calendar-page {
    padding: 115px 10px 75px;
  }
  .calendar-hero {
    grid-template-columns: minmax(0, 1fr) 92px;
    gap: 9px;
    margin-bottom: 35px;
    padding: 0 7px;
  }
  .calendar-hero h1 {
    font-size: clamp(3.25rem, 14vw, 5rem);
  }
  .calendar-hero > div:first-child > p:last-child {
    margin-top: 20px;
    font-size: 0.85rem;
  }
  .calendar-orbit {
    width: 84px;
  }
  .calendar-orbit span {
    font-size: 1.55rem;
  }
  .calendar-orbit i:first-child,
  .calendar-orbit i:nth-child(2) {
    transform: rotate(var(--planet-a)) translateX(42px);
  }
  .calendar-orbit i:nth-child(2) {
    transform: rotate(var(--planet-b)) translateX(42px);
  }
  .calendar-glass {
    padding: 7px;
    border-radius: 23px;
  }
  .calendar-glass > header {
    height: 77px;
    grid-template-columns: 44px 1fr 44px;
  }
  .calendar-glass > header > button {
    width: 42px;
    height: 42px;
  }
  .calendar-glass > header h2 {
    font-size: 1.9rem;
  }
  .calendar-weekdays span {
    padding: 9px 2px;
    font-size: 0.48rem;
  }
  .calendar-grid {
    border-radius: 15px;
  }
  .calendar-day {
    min-height: 53px;
    padding: 5px 3px;
  }
  .calendar-day-number {
    width: 25px;
    height: 25px;
    font-size: 0.64rem;
  }
  .calendar-day.has-events:after {
    left: 5px;
    right: 5px;
  }
  .calendar-day-events {
    display: flex;
    justify-content: center;
    gap: 3px;
    margin-top: 4px;
  }
  .calendar-day-events a {
    width: 5px;
    height: 5px;
    padding: 0;
    border-radius: 50%;
    background: var(--event-color);
  }
  .calendar-day-events a i,
  .calendar-day-events a span,
  .calendar-day-events small {
    display: none;
  }
  .calendar-agenda {
    margin-top: 60px;
    padding: 0 3px;
  }
  .calendar-agenda > header {
    display: block;
  }
  .calendar-agenda > header h2 {
    font-size: 2.7rem;
  }
  .calendar-event-card {
    grid-template-columns: 61px minmax(0, 1fr) 30px;
    gap: 11px;
    padding: 13px 11px;
    border-radius: 17px;
  }
  .event-date {
    height: 64px;
    border-radius: 13px;
  }
  .event-date b {
    font-size: 1.75rem;
  }
  .event-card-main > p {
    display: block;
    font-size: 0.5rem;
    line-height: 1.5;
  }
  .event-card-main > p i {
    display: none;
  }
  .event-card-main h2 {
    font-size: 1.06rem;
  }
  .event-quick {
    font-size: 0.6rem;
  }
  .event-expand {
    width: 30px;
    height: 30px;
  }
  .calendar-event-card.is-open {
    transform: translateY(-2px);
    box-shadow: 0 18px 45px rgba(38, 53, 72, 0.13);
  }
  .calendar-event-card.is-open .event-reveal {
    max-height: 520px;
    margin-top: 16px;
    opacity: 1;
    transform: none;
  }
  .calendar-event-card.is-open .event-expand {
    transform: rotate(135deg);
    background: color-mix(in srgb, var(--event-color) 13%, white);
    color: var(--event-color);
  }
  .event-reveal > p {
    font-size: 0.8rem;
  }
  .calendar-empty {
    padding: 52px 16px;
  }
  .history-map-page {
    padding-left: 9px;
    padding-right: 9px;
  }
  .map-hero {
    padding: 0 8px;
  }
  .map-hero p:last-child {
    font-size: 0.86rem;
  }
  .history-map-shell {
    padding: 10px 5px 8px;
    border-radius: 24px;
  }
  .map-visual {
    padding-top: 35px;
  }
  .history-map-stage {
    width: 94vw;
  }
  .map-place-panel {
    padding: 9px;
  }
  .map-place-panel > header {
    padding: 3px 2px 10px;
  }
  .map-place-list {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 0 5px;
  }
  .map-place-button {
    flex: 0 0 122px;
    min-height: 58px;
    scroll-snap-align: start;
  }
  .map-mobile-stories {
    padding: 40px 3px 0;
  }
  .map-mobile-stories > article {
    grid-template-columns: 30px 1fr;
    padding: 15px;
    border-radius: 18px;
  }
  .map-mobile-stories h2 {
    font-size: 1.45rem;
  }
  .map-album-card {
    min-width: 0;
  }
  .journal-signal-hero {
    padding: 112px 10px 88px;
  }
  .journal-signal-copy h1 {
    font-size: clamp(3.6rem, 17vw, 5.6rem);
  }
  .journal-signal-copy > p:not(.eyebrow) {
    font-size: 0.9rem;
  }
  .journal-signal-cover {
    height: 61svh;
    min-height: 470px;
  }
  .journal-signal-title {
    left: 18px;
    right: 18px;
  }
  .journal-signal-title h2 {
    font-size: clamp(2.45rem, 12vw, 4rem);
  }
  .journal-wave-heading h2 {
    font-size: clamp(2.8rem, 13vw, 4.2rem);
  }
  .journal-horizontal-pin {
    min-height: 600px;
  }
  .journal-horizontal-track .journal-wave-story,
  .journal-horizontal-track .journal-wave-story.wave-left,
  .journal-horizontal-track .journal-wave-story.wave-right {
    width: 88vw;
    left: calc(var(--wave-x) - 44vw) !important;
  }
  .journal-horizontal-track .journal-wave-story figure {
    height: 230px;
  }
  .journal-horizontal-track .journal-wave-copy {
    padding: 14px;
  }
  .journal-horizontal-track .journal-wave-copy h2 {
    font-size: 2rem;
  }
  .journal-wave-copy footer {
    margin-top: 12px;
    padding-top: 10px;
  }
  .journal-manifesto {
    padding-left: 15px;
    padding-right: 15px;
  }
  .journal-manifesto h2 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }
  .journal-article-hero {
    height: 76svh;
    min-height: 540px;
  }
  .journal-article-title {
    left: 16px;
    right: 16px;
    bottom: 37px;
  }
  .journal-article-title h1 {
    margin: 13px 0 18px;
    font-size: clamp(3.25rem, 15vw, 5.3rem);
    line-height: 0.86;
  }
  .journal-article-title > div {
    display: grid;
    gap: 7px;
  }
  .journal-scroll-cue {
    display: none;
  }
  .journal-article-meta {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 42px 17px;
  }
  .journal-article-meta > p {
    font-size: 1.5rem;
  }
  .journal-article-meta > div {
    justify-content: flex-start;
    max-width: none;
  }
  .journal-article-body {
    padding: 24px 0;
  }
  .journal-block-lead,
  .journal-block-text,
  .journal-block-heading {
    width: calc(100% - 34px);
    margin: 50px auto;
  }
  .journal-block-lead {
    font-size: 1.55rem;
  }
  .journal-block-text p {
    font-size: 0.95rem;
    line-height: 1.76;
  }
  .journal-block-heading {
    font-size: 2.7rem;
  }
  .journal-block-image,
  .journal-block-image.layout-portrait {
    width: calc(100% - 16px);
    margin: 62px auto;
  }
  .journal-block-image > div {
    border-radius: 19px;
  }
  .journal-block-quote {
    width: calc(100% - 20px);
    margin: 68px auto;
    padding: 50px 17px;
    border-radius: 23px;
  }
  .journal-block-quote p {
    font-size: clamp(1.9rem, 9vw, 3rem);
  }
  .journal-filmstrip {
    margin: 68px 0;
    padding: 23px 0;
  }
  .journal-filmstrip > div {
    padding-left: 13px;
    padding-right: 13px;
  }
  .journal-filmstrip > div > span {
    flex-basis: 86vw;
  }
  .journal-connections {
    margin-top: 35px;
    padding: 50px 12px 70px;
  }
  .journal-connections header h2 {
    font-size: 2.5rem;
  }
  .journal-connections > div {
    grid-template-columns: 1fr;
  }
  .journal-next-story {
    padding: 80px 17px;
  }
  .journal-next-story h2 {
    font-size: clamp(3rem, 14vw, 5rem);
  }
  .lightbox {
    padding: 0;
    background: rgba(241, 245, 251, 0.96);
  }
  .lightbox-shell {
    width: 100%;
    height: 100svh;
    border: 0;
    border-radius: 0;
    grid-template-rows: 60px minmax(0, 1fr) 76px;
  }
  .lightbox-head {
    padding: 0 9px 0 14px;
  }
  .lightbox-meta {
    justify-self: start;
  }
  .lightbox-counter {
    font-size: 0.67rem;
  }
  .lightbox-tools {
    margin-left: auto;
  }
  .lightbox-download {
    min-width: 43px;
    width: 43px;
    height: 43px;
    padding: 0;
    font-size: 0;
  }
  .lightbox-download span {
    font-size: 0.85rem;
  }
  .lightbox .lightbox-close {
    width: 43px;
    height: 43px;
  }
  .lightbox-stage {
    position: relative;
    display: block;
  }
  .lightbox-stage figure {
    width: 100%;
    height: 100%;
    padding: 10px 0;
  }
  .lightbox-image-wrap {
    width: 100%;
    height: 100%;
  }
  .lightbox-image-wrap img {
    max-width: 100%;
    max-height: calc(100svh - 156px);
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(27, 38, 52, 0.12);
  }
  .lightbox .lightbox-prev,
  .lightbox .lightbox-next {
    z-index: 3;
    position: absolute;
    top: 50%;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(12px);
  }
  .lightbox .lightbox-prev {
    left: 8px;
  }
  .lightbox .lightbox-next {
    right: 8px;
  }
  .lightbox-footer {
    padding: 4px 0;
  }
  .lightbox-thumbs {
    height: 72px;
    padding: 8px calc(50% - 22px);
  }
  .lightbox .lightbox-thumbs button {
    width: 44px;
    height: 52px;
  }
  .site-footer {
    display: grid;
    grid-template-columns: 1fr;
    width: calc(100% - 16px);
    margin: 45px auto 8px;
    padding: 25px 18px 18px;
    border-radius: 24px;
    gap: 29px;
  }
  .footer-primary {
    min-height: 0;
  }
  .footer-kicker {
    font-size: 0.51rem;
  }
  .footer-logo {
    margin: 20px 0 15px;
    font-size: clamp(3.4rem, 17vw, 5rem);
  }
  .footer-primary #footer-note {
    font-size: 0.78rem;
  }
  .footer-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 18px;
  }
  .footer-column .footer-title {
    grid-column: 1/-1;
  }
  .footer-column > a {
    font-size: 0.76rem;
  }
  .footer-contact {
    padding: 17px;
    border-radius: 17px;
  }
  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding-top: 15px;
  }
  .footer-bottom p:nth-child(2) {
    grid-column: 1/-1;
    grid-row: 2;
  }
  .footer-bottom > a {
    grid-column: 2;
    grid-row: 1/3;
    align-self: center;
  }
}
@media (max-width: 390px) {
  body:not(.admin-body) #nav {
    padding-left: 10px;
    padding-right: 10px;
    gap: 5px;
  }
  body:not(.admin-body) #nav > a {
    min-height: 60px;
    padding-left: 35px;
    font-size: 1.03rem;
  }
  body:not(.admin-body) #nav > a:before {
    left: 10px;
  }
  .mobile-nav-foot > span {
    display: none;
  }
  .contact-promises {
    grid-template-columns: 1fr;
  }
  .stats-strip {
    grid-template-columns: 1fr;
  }
  .stats-strip > div:last-child {
    grid-column: auto;
  }
  .gallery-grid {
    columns: 1;
  }
  .gallery-grid.layout-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid.layout-grid .span-wide,
  .gallery-grid.layout-grid .span-large {
    grid-column: auto;
  }
  .calendar-day {
    min-height: 47px;
  }
  .calendar-hero {
    grid-template-columns: 1fr;
  }
  .calendar-orbit {
    display: none;
  }
  .journal-article-title h1 {
    font-size: 3.1rem;
  }
}
@media (max-width: 760px) and (orientation: landscape) {
  body:not(.admin-body) #nav {
    grid-template-columns: repeat(3, 1fr);
    align-content: start;
    padding-top: 8px;
  }
  body:not(.admin-body) #nav > .mobile-nav-intro,
  body:not(.admin-body) #nav .nav-social,
  body:not(.admin-body) #nav .mobile-nav-foot {
    grid-column: 1/-1;
  }
  body:not(.admin-body) #nav > a {
    min-height: 54px;
  }
  .hero {
    min-height: 480px;
  }
  .journal-article-hero {
    min-height: 480px;
  }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  body:not(.admin-body) #nav,
  body:not(.admin-body) #nav > a,
  body:not(.admin-body) .topbar {
    transition: none !important;
  }
}
@media (min-width: 391px) and (max-width: 760px) {
  .calendar-orbit {
    display: grid;
  }
}
.mobile-nav-preview,
.journal-mobile-journey {
  display: none;
}
@media (max-width: 900px) {
  body:not(.admin-body) .topbar {
    padding-top: env(safe-area-inset-top);
    height: calc(68px + env(safe-area-inset-top));
  }
  body:not(.admin-body) .topbar.menu-open,
  body:not(.admin-body).menu-open .topbar {
    height: 100dvh;
  }
  body:not(.admin-body) #nav {
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 0;
    inset: calc(66px + env(safe-area-inset-top)) 0 0;
    padding: 10px 16px max(20px, env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: linear-gradient(165deg, rgba(252, 253, 255, 0.965), rgba(239, 242, 251, 0.95));
    -webkit-backdrop-filter: blur(28px) saturate(145%);
    backdrop-filter: blur(28px) saturate(145%);
  }
  body:not(.admin-body) #nav > .mobile-nav-intro {
    grid-column: auto;
    margin: 0 0 10px;
    padding: 0 2px 8px;
  }
  body:not(.admin-body) #nav > .mobile-nav-preview {
    position: relative;
    display: block;
    width: 100%;
    height: clamp(112px, 19dvh, 162px);
    margin: 0 0 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 22px;
    background: #e8ebf2;
    box-shadow: 0 14px 38px rgba(36, 47, 66, 0.12);
  }
  body:not(.admin-body) .mobile-nav-preview:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      90deg,
      rgba(11, 17, 28, 0.58),
      rgba(11, 17, 28, 0.08) 68%,
      rgba(11, 17, 28, 0.2)
    );
  }
  body:not(.admin-body) .mobile-nav-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 44%;
    transform: scale(1.025);
    transition:
      transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1),
      opacity 0.24s ease;
  }
  body:not(.admin-body) .mobile-nav-preview figcaption {
    position: absolute;
    z-index: 2;
    left: 17px;
    bottom: 14px;
    display: grid;
    gap: 1px;
    color: #fff;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.28);
  }
  body:not(.admin-body) .mobile-nav-preview figcaption small {
    font: 700 0.43rem var(--sans);
    letter-spacing: 0.17em;
    opacity: 0.68;
  }
  body:not(.admin-body) .mobile-nav-preview figcaption b {
    font: 400 clamp(1.45rem, 6vw, 2.05rem)/1 var(--display);
    letter-spacing: -0.035em;
  }
  body:not(.admin-body) .mobile-nav-preview figcaption span {
    font: 600 0.48rem var(--sans);
    letter-spacing: 0.1em;
    opacity: 0.72;
    text-transform: uppercase;
  }
  body:not(.admin-body) .mobile-nav-preview > i {
    position: absolute;
    z-index: 2;
    right: 16px;
    top: 13px;
    color: #fff;
    font: 500 1.25rem var(--display);
    font-style: normal;
  }
  body:not(.admin-body) .mobile-nav-preview.is-changing img {
    animation: navPreviewShift 0.58s cubic-bezier(0.2, 0.75, 0.2, 1);
  }
  body:not(.admin-body) #nav > a {
    position: relative;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 27px;
    align-items: center;
    min-height: 47px;
    padding: 0 3px;
    border: 0;
    border-bottom: 1px solid rgba(35, 49, 68, 0.09);
    border-radius: 0;
    background: transparent;
    color: #26313e;
    box-shadow: none;
    font: 520 clamp(1.02rem, 4.5vw, 1.25rem) var(--display);
    letter-spacing: -0.015em;
    opacity: 1;
    transform: none;
    transition:
      padding 0.35s cubic-bezier(0.2, 0.75, 0.2, 1),
      color 0.25s ease,
      border-color 0.25s ease;
  }
  body:not(.admin-body) #nav > a:before {
    position: static;
    content: counter(navitem, decimal-leading-zero);
    display: block;
    width: auto;
    height: auto;
    background: none;
    color: #98a1ad;
    font: 700 0.48rem var(--sans);
    letter-spacing: 0.12em;
    counter-increment: navitem;
    transform: none;
    box-shadow: none;
  }
  body:not(.admin-body) #nav {
    counter-reset: navitem;
  }
  body:not(.admin-body) #nav > a:after {
    position: static;
    content: '↗';
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border: 1px solid rgba(38, 52, 71, 0.12);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.48);
    color: #7a8490;
    font: 500 0.7rem var(--sans);
    transition:
      transform 0.3s ease,
      background 0.3s ease,
      color 0.3s ease;
    box-shadow: none;
  }
  body:not(.admin-body) #nav > a.active {
    padding-left: 10px;
    border-color: rgba(91, 111, 218, 0.2);
    background: linear-gradient(90deg, rgba(111, 136, 247, 0.1), transparent 66%);
    color: #3e55bc;
    box-shadow: inset 2px 0 #7188ed;
  }
  body:not(.admin-body) #nav > a.active:before {
    color: #6d82e9;
  }
  body:not(.admin-body) #nav > a.active:after {
    background: #7188ed;
    color: #fff;
    transform: rotate(45deg);
  }
  body:not(.admin-body) #nav > a[href='/kontakt'] {
    min-height: 52px;
    margin-top: 7px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.75), rgba(226, 232, 253, 0.72));
    box-shadow: 0 9px 25px rgba(57, 73, 111, 0.09);
  }
  body:not(.admin-body) #nav .nav-social {
    grid-column: auto;
    margin-top: 8px;
  }
  body:not(.admin-body) #nav .nav-social-trigger {
    height: 44px;
    border-radius: 13px;
  }
  body:not(.admin-body) #nav .nav-social-trigger > span > i {
    width: 27px;
    height: 27px;
  }
  body:not(.admin-body) #nav .mobile-nav-foot {
    grid-column: auto;
    padding: 10px 2px 2px;
  }
}
@keyframes navPreviewShift {
  0% {
    opacity: 0.3;
    transform: scale(1.07) translateX(8px);
  }
  100% {
    opacity: 1;
    transform: scale(1.025) translateX(0);
  }
}
@media (max-width: 760px), (max-height: 600px) {
  .journal-index-reimagined {
    background: #f8f9fc;
  }
  .journal-signal-hero {
    min-height: auto;
    padding-bottom: 72px;
  }
  .journal-signal-scroll span {
    font-size: 0;
  }
  .journal-signal-scroll span:after {
    content: 'PODĄŻAJ ZA SZLAKIEM';
    font-size: 0.52rem;
  }
  .journal-horizontal-journey {
    display: none !important;
  }
  .journal-mobile-journey {
    --mobile-memory-color: #7588ec;
    position: relative;
    display: block;
    padding: 105px 0 28px;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(180deg, #f8f9fc 0%, #f4f5fa 35%, #faf8f5 100%);
    transition: background-color 0.8s ease;
  }
  .journal-mobile-journey:before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    background: radial-gradient(
      circle at 75% var(--mobile-route-y, 12%),
      color-mix(in srgb, var(--mobile-memory-color) 18%, transparent),
      transparent 29%
    );
    opacity: 0.62;
    transition: background 0.75s ease;
    pointer-events: none;
  }
  .journal-mobile-journey > header {
    width: calc(100% - 38px);
    margin: 0 auto 45px;
  }
  .journal-mobile-journey > header .section-label {
    margin-bottom: 17px;
  }
  .journal-mobile-journey > header h2 {
    max-width: 360px;
    margin: 0;
    color: #222c37;
    font: 400 clamp(2.75rem, 13.4vw, 4.25rem)/0.94 var(--display);
    letter-spacing: -0.055em;
  }
  .journal-mobile-journey > header h2 em {
    color: #687ee7;
    font-style: italic;
  }
  .journal-mobile-journey > header > p:last-child {
    max-width: 305px;
    margin: 20px 0 0;
    color: #6e7782;
    font-size: 0.83rem;
    line-height: 1.65;
  }
  .journal-mobile-route {
    position: relative;
    padding: 42px 13px 18px;
  }
  .journal-mobile-route > svg {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
  }
  .mobile-route-base,
  .mobile-route-progress {
    fill: none;
    vector-effect: non-scaling-stroke;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .mobile-route-base {
    stroke: rgba(64, 76, 94, 0.12);
    stroke-width: 1.4;
    stroke-dasharray: 2.2 5;
  }
  .mobile-route-progress {
    stroke: url(#mobile-route-gradient);
    stroke-width: 2.8;
    filter: drop-shadow(0 4px 7px rgba(105, 125, 229, 0.2));
    transition: stroke-dashoffset 0.08s linear;
  }
  .journal-mobile-memory {
    --node-x: 52%;
    position: relative;
    z-index: 1;
    width: calc(100% - 28px);
    min-height: 640px;
    margin: 0 28px 52px 0;
    opacity: 0;
    transform: translate3d(-20px, 52px, 0);
    transition:
      opacity 0.8s ease,
      transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .journal-mobile-memory.memory-right {
    --node-x: 49%;
    margin-right: 0;
    margin-left: 28px;
    transform: translate3d(20px, 52px, 0);
  }
  .journal-mobile-memory.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  .journal-mobile-memory > a {
    position: relative;
    display: block;
    color: inherit;
    text-decoration: none;
    touch-action: pan-y;
  }
  .journal-mobile-memory > a:before {
    content: counter(memory, decimal-leading-zero);
    position: absolute;
    z-index: -1;
    top: -68px;
    right: 7px;
    color: rgba(47, 58, 74, 0.045);
    font: 400 8rem/1 var(--display);
    letter-spacing: -0.09em;
  }
  .journal-mobile-route {
    counter-reset: memory;
  }
  .journal-mobile-memory {
    counter-increment: memory;
  }
  .journal-mobile-memory figure {
    position: relative;
    height: min(123vw, 550px);
    min-height: 405px;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 26px 74px 25px 25px;
    background: #e9ecf2;
    box-shadow: 0 18px 55px rgba(36, 47, 66, 0.12);
    transform: translateZ(0);
    transition:
      border-radius 0.8s cubic-bezier(0.16, 1, 0.3, 1),
      box-shadow 0.7s ease,
      transform 0.7s ease;
  }
  .journal-mobile-memory.memory-right figure {
    border-radius: 74px 26px 25px 25px;
  }
  .journal-mobile-memory.is-active figure {
    border-radius: 27px 27px 82px 27px;
    box-shadow: 0 25px 70px color-mix(in srgb, var(--memory-accent) 21%, rgba(36, 47, 66, 0.13));
    transform: translate3d(0, -5px, 0);
  }
  .journal-mobile-memory figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.035) translateZ(0);
    transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .journal-mobile-memory.is-active figure img {
    transform: scale(1) translateZ(0);
  }
  .journal-mobile-memory figure > span {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 10, 17, 0.02) 46%, rgba(5, 10, 17, 0.55));
  }
  .journal-mobile-memory figure > em {
    position: absolute;
    left: 16px;
    top: 16px;
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    background: rgba(248, 250, 255, 0.18);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    color: #fff;
    font: 700 0.48rem var(--sans);
    font-style: normal;
    letter-spacing: 0.13em;
    text-transform: uppercase;
  }
  .memory-coordinates {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px 7px;
    color: #7e8793;
    font: 700 0.48rem var(--sans);
    letter-spacing: 0.13em;
    text-transform: uppercase;
  }
  .memory-coordinates i {
    width: 20px;
    height: 1px;
    background: var(--memory-accent);
  }
  .memory-copy {
    position: relative;
    width: calc(100% - 20px);
    margin: -72px 10px 0;
    padding: 22px 20px 18px;
    border: 1px solid rgba(255, 255, 255, 0.88);
    border-radius: 22px;
    background: rgba(251, 252, 255, 0.84);
    -webkit-backdrop-filter: blur(18px) saturate(135%);
    backdrop-filter: blur(18px) saturate(135%);
    box-shadow: 0 16px 44px rgba(36, 47, 66, 0.11);
    transform: translateZ(0);
  }
  .memory-copy > small {
    color: var(--memory-accent);
    font: 750 0.49rem var(--sans);
    letter-spacing: 0.13em;
    text-transform: uppercase;
  }
  .memory-copy h3 {
    margin: 9px 0 10px;
    color: #27313d;
    font: 400 clamp(2rem, 9.2vw, 3rem)/0.95 var(--display);
    letter-spacing: -0.045em;
  }
  .memory-copy > p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: #737c87;
    font-size: 0.77rem;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .memory-copy footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 17px;
    padding-top: 12px;
    border-top: 1px solid rgba(37, 51, 70, 0.09);
    color: #89919a;
    font: 700 0.45rem var(--sans);
    letter-spacing: 0.12em;
  }
  .memory-copy footer i {
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    border-radius: 50%;
    background: var(--memory-accent);
    color: #fff;
    font-style: normal;
    box-shadow: 0 7px 18px color-mix(in srgb, var(--memory-accent) 35%, transparent);
  }
  .memory-node {
    position: absolute;
    z-index: 3;
    left: var(--node-x);
    top: -34px;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    background: rgba(250, 251, 254, 0.88);
    box-shadow: 0 9px 25px rgba(39, 51, 69, 0.14);
    transform: translateX(-50%);
  }
  .memory-node i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--memory-accent);
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--memory-accent) 15%, transparent);
  }
  .memory-node b {
    position: absolute;
    left: 43px;
    color: #626d78;
    font: 700 0.46rem var(--sans);
    letter-spacing: 0.08em;
  }
  .journal-mobile-memory.is-active .memory-node {
    animation: memoryNodeFloat 2.6s ease-in-out infinite;
  }
  .journal-mobile-memory.is-active .memory-node i {
    animation: memoryNodePulse 2.2s ease-out infinite;
  }
  .journal-mobile-destination {
    position: relative;
    z-index: 2;
    display: grid;
    justify-items: center;
    gap: 13px;
    width: calc(100% - 36px);
    margin: 0 auto;
    padding: 28px 15px 55px;
    color: #7c8691;
    font: 700 0.48rem var(--sans);
    letter-spacing: 0.14em;
    text-align: center;
  }
  .journal-mobile-destination:before {
    content: '';
    position: absolute;
    top: 0;
    width: 1px;
    height: 28px;
    background: linear-gradient(var(--mobile-memory-color), transparent);
  }
  .journal-mobile-destination i {
    width: 13px;
    height: 13px;
    margin-top: 22px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--mobile-memory-color);
    box-shadow:
      0 0 0 6px color-mix(in srgb, var(--mobile-memory-color) 15%, transparent),
      0 7px 18px rgba(40, 52, 72, 0.18);
  }
  .journal-manifesto-final {
    margin-top: 0;
  }
}
@keyframes memoryNodeFloat {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-5px);
  }
}
@keyframes memoryNodePulse {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--memory-accent) 32%, transparent);
  }
  70% {
    box-shadow: 0 0 0 13px transparent;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}
@media (max-width: 760px) and (max-height: 700px) {
  body:not(.admin-body) #nav > .mobile-nav-preview {
    height: 92px;
    border-radius: 17px;
  }
  body:not(.admin-body) .mobile-nav-preview figcaption span {
    display: none;
  }
  body:not(.admin-body) #nav > a {
    min-height: 42px;
  }
  body:not(.admin-body) #nav > a[href='/kontakt'] {
    min-height: 46px;
  }
  body:not(.admin-body) #nav .nav-social-trigger {
    height: 40px;
  }
  body:not(.admin-body) #nav .mobile-nav-foot {
    display: none;
  }
}
@media (max-width: 390px) {
  body:not(.admin-body) #nav {
    padding-left: 12px;
    padding-right: 12px;
  }
  body:not(.admin-body) #nav > a {
    min-height: 45px;
    padding-left: 3px;
    font-size: 1.02rem;
  }
  body:not(.admin-body) #nav > a.active {
    padding-left: 9px;
  }
  .journal-mobile-journey > header {
    width: calc(100% - 30px);
  }
  .journal-mobile-route {
    padding-left: 9px;
    padding-right: 9px;
  }
  .journal-mobile-memory {
    width: calc(100% - 20px);
    margin-right: 20px;
  }
  .journal-mobile-memory.memory-right {
    margin-left: 20px;
  }
  .journal-mobile-memory figure {
    min-height: 390px;
  }
  .memory-copy {
    padding-left: 17px;
    padding-right: 17px;
  }
}
@media (max-width: 760px) and (orientation: landscape) {
  body:not(.admin-body) #nav {
    grid-template-columns: 1fr 1fr;
    column-gap: 14px;
    padding-top: 6px;
  }
  body:not(.admin-body) #nav > .mobile-nav-intro,
  body:not(.admin-body) #nav > .mobile-nav-preview,
  body:not(.admin-body) #nav .nav-social,
  body:not(.admin-body) #nav .mobile-nav-foot {
    grid-column: 1/-1;
  }
  body:not(.admin-body) #nav > .mobile-nav-preview {
    display: none;
  }
  body:not(.admin-body) #nav > a {
    min-height: 42px;
  }
  body:not(.admin-body) #nav > a[href='/kontakt'] {
    margin-top: 0;
  }
}
@supports (-webkit-touch-callout: none) {
  @media (max-width: 760px) {
    body:not(.admin-body) #nav {
      height: calc(100dvh - 66px - env(safe-area-inset-top));
    }
    .journal-mobile-memory figure img {
      -webkit-transform: scale(1.035) translateZ(0);
    }
    .journal-mobile-memory.is-active figure img {
      -webkit-transform: scale(1) translateZ(0);
    }
    .memory-copy {
      -webkit-backdrop-filter: blur(13px) saturate(125%);
      backdrop-filter: blur(13px) saturate(125%);
    }
    .journal-mobile-journey:before {
      opacity: 0.45;
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-nav-preview img,
  .journal-mobile-memory,
  .journal-mobile-memory figure,
  .journal-mobile-memory figure img,
  .memory-node,
  .memory-node i {
    animation: none !important;
    transition: none !important;
  }
  .journal-mobile-memory {
    opacity: 1;
    transform: none;
  }
}
/* Quiet page transitions: opacity only, no navigation delay. */
@view-transition {
  navigation: none;
}
html[data-page-entry='soft'] #app {
  animation: quietIn 0.22s ease-out both;
}
@keyframes quietOut {
  to {
    opacity: 0;
  }
}
@keyframes quietIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none !important;
  }
}
.scene-paused,
.scene-paused *,
.scene-paused:before,
.scene-paused:after,
.scene-paused *:before,
.scene-paused *:after {
  animation-play-state: paused !important;
}
html[data-motion='off'] *,
html[data-motion='off'] *:before,
html[data-motion='off'] *:after {
  animation: none !important;
  transition: none !important;
}
@media (max-width: 760px) {
  body:before,
  body:after {
    filter: none;
    opacity: 0.12;
  }
  .journal-mobile-memory figure {
    transition: transform 0.6s ease;
  }
  .journal-mobile-memory.is-active figure {
    border-radius: 26px 50px 26px 26px;
  }
  .journal-mobile-memory.is-active .memory-node i {
    animation: quietNode 2.4s ease-out infinite;
  }
  .mobile-route-progress {
    filter: none;
  }
  .journal-mobile-memory {
    min-height: 0;
    padding-bottom: 25px;
  }
}
@keyframes quietNode {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}
.live-album-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  font-size: 11px;
  letter-spacing: 0.09em;
  color: #64718a;
}
.live-album-note > i {
  position: relative;
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  background: #68ac92;
  border-radius: 50%;
  isolation: isolate;
}
.live-album-note > i:after {
  content: '';
  position: absolute;
  inset: -5px;
  border: 1px solid #68ac92;
  border-radius: 50%;
  animation: liveAlbumSignal 3s ease-out infinite;
  pointer-events: none;
}
@keyframes liveAlbumSignal {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  25% {
    opacity: 0.45;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .live-album-note > i:after {
    animation: none;
    opacity: 0.2;
  }
}
.gallery-grid.live-album-grid {
  --live-columns: var(--gallery-columns, 3);
  columns: auto;
  display: block;
  position: relative;
  overflow-anchor: none;
}
.gallery-grid.live-album-grid .gallery-frame {
  position: absolute;
  margin: 0;
  content-visibility: visible;
}
.gallery-grid.live-album-grid .gallery-item {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  margin: 0;
}
.gallery-grid.live-album-grid .gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  max-height: none;
  object-fit: contain;
}
.gallery-grid.live-album-grid.layout-cinematic {
  --live-columns: 1;
}
@media (max-width: 900px) {
  .gallery-grid.live-album-grid:not(.layout-cinematic) {
    --live-columns: 2;
  }
}
@media (max-width: 480px) {
  .gallery-grid.live-album-grid:not(.layout-cinematic) {
    --live-columns: 1;
  }
}
