@font-face {
  font-family: "InterLocal";
  src: url("../assets/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #151515;
  --paper: #fbfbf7;
  --muted: #66645d;
  --line: rgba(21, 21, 21, 0.14);
  --soft: #efeee7;
  --green: #516a55;
  --rust: #9b5c38;
  --gold: #d9b46b;
  --night: #070708;
  --night-2: #111214;
  --mist: #b9b6aa;
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html:has(body.professional-page) {
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  font-family: "InterLocal", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
}

body.latarnik-page,
body.noxadus-page {
  background: var(--night);
  color: #f4f1e8;
}

/* Keep every section of the Latarnik landing page on one calibrated dark field. */
body.latarnik-page:not(.manifest-page) {
  background: #030405;
}

body.noxadus-page {
  background:
    radial-gradient(circle at 78% 8%, rgba(126, 244, 205, .08), transparent 28%),
    radial-gradient(circle at 12% 76%, rgba(74, 202, 163, .06), transparent 31%),
    #050808;
}

a {
  color: inherit;
}

p,
li,
dd,
a,
h1,
h2,
h3 {
  overflow-wrap: anywhere;
}

button,
input,
textarea,
select {
  font: inherit;
}

html[data-lang="pl"] body [data-lang="en"],
html[data-lang="en"] body [data-lang="pl"] {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 22px;
  align-items: center;
  min-height: 72px;
  padding: 0 clamp(18px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 251, 247, 0.88);
  backdrop-filter: blur(18px);
}

.dark-header {
  border-bottom-color: rgba(255, 255, 255, 0.14);
  background: rgba(7, 7, 8, 0.82);
}

.wordmark {
  font-weight: 760;
  text-decoration: none;
}

.main-nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.dark-header .main-nav {
  color: rgba(244, 241, 232, 0.72);
}

.main-nav a {
  text-decoration: none;
}

.main-nav a[aria-current="page"] {
  color: currentColor;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.lang-switch {
  display: flex;
  border: 1px solid currentColor;
  color: var(--muted);
}

.dark-header .lang-switch {
  color: rgba(244, 241, 232, 0.76);
}

.lang-switch button {
  width: 42px;
  height: 34px;
  border: 0;
  border-right: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.lang-switch button:last-child {
  border-right: 0;
}

.lang-switch button.active {
  background: var(--ink);
  color: white;
}

.dark-header .lang-switch button.active {
  background: #f4f1e8;
  color: #090909;
}

main {
  min-height: calc(100dvh - 72px);
}

.landing-hero,
.dual-landing,
.pro-hero,
.split-section,
.portfolio-section,
.mini-projects,
.classic-cv,
.cv-cta,
.latarnik-manifest-section,
.offer-section,
.checkout-section,
.grounding-section,
.noxadus-bridge,
.archive-hero,
.archive-grid {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 36px;
  align-items: end;
  padding: clamp(70px, 10vw, 140px) 0 44px;
  min-height: calc(100dvh - 72px);
}

.dual-landing {
  position: relative;
  width: 100%;
  min-height: calc(100dvh - 72px);
  overflow: hidden;
  margin: 0;
  background: var(--night);
}

.dual-landing::before {
  content: none;
}

.dual-panel {
  position: absolute;
  inset: 0;
  padding: clamp(28px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  isolation: isolate;
  transition: clip-path 220ms ease, filter 180ms ease, transform 220ms ease;
}

.dual-panel:hover {
  filter: brightness(1.06);
}

.dual-panel strong {
  display: block;
  max-width: 640px;
  font-size: clamp(44px, 7vw, 104px);
  line-height: 0.96;
  letter-spacing: 0;
  text-shadow: 0 0 0 transparent;
  transition: transform 220ms ease, text-shadow 220ms ease, color 220ms ease, opacity 220ms ease;
  will-change: transform;
}

.dual-panel:hover strong,
.dual-panel.is-hovered strong {
  transform: translateY(-6px) scale(1.025);
  text-shadow: 0 12px 34px rgba(21, 21, 21, 0.16);
}

.dual-panel-pro {
  clip-path: polygon(0 0, 61% 0, 41% 100%, 0 100%);
  z-index: 2;
  padding-right: 28vw;
  justify-content: flex-start;
  background: #fbfbf7;
  color: var(--ink);
}

.dual-panel-pro:hover,
.dual-panel-pro.is-hovered {
  clip-path: polygon(0 0, 64% 0, 44% 100%, 0 100%);
  z-index: 3;
}

.dual-panel-light {
  align-items: flex-end;
  justify-content: flex-end;
  text-align: right;
  clip-path: polygon(61% 0, 100% 0, 100% 100%, 41% 100%);
  z-index: 1;
  padding-left: 28vw;
  background:
    linear-gradient(90deg, rgba(7, 7, 8, 0.08), rgba(7, 7, 8, 0.5)),
    url("../assets/images/latarnik-light.png") center / cover;
  color: #f4f1e8;
}

.dual-panel-light:hover,
.dual-panel-light.is-hovered {
  clip-path: polygon(58% 0, 100% 0, 100% 100%, 38% 100%);
  z-index: 3;
}

.dual-panel-light strong {
  max-width: 720px;
  font-size: clamp(36px, 6vw, 92px);
  white-space: normal;
}

.dual-panel-light:hover strong,
.dual-panel-light.is-hovered strong {
  transform: translate(-10px, -8px) scale(1.035);
  color: #fffaf0;
  text-shadow:
    0 0 24px rgba(244, 241, 232, 0.42),
    0 18px 52px rgba(0, 0, 0, 0.72);
}

.dual-panel-pro:hover strong,
.dual-panel-pro.is-hovered strong {
  color: #050505;
  text-shadow:
    0 0 20px rgba(81, 106, 85, 0.16),
    0 18px 42px rgba(21, 21, 21, 0.18);
}

.dual-panel-light::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(7, 7, 8, 0.12), rgba(7, 7, 8, 0.46));
}

.landing-copy h1,
.pro-hero h1,
.latarnik-copy h1,
.archive-hero h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 112px);
  line-height: 0.96;
  letter-spacing: 0;
}

.pro-hero h1 {
  font-size: clamp(40px, 5vw, 66px);
}

.latarnik-copy h1,
.archive-hero h1 {
  font-size: clamp(44px, 7vw, 96px);
  max-width: 980px;
}

.latarnik-copy h1 {
  font-size: clamp(42px, 5.6vw, 76px);
  line-height: 1.04;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--rust);
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
}

.dark-header + main .eyebrow,
.latarnik-page .eyebrow {
  color: var(--gold);
}

.noxadus-page .eyebrow {
  color: #8eeacb;
}

.dark-header + main .archive-hero .eyebrow {
  color: #8eeacb;
}

.lead {
  margin: 20px 0 0;
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.latarnik-page .lead,
.noxadus-page .lead {
  color: rgba(244, 241, 232, 0.72);
}

.path-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.path-panel {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.path-panel:hover {
  transform: translateY(-3px);
  border-color: rgba(21, 21, 21, 0.34);
}

.professional-path {
  background: linear-gradient(135deg, #ffffff, #eeeee6);
}

.latarnik-path {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.08)),
    url("../assets/images/latarnik-light.png") center / cover;
  color: #f4f1e8;
  border-color: rgba(255, 255, 255, 0.2);
}

.path-kicker,
.project-card span,
.archive-item span {
  color: var(--rust);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.latarnik-path .path-kicker,
.archive-item span {
  color: var(--gold);
}

.path-panel strong {
  font-size: clamp(25px, 4vw, 42px);
  line-height: 1.05;
}

.path-panel span:last-child {
  max-width: 520px;
  color: currentColor;
  opacity: 0.76;
  line-height: 1.5;
}

.pro-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: center;
  min-height: auto;
  padding: clamp(28px, 5vw, 56px) 0;
}

.pro-snapshot {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: #fff;
}

.avatar-placeholder {
  width: min(100%, 320px);
  aspect-ratio: 1;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #e7e9df;
  color: var(--green);
  font-size: 58px;
  font-weight: 800;
}

.pro-snapshot dl {
  margin: 18px 0 0;
}

.pro-snapshot dl > div {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 13px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.pro-snapshot dl > div:last-child {
  border-bottom: 0;
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
}

.action-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.snapshot-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.snapshot-metrics div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 8px;
  align-items: start;
  min-width: 0;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}

.snapshot-metrics div:last-child {
  border-bottom: 0;
}

.snapshot-metrics strong {
  display: block;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1;
  white-space: nowrap;
}

.snapshot-metrics span {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.25;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid currentColor;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.latarnik-page .button.primary,
.noxadus-page .button.primary {
  background: #f4f1e8;
  color: #090909;
  border-color: #f4f1e8;
}

.metric-band {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric-band div {
  padding: 28px;
  border-right: 1px solid var(--line);
}

.metric-band div:last-child {
  border-right: 0;
}

.metric-band strong {
  display: block;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1;
  white-space: nowrap;
}

.metric-band span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.split-section,
.portfolio-section,
.mini-projects,
.classic-cv,
.cv-cta,
.latarnik-manifest-section,
.offer-section,
.checkout-section,
.grounding-section,
.noxadus-bridge {
  padding: 86px 0;
}

.professional-page .split-section,
.professional-page .cv-cta {
  min-height: auto;
  padding: clamp(18px, 3vw, 32px) 0;
  display: flex;
  flex-direction: column;
}

.professional-page .cv-cta {
  justify-content: center;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 18px;
}

.section-intro h2,
.cv-header h2,
.noxadus-bridge h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 62px);
  line-height: 1.03;
}

.section-intro p:not(.eyebrow),
.text-columns p,
.noxadus-bridge p {
  color: var(--muted);
  line-height: 1.7;
}

.latarnik-page .section-intro p:not(.eyebrow),
.latarnik-page .text-columns p,
.latarnik-page .noxadus-bridge p,
.noxadus-page .section-intro p:not(.eyebrow) {
  color: rgba(244, 241, 232, 0.72);
}

.topic-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  min-height: 0;
  height: auto;
  margin-top: 96px;
}

.topic-list {
  display: grid;
  gap: 5px;
  align-self: start;
  position: sticky;
  top: 92px;
}

.topic-button {
  height: 44px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 13px;
  cursor: pointer;
}

.topic-button.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.topic-panel {
  display: none;
  height: min(518px, calc(100dvh - 202px));
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: clamp(18px, 2.4vw, 28px);
  transform: translateY(-66px);
}

.topic-panel.active {
  display: block;
}

.topic-panel h3 {
  margin: 0 0 14px;
  font-size: clamp(27px, 3vw, 36px);
  line-height: 1.02;
}

.topic-panel p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.42;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.info-box,
.project-mini-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(21, 21, 21, 0.025);
  padding: 12px;
}

.info-box h4,
.project-mini-grid h4 {
  margin: 0 0 10px;
  font-size: 14px;
}

.info-box p,
.project-mini-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.info-box ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.info-box li {
  margin-bottom: 5px;
  line-height: 1.28;
  font-size: 13px;
}

.project-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.cv-cta {
  display: flex;
  gap: 24px;
  align-items: flex-end;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}

.cv-cta h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 62px);
  line-height: 1.03;
}

.cv-cta p:not(.eyebrow) {
  max-width: 640px;
  color: var(--muted);
  line-height: 1.65;
}

.cv-document {
  width: min(900px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(48px, 8vw, 92px) 0;
}

.cv-title {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.cv-title h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 0.98;
}

.cv-title p,
.cv-section p,
.cv-section li {
  color: var(--muted);
  line-height: 1.65;
}

.cv-section {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.cv-section h2 {
  margin: 0 0 18px;
  font-size: 32px;
}

.cv-role {
  margin-top: 26px;
}

.cv-role h3 {
  margin: 0 0 6px;
  font-size: 23px;
}

.cv-role h4 {
  margin: 22px 0 8px;
  font-size: 15px;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0;
}

.cv-role ul,
.cv-section ul {
  padding-left: 20px;
}

.project-grid,
.offer-grid,
.archive-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.project-card,
.offer-card,
.archive-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: #fff;
}

.project-card h3,
.offer-card h3,
.archive-item h2 {
  margin: 14px 0;
  font-size: 24px;
  line-height: 1.12;
}

.project-card p,
.offer-card p,
.archive-item p {
  color: var(--muted);
  line-height: 1.6;
}

.clean-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.clean-list li {
  min-height: 110px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px;
  font-weight: 720;
}

.classic-cv {
  border-top: 1px solid var(--line);
}

.cv-header {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
}

.cv-header p,
.cv-body li {
  color: var(--muted);
}

.cv-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 32px;
}

.cv-body section {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.cv-body h3 {
  font-size: 28px;
  margin: 0 0 10px;
}

.cv-body li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.latarnik-hero {
  position: relative;
  min-height: calc(92dvh - 72px);
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: clamp(42px, 4.5vw, 54px) clamp(18px, 4vw, 48px);
}

.latarnik-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.latarnik-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 7, 8, 0.96), rgba(7, 7, 8, 0.5), rgba(7, 7, 8, 0.86));
}

.latarnik-page:not(.manifest-page) .latarnik-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: -1px;
  left: 0;
  height: clamp(260px, 42svh, 540px);
  background: linear-gradient(to bottom, rgba(3, 4, 5, 0), #030405);
  background: linear-gradient(in oklab, rgba(3, 4, 5, 0), #030405);
  pointer-events: none;
}

.latarnik-copy {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
}

.latarnik-copy .action-row {
  margin-top: 30px;
}

.latarnik-manifest-section {
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 100%;
  max-width: none;
}

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

.offer-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  background: #101113;
  border-color: rgba(255, 255, 255, 0.16);
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.offer-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at 18% 0%, rgba(217, 180, 107, 0.18), transparent 34%);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.offer-card:hover {
  transform: translateY(-5px);
  border-color: rgba(217, 180, 107, 0.58);
  background: #131416;
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.34),
    0 0 34px rgba(217, 180, 107, 0.08);
}

.offer-card:hover::before {
  opacity: 1;
}

.offer-card:focus-visible {
  outline: 2px solid rgba(255, 230, 159, .82);
  outline-offset: 4px;
  border-color: rgba(217, 180, 107, .72);
}

.offer-card > * {
  position: relative;
  z-index: 1;
}

.offer-card.featured {
  border-color: rgba(217, 180, 107, 0.72);
}

.offer-price {
  color: var(--gold);
  font-size: 15px;
  font-weight: 800;
}

.offer-card p,
.offer-card li {
  color: rgba(244, 241, 232, 0.72);
}

.offer-card ul {
  padding-left: 18px;
  margin: 18px 0 22px;
}

.offer-detail-trigger {
  align-self: flex-start;
  margin-top: auto;
  appearance: none;
  border: 0;
  border-bottom: 1px solid rgba(217, 180, 107, .48);
  padding: 0 0 5px;
  background: transparent;
  color: #f4f1e8;
  font: inherit;
  font-size: 15px;
  font-weight: 760;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, text-shadow 180ms ease;
}

.offer-detail-trigger:hover,
.offer-detail-trigger:focus-visible {
  border-color: rgba(255, 230, 159, .9);
  color: #fff6d8;
  outline: 0;
  text-shadow: 0 0 16px rgba(217, 180, 107, .28);
}

body.offer-detail-open {
  overflow: hidden;
}

.offer-detail-overlay {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 54px);
  background: rgba(3, 3, 4, .72);
  backdrop-filter: blur(16px);
}

.offer-detail-overlay[hidden] {
  display: none;
}

.offer-detail-panel {
  position: relative;
  width: min(920px, 100%);
  max-height: min(760px, calc(100svh - 32px));
  overflow: auto;
  padding: clamp(26px, 4.5vw, 56px);
  border: 1px solid rgba(217, 180, 107, .62);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 18% 0%, rgba(217, 180, 107, .22), transparent 32%),
    radial-gradient(circle at 88% 88%, rgba(255, 237, 180, .13), transparent 34%),
    #101113;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .56), 0 0 62px rgba(217, 180, 107, .14);
  animation: offer-detail-rise 220ms ease-out;
}

@keyframes offer-detail-rise {
  from { opacity: 0; transform: translateY(18px) scale(.975); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.offer-detail-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(244, 241, 232, .24);
  border-radius: 50%;
  background: rgba(7, 7, 8, .58);
  color: #f4f1e8;
  font: inherit;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.offer-detail-close:hover,
.offer-detail-close:focus-visible {
  border-color: rgba(255, 230, 159, .72);
  outline: 0;
  box-shadow: 0 0 22px rgba(217, 180, 107, .16);
}

.offer-detail-panel .eyebrow {
  color: var(--gold);
}

.offer-detail-panel h3 {
  margin: 0;
  color: #f4f1e8;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1;
}

.offer-detail-copy {
  display: grid;
  gap: 18px;
  max-width: 700px;
  margin-top: clamp(26px, 4vw, 42px);
}

.offer-detail-copy p {
  margin: 0;
  color: rgba(244, 241, 232, .74);
  font-size: clamp(15px, 1.12vw, 17px);
  line-height: 1.48;
}

.offer-detail-copy p:first-child {
  max-width: 620px;
  color: rgba(244, 241, 232, .9);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.34;
  font-weight: 720;
}

.checkout-form {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 18px;
  background: #101113;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-grid label {
  display: grid;
  gap: 8px;
  color: rgba(244, 241, 232, 0.78);
}

.form-grid .wide {
  grid-column: 1 / -1;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: #070708;
  color: #f4f1e8;
  padding: 12px;
}

.checkbox {
  grid-template-columns: 20px 1fr;
  align-items: start;
}

.checkbox input {
  width: 18px;
  margin-top: 3px;
}

.terms-box {
  padding: 16px;
  border: 1px solid rgba(217, 180, 107, 0.32);
  border-radius: var(--radius);
  background: rgba(217, 180, 107, 0.07);
}

.terms-box h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.terms-box p {
  margin: 0;
  color: rgba(244, 241, 232, 0.72);
  line-height: 1.58;
}

.text-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.noxadus-bridge {
  display: grid;
  place-items: center;
}

.archive-hero {
  position: relative;
  min-height: calc(100svh - 72px);
  padding: clamp(78px, 10vw, 138px) 0 clamp(110px, 13vw, 180px);
  isolation: isolate;
}

.archive-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 16%;
  right: 3%;
  width: min(44vw, 560px);
  aspect-ratio: 1;
  border-radius: 43% 57% 48% 52% / 52% 38% 62% 48%;
  background: radial-gradient(circle, rgba(126, 244, 205, .2), rgba(126, 244, 205, .06) 37%, transparent 68%);
  filter: blur(4px);
}

.archive-hero h1 {
  max-width: 1040px;
  text-wrap: balance;
}

.noxadus-page .lead {
  color: rgba(221, 255, 242, .68);
}

.archive-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(12, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 18px);
  height: 100svh;
  min-height: 620px;
  padding: clamp(78px, 10svh, 96px) 0 clamp(16px, 2.4svh, 28px);
  isolation: isolate;
}

.archive-grid::before,
.archive-grid::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.archive-grid::before {
  top: 13%;
  left: 10%;
  width: min(31vw, 420px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(116, 255, 205, .13), transparent 68%);
}

.archive-grid::after {
  right: 4%;
  bottom: 18%;
  width: min(36vw, 490px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(74, 202, 163, .15), transparent 70%);
}

.archive-item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 0;
  overflow: hidden;
  padding: clamp(14px, 1.7vw, 24px);
  border-color: rgba(142, 234, 203, .18);
  border-radius: clamp(10px, 1.7vw, 24px) clamp(18px, 2.5vw, 38px) clamp(12px, 2vw, 30px) clamp(8px, 1.4vw, 20px);
  background:
    radial-gradient(circle at var(--glow-x, 82%) var(--glow-y, 18%), rgba(var(--glow-rgb, 142, 234, 203), .13), transparent 35%),
    rgba(10, 16, 15, .9);
  box-shadow: inset 0 0 0 1px rgba(221, 255, 242, .02);
  cursor: default;
  transition: border-color 260ms ease, border-radius 320ms ease, box-shadow 260ms ease, transform 260ms ease, background 260ms ease;
}

.archive-item.large {
  grid-column: 1 / span 5;
  grid-row: 1 / span 6;
}

.archive-item::before,
.archive-item::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transition: opacity 260ms ease, transform 320ms ease;
}

.archive-item::before {
  inset: -26%;
  background: radial-gradient(circle at var(--glow-x, 76%) var(--glow-y, 24%), rgba(var(--glow-rgb, 142, 234, 203), .28), transparent 42%);
  transform: scale(.82);
}

.archive-item::after {
  right: -18%;
  bottom: -22%;
  width: min(62%, 360px);
  aspect-ratio: 1;
  border-radius: 44% 56% 58% 42% / 46% 42% 58% 54%;
  background: rgba(var(--glow-rgb, 142, 234, 203), .16);
  filter: blur(2px);
  transform: rotate(-8deg) scale(.85);
}

.archive-item > * {
  position: relative;
  z-index: 1;
}

.archive-item:hover {
  border-color: rgba(var(--glow-rgb, 142, 234, 203), .64);
  border-radius: clamp(18px, 2.2vw, 34px) clamp(8px, 1.3vw, 18px) clamp(24px, 3vw, 48px) clamp(12px, 2vw, 30px);
  background:
    radial-gradient(circle at var(--glow-x, 82%) var(--glow-y, 18%), rgba(var(--glow-rgb, 142, 234, 203), .24), transparent 40%),
    rgba(11, 23, 20, .94);
  box-shadow: 0 22px 72px rgba(var(--glow-rgb, 142, 234, 203), .1), inset 0 0 0 1px rgba(221, 255, 242, .04);
  transform: translate(var(--lift-x, 0), var(--lift-y, -7px)) rotate(var(--tilt, 0deg));
}

.archive-item:hover::before,
.archive-item:hover::after {
  opacity: 1;
  transform: rotate(var(--tilt, 0deg)) scale(1);
}

.archive-item span {
  color: rgba(var(--glow-rgb, 142, 234, 203), .86);
  letter-spacing: .08em;
}

.archive-item h2 {
  max-width: 14ch;
  font-size: clamp(18px, 2vw, 30px);
}

.archive-item p {
  max-width: 42ch;
  color: rgba(221, 255, 242, .66);
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.45;
}

.archive-item .archive-soon {
  position: absolute;
  top: clamp(14px, 1.7vw, 24px);
  right: clamp(14px, 1.7vw, 24px);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: calc(100% - 28px);
  padding: 7px 10px 7px 9px;
  border: 1px solid rgba(var(--glow-rgb, 142, 234, 203), .34);
  border-radius: 999px;
  background: rgba(5, 12, 10, .7);
  color: rgba(222, 255, 242, .86);
  font-size: 11px;
  font-weight: 680;
  letter-spacing: .035em;
  line-height: 1;
  visibility: hidden;
  opacity: 0;
  transform: translate(var(--soon-x, 0), -4px) rotate(var(--soon-tilt, 0deg));
  transition: opacity 180ms ease, transform 220ms ease, border-color 180ms ease, background 180ms ease;
}

.archive-soon::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgb(var(--glow-rgb, 142, 234, 203));
  box-shadow: 0 0 10px rgba(var(--glow-rgb, 142, 234, 203), .72);
}

.archive-item .archive-soon span {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

.archive-item:hover .archive-soon {
  visibility: visible;
  border-color: rgba(var(--glow-rgb, 142, 234, 203), .72);
  background: rgba(7, 22, 18, .84);
  opacity: 1;
  transform: translate(var(--soon-x, 0), 0) rotate(var(--soon-tilt, 0deg));
}

.construction-overlay {
  position: fixed;
  z-index: 30;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  border: 0;
  background:
    radial-gradient(circle at 50% 48%, rgba(126, 244, 205, .08), transparent 34%),
    rgba(3, 8, 7, .42);
  color: rgba(223, 255, 242, .94);
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s linear 220ms, opacity 220ms ease;
}

.construction-overlay span {
  color: rgba(223, 255, 242, .82);
  font-size: clamp(24px, 4vw, 58px);
  font-weight: 720;
  letter-spacing: .12em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 0 28px rgba(126, 244, 205, .2);
}

.construction-overlay.is-active {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

.archive-tarot {
  --glow-rgb: 132, 246, 206;
  --glow-x: 76%;
  --glow-y: 18%;
  --lift-x: -4px;
  --tilt: -1.2deg;
  --soon-tilt: -2deg;
  --soon-x: -5px;
  padding: clamp(24px, 3vw, 42px);
}

.archive-music {
  --glow-rgb: 159, 255, 220;
  --glow-x: 20%;
  --glow-y: 18%;
  --lift-x: 6px;
  --tilt: 1.6deg;
  --soon-tilt: 1deg;
  --soon-x: 4px;
  grid-column: 7 / span 3;
  grid-row: 2 / span 4;
}

.archive-video {
  --glow-rgb: 102, 215, 178;
  --glow-x: 86%;
  --glow-y: 74%;
  --lift-x: -8px;
  --tilt: -1.8deg;
  --soon-tilt: 2deg;
  --soon-x: -3px;
  grid-column: 10 / span 3;
  grid-row: 1 / span 4;
}

.archive-game {
  --glow-rgb: 120, 238, 185;
  --glow-x: 42%;
  --glow-y: 12%;
  --lift-x: 7px;
  --tilt: .9deg;
  --soon-tilt: -1deg;
  --soon-x: 5px;
  grid-column: 6 / span 4;
  grid-row: 7 / span 5;
}

.archive-journal {
  --glow-rgb: 181, 255, 226;
  --glow-x: 14%;
  --glow-y: 78%;
  --lift-x: 5px;
  --tilt: 1.2deg;
  --soon-tilt: 1.5deg;
  --soon-x: -4px;
  grid-column: 2 / span 3;
  grid-row: 8 / span 4;
}

.archive-photo {
  --glow-rgb: 83, 196, 160;
  --glow-x: 88%;
  --glow-y: 22%;
  --lift-x: -5px;
  --tilt: -1deg;
  --soon-tilt: -1.5deg;
  --soon-x: 3px;
  grid-column: 10 / span 3;
  grid-row: 6 / span 4;
}

@media (min-width: 981px) and (min-height: 760px) {
  html:has(body.professional-page) {
    scroll-snap-type: y mandatory;
  }

  .pro-hero {
    min-height: calc(100dvh - 72px);
    padding: 14px 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .professional-page .split-section,
  .professional-page .cv-cta {
    min-height: calc(100dvh - 72px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .latarnik-hero,
  .latarnik-page .offer-section,
  .latarnik-page .grounding-section,
  .latarnik-page .noxadus-bridge {
    min-height: calc(100dvh - 72px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .latarnik-manifest-section {
    min-height: calc(100dvh - 72px);
    scroll-snap-align: start;
  }

  .latarnik-page .offer-section,
  .latarnik-page .grounding-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

}

@media (min-width: 981px) and (max-height: 759px) {
  .pro-hero {
    gap: 18px;
    align-items: center;
    padding: 12px 0;
  }

  .pro-hero h1 {
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1;
  }

  .pro-hero .lead {
    font-size: 15px;
    line-height: 1.38;
  }

  .action-row {
    margin-top: 14px;
  }

  .pro-snapshot {
    padding: 12px;
  }

  .avatar-placeholder {
    width: min(100%, 190px);
    font-size: 36px;
  }

  .pro-snapshot dl {
    margin-top: 10px;
  }

  .pro-snapshot dl > div {
    grid-template-columns: 68px 1fr;
    gap: 10px;
    padding: 5px 0;
    font-size: 13px;
  }

  .professional-page .split-section {
    padding-top: 24px;
  }

  .professional-page .section-intro {
    margin-bottom: 14px;
  }

  .professional-page .section-intro h2 {
    font-size: clamp(44px, 5.2vw, 68px);
  }

  .topic-layout {
    margin-top: 18px;
    align-items: stretch;
  }

  .topic-list {
    position: static;
  }

  .topic-panel {
    height: min(448px, calc(100dvh - 230px));
    transform: none;
  }

  .topic-panel h3 {
    font-size: clamp(27px, 3.6vw, 42px);
  }
}

@media (max-width: 980px) {
  html:has(body.professional-page) {
    scroll-padding-top: 90px;
    scroll-snap-type: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    order: 3;
    overflow-x: auto;
    padding-bottom: 14px;
  }

  .landing-hero,
  .dual-landing,
  .pro-hero,
    .topic-layout,
    .cv-body,
    .text-columns,
    .noxadus-bridge,
    .manifest,
    .detail-grid,
    .project-mini-grid,
    .cv-cta {
    grid-template-columns: 1fr;
  }

  .dual-landing {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
  }

  .dual-panel {
    position: relative;
    min-height: 44dvh;
    clip-path: none;
    padding-left: clamp(18px, 5vw, 40px);
    padding-right: clamp(18px, 5vw, 40px);
  }

  .dual-panel-light {
    align-items: flex-start;
    justify-content: flex-end;
    text-align: left;
  }

  .dual-panel-pro:hover,
  .dual-panel-light:hover,
  .dual-panel-pro.is-hovered,
  .dual-panel-light.is-hovered {
    clip-path: none;
  }

  .dual-panel-light strong {
    white-space: normal;
  }

  .pro-hero {
    align-items: start;
    gap: 16px;
    height: auto;
    min-height: auto;
    overflow: visible;
    padding: clamp(18px, 4vw, 36px) 0;
  }

  .pro-hero .lead {
    font-size: 16px;
    line-height: 1.45;
  }

  .pro-snapshot {
    max-height: none;
    overflow: visible;
    padding: 14px;
  }

  .avatar-placeholder {
    width: min(100%, 190px);
    font-size: 32px;
  }

  .pro-snapshot dl {
    margin-top: 10px;
  }

  .pro-snapshot dl > div {
    padding: 6px 0;
  }

  .topic-layout {
    height: auto;
    grid-template-rows: auto minmax(0, 1fr);
    margin-top: 18px;
  }

  .topic-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    position: static;
    overflow: visible;
    align-self: stretch;
    padding-bottom: 0;
  }

  .topic-button {
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 46px;
    white-space: normal;
  }

  .topic-panel {
    height: auto;
    max-height: min(62dvh, 520px);
    overflow-y: auto;
    padding: 20px;
    transform: none;
  }

  .topic-panel h3 {
    font-size: 28px;
  }

  .topic-panel p {
    font-size: 16px;
  }

  .professional-page .split-section {
    height: auto;
    min-height: auto;
    overflow: visible;
  }

  .metric-band,
  .project-grid,
  .clean-list,
  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .noxadus-page .archive-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    min-height: 0;
    gap: 18px;
  }

  .noxadus-page .archive-item {
    min-height: 260px;
    margin: 0;
  }

  .noxadus-page .archive-tarot {
    grid-column: 1 / span 5;
    grid-row: auto;
  }

  .noxadus-page .archive-music {
    grid-column: 3 / span 4;
    grid-row: auto;
  }

  .noxadus-page .archive-video {
    grid-column: 1 / span 4;
    grid-row: auto;
  }

  .noxadus-page .archive-game {
    grid-column: 2 / span 5;
    grid-row: auto;
  }

  .noxadus-page .archive-journal {
    grid-column: 1 / span 4;
    grid-row: auto;
  }

  .noxadus-page .archive-photo {
    grid-column: 3 / span 4;
    grid-row: auto;
  }

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

  .latarnik-hero {
    min-height: auto;
    padding-top: clamp(54px, 9vw, 86px);
    padding-bottom: clamp(54px, 9vw, 86px);
  }

  .offer-card {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  /* TODO: Simplify each manifesto scene for a dedicated mobile composition; keep related sentences at equal type sizes. */
  .landing-hero,
  .dual-landing,
  .pro-hero,
  .split-section,
  .portfolio-section,
  .mini-projects,
  .classic-cv,
  .cv-cta,
  .latarnik-manifest-section,
  .offer-section,
  .checkout-section,
  .grounding-section,
  .noxadus-bridge,
  .archive-hero,
  .archive-grid {
    width: min(100% - 24px, var(--max));
  }

  .dual-landing {
    width: 100%;
  }

  .latarnik-manifest-section {
    width: 100%;
  }

  .metric-band,
  .project-grid,
  .clean-list,
  .archive-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .noxadus-page .archive-hero {
    min-height: auto;
    padding-bottom: 78px;
  }

  .noxadus-page .archive-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(6, minmax(0, 1fr));
    gap: 10px;
    height: 100svh;
    min-height: 660px;
    padding: 78px 0 14px;
  }

  .noxadus-page .archive-item,
  .noxadus-page .archive-tarot,
  .noxadus-page .archive-music,
  .noxadus-page .archive-video,
  .noxadus-page .archive-game,
  .noxadus-page .archive-journal,
  .noxadus-page .archive-photo {
    min-height: 0;
    padding: 10px;
    transform: none;
  }

  .noxadus-page .archive-tarot { grid-column: 1 / span 2; grid-row: 1 / span 2; }
  .noxadus-page .archive-music { grid-column: 1; grid-row: 3 / span 2; }
  .noxadus-page .archive-video { grid-column: 2; grid-row: 3; }
  .noxadus-page .archive-game { grid-column: 2; grid-row: 4 / span 2; }
  .noxadus-page .archive-journal { grid-column: 1; grid-row: 5 / span 2; }
  .noxadus-page .archive-photo { grid-column: 2; grid-row: 6; }

  .noxadus-page .archive-item > span:not(.archive-soon) {
    font-size: 10px;
  }

  .noxadus-page .archive-item h2 {
    margin: 7px 0;
    font-size: 15px;
    line-height: 1.08;
  }

  .noxadus-page .archive-item p {
    display: none;
  }

  .noxadus-page .archive-item:hover {
    transform: translateY(-5px);
  }

  .noxadus-page .archive-item .archive-soon {
    top: 10px;
    right: 10px;
    padding: 5px 7px;
    font-size: 9px;
    visibility: hidden;
    opacity: 0;
    transform: rotate(var(--soon-tilt, 0deg));
  }

  .noxadus-page .archive-item .archive-soon::before {
    width: 5px;
    height: 5px;
  }

  .topic-list {
    grid-template-columns: 1fr;
  }

  .topic-panel {
    max-height: 64dvh;
  }

  .latarnik-hero {
    padding-left: 12px;
    padding-right: 12px;
  }

  .latarnik-copy .action-row {
    align-items: stretch;
  }

  .latarnik-copy .button,
  .checkout-section .button {
    width: 100%;
  }

  .checkout-instagram {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .archive-item.large {
    grid-column: auto;
  }

  .cv-header {
    display: grid;
  }

  .landing-copy h1,
  .pro-hero h1,
  .latarnik-copy h1,
  .archive-hero h1,
  .dual-panel strong {
    font-size: 44px;
  }
}

@media print {
  @page {
    margin: 14mm;
  }

  html,
  body {
    background: #fff;
  }

  .site-header,
  .cv-title .action-row {
    display: none !important;
  }

  .cv-document {
    width: 100%;
    padding: 0;
  }

  .cv-title {
    padding-bottom: 18px;
  }

  .cv-title h1 {
    font-size: 42px;
  }

  .cv-section {
    padding: 18px 0;
    break-inside: avoid;
  }

  .cv-role,
  .cv-section li {
    break-inside: avoid;
  }

  .cv-section h2 {
    font-size: 22px;
  }

  .cv-role h3 {
    font-size: 18px;
  }

  .cv-title p,
  .cv-section p,
  .cv-section li {
    color: #333;
    line-height: 1.45;
  }
}

/* Latarnik redesign: a quiet vertical path on the home page. */
.latarnik-hero {
  min-height: calc(100svh - 72px);
}

.hero-intro {
  display: grid;
  gap: 18px;
  max-width: 780px;
  margin-top: clamp(24px, 3vw, 34px);
  color: rgba(244, 241, 232, 0.84);
  font-size: clamp(15px, 1.12vw, 17px);
  line-height: 1.48;
}

.hero-intro p {
  margin: 0;
}

.light-path {
  position: relative;
  display: block;
  overflow: visible;
  width: min(var(--max), calc(100% - clamp(36px, 8vw, 96px)));
  padding-top: clamp(110px, 13vw, 190px);
  padding-bottom: clamp(100px, 12vw, 170px);
}

.light-path::before {
  display: none;
}

.path-intro {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin-bottom: clamp(70px, 10vw, 150px);
}

.path-intro h2,
.enter-lighthouse h2 {
  margin: 0;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1.02;
}

.manifest-path {
  position: relative;
  display: grid;
  gap: clamp(72px, 10vw, 142px);
}

.path-stop {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 26% minmax(0, 560px);
  gap: clamp(30px, 5vw, 76px);
  align-items: start;
}

.path-stop-right {
  grid-template-columns: 26% minmax(0, 560px);
  padding-left: 12%;
}

.path-stop h3 {
  max-width: 680px;
  margin: -4px 0 16px;
  color: #f4f1e8;
  font-size: clamp(27px, 3.2vw, 45px);
  line-height: 1.06;
}

.path-stop p,
.meeting-copy p,
.enter-lighthouse > p {
  margin: 0;
  color: rgba(244, 241, 232, 0.72);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.66;
}

.manifest-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: clamp(88px, 13vw, 180px) 0 0 25%;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 750ms ease, transform 750ms cubic-bezier(.2,.8,.2,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.offer-section,
.grounding-section,
.checkout-section,
.noxadus-bridge {
  min-height: auto;
}

.offer-section {
  padding-top: clamp(60px, 8vw, 110px);
  padding-bottom: clamp(100px, 11vw, 150px);
}

.offer-card {
  min-height: 340px;
  padding: clamp(23px, 2.5vw, 34px);
}

.checkout-section {
  padding-top: 0;
  padding-bottom: clamp(90px, 11vw, 140px);
}

.offer-section .checkout-section {
  display: block;
  width: 100%;
  min-height: 0;
  margin: 20px 0 0;
  padding: 0;
  scroll-snap-align: none;
  scroll-snap-stop: normal;
}

.checkout-details {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.checkout-instagram {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
  padding: clamp(30px, 5vw, 64px) 0 clamp(10px, 2vw, 24px);
}

.checkout-instagram .eyebrow,
.checkout-instagram p,
.checkout-instagram strong {
  margin: 0;
}

.checkout-instagram strong {
  display: block;
  max-width: 600px;
  font-size: clamp(34px, 4.5vw, 62px);
  line-height: .98;
  letter-spacing: -.055em;
}

.checkout-instagram p {
  max-width: 430px;
  color: rgba(244, 241, 232, 0.74);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.5;
}

.checkout-instagram .button {
  margin-top: 22px;
}

.checkout-instagram .button span {
  margin-left: 8px;
  font-size: 1.1em;
}

.checkout-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: clamp(20px, 3vw, 30px);
  cursor: pointer;
  list-style: none;
}

.checkout-details summary::-webkit-details-marker {
  display: none;
}

.checkout-details summary .eyebrow {
  display: block;
  margin-bottom: 6px;
}

.checkout-details summary strong {
  font-size: clamp(23px, 2.5vw, 34px);
}

.details-toggle {
  color: var(--gold);
  font-size: 34px;
  line-height: 1;
  transition: transform 180ms ease;
}

.checkout-details[open] .details-toggle {
  transform: rotate(45deg);
}

.checkout-details .checkout-form {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
}

.meeting-section {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
  gap: clamp(36px, 9vw, 145px);
  align-items: start;
  padding-top: clamp(90px, 11vw, 155px);
  padding-bottom: clamp(100px, 13vw, 180px);
}

.meeting-section .section-intro {
  position: static;
}

.meeting-copy {
  display: grid;
  gap: 22px;
  max-width: 690px;
}

.meeting-copy .meeting-note {
  padding: 20px 0;
  border-top: 1px solid rgba(217, 180, 107, 0.38);
  border-bottom: 1px solid rgba(217, 180, 107, 0.38);
  color: rgba(244, 241, 232, 0.9);
}

.enter-lighthouse {
  position: relative;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  overflow: hidden;
  padding: clamp(72px, 10vw, 138px) clamp(24px, 6vw, 88px);
  border: 1px solid rgba(217, 180, 107, 0.34);
  background: radial-gradient(circle at 83% 30%, rgba(217, 180, 107, 0.17), transparent 28%), #101113;
}

.enter-lighthouse::after {
  content: "";
  position: absolute;
  right: -11vw;
  bottom: -15vw;
  width: min(42vw, 540px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 237, 180, 0.54), rgba(217, 180, 107, 0.12) 18%, transparent 64%);
  pointer-events: none;
}

.enter-lighthouse > * {
  position: relative;
  z-index: 1;
}

.enter-lighthouse > p {
  max-width: 650px;
  margin-top: 20px;
}

.enter-lighthouse .button {
  margin-top: 30px;
}

.offer-float {
  position: fixed;
  z-index: 19;
  top: 50%;
  right: clamp(12px, 2vw, 30px);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  border: 1px solid rgba(217, 180, 107, .52);
  border-radius: 999px;
  background: rgba(7, 7, 8, .78);
  box-shadow: 0 8px 26px rgba(0, 0, 0, .22), 0 0 24px rgba(217, 180, 107, .08);
  color: #f4f1e8;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transform: translateX(12px);
  transition: opacity 220ms ease, transform 220ms ease, background 220ms ease;
}

.offer-float.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.offer-float:hover {
  background: rgba(33, 29, 22, .96);
}

@media (min-width: 981px) and (min-height: 760px) {
  html:has(body.latarnik-page:not(.manifest-page)) {
    scroll-snap-type: y mandatory;
  }

  .latarnik-page:not(.manifest-page) .latarnik-hero,
  .latarnik-page:not(.manifest-page) .light-path,
  .latarnik-page:not(.manifest-page) .meeting-section,
  .latarnik-page:not(.manifest-page) .offer-section,
  .latarnik-page:not(.manifest-page) .enter-lighthouse-section,
  .latarnik-page:not(.manifest-page) .noxadus-bridge {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}

/* Full manifesto: individual rooms of the lighthouse. */
.manifest-page .site-header {
  position: sticky;
}

.lighthouse-manifest {
  overflow: hidden;
}

.manifest-room {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100svh - 72px);
  padding: clamp(80px, 10vw, 150px) max(18px, calc((100vw - 1180px) / 2));
  isolation: isolate;
}

.manifest-room::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(56vw, 820px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 180, 107, 0.1), transparent 66%);
  filter: blur(8px);
}

.room-copy {
  width: min(100%, 780px);
}

.room-copy h1,
.room-copy h2 {
  margin: 0;
  color: #f4f1e8;
  font-size: clamp(42px, 6vw, 92px);
  line-height: .98;
  letter-spacing: -.035em;
}

.room-copy h2 {
  font-size: clamp(37px, 5.25vw, 76px);
}

.room-emphasis,
.room-kicker {
  margin: clamp(22px, 4vw, 42px) 0 0;
  color: var(--gold);
  font-size: clamp(25px, 3.2vw, 48px);
  line-height: 1.08;
}

.room-kicker {
  color: rgba(244, 241, 232, 0.88);
  font-size: clamp(20px, 2.6vw, 37px);
}

.room-text {
  display: grid;
  gap: 12px;
  max-width: 680px;
  margin-top: clamp(34px, 5vw, 62px);
}

.room-text p,
.price-lines p {
  margin: 0;
  color: rgba(244, 241, 232, 0.72);
  font-size: clamp(17px, 1.65vw, 23px);
  line-height: 1.52;
}

.room-break {
  margin-top: clamp(28px, 4vw, 46px) !important;
  color: #f4f1e8 !important;
  font-size: clamp(20px, 2.3vw, 31px) !important;
  line-height: 1.2 !important;
}

.room-text strong {
  color: #f4f1e8;
}

.room-fog {
  justify-content: center;
  text-align: center;
}

.room-fog::before {
  top: -25%;
  left: 50%;
  transform: translateX(-50%);
  width: min(90vw, 1200px);
  background: radial-gradient(ellipse, rgba(217, 180, 107, 0.15), transparent 62%);
}

.room-fog .room-copy {
  max-width: 840px;
}

.room-fog .room-text {
  margin-inline: auto;
}

.room-answers {
  justify-content: flex-end;
  text-align: right;
}

.room-answers::before {
  right: -8%;
  top: 4%;
}

.room-answers .room-text {
  margin-left: auto;
}

.answer-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 20px;
  max-width: 600px;
  margin: clamp(28px, 5vw, 56px) 0 0 auto;
  color: var(--gold);
  font-size: clamp(17px, 2.1vw, 29px);
}

.room-threshold {
  justify-content: flex-start;
}

.room-threshold::before {
  top: 18%;
  left: -16%;
}

.room-price {
  justify-content: center;
  text-align: center;
}

.room-price::before {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(78vw, 1100px);
  background: radial-gradient(circle, rgba(217, 180, 107, 0.18), transparent 64%);
}

.room-price .room-copy {
  max-width: 900px;
}

.price-lines {
  display: grid;
  gap: 14px;
  margin: clamp(28px, 5vw, 56px) auto;
}

.room-price .room-text {
  margin-inline: auto;
}

.room-lights {
  display: grid;
  grid-template-columns: minmax(280px, .75fr) minmax(0, 1fr);
  gap: clamp(44px, 10vw, 160px);
}

.room-lights::before {
  top: 50%;
  left: 16%;
  transform: translateY(-50%);
}

.two-lights {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  justify-content: center;
  min-height: 260px;
}

.light-person {
  display: grid;
  justify-items: center;
  gap: 14px;
  color: rgba(244, 241, 232, .76);
  font-size: 15px;
}

.light-person i {
  width: clamp(38px, 5vw, 64px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f4e8bf;
  box-shadow: 0 0 30px 10px rgba(217, 180, 107, .38), 0 0 80px 28px rgba(217, 180, 107, .12);
}

.light-person-you i {
  opacity: .58;
}

.light-connection {
  width: clamp(52px, 9vw, 140px);
  height: 1px;
  background: linear-gradient(90deg, rgba(217, 180, 107, .08), rgba(217, 180, 107, .85), rgba(217, 180, 107, .08));
  box-shadow: 0 0 14px rgba(217, 180, 107, .48);
}

.room-languages {
  justify-content: center;
  text-align: center;
}

.room-languages::before {
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: min(86vw, 1100px);
}

.room-languages .room-copy {
  max-width: 800px;
}

.room-languages .room-text {
  margin-inline: auto;
}

.language-cloud {
  position: absolute;
  inset: 8% max(10px, calc((100vw - 1180px) / 2));
  color: rgba(217, 180, 107, .25);
  font-size: clamp(13px, 1.55vw, 22px);
  pointer-events: none;
}

.language-cloud span {
  position: absolute;
}

.language-cloud span:nth-child(1) { top: 11%; left: 13%; }
.language-cloud span:nth-child(2) { top: 23%; right: 12%; }
.language-cloud span:nth-child(3) { bottom: 21%; left: 7%; }
.language-cloud span:nth-child(4) { bottom: 12%; right: 16%; }
.language-cloud span:nth-child(5) { top: 48%; left: 3%; }
.language-cloud span:nth-child(6) { top: 57%; right: 5%; }

.room-lighthouse {
  justify-content: flex-start;
  background: linear-gradient(90deg, rgba(7, 7, 8, .96), rgba(7, 7, 8, .54), rgba(7, 7, 8, .9)), url("../assets/images/latarnik-light.png") center / cover;
}

.manifest-page .room-lighthouse {
  background-image: linear-gradient(90deg, rgba(7, 7, 8, .96), rgba(7, 7, 8, .54), rgba(7, 7, 8, .9)), url("../assets/images/latarnik-light.png");
}

.room-lighthouse::before {
  display: none;
}

.room-lighthouse .room-copy {
  max-width: 800px;
}

.room-text-tight {
  margin-top: 24px;
  margin-bottom: clamp(40px, 6vw, 70px);
}

.room-final {
  justify-content: center;
  min-height: calc(100svh - 72px);
  padding-top: clamp(110px, 12vw, 180px);
  padding-bottom: clamp(110px, 12vw, 180px);
  text-align: center;
}

.room-final::before {
  display: none;
}

.room-final .room-copy {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.room-final .room-text {
  margin-inline: auto;
}

.room-final h2 {
  margin-top: clamp(70px, 9vw, 120px);
}

.final-light {
  position: absolute;
  top: 14%;
  left: 50%;
  width: 10px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff0be;
  box-shadow: 0 0 18px 7px rgba(255, 235, 165, .8), 0 0 82px 36px rgba(217, 180, 107, .25);
}

.final-statement {
  margin: clamp(48px, 7vw, 88px) 0 0;
  color: #f4e8bf;
  font-size: clamp(30px, 4.5vw, 66px);
  font-weight: 760;
  line-height: 1;
}

.room-final .action-row {
  justify-content: center;
  margin-top: 36px;
}

@media (max-width: 980px) {
  .path-stop,
  .path-stop-right {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 20px;
    padding-left: 0;
  }

  .manifest-actions {
    margin-left: 62px;
  }

  .meeting-section {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .meeting-section .section-intro {
    position: static;
  }

  .manifest-room {
    min-height: auto;
    padding-top: clamp(92px, 15vw, 135px);
    padding-bottom: clamp(92px, 15vw, 135px);
  }

  .room-lights {
    grid-template-columns: 1fr;
  }

  .room-lights .room-copy {
    max-width: 700px;
  }
}

@media (max-width: 620px) {
  .latarnik-hero {
    min-height: calc(100svh - 106px);
  }

  .hero-intro {
    font-size: 16px;
  }

  .light-path {
    width: min(100% - 24px, var(--max));
  }

  .light-path::before {
    display: none;
  }

  .path-intro h2,
  .enter-lighthouse h2 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .manifest-actions {
    align-items: stretch;
    margin-left: 62px;
  }

  .manifest-actions .button,
  .enter-lighthouse .button {
    width: 100%;
  }

  .enter-lighthouse {
    width: min(100% - 24px, var(--max));
  }

  .offer-float {
    top: auto;
    right: 12px;
    bottom: 16px;
  }

  .checkout-details summary {
    padding: 20px;
  }

  .manifest-room {
    padding-right: 18px;
    padding-left: 18px;
  }

  .room-copy h1,
  .room-copy h2 {
    font-size: clamp(39px, 12vw, 59px);
  }

  .room-text p,
  .price-lines p {
    font-size: 17px;
  }

  .room-answers,
  .room-price,
  .room-languages,
  .room-final {
    text-align: left;
  }

  .room-answers .room-text,
  .room-price .room-text,
  .room-languages .room-text,
  .room-final .room-text {
    margin-left: 0;
  }

  .answer-list {
    justify-content: flex-start;
    margin-left: 0;
  }

  .room-price .room-copy {
    max-width: 100%;
  }

  .room-price .room-text,
  .price-lines {
    margin-inline: 0;
  }

  .two-lights {
    justify-content: flex-start;
    min-height: 160px;
  }

  .language-cloud {
    opacity: .65;
  }

  .language-cloud span:nth-child(1) { left: 2%; }
  .language-cloud span:nth-child(2) { right: 3%; }
  .language-cloud span:nth-child(3) { left: 0; }
  .language-cloud span:nth-child(4) { right: 2%; }

  .room-final .action-row {
    align-items: stretch;
    justify-content: stretch;
  }

  .room-final .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Short manifesto: a static photographic path of gathered light. */

.path-intro {
  max-width: min(980px, calc(100% + clamp(18px, 4vw, 48px)));
  margin-left: calc(-1 * clamp(18px, 4vw, 48px));
}

.path-intro h2 {
  font-size: clamp(38px, 4.7vw, 68px);
  letter-spacing: -.025em;
}

.manifest-path {
  position: relative;
  gap: clamp(76px, 9vw, 132px);
}

.manifest-light-path {
  --path-reveal: 0%;
  position: absolute;
  z-index: 0;
  inset: -76px 0 -90px;
  width: auto;
  overflow: hidden;
  opacity: .92;
  clip-path: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 25%, transparent 43%);
  mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 25%, transparent 43%);
}

.manifest-light-path img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: clamp(190px, 29vw, 440px);
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.88) contrast(1.04) brightness(.92);
}

.light-path .reveal {
  opacity: 0;
  filter: blur(4px);
  transform: translateY(16px);
  transition: opacity 900ms ease, filter 900ms ease, transform 900ms cubic-bezier(.2,.8,.2,1);
}

.light-path .reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.path-stop,
.path-stop-right {
  grid-template-columns: clamp(74px, 11vw, 158px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 68px);
  padding-left: 0;
}

.path-stop > div {
  width: min(100%, 900px);
}

.path-stop h3 {
  max-width: 900px;
  font-size: clamp(28px, 3.05vw, 46px);
}

.path-stop p {
  max-width: 900px;
  font-size: clamp(17px, 1.4vw, 20px);
}

.path-stop:nth-of-type(1) { margin-left: 0; }
.path-stop:nth-of-type(2) { margin-left: clamp(12px, 2.3vw, 38px); }
.path-stop:nth-of-type(3) { margin-left: clamp(4px, .8vw, 16px); }
.path-stop:nth-of-type(4) { margin-left: clamp(20px, 3.7vw, 62px); }
.path-stop:nth-of-type(5) { margin-left: clamp(9px, 1.6vw, 28px); }

.meeting-section {
  grid-template-columns: minmax(240px, .62fr) minmax(0, 1.38fr);
  gap: clamp(34px, 7vw, 110px);
  align-items: center;
  padding-top: clamp(70px, 8vw, 108px);
  padding-bottom: clamp(70px, 8vw, 108px);
}

.meeting-journey {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.8vw, 40px);
}

.meeting-stage {
  position: relative;
  min-height: 280px;
  padding: 22px 0 0;
  border-top: 1px solid rgba(217, 180, 107, .42);
}

.meeting-stage::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 13px rgba(217, 180, 107, .55);
}

.meeting-stage-label {
  margin: 0 0 20px;
  color: #f4f1e8;
  font-size: clamp(21px, 2vw, 30px);
  font-weight: 760;
  line-height: 1;
}

.meeting-stage > p:not(.meeting-stage-label) {
  margin: 0 0 16px;
  color: rgba(244, 241, 232, .72);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.62;
}

.meeting-stage .meeting-boundary {
  color: rgba(244, 241, 232, .5);
  font-size: 13px;
  line-height: 1.46;
}

.offer-float {
  top: auto;
  right: clamp(18px, 3vw, 48px);
  bottom: clamp(18px, 3vw, 42px);
  justify-content: center;
  width: 114px;
  min-height: 114px;
  padding: 0;
  border-color: rgba(217, 180, 107, .65);
  border-radius: 50%;
  background: rgba(12, 12, 13, .88);
  box-shadow: 0 0 0 1px rgba(217, 180, 107, .08), 0 12px 34px rgba(0, 0, 0, .34), 0 0 18px rgba(217, 180, 107, .12);
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.offer-float::before {
  content: "";
  position: absolute;
  inset: -3px;
  border: 1px solid rgba(255, 234, 170, .18);
  border-radius: inherit;
  box-shadow: 0 0 15px rgba(217, 180, 107, .12);
  animation: offer-orbit 5.5s ease-in-out infinite;
}

.offer-float:hover {
  background: rgba(36, 31, 22, .98);
}

@keyframes offer-orbit {
  0%, 100% { border-color: rgba(255, 234, 170, .16); box-shadow: 0 0 10px rgba(217, 180, 107, .08); }
  50% { border-color: rgba(255, 234, 170, .74); box-shadow: 0 0 22px rgba(217, 180, 107, .34); }
}

@media (min-width: 981px) and (min-height: 760px) {
  html:has(body.latarnik-page:not(.manifest-page)) {
    scroll-padding-top: 0;
  }

  .latarnik-page:not(.manifest-page) .latarnik-hero,
  .latarnik-page:not(.manifest-page) .meeting-section,
  .latarnik-page:not(.manifest-page) .offer-section,
  .latarnik-page:not(.manifest-page) .enter-lighthouse-section,
  .latarnik-page:not(.manifest-page) .noxadus-bridge {
    min-height: 100svh;
  }

}

/* Full manifesto: each scene is a complete, intentional viewport. */
.manifest-page .lighthouse-manifest {
  overflow: visible;
}

.manifest-scene {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(54px, 7vw, 96px) max(24px, calc((100vw - 1180px) / 2));
  isolation: isolate;
}

.manifest-scene::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(64vw, 880px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 180, 107, .13), transparent 66%);
  filter: blur(9px);
}

.manifest-scene::after {
  content: "";
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 8px;
  background: linear-gradient(to top, rgba(217, 180, 107, .24), rgba(217, 180, 107, .12) 22%, rgba(217, 180, 107, .04) 48%, transparent 100%);
  box-shadow: none;
  opacity: .33;
  pointer-events: none;
  transform-origin: bottom;
  animation: manifest-scroll-cue 9s ease-in-out infinite;
}

@keyframes manifest-scroll-cue {
  0%, 100% { opacity: .1; transform: scaleY(.75); }
  50% { opacity: .48; transform: scaleY(1); }
}

.scene-copy {
  width: min(100%, 820px);
}

.scene-copy h1,
.scene-copy h2 {
  margin: 0;
  color: #f4f1e8;
  font-size: clamp(42px, 5vw, 74px);
  font-weight: 720;
  line-height: 1.01;
  letter-spacing: -.035em;
}

.scene-copy h2 {
  font-size: clamp(38px, 4.55vw, 66px);
}

.scene-kicker,
.scene-accent {
  margin: clamp(18px, 2.6vw, 30px) 0 0;
  color: rgba(244, 241, 232, .84);
  font-size: clamp(19px, 1.9vw, 28px);
  line-height: 1.25;
}

.scene-accent {
  color: var(--gold);
  font-size: clamp(24px, 2.7vw, 40px);
}

.scene-body,
.scene-lines p,
.scene-aside span,
.price-list span,
.decision-lines p {
  margin: 0;
  color: rgba(244, 241, 232, .72);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.48;
}

.scene-body,
.scene-lines {
  max-width: 690px;
  margin-top: clamp(26px, 4vw, 48px);
}

.scene-lines {
  display: grid;
  gap: 12px;
}

.scene-lines strong {
  color: #f4f1e8;
}

.scene-fog {
  justify-content: center;
  text-align: center;
}

.scene-fog::before {
  top: -28%;
  left: 50%;
  width: min(98vw, 1250px);
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(217, 180, 107, .17), transparent 63%);
}

.scene-fog .scene-copy { max-width: 860px; }
.scene-fog .scene-lines { margin-inline: auto; }

.scene-welcome {
  justify-content: center;
  text-align: center;
}

.scene-welcome::before { display: none; }

.scene-welcome::after {
  bottom: 0;
  height: 28px;
  background:
    linear-gradient(to top, rgba(255, 236, 180, .72), rgba(255, 226, 145, .4) 16%, rgba(255, 220, 133, .19) 38%, rgba(255, 220, 133, .06) 68%, transparent 100%),
    repeating-linear-gradient(to top, rgba(255, 239, 193, .16) 0 1px, transparent 1px 3px);
  box-shadow: 0 -2px 22px rgba(217, 180, 107, .2);
  animation-duration: 4.6s;
}

.scene-welcome p {
  margin: 0;
  color: rgba(244, 241, 232, .86);
  font-size: clamp(18px, 2vw, 30px);
  font-weight: 620;
  line-height: 1;
}

.scene-welcome em {
  color: var(--gold);
  font-style: normal;
}

.welcome-dot {
  display: inline-block;
  width: .13em;
  height: .13em;
  margin-left: .05em;
  border-radius: 50%;
  background: #fff4cf;
  box-shadow: 0 0 7px 2px rgba(255, 244, 207, 1), 0 0 22px 5px rgba(217, 180, 107, .9);
  vertical-align: baseline;
  animation: welcome-dot-glow 1.8s ease-in-out infinite;
}

@keyframes welcome-dot-glow {
  0%, 100% { opacity: .72; transform: scale(.85); }
  50% { opacity: 1; transform: scale(1.15); }
}

.scene-answers {
  justify-content: flex-end;
  text-align: right;
}

.scene-answers::before { top: -18%; right: -16%; }
.scene-answers .scene-body { margin-left: auto; }

.answer-orbit {
  position: relative;
  width: min(72vw, 1000px);
  max-width: none;
  height: clamp(128px, 11vw, 190px);
  margin-top: clamp(30px, 4vw, 48px);
  margin-left: auto;
  color: var(--gold);
  font-size: clamp(18px, 2vw, 29px);
  line-height: 1;
}

.answer-orbit span {
  position: absolute;
  display: block;
  white-space: nowrap;
}

.answer-orbit span:nth-child(1) { top: 14%; left: 6%; font-size: .92em; transform: rotate(-3deg); }
.answer-orbit span:nth-child(2) { top: 0; left: 32%; font-size: 1.2em; transform: rotate(2deg); }
.answer-orbit span:nth-child(3) { top: 18%; left: 70%; font-size: 1em; transform: rotate(-1.5deg); }
.answer-orbit span:nth-child(4) { top: 66%; left: 15%; font-size: 1.08em; transform: rotate(1.5deg); }
.answer-orbit span:nth-child(5) { top: 51%; left: 47%; font-size: .86em; transform: rotate(-4deg); }
.answer-orbit span:nth-child(6) { top: 75%; left: 69%; font-size: 1.1em; transform: rotate(2.5deg); }

.scene-threshold { justify-content: flex-start; }
.scene-threshold::before { left: -18%; bottom: -42%; }
.scene-threshold .scene-body { max-width: 500px; }

@media (min-width: 981px) {
  .scene-threshold .scene-kicker,
  .scene-threshold > .scene-copy > .scene-body {
    position: relative;
    max-width: none;
    font-size: clamp(17px, 1.45vw, 23px);
    line-height: 1.25;
    white-space: nowrap;
    transform-origin: left center;
  }

  .scene-threshold .scene-kicker {
    margin-left: clamp(8px, 2vw, 34px);
    top: clamp(-32px, -2vw, -20px);
    transform: rotate(-5deg);
  }

  .scene-threshold > .scene-copy > .scene-body {
    margin-top: clamp(48px, 4vw, 64px);
    margin-left: clamp(4px, 1vw, 18px);
    transform: rotate(-6deg);
  }
}

.threshold-statement {
  max-width: 780px;
  margin-top: clamp(34px, 5vw, 62px);
}

.threshold-statement p {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: clamp(18px, 2vw, 27px);
}

.scene-aside {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: clamp(58px, 10vh, 110px);
  display: grid;
  gap: 10px;
  max-width: 310px;
  text-align: right;
}

.scene-threshold .scene-aside {
  right: max(50px, calc((100vw - 1180px) / 2));
  bottom: clamp(54px, 8vh, 88px);
  max-width: 370px;
  gap: 38px;
  transform: none;
}

.scene-threshold .scene-aside span:first-child {
  transform: rotate(-8deg);
  transform-origin: right center;
}

.scene-threshold .scene-aside span:last-child {
  transform: rotate(-7deg);
  transform-origin: right center;
}

.scene-aside span { font-size: clamp(14px, 1.1vw, 16px); }

.scene-price { justify-content: center; text-align: center; }
.scene-price::before { top: 50%; left: 50%; width: min(80vw, 1060px); transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(217, 180, 107, .2), transparent 65%); }
.scene-price .scene-copy { max-width: 850px; }

.price-list {
  display: grid;
  gap: 10px;
  margin: clamp(30px, 4vw, 50px) auto;
}

.price-list span { font-size: clamp(17px, 1.55vw, 23px); }

.price-statement {
  margin: 0;
  color: var(--gold);
  font-size: clamp(24px, 2.7vw, 40px);
  font-weight: 620;
  line-height: 1.18;
}

.scene-consent {
  justify-content: center;
  text-align: center;
}

.scene-consent::before {
  top: 48%;
  left: 50%;
  width: min(76vw, 980px);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(217, 180, 107, .16), transparent 66%);
}

.scene-consent .scene-copy {
  max-width: 920px;
}

.consent-lines {
  display: grid;
  gap: clamp(18px, 2.6vw, 32px);
  margin-top: clamp(46px, 6vw, 76px);
}

.consent-lines p {
  margin: 0;
  color: rgba(244, 241, 232, .78);
  font-size: clamp(22px, 2.6vw, 38px);
  font-weight: 650;
  line-height: 1.12;
}

.consent-lines p:last-child {
  color: var(--gold);
}

.scene-decision { justify-content: flex-end; text-align: right; }
.scene-decision::before { top: 12%; right: -15%; }
.scene-decision .scene-body { margin-left: auto; }

.decision-lines {
  display: grid;
  gap: 11px;
  max-width: 760px;
  margin: clamp(30px, 4vw, 52px) 0 0 auto;
}

.decision-lines p { color: #f4f1e8; font-size: clamp(24px, 3.25vw, 47px); font-weight: 700; line-height: 1.05; }
.decision-lines p:nth-child(2) { color: var(--gold); }

.scene-lights {
  display: grid;
  grid-template-columns: minmax(240px, .72fr) minmax(0, 1.18fr);
  gap: clamp(46px, 9vw, 136px);
}

.scene-lights::before { left: 10%; top: 50%; transform: translateY(-50%); }
.scene-lights .two-lights { min-height: 0; }

.two-lights-art {
  min-height: min(70vh, 680px);
  min-width: 0;
}

.scene-lights {
  background: url("../assets/images/latarnik-two-lights.png") left center / min(46vw, 720px) auto no-repeat;
}

.gold-word { color: var(--gold); }

.scene-languages { justify-content: center; text-align: center; }
.scene-languages::before { top: -40%; left: 50%; width: min(90vw, 1180px); transform: translateX(-50%); }
.scene-languages .scene-copy { max-width: 810px; }
.scene-languages .scene-lines { margin-inline: auto; }
.scene-languages .scene-copy { position: relative; z-index: 1; }

.scene-languages .language-cloud {
  inset: 9% max(4vw, 34px);
  color: rgba(217, 180, 107, .42);
  font-size: clamp(13px, 1.35vw, 22px);
}

.scene-languages .language-cloud span { font-family: ui-sans-serif, system-ui, sans-serif; }
.scene-languages .language-cloud span:nth-child(1) { top: 7%; left: 5%; font-size: 1.2em; transform: rotate(-5deg); }
.scene-languages .language-cloud span:nth-child(2) { top: 16%; right: 9%; font-size: .86em; transform: rotate(4deg); }
.scene-languages .language-cloud span:nth-child(3) { top: 36%; left: 3%; font-size: 1.1em; transform: rotate(2deg); }
.scene-languages .language-cloud span:nth-child(4) { top: 43%; right: 4%; font-size: 1.28em; transform: rotate(-3deg); }
.scene-languages .language-cloud span:nth-child(5) { bottom: 10%; left: 8%; font-size: .9em; transform: rotate(5deg); }
.scene-languages .language-cloud span:nth-child(6) { bottom: 5%; right: 11%; font-size: 1.15em; transform: rotate(-4deg); }
.scene-languages .language-cloud span:nth-child(7) { top: 4%; left: 28%; font-size: .78em; transform: rotate(3deg); }
.scene-languages .language-cloud span:nth-child(8) { top: 8%; right: 27%; font-size: 1.05em; transform: rotate(-6deg); }
.scene-languages .language-cloud span:nth-child(9) { top: 66%; left: 3%; font-size: .82em; transform: rotate(-2deg); }
.scene-languages .language-cloud span:nth-child(10) { top: 71%; right: 2%; font-size: 1.1em; transform: rotate(5deg); }
.scene-languages .language-cloud span:nth-child(11) { top: 25%; left: 14%; font-size: .9em; transform: rotate(-4deg); }
.scene-languages .language-cloud span:nth-child(12) { top: 30%; right: 16%; font-size: 1.18em; transform: rotate(2deg); }
.scene-languages .language-cloud span:nth-child(13) { top: 81%; left: 28%; font-size: .8em; transform: rotate(4deg); }
.scene-languages .language-cloud span:nth-child(14) { top: 80%; right: 28%; font-size: 1.05em; transform: rotate(-3deg); }
.scene-languages .language-cloud span:nth-child(15) { top: 47%; left: 12%; font-size: 1.15em; transform: rotate(6deg); }
.scene-languages .language-cloud span:nth-child(16) { top: 53%; right: 12%; font-size: .86em; transform: rotate(-5deg); }
.scene-languages .language-cloud span:nth-child(17) { top: 11%; left: 48%; font-size: .82em; transform: rotate(3deg); }
.scene-languages .language-cloud span:nth-child(18) { bottom: 12%; left: 48%; font-size: 1.15em; transform: rotate(-2deg); }
.scene-languages .language-cloud span:nth-child(19) { top: 58%; left: 26%; font-size: .86em; transform: rotate(4deg); }
.scene-languages .language-cloud span:nth-child(20) { top: 60%; right: 26%; font-size: 1.18em; transform: rotate(-4deg); }

.scene-languages .language-cloud span {
  font-size: clamp(12px, 1.1vw, 18px);
  white-space: nowrap;
}

.scene-languages .language-cloud span:nth-child(1) { top: 4%; left: 2%; right: auto; transform: rotate(-4deg); }
.scene-languages .language-cloud span:nth-child(2) { top: 14%; left: 6%; right: auto; transform: rotate(3deg); }
.scene-languages .language-cloud span:nth-child(3) { top: 24%; left: 2%; right: auto; transform: rotate(-2deg); }
.scene-languages .language-cloud span:nth-child(4) { top: 34%; left: 7%; right: auto; transform: rotate(4deg); }
.scene-languages .language-cloud span:nth-child(5) { top: 45%; left: 2%; right: auto; transform: rotate(-3deg); }
.scene-languages .language-cloud span:nth-child(6) { top: 55%; left: 6%; right: auto; transform: rotate(2deg); }
.scene-languages .language-cloud span:nth-child(7) { top: 65%; left: 2%; right: auto; transform: rotate(-4deg); }
.scene-languages .language-cloud span:nth-child(8) { top: 75%; left: 7%; right: auto; transform: rotate(3deg); }
.scene-languages .language-cloud span:nth-child(9) { top: 85%; left: 2%; right: auto; transform: rotate(-2deg); }
.scene-languages .language-cloud span:nth-child(10) { top: 93%; left: 7%; right: auto; transform: rotate(4deg); }
.scene-languages .language-cloud span:nth-child(11) { top: 5%; right: 2%; left: auto; transform: rotate(3deg); }
.scene-languages .language-cloud span:nth-child(12) { top: 15%; right: 6%; left: auto; transform: rotate(-4deg); }
.scene-languages .language-cloud span:nth-child(13) { top: 25%; right: 2%; left: auto; transform: rotate(2deg); }
.scene-languages .language-cloud span:nth-child(14) { top: 35%; right: 7%; left: auto; transform: rotate(-3deg); }
.scene-languages .language-cloud span:nth-child(15) { top: 45%; right: 2%; left: auto; transform: rotate(4deg); }
.scene-languages .language-cloud span:nth-child(16) { top: 55%; right: 6%; left: auto; transform: rotate(-2deg); }
.scene-languages .language-cloud span:nth-child(17) { top: 65%; right: 2%; left: auto; transform: rotate(3deg); }
.scene-languages .language-cloud span:nth-child(18) { top: 75%; right: 7%; left: auto; transform: rotate(-4deg); }
.scene-languages .language-cloud span:nth-child(19) { top: 85%; right: 2%; left: auto; transform: rotate(2deg); }
.scene-languages .language-cloud span:nth-child(20) { top: 93%; right: 7%; left: auto; transform: rotate(-3deg); }

.scene-languages .language-cloud span:nth-child(n) { bottom: auto; }
.scene-languages .language-cloud span:nth-child(1) { top: 6%; left: 8%; right: auto; transform: rotate(-4deg); }
.scene-languages .language-cloud span:nth-child(2) { top: 2%; left: 28%; right: auto; transform: rotate(3deg); }
.scene-languages .language-cloud span:nth-child(3) { top: 6%; left: 52%; right: auto; transform: rotate(-2deg); }
.scene-languages .language-cloud span:nth-child(4) { top: 2%; left: 75%; right: auto; transform: rotate(4deg); }
.scene-languages .language-cloud span:nth-child(5) { top: 26%; left: 3%; right: auto; transform: rotate(-3deg); }
.scene-languages .language-cloud span:nth-child(6) { top: 43%; left: 5%; right: auto; transform: rotate(2deg); }
.scene-languages .language-cloud span:nth-child(7) { top: 60%; left: 2%; right: auto; transform: rotate(-4deg); }
.scene-languages .language-cloud span:nth-child(8) { top: 77%; left: 6%; right: auto; transform: rotate(3deg); }
.scene-languages .language-cloud span:nth-child(9) { top: auto; bottom: 4%; left: 12%; right: auto; transform: rotate(-2deg); }
.scene-languages .language-cloud span:nth-child(10) { top: auto; bottom: 1%; left: 34%; right: auto; transform: rotate(4deg); }
.scene-languages .language-cloud span:nth-child(11) { top: auto; bottom: 5%; left: 55%; right: auto; transform: rotate(-3deg); }
.scene-languages .language-cloud span:nth-child(12) { top: auto; bottom: 2%; left: 76%; right: auto; transform: rotate(2deg); }
.scene-languages .language-cloud span:nth-child(13) { top: 25%; right: 4%; left: auto; transform: rotate(3deg); }
.scene-languages .language-cloud span:nth-child(14) { top: 42%; right: 2%; left: auto; transform: rotate(-4deg); }
.scene-languages .language-cloud span:nth-child(15) { top: 59%; right: 5%; left: auto; transform: rotate(2deg); }
.scene-languages .language-cloud span:nth-child(16) { top: 76%; right: 3%; left: auto; transform: rotate(-3deg); }
.scene-languages .language-cloud span:nth-child(17) { top: 16%; left: 16%; right: auto; transform: rotate(4deg); }
.scene-languages .language-cloud span:nth-child(18) { top: 16%; right: 16%; left: auto; transform: rotate(-2deg); }
.scene-languages .language-cloud span:nth-child(19) { top: auto; bottom: 16%; left: 20%; right: auto; transform: rotate(3deg); }
.scene-languages .language-cloud span:nth-child(20) { top: auto; bottom: 16%; right: 20%; left: auto; transform: rotate(-4deg); }

.scene-shape { justify-content: flex-start; }
.scene-shape::before { left: -14%; top: 2%; }

.scene-lighthouse {
  justify-content: flex-start;
  background:
    radial-gradient(circle at 62% 48%, rgba(255, 255, 255, .035), transparent 28%),
    linear-gradient(90deg, rgba(7, 7, 8, .98), rgba(7, 7, 8, .9), rgba(7, 7, 8, .98));
}

.scene-lighthouse::before { display: none; }
.scene-lighthouse .scene-copy { position: relative; z-index: 1; }

.scene-lighthouse .scene-lines strong {
  position: relative;
  z-index: 0;
  display: inline-block;
  color: #fff;
  text-shadow:
    -0.05em -0.02em 7px rgba(255,255,255,.48),
    0.12em 0.03em 14px rgba(255,255,255,.22),
    -0.16em 0.09em 24px rgba(217,180,107,.14),
    0.04em -0.13em 28px rgba(255,255,255,.13);
}

.scene-lighthouse .scene-lines strong::after {
  content: none;
}

.scene-lighthouse .scene-lines .light-statement {
  margin-block: clamp(18px, 2.5vw, 32px);
}

.scene-voyage { justify-content: center; text-align: center; }
.scene-voyage::before { display: none; }
.scene-voyage .scene-copy { max-width: 790px; }
.scene-voyage .scene-lines { margin-inline: auto; }

.scene-final { justify-content: center; text-align: center; }
.scene-final::before { top: -30%; left: 50%; width: min(90vw, 1100px); transform: translateX(-50%); }
.scene-final .scene-copy { max-width: 800px; }
.scene-final .scene-lines { margin-inline: auto; }
.scene-final .action-row { justify-content: center; margin-top: 32px; }

.scene-voyage .final-light {
  top: 18%;
}

@media (min-width: 981px) and (min-height: 760px) {
  html:has(body.manifest-page) {
    scroll-snap-type: y mandatory;
    scroll-padding-top: 0;
  }

  .manifest-scene {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}

@media (max-width: 980px) {
  .path-intro { margin-left: 0; }

  .path-stop,
  .path-stop-right {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 20px;
  }

  .manifest-light-path {
    inset-inline-start: 0;
  }

  .meeting-section { grid-template-columns: 1fr; }
  .meeting-journey { grid-template-columns: 1fr; gap: 30px; }
  .meeting-stage { min-height: 0; }

  .manifest-scene {
    min-height: auto;
    padding-top: clamp(92px, 15vw, 132px);
    padding-bottom: clamp(92px, 15vw, 132px);
  }

  .scene-lights { grid-template-columns: 1fr; }
  .scene-aside { position: static; margin-top: 28px; text-align: left; }
}

@media (max-width: 620px) {
  .path-intro h2 { font-size: clamp(38px, 11vw, 54px); }
  .path-stop h3 { font-size: clamp(27px, 8.2vw, 39px); }
  .offer-float { right: 14px; bottom: 16px; width: 99px; min-height: 99px; }

  .scene-copy h1,
  .scene-copy h2 { font-size: clamp(38px, 11vw, 55px); }
  .scene-copy h2 { font-size: clamp(35px, 10vw, 50px); }
  .scene-body,
  .scene-lines p,
  .scene-aside span,
  .price-list span { font-size: 17px; }
  .scene-answers,
  .scene-decision,
  .scene-price,
  .scene-voyage,
  .scene-final { text-align: left; }
  .scene-answers .scene-body,
  .scene-decision .scene-body,
  .scene-languages .scene-lines,
  .scene-voyage .scene-lines,
  .scene-final .scene-lines { margin-left: 0; }
  .answer-orbit {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: start;
    gap: 16px 24px;
    width: auto;
    height: auto;
    margin-left: 0;
  }
  .answer-orbit span { position: static; font-size: 1em !important; transform: none !important; }
  .decision-lines { margin-left: 0; }
  .scene-final .action-row { align-items: stretch; justify-content: stretch; }
  .scene-final .button { width: 100%; }
  .scene-threshold .scene-kicker,
  .scene-threshold > .scene-copy > .scene-body,
  .scene-threshold .scene-aside { transform: none; }
  .scene-threshold .scene-aside span { transform: none; }
  .scene-threshold .scene-aside { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .offer-float::before { animation: none; }
  .manifest-light-path { --path-reveal: 100%; }
  .manifest-scene::after,
  .welcome-dot { animation: none; }
}

/* Keep the hero copy comfortably above the lower edge without losing its quiet upper space. */
.latarnik-hero {
  align-items: end;
  padding-bottom: clamp(50px, 7svh, 70px);
}

.latarnik-copy {
  transform: translateY(calc(-1 * clamp(52px, 7svh, 86px)));
}

@media (min-width: 981px) {
  .latarnik-copy {
    transform: translateY(calc(-1 * clamp(164px, 22.5svh, 210px)));
  }
}

@media (min-width: 981px) and (max-height: 820px) {
  .latarnik-hero {
    min-height: calc(100svh - 72px);
    padding-top: clamp(20px, 4svh, 34px);
    padding-bottom: clamp(28px, 5svh, 40px);
  }

  .latarnik-copy {
    transform: translateY(calc(-1 * clamp(150px, 22svh, 180px)));
  }

  .latarnik-copy h1 {
    font-size: clamp(40px, 5vw, 64px);
  }

  .hero-intro {
    gap: clamp(8px, 1.5svh, 14px);
    margin-top: clamp(14px, 2.2svh, 20px);
    font-size: clamp(14px, 1vw, 16px);
    line-height: 1.38;
  }

  .latarnik-copy .action-row {
    margin-top: clamp(16px, 2.5svh, 22px);
  }
}

.threshold-statement h2 {
  max-width: 1000px;
  font-size: clamp(38px, 4.2vw, 62px);
  text-wrap: balance;
}

.threshold-statement h2 span {
  white-space: nowrap;
}

@media (max-width: 620px) {
  .latarnik-copy {
    transform: translateY(-18px);
  }

  .threshold-statement h2 span {
    white-space: normal;
  }

  .manifest-light-path {
    opacity: .8;
  }
}

.enter-lighthouse-section {
  width: 100%;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 92px 18px;
}

.enter-lighthouse {
  display: block;
  min-height: min(calc(100svh - 188px), 590px) !important;
  max-height: min(calc(100svh - 188px), 590px);
  margin: 0;
  padding: clamp(48px, 6vw, 76px) clamp(24px, 6vw, 72px);
  text-decoration: none;
  transition: border-color 260ms ease, background 260ms ease, box-shadow 260ms ease, transform 260ms ease;
}

.enter-lighthouse:hover {
  border-color: rgba(255, 230, 159, .74);
  background: radial-gradient(circle at 83% 30%, rgba(255, 229, 152, .28), transparent 31%), #15130f;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .34), 0 0 58px rgba(217, 180, 107, .13);
  transform: translateY(-3px);
}

.enter-lighthouse:hover::after {
  transform: translate(-4%, -4%) scale(1.14);
}

.noxadus-entry {
  position: relative;
  display: block;
  width: 100%;
  min-height: min(calc(100svh - 188px), 520px);
  overflow: hidden;
  margin: 0;
  padding: clamp(48px, 6vw, 76px) clamp(24px, 6vw, 72px);
  border: 1px solid rgba(117, 224, 190, .28);
  background: radial-gradient(circle at 82% 30%, rgba(117, 224, 190, .16), transparent 30%), #0b1110;
  color: #f4f1e8;
  text-decoration: none;
  transition: border-color 260ms ease, background 260ms ease, box-shadow 260ms ease, transform 260ms ease;
}

.noxadus-entry::after {
  content: "";
  position: absolute;
  right: -10vw;
  bottom: -14vw;
  width: min(42vw, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(158, 255, 219, .52), rgba(117, 224, 190, .13) 19%, transparent 64%);
  pointer-events: none;
  transition: transform 260ms ease;
}

.noxadus-entry > * {
  position: relative;
  z-index: 1;
}

.noxadus-entry > .eyebrow {
  color: #8eeacb;
}

.noxadus-entry > p:not(.eyebrow) {
  max-width: 650px;
  margin: 20px 0 0;
  color: rgba(244, 241, 232, .72);
}

.noxadus-entry:hover {
  border-color: rgba(158, 255, 219, .72);
  background: radial-gradient(circle at 82% 30%, rgba(139, 255, 213, .27), transparent 32%), #0e1714;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .34), 0 0 58px rgba(117, 224, 190, .16);
  transform: translateY(-3px);
}

.noxadus-entry:hover::after {
  transform: translate(-4%, -4%) scale(1.14);
}

@media (min-width: 981px) and (min-height: 760px) {
  html:has(body.latarnik-page:not(.manifest-page)) {
    scroll-snap-type: none;
  }

  .latarnik-page:not(.manifest-page) .latarnik-hero,
  .latarnik-page:not(.manifest-page) .light-path {
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }

  .latarnik-page:not(.manifest-page) .enter-lighthouse-section {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

}

/* The light road belongs to the whole manifesto field, never to a separate image column. */
.light-path {
  --manifest-start: clamp(270px, 26.4vw, 508px);
  background: #030405;
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: hidden;
  padding-top: clamp(55px, 4.5vw, 72px);
  padding-bottom: clamp(80px, 8vw, 120px);
}

.light-path .path-intro {
  width: min(760px, calc(100% - clamp(48px, 10vw, 192px)));
  max-width: 760px;
  margin: 0 0 clamp(180px, 13vw, 220px) clamp(36px, 10vw, 162px);
}

.light-path .path-intro h2 {
  font-size: clamp(48px, 3.8vw, 62px);
  line-height: 1.02;
}

.light-path .manifest-path {
  width: 100%;
  margin: 0;
  display: grid;
  gap: clamp(108px, 7.2vw, 132px);
  padding-left: var(--manifest-start);
  padding-right: clamp(28px, 5vw, 96px);
}

.latarnik-page:not(.manifest-page) .light-path .manifest-light-path {
  inset: 0 auto clamp(220px, 14vw, 280px) clamp(18px, 2.95vw, 60px);
  width: min(46vw, 920px);
  height: auto;
  opacity: 1;
  clip-path: none;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    #000 12%,
    #000 66%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    #000 12%,
    #000 66%,
    transparent 100%
  );
  -webkit-mask-position: top;
  mask-position: top;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% var(--path-reveal);
  mask-size: 100% var(--path-reveal);
}

.latarnik-page:not(.manifest-page) .light-path .manifest-light-path img {
  top: 0;
  bottom: auto;
  left: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: none;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 44%,
    #000 58%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 44%,
    #000 58%,
    transparent 100%
  );
}

.light-path .path-stop,
.light-path .path-stop-right {
  display: block;
  width: 100%;
  max-width: 920px;
  margin-left: 0;
  padding-left: 0;
}

.light-path .path-stop > div {
  width: 100%;
  max-width: 920px;
}

.light-path .path-stop h3 {
  font-size: clamp(26px, 2.3vw, 36px);
}

.light-path .path-stop p {
  max-width: 690px;
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.58;
}

.offer-section .section-intro {
  max-width: min(1100px, 100%);
}

.latarnik-hero > .latarnik-copy > .eyebrow,
.light-path .path-intro > .eyebrow,
.meeting-section .section-intro > .eyebrow,
.offer-section .section-intro > .eyebrow,
.enter-lighthouse > .eyebrow,
.noxadus-entry > .eyebrow {
  font-size: 12px;
}

.light-path .path-stop:nth-of-type(2) { margin-left: clamp(48px, 7.4vw, 118px); }
.light-path .path-stop:nth-of-type(3) { margin-left: clamp(64px, 9.6vw, 154px); }
.light-path .path-stop:nth-of-type(4) { margin-left: clamp(28px, 5.8vw, 92px); }
.light-path .path-stop:nth-of-type(5) { margin-left: clamp(68px, 10.1vw, 162px); }

.light-path .manifest-actions {
  margin-top: clamp(58px, 5vw, 78px);
  margin-left: calc(var(--manifest-start) + clamp(100px, 11vw, 190px));
}

.light-path .manifest-actions .button {
  min-height: 50px;
  padding: 12px 18px;
  font-size: clamp(15px, 1.1vw, 17px);
}

.meeting-section {
  padding-top: clamp(58px, 6vw, 82px);
}

@media (max-width: 980px) {
  .light-path .path-intro {
    width: min(100% - 48px, var(--max));
    margin-inline: auto;
    margin-bottom: clamp(80px, 12vw, 120px);
  }

  .light-path .manifest-path {
    padding-left: 132px;
    padding-right: 24px;
    gap: clamp(58px, 9vw, 82px);
  }

  .light-path .manifest-actions {
    margin-left: 132px;
  }

  .light-path .manifest-light-path img {
    left: 0;
    width: 100%;
  }
}

@media (max-width: 620px) {
  .light-path .path-intro {
    width: min(100% - 24px, var(--max));
  }

  .light-path .manifest-path {
    padding-left: 92px;
    padding-right: 16px;
  }

  .light-path .manifest-light-path img {
    left: 0;
    width: 100%;
  }

  .light-path .path-stop:nth-of-type(n) {
    margin-left: 0;
  }

  .light-path .manifest-actions {
    margin-left: 92px;
  }

  .light-path .manifest-actions .button {
    min-height: 46px;
    padding: 11px 15px;
  }

  .enter-lighthouse-section {
    min-height: auto;
    padding: 48px 12px;
  }

  .enter-lighthouse {
    min-height: auto !important;
    max-height: none;
  }

  .noxadus-entry {
    min-height: auto;
  }
}
