/* --- Local fonts (self-hosted; no Google) --- */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/cormorant-400italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/cormorant-400italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/cormorant-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/cormorant-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/source-sans-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/source-sans-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/source-sans-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/source-sans-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Sveike styles */
:root {
  --forest: #4a5240;
  --forest-deep: #3a4234;
  --sage: #8a9a7a;
  --sage-soft: #a8b89a;
  --mist: #e4e2d6;
  --cream: #f5f2ea;
  --cream-deep: #ebe6db;
  --paper: #ffffff;
  --coffee: #6b5a45;
  --ink: #3a4234;
  --muted: #6b7560;
  --line: rgba(74, 82, 64, 0.14);
  --radius: 2px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", system-ui, -apple-system, sans-serif;
  --max: 1180px;
  --nav-h: 96px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
}

@media (max-width: 899px), (hover: none) and (pointer: coarse) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: var(--font-sans);
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
  position: relative;
  overscroll-behavior-x: none;
}

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

a {
  color: var(--forest);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--sage);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 8px 16px;
  background: var(--forest);
  color: var(--paper);
}

.skip:focus {
  left: 16px;
  top: 16px;
}

.container {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* --- Nav --- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  /* positioning context for .nav-mobile */
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(245, 242, 234, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  overflow: visible;
}

.site-nav .container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 1.25rem;
  width: min(var(--max), calc(100% - 2.5rem));
  min-height: calc(var(--nav-h) - 2px);
  padding-block: 0;
}

.logo-link {
  display: flex;
  align-items: center;
  justify-self: start;
  line-height: 0;
}

.logo-link:hover {
  opacity: 0.88;
}

.logo-img {
  height: 62px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  object-position: left center;
  display: block;
}

@media (min-width: 800px) {
  .logo-img {
    height: 68px;
    max-width: 188px;
  }

  .site-nav .container {
    grid-template-columns: minmax(140px, 1fr) auto minmax(140px, 1fr);
  }

  .site-nav .container > nav {
    justify-self: center;
    display: flex;
    align-items: center;
  }

  .nav-cta {
    justify-self: end;
  }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.4rem 0.15rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.nav-links a:hover {
  color: var(--forest);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.2;
  color: var(--paper) !important;
  background: var(--forest);
  padding: 1.05rem 1.75rem;
  border: none;
  cursor: pointer;
  transition:
    background 0.25s var(--ease),
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.nav-cta:hover {
  background: var(--forest-deep);
  color: var(--paper) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(58, 66, 52, 0.18);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--forest);
}

@media (max-width: 799px) {
  .nav-cta {
    display: none;
  }

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

  .site-nav .container > nav {
    display: none;
  }

  .nav-toggle {
    justify-self: end;
    align-self: center;
  }
}

@media (min-width: 800px) {
  .nav-links {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
}

.nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 1.25rem 1.5rem;
  z-index: 51;
}

.nav-mobile.is-open {
  display: block;
}

.nav-mobile ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nav-mobile a {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
  padding-block: 0.35rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.25;
  padding: 1.2rem 1.95rem;
  min-height: 3.4rem;
  border: none;
  cursor: pointer;
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

/* .btn { display } beats UA [hidden] - keep wizard buttons actually hidden */
[hidden],
.is-hidden {
  display: none !important;
}

.btn-primary {
  background: var(--forest);
  color: var(--paper);
}

.btn-primary:hover {
  background: var(--forest-deep);
  color: var(--paper);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(58, 66, 52, 0.2);
}

.btn-ghost {
  background: transparent;
  color: var(--forest);
  border: 1px solid rgba(74, 82, 64, 0.28);
}

.btn-ghost:hover {
  border-color: var(--forest);
  color: var(--forest-deep);
  background: rgba(255, 255, 255, 0.35);
}

.btn-on-dark {
  background: var(--cream);
  color: var(--forest);
}

.btn-on-dark:hover {
  background: var(--paper);
  color: var(--forest-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

/* --- Editorial hero (portrait panel on desktop) --- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  min-height: calc(100svh - var(--nav-h));
  background: var(--cream);
  overflow: hidden;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.9fr);
  }
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem 1.35rem 3.75rem;
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
  max-width: 40rem;
}

@media (min-width: 900px) {
  .hero-copy {
    margin-inline: 0;
    margin-left: max(1.25rem, calc((100vw - var(--max)) / 2 + 0.25rem));
    padding: 5rem 2.5rem 5.25rem 0;
    max-width: 36rem;
    width: auto;
  }
}

.hero-panel {
  display: none;
  position: relative;
  background: var(--forest);
  padding: 0;
  overflow: hidden;
  min-height: 0;
}

@media (min-width: 900px) {
  .hero-panel {
    display: block;
  }
}

.hero-panel-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

/* Soft brand wash: left seam + bottom calm, not a heavy filter */
.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(245, 242, 234, 0.55) 0%,
      rgba(245, 242, 234, 0.12) 8%,
      transparent 22%
    ),
    linear-gradient(
      180deg,
      transparent 55%,
      rgba(58, 66, 52, 0.28) 100%
    );
}

.hero-mark {
  display: none;
}

.hero-eyebrow {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 1.15rem;
  opacity: 0;
  transform: translateY(18px);
  animation: riseIn 0.85s var(--ease-out) 0.08s forwards;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.6vw, 3.85rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.14;
  color: var(--forest);
  margin-bottom: 1.2rem;
  max-width: 14ch;
  opacity: 0;
  transform: translateY(22px);
  animation: riseIn 0.9s var(--ease-out) 0.16s forwards;
}

.hero-support {
  font-size: 1.28rem;
  color: var(--muted);
  max-width: 36ch;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(22px);
  animation: riseIn 0.9s var(--ease-out) 0.26s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  opacity: 0;
  transform: translateY(18px);
  animation: riseIn 0.9s var(--ease-out) 0.36s forwards;
}

.hero-calm {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  font-style: italic;
  color: var(--forest);
  margin: 0 0 0.85rem;
  opacity: 0;
  transform: translateY(18px);
  animation: riseIn 0.9s var(--ease-out) 0.28s forwards;
}

.hero-quote {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--muted);
  max-width: 34ch;
  line-height: 1.5;
  margin: 0 0 1.75rem;
  opacity: 0;
  transform: translateY(18px);
  animation: riseIn 0.9s var(--ease-out) 0.32s forwards;
}

@keyframes riseIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes markIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

/* --- Values --- */
.values-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  justify-content: center;
  padding: 1.35rem 1.25rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.values-strip span {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--forest);
}

.values-strip .values-dot {
  letter-spacing: 0;
  font-weight: 400;
  color: var(--mist);
  transform: translateY(-1px);
}

.value-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

@media (min-width: 720px) {
  .value-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.value-card {
  padding: 1.5rem 1.35rem;
  background: var(--paper);
  border: 1px solid var(--line);
}

.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  color: var(--forest);
  margin-bottom: 0.55rem;
}

.value-card p {
  font-size: 1.08rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: none;
}

.soft-close {
  margin-top: 1.75rem;
  font-style: italic;
  max-width: 36ch;
}

.mission-line {
  margin-top: 1.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--forest);
  max-width: 28ch;
}

.invite-section {
  padding: 5rem 0;
  background: var(--cream-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.invite-section .section-title {
  max-width: 14ch;
}

.invite-section .btn {
  margin-top: 0.5rem;
}

.invite-note {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--muted);
  max-width: 32ch;
  line-height: 1.5;
}

.contact-block .section-title {
  max-width: 14ch;
}

.contact-email {
  margin: 1.5rem 0 1.35rem;
  font-size: 1.25rem;
}

.contact-email a {
  color: var(--forest);
  font-weight: 600;
}

.contact-email a:hover {
  color: var(--sage);
}

/* --- Sections --- */
.section,
.about-section,
.invite-section {
  /* Sticky nav: anchors land below the bar, not under it */
  scroll-margin-top: calc(var(--nav-h) + 0.75rem);
}

.section {
  padding: 5.5rem 0;
}

.section-mist {
  background: transparent;
}

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

.section-label {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.4vw, 3.15rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.12;
  color: var(--forest);
  margin-bottom: 1.25rem;
  max-width: 16ch;
}

.section-body {
  font-size: 1.22rem;
  color: var(--muted);
  max-width: 42ch;
  line-height: 1.65;
}

.section-body + .section-body {
  margin-top: 1rem;
}

.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.75rem 0 2rem;
  max-width: 180px;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.divider-leaf {
  width: 16px;
  height: 16px;
  color: var(--sage);
  flex-shrink: 0;
}

.divider--plain {
  display: block;
  width: 3rem;
  height: 1px;
  max-width: none;
  margin: 1.25rem 0 1.5rem;
  background: var(--line);
  gap: 0;
}

.divider--plain::before,
.divider--plain::after {
  display: none;
}

/* --- Quote / Vizija --- */
.quote-block {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 800px) {
  .quote-block {
    grid-template-columns: 0.95fr 1.15fr;
    gap: 4.5rem;
    align-items: center;
  }
}

.pull-quote {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.35;
  color: var(--forest);
  max-width: 16ch;
  margin: 0;
}

/* --- Path --- */
.path-intro {
  max-width: 42ch;
  margin-bottom: 0.5rem;
}

.path-grid {
  display: grid;
  gap: 0;
  margin-top: 3rem;
  border-top: 1px solid var(--line);
}

@media (min-width: 720px) {
  .path-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.path-step {
  padding: 2rem 0 0.5rem;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 720px) {
  .path-step {
    padding: 2.25rem 1.75rem 0.5rem 0;
    border-bottom: none;
    border-right: 1px solid var(--line);
  }
  .path-step:last-child {
    border-right: none;
    padding-right: 0;
  }
  .path-step:not(:first-child) {
    padding-left: 1.75rem;
  }
}

.path-num {
  font-family: var(--font-display);
  font-size: 3.1rem;
  font-weight: 500;
  line-height: 1;
  color: var(--forest);
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
  opacity: 0.88;
}

.path-step h3 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.65rem;
}

.path-step p {
  font-size: 1.12rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 28ch;
}

/* --- Kam tai --- */
.for-block {
  max-width: 640px;
}


.for-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.for-list li {
  position: relative;
  padding: 1.15rem 0 1.15rem 1.5rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--ink);
  max-width: 42ch;
}

.for-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--sage);
}

/* --- About (text only — portrait lives in hero) --- */
.about-section {
  padding: 4.5rem 0;
  background: var(--paper);
}

.about-copy {
  max-width: 40rem;
  margin-inline: auto;
}

.about-role {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--forest);
  margin: -0.35rem 0 1.25rem;
}

.about-copy .section-body {
  max-width: 38ch;
}

.about-copy .section-body + .section-body {
  margin-top: 0.9rem;
}

/* --- CTA band --- */
.cta-band {
  position: relative;
  padding: 5.5rem 0;
  text-align: center;
  background: var(--forest);
  color: var(--cream);
  overflow: hidden;
  max-width: 100%;
  /* contain paint so decorative layers can't widen the page on iOS */
  contain: paint;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 15% 25%, rgba(168, 184, 154, 0.2), transparent 55%),
    radial-gradient(ellipse 55% 65% at 90% 75%, rgba(0, 0, 0, 0.2), transparent 50%);
  pointer-events: none;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.045;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cta-band .container {
  position: relative;
  z-index: 1;
}

.cta-band .section-label {
  color: var(--cream);
  opacity: 0.85;
}

.cta-band .section-title {
  color: var(--cream);
  max-width: none;
  margin-inline: auto;
}

.cta-band .section-body {
  color: rgba(245, 242, 234, 0.78);
  margin-inline: auto;
  margin-bottom: 2rem;
}

.cta-seal {
  position: absolute;
  right: 6%;
  bottom: 8%;
  width: 110px;
  height: auto;
  opacity: 0.08;
  pointer-events: none;
  filter: brightness(2);
}

@media (max-width: 700px) {
  .cta-seal {
    display: none;
  }
}

/* --- Footer --- */
.site-footer {
  padding: 3.25rem 0 2.5rem;
  border-top: 1px solid var(--line);
  background: var(--cream);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}

.footer-brand-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .footer-brand-wrap {
    align-items: flex-start;
  }
}

.footer-logo {
  height: 64px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

.footer-meta {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
}

.footer-meta a {
  color: var(--muted);
}

.footer-meta a:hover {
  color: var(--forest);
}

.footer-copy {
  font-size: 0.95rem;
  color: var(--sage);
  margin-top: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.35rem;
  justify-content: center;
  margin-top: 1.75rem;
}

.footer-legal a {
  font-size: 0.95rem;
  color: var(--muted);
}

.footer-legal a:hover {
  color: var(--forest);
}

/* --- Legal pages --- */
.legal-page {
  padding: 2.5rem 0 4.5rem;
  min-height: calc(100svh - var(--nav-h));
}

.legal-content {
  max-width: 40rem;
}

.legal-content .section-title {
  max-width: none;
  margin-bottom: 0.5rem;
}

.legal-updated {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--forest);
  margin: 2.25rem 0 0.75rem;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.legal-content ul {
  margin: 0.75rem 0 1rem 1.15rem;
}

.legal-content li {
  margin-bottom: 0.4rem;
}

.legal-content a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-note {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.98rem;
}

.legal-table th,
.legal-table td {
  border: 1px solid var(--line);
  padding: 0.75rem 0.85rem;
  text-align: left;
  vertical-align: top;
  color: var(--muted);
}

.legal-table th {
  background: var(--cream-deep);
  color: var(--forest);
  font-weight: 600;
  font-size: 0.88rem;
}

.legal-table code {
  font-size: 0.9em;
  color: var(--forest);
}

button.linkish {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

button.linkish:hover {
  color: var(--sage);
}

/* --- Cookie banner --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 0.7rem 0.85rem calc(0.7rem + env(safe-area-inset-bottom, 0px));
  background: rgba(245, 242, 234, 0.97);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.cookie-banner-inner {
  width: min(var(--max), calc(100% - 0.5rem));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

@media (min-width: 720px) {
  .cookie-banner {
    padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
  }

  .cookie-banner-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
  }
}

.cookie-banner-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cookie-banner-copy p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.4;
  max-width: 48rem;
}

@media (min-width: 720px) {
  .cookie-banner-copy p {
    font-size: 0.95rem;
    line-height: 1.45;
  }
}

.cookie-banner-copy a {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-banner-actions .btn {
  flex: 1;
  min-height: 2.55rem;
  font-size: 0.95rem;
  padding-inline: 0.85rem;
  white-space: nowrap;
}

@media (min-width: 720px) {
  .cookie-banner-actions .btn {
    flex: 0 0 auto;
    min-height: 2.75rem;
    font-size: 1rem;
    padding-inline: 1.15rem;
  }
}

body.has-cookie-banner {
  padding-bottom: var(--cookie-banner-h, 8.5rem);
}

/* --- Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.85s var(--ease-out),
    transform 0.85s var(--ease-out);
}

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

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

/* --- Anketa page bits --- */
.anketa-page {
  min-height: calc(100svh - var(--nav-h));
  padding: 2.5rem 0 5rem;
}

.anketa-page.is-complete {
  min-height: 0;
  padding-top: 1.25rem;
  padding-bottom: 3.5rem;
}

.anketa-header {
  max-width: 560px;
  margin-bottom: 2.5rem;
  scroll-margin-top: calc(var(--nav-h) + 0.75rem);
}

.anketa-header .section-title {
  max-width: none;
}

.anketa-intro-row {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.anketa-thumb {
  width: 72px;
  height: 88px;
  object-fit: cover;
  object-position: center 15%;
  flex-shrink: 0;
  background: var(--mist);
}

.progress {
  height: 2px;
  background: var(--mist);
  margin-bottom: 2.5rem;
  overflow: hidden;
  scroll-margin-top: calc(var(--nav-h) + 0.75rem);
}

.progress-bar {
  height: 100%;
  background: var(--sage);
  width: 0%;
  transition: width 0.35s var(--ease);
}

.anketa-form {
  max-width: 560px;
}

.step {
  display: none;
}

.step.is-active {
  display: block;
  animation: stepIn 0.35s var(--ease);
  scroll-margin-top: calc(var(--nav-h) + 0.75rem);
}

@keyframes stepIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 500;
  color: var(--forest);
  margin-bottom: 0.5rem;
}

.step-hint {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
}

.field {
  margin-bottom: 1.5rem;
}

.field label,
.field-label {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.55rem;
}

.field-hint {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--muted);
  margin-top: 0.25rem;
}

input[type="text"],
input[type="email"],
input[type="number"],
textarea,
select {
  width: 100%;
  font-family: inherit;
  font-size: 1.1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease);
}

input:hover,
textarea:hover,
select:hover {
  border-color: var(--sage);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--forest);
  outline: none;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.choice-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.choice {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0.95rem 1.1rem;
  min-height: 3.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  cursor: pointer;
  transition:
    border-color 0.15s var(--ease),
    background 0.15s var(--ease),
    box-shadow 0.15s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.choice:hover {
  border-color: var(--sage);
}

.choice:has(input:checked) {
  border-color: var(--forest);
  background: rgba(74, 82, 64, 0.05);
  box-shadow: inset 0 0 0 1px rgba(74, 82, 64, 0.12);
}

.choice:has(input:focus-visible) {
  outline: 2px solid var(--forest);
  outline-offset: 2px;
}

.choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.choice span {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
  line-height: 1.35;
  color: var(--ink);
  width: 100%;
}

.choice span::before {
  content: "";
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  box-sizing: border-box;
  border: 1.5px solid rgba(74, 82, 64, 0.4);
  background: var(--cream);
  transition:
    border-color 0.15s var(--ease),
    background 0.15s var(--ease),
    box-shadow 0.15s var(--ease);
}

.choice input[type="checkbox"] + span::before {
  border-radius: 3px;
}

.choice input[type="radio"] + span::before {
  border-radius: 50%;
}

.choice input[type="checkbox"]:checked + span::before {
  border-color: var(--forest);
  background-color: var(--forest);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.2l3 3.1 6-6.4' stroke='%23f5f2ea' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.85rem;
}

.choice input[type="radio"]:checked + span::before {
  border-color: var(--forest);
  background:
    radial-gradient(circle at center, var(--forest) 0 0.32rem, transparent 0.34rem),
    var(--cream);
  box-shadow: inset 0 0 0 1px rgba(74, 82, 64, 0.08);
}
.choice.consent-choice {
  align-items: flex-start;
  min-height: auto;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.choice.consent-choice span {
  align-items: flex-start;
  line-height: 1.45;
  white-space: normal;
}

.choice.consent-choice span::before {
  margin-top: 0.15rem;
}

.consent-field a {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 2px;
}


.range-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.range-row input[type="range"] {
  flex: 1;
  accent-color: var(--forest);
}

.range-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--forest);
  min-width: 2ch;
  text-align: center;
}

.yn-group {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.yn-group label {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.15rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--ink);
  -webkit-tap-highlight-color: transparent;
  transition:
    border-color 0.15s var(--ease),
    background 0.15s var(--ease),
    color 0.15s var(--ease);
}

.yn-group label:hover {
  border-color: var(--sage);
}

.yn-group label:has(input:checked) {
  border-color: var(--forest);
  background: rgba(74, 82, 64, 0.06);
  color: var(--forest);
  box-shadow: inset 0 0 0 1px rgba(74, 82, 64, 0.12);
}

.yn-group label:has(input:focus-visible) {
  outline: 2px solid var(--forest);
  outline-offset: 2px;
}

.yn-group input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.yn-group label span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.yn-group label span::before {
  content: "";
  width: 1.1rem;
  height: 1.1rem;
  box-sizing: border-box;
  border: 1.5px solid rgba(74, 82, 64, 0.4);
  border-radius: 50%;
  background: var(--cream);
  flex-shrink: 0;
}

.yn-group label:has(input:checked) span::before {
  border-color: var(--forest);
  background:
    radial-gradient(circle at center, var(--forest) 0 0.28rem, transparent 0.3rem),
    var(--cream);
}

.conditional {
  display: none;
  margin-top: 0.5rem;
}

.conditional.is-open {
  display: block;
}

.step-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.btn-text {
  background: none;
  color: var(--muted);
  padding: 0.9rem 1rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.1rem;
}

.btn-text:hover {
  color: var(--forest);
}

.privacy-note {
  font-size: 1rem;
  color: var(--muted);
  margin-top: 1.5rem;
  line-height: 1.5;
}

.thank-you {
  display: none;
  max-width: 480px;
  padding: 0.35rem 0 2rem;
}

.thank-you.is-visible {
  display: block;
  animation: stepIn 0.4s var(--ease);
}

.thank-you[tabindex="-1"]:focus {
  outline: none;
}

.thank-you h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 2.8rem);
  font-weight: 500;
  color: var(--forest);
  margin-bottom: 1rem;
}

.thank-you p {
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.65;
  font-size: 1.12rem;
}

.thank-you .thank-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream);
}

.thank-you .thank-check svg {
  width: 1.35rem;
  height: 1.35rem;
}

.form-error {
  display: none;
  color: #8b3a3a;
  font-size: 1.05rem;
  margin-top: 1rem;
}

.form-error.is-visible {
  display: block;
}

@media (max-width: 899px) {
  body {
    font-size: 17.5px;
  }

  .container {
    width: min(var(--max), calc(100% - 2rem));
  }

  :root {
    --nav-h: 72px;
  }

  .site-nav {
    min-height: var(--nav-h);
    padding-top: env(safe-area-inset-top, 0);
  }

  .site-nav .container {
    width: min(var(--max), calc(100% - 2rem));
    min-height: calc(var(--nav-h) - 2px);
  }

  .logo-img {
    height: 50px;
    max-width: 138px;
  }

  .nav-mobile {
    padding: 0.65rem 1.15rem calc(1.1rem + env(safe-area-inset-bottom, 0px));
  }

  .nav-mobile a {
    display: block;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.12rem;
  }

  .nav-mobile li:last-child a {
    border-bottom: none;
    font-weight: 600;
    color: var(--forest);
  }

  .nav-toggle {
    display: flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  /* Instant hero on mobile - no delayed fade that feels like lag */
  .hero-eyebrow,
  .hero-tagline,
  .hero-support,
  .hero-calm,
  .hero-quote,
  .hero-actions {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .hero-support,
  .hero-calm,
  .hero-quote {
    display: none;
  }

  /* Hero: content height only on mobile (no forced empty band after CTA) */
  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    justify-content: flex-start;
    padding-top: 1.5rem;
    padding-bottom: 1.75rem;
  }

  .hero-copy {
    order: 1;
    padding: 0.35rem 1.15rem 0;
    padding-left: max(1.15rem, env(safe-area-inset-left, 0px));
    padding-right: max(1.15rem, env(safe-area-inset-right, 0px));
    max-width: none;
    width: auto;
    margin-inline: 0;
  }

  .hero-panel {
    display: none;
  }

  /* Hero opens on the line itself - role lives on desktop only */
  .hero-eyebrow {
    display: none;
  }

  .hero-support {
    display: none;
  }

  .hero-tagline {
    font-size: clamp(2.15rem, 9vw, 2.55rem);
    max-width: 12ch;
    margin-bottom: 1.5rem;
    line-height: 1.08;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    width: 100%;
  }

  .hero-actions .btn-primary,
  .hero-actions .hero-link-secondary {
    width: 100%;
    min-height: 3.15rem;
    font-size: 1.05rem;
    padding-inline: 1.1rem;
    justify-content: center;
    text-align: center;
  }

  .hero-actions .hero-link-secondary {
    margin-top: 0;
    background: transparent;
    border: 1.5px solid var(--forest);
    color: var(--forest);
    font-weight: 600;
    box-shadow: none;
  }

  .hero-actions .hero-link-secondary:hover {
    color: var(--paper);
    background: var(--forest);
    border-color: var(--forest);
    transform: none;
  }

  /* Hide legacy strip if present */
  .values-strip {
    display: none;
  }

  #poziuris {
    padding-top: 2.75rem;
  }

  .invite-section {
    padding: 3.5rem 0;
  }

  .invite-section .btn {
    width: 100%;
    min-height: 3.15rem;
  }

  .contact-block .btn {
    width: 100%;
    min-height: 3.15rem;
  }

  .value-card {
    padding: 1.25rem 1.15rem;
  }

  .section {
    padding: 2.85rem 0;
  }

  .section-label {
    font-size: 0.78rem;
    margin-bottom: 0.75rem;
  }

  .section-title {
    font-size: clamp(1.75rem, 6.5vw, 2.2rem);
    max-width: 14ch;
    margin-bottom: 1rem;
  }

  .section-body {
    font-size: 1.08rem;
    max-width: none;
    line-height: 1.6;
  }

  .divider {
    margin: 1.35rem 0 1.5rem;
  }

  .path-grid {
    margin-top: 1.65rem;
  }

  .path-step {
    padding: 1.25rem 0 1.1rem;
  }

  .path-num {
    font-size: 2.45rem;
    margin-bottom: 0.55rem;
  }

  .path-step h3 {
    font-size: 1.55rem;
  }

  .path-step p {
    font-size: 1.05rem;
    max-width: none;
  }

  .for-list li {
    font-size: 1.08rem;
    padding: 1.05rem 0 1.05rem 1.4rem;
  }

  .about-section {
    padding: 2.85rem 0;
  }

  .about-copy {
    padding-inline: 0;
  }

  .cta-band {
    padding: 3.25rem 0 calc(3.25rem + env(safe-area-inset-bottom, 0px));
  }

  .cta-band .section-title {
    font-size: clamp(1.75rem, 6.5vw, 2.2rem);
  }

  .cta-band .section-body {
    font-size: 1.06rem;
    margin-bottom: 1.5rem;
  }

  .cta-band .btn {
    width: 100%;
    max-width: 300px;
    min-height: 3.2rem;
  }

  .site-footer {
    padding: 2.15rem 0 calc(1.85rem + env(safe-area-inset-bottom, 0px));
  }

  .footer-logo {
    height: 64px;
    max-width: 110px;
  }

  .footer-meta {
    font-size: 1.02rem;
  }

  .anketa-page {
    padding: 1.5rem 0 calc(3rem + env(safe-area-inset-bottom, 0px));
  }

  .anketa-intro-row {
    flex-direction: row;
    gap: 0.9rem;
  }

  .anketa-thumb {
    width: 58px;
    height: 72px;
  }

  .step-title {
    font-size: 1.45rem;
  }

  .step-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .step-nav .btn-primary {
    order: 1;
    width: 100%;
    min-height: 3.15rem;
  }

  .step-nav .btn-text {
    order: 2;
    width: 100%;
    text-align: center;
    min-height: 2.75rem;
  }

  input[type="text"],
  input[type="email"],
  input[type="number"],
  textarea,
  select {
    font-size: 16px;
  }

  .choice {
    padding: 1.05rem 1.15rem;
    min-height: 3.35rem;
  }

  .choice span {
    font-size: 1.08rem;
    gap: 1rem;
  }

  .choice span::before {
    width: 1.4rem;
    height: 1.4rem;
  }

  .yn-group label {
    min-height: 3.25rem;
    font-size: 1.08rem;
  }

  .choice-list {
    gap: 0.6rem;
  }
}

/* Extra-tight phones */
@media (max-width: 379px) {
  .hero-tagline {
    font-size: 1.85rem;
  }

  .hero-actions .btn {
    font-size: 1rem;
  }
}

/* Phones / touch: skip scroll reveals + sticky blur (iOS compositor lag) */
@media (max-width: 899px), (hover: none) and (pointer: coarse) {
  .site-nav {
    background: var(--cream);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .cookie-banner {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .reveal,
  .reveal-delay-1,
  .reveal-delay-2 {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

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

  .hero-eyebrow,
  .hero-tagline,
  .hero-support,
  .hero-actions {
    opacity: 1;
    transform: none;
  }

  .hero-mark {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
