:root {
  --bg: #f8f5ee;
  --paper: #fffdf9;
  --cream: #efe9de;
  --forest: #12382b;
  --forest-2: #194635;
  --sage: #d8e3d4;
  --sage-2: #ebf0e7;
  --muted: #68796f;
  --ink: #18352a;
  --line: rgba(18, 56, 43, 0.12);
  --line-light: rgba(255,255,255,.14);
  --shadow: 0 30px 80px rgba(18,56,43,.10);
  --shadow-soft: 0 16px 42px rgba(18,56,43,.07);
  --radius: 28px;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 85% 12%, rgba(216,227,212,.38), transparent 25rem),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248,245,238,.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(18,56,43,.035);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 750;
  letter-spacing: -.035em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--forest);
  color: white;
  font-family: Georgia, serif;
  font-style: italic;
  box-shadow: 0 8px 20px rgba(18,56,43,.14);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}

.nav-links > a:not(.button) {
  color: var(--muted);
  transition: color .18s ease;
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  margin: 6px auto;
  background: var(--forest);
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 25px;
  border-radius: 999px;
  background: var(--forest);
  color: white;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(18,56,43,.12);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--forest-2);
  box-shadow: 0 14px 34px rgba(18,56,43,.16);
}

.button-small {
  min-height: 42px;
  padding-inline: 18px;
}

.button-light {
  background: white;
  color: var(--forest);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.text-link span {
  transition: transform .18s ease;
}

.text-link:hover span {
  transform: translateX(5px);
}

/* Global typography */

.eyebrow {
  margin: 0 0 18px;
  color: #809785;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .19em;
}

.hero h1,
.section h2,
.statement h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.047em;
  line-height: .98;
}

.section {
  padding: 124px 0;
}

/* Hero */

.hero {
  min-height: calc(100vh - 82px);
  padding: 82px 0 100px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 80px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(58px, 7.3vw, 104px);
}

.hero h1 em {
  display: block;
  color: #8aa28d;
  font-weight: 400;
}

.hero-lead {
  max-width: 600px;
  margin: 30px 0 34px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero-note {
  position: relative;
  max-width: 590px;
  display: flex;
  gap: 18px;
  margin-top: 54px;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
}

.hero-note p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-note-mark {
  color: #819786;
  font-family: Georgia, serif;
  font-size: 18px;
}

.hero-visual {
  position: relative;
  min-height: 580px;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(216,227,212,.55);
  filter: blur(2px);
}

.hero-card {
  position: relative;
  z-index: 2;
  width: min(400px, 88%);
  aspect-ratio: .76;
  padding: 44px;
  border-radius: 200px 200px 38px 38px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.03), transparent 40%),
    var(--forest);
  color: white;
  box-shadow: 0 40px 90px rgba(18,56,43,.20);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-card > span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  opacity: .72;
}

.hero-card strong {
  font-family: Georgia, serif;
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 400;
  line-height: .93;
  letter-spacing: -.045em;
}

.hero-card small {
  max-width: 190px;
  color: rgba(255,255,255,.64);
}

.hero-orbit {
  position: absolute;
  border: 1px dashed rgba(18,56,43,.12);
  border-radius: 50%;
}

.hero-orbit-one {
  width: 520px;
  height: 520px;
}

.hero-orbit-two {
  width: 650px;
  height: 650px;
}

/* Manifesto */

.statement {
  padding: 110px 0;
  background:
    linear-gradient(120deg, rgba(255,255,255,.18), transparent),
    var(--cream);
}

.statement-grid {
  display: grid;
  grid-template-columns: 70px 1.25fr .7fr;
  gap: 54px;
  align-items: start;
}

.section-number {
  margin: 10px 0 0;
  color: #8aa08f;
  font-size: 12px;
  font-weight: 700;
}

.statement h2 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(46px, 6vw, 78px);
}

.statement-grid > p:last-child {
  margin: 13px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

/* Section headings */

.section-heading {
  display: grid;
  grid-template-columns: 1fr .65fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 58px;
}

.section-heading h2,
.book-copy h2,
.split-grid h2,
.about-copy h2,
.contact h2 {
  margin: 0;
  font-size: clamp(44px, 5vw, 70px);
}

.section-heading > p,
.book-copy > p,
.split-grid article > p,
.about-copy > p,
.contact-grid > div > p {
  color: var(--muted);
  line-height: 1.75;
}

/* Program */

.program-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 310px;
  border-radius: 34px;
  background: var(--forest);
  color: white;
  box-shadow: var(--shadow);
}

.program-main {
  padding: 66px;
  background:
    radial-gradient(circle at 0 100%, rgba(255,255,255,.06), transparent 40%),
    var(--forest);
}

.program-label {
  display: inline-flex;
  margin: 0 0 58px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  color: rgba(255,255,255,.65);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
}

.program-main h3 {
  max-width: 710px;
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(40px, 4.4vw, 64px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.045em;
}

.program-main > p {
  max-width: 660px;
  margin: 28px 0 34px;
  color: rgba(255,255,255,.68);
}

.program-price {
  min-height: 100%;
  padding: 46px;
  background:
    linear-gradient(150deg, rgba(255,255,255,.25), transparent),
    var(--sage);
  color: var(--forest);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.program-price span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.program-price strong {
  margin-top: 10px;
  font-family: Georgia, serif;
  font-size: 62px;
  font-weight: 400;
  line-height: 1;
}

.program-price p {
  margin: 8px 0 0;
  color: var(--muted);
}

/* Book */

.section-soft {
  background:
    linear-gradient(180deg, rgba(216,227,212,.26), rgba(239,233,222,.44));
}

.book-grid {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 96px;
  align-items: center;
}

.book-cover {
  position: relative;
  min-height: 530px;
  max-width: 440px;
  padding: 42px;
  overflow: hidden;
  border-radius: 34px 130px 34px 34px;
  background:
    radial-gradient(circle at 0 100%, rgba(255,255,255,.4), transparent 45%),
    var(--sage);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.book-cover::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(18,56,43,.14);
  border-radius: 50%;
}

.book-cover span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
}

.book-cover h3 {
  margin: auto 0;
  max-width: 300px;
  font-family: Georgia, serif;
  font-size: clamp(44px, 5vw, 66px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.045em;
}

.book-cover p {
  margin: 0;
  color: var(--muted);
}

.clean-list {
  list-style: none;
  margin: 34px 0;
  padding: 0;
}

.clean-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.clean-list li::before {
  content: "↳";
  margin-right: 12px;
  color: #819986;
}

.price-row {
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.price-row > div {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  column-gap: 10px;
}

.price-row span {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.price-row strong {
  font-family: Georgia, serif;
  font-size: 42px;
  font-weight: 400;
}

.price-row del {
  color: var(--muted);
}

/* Retreat cards */

.cards-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.experience-card {
  min-height: 390px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,253,249,.75);
  box-shadow: 0 1px 0 rgba(255,255,255,.6);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.experience-card:hover {
  transform: translateY(-6px);
  background: white;
  box-shadow: var(--shadow-soft);
}

.experience-card > span {
  color: #88a08e;
  font-size: 11px;
  font-weight: 800;
}

.experience-card h3 {
  margin: 72px 0 18px;
  max-width: 280px;
  font-family: Georgia, serif;
  font-size: 38px;
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.04em;
}

.experience-card p {
  color: var(--muted);
}

.experience-card strong {
  margin-top: auto;
  padding-top: 30px;
  font-size: 15px;
}

.section-cta {
  margin-top: 42px;
  text-align: center;
}

/* Consultation / training */

.split-section {
  background:
    radial-gradient(circle at 100% 0, rgba(255,255,255,.045), transparent 35%),
    var(--forest);
  color: white;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.split-grid article {
  padding: 30px 74px 30px 0;
}

.split-grid article + article {
  padding-left: 74px;
  padding-right: 0;
  border-left: 1px solid var(--line-light);
}

.split-grid article > p {
  color: rgba(255,255,255,.63);
}

.split-grid .eyebrow {
  color: #a8c0ad;
}

.service-meta {
  margin: 48px 0 25px;
  display: flex;
  flex-direction: column;
}

.service-meta strong {
  font-family: Georgia, serif;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -.03em;
}

.service-meta span {
  color: rgba(255,255,255,.55);
  font-size: 12px;
}

/* About */

.about {
  background:
    radial-gradient(circle at 5% 0, rgba(255,255,255,.4), transparent 30%),
    var(--sage);
}

.about-grid {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 100px;
  align-items: center;
}

.about-visual {
  position: relative;
  min-height: 510px;
  padding: 42px;
  border-radius: 220px 220px 32px 32px;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.about-number {
  font-family: Georgia, serif;
  font-size: clamp(125px, 15vw, 195px);
  line-height: .78;
  letter-spacing: -.09em;
}

.about-visual p {
  max-width: 230px;
  margin: 38px 0 0;
  color: var(--muted);
}

.about-copy > p {
  max-width: 700px;
  font-size: 16px;
}

.about-copy > p + p {
  margin-top: 20px;
}

/* Contact */

.contact {
  padding-bottom: 90px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr .82fr;
  gap: 100px;
  align-items: start;
}

.contact-card {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,253,249,.82);
  box-shadow: var(--shadow-soft);
}

.contact-card span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .16em;
}

.contact-card > a {
  display: block;
  margin-top: 8px;
  font-family: Georgia, serif;
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.1;
}

.contact-divider {
  height: 1px;
  margin: 30px 0;
  background: var(--line);
}


/* Contact form */

.contact-form {
  display: grid;
  gap: 20px;
  margin-top: 34px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: #17392c;
  font: inherit;
  font-size: 15px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 2px;
}

.contact-form .button {
  justify-self: start;
  cursor: pointer;
}

.contact-privacy {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.contact-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 680px) {
  .contact-form-row {
    grid-template-columns: 1fr;
  }
}

/* Disclaimer + footer */

.medical-note {
  padding: 30px 0;
  background: var(--cream);
  color: var(--muted);
  font-size: 12px;
}

.medical-note p {
  max-width: 900px;
  margin: 0;
}

footer {
  padding: 34px 0;
  background: var(--forest);
  color: white;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  font-size: 13px;
}

footer .brand-mark {
  background: white;
  color: var(--forest);
}

footer p {
  color: rgba(255,255,255,.55);
}

/* Responsive */

@media (max-width: 980px) {
  .hero-grid,
  .statement-grid,
  .section-heading,
  .program-card,
  .book-grid,
  .split-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .book-grid,
  .about-grid,
  .contact-grid {
    gap: 64px;
  }

  .hero {
    padding-top: 55px;
  }

  .hero-visual {
    min-height: 510px;
  }

  .statement-grid,
  .section-heading {
    gap: 24px;
  }

  .program-price {
    min-height: 230px;
  }

  .cards-three {
    grid-template-columns: 1fr;
  }

  .experience-card {
    min-height: 300px;
  }

  .experience-card h3 {
    margin-top: 44px;
  }

  .split-grid article,
  .split-grid article + article {
    padding: 52px 0;
  }

  .split-grid article + article {
    border-left: 0;
    border-top: 1px solid var(--line-light);
  }

  .book-cover {
    max-width: 520px;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 82px;
    left: 18px;
    right: 18px;
    display: none;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255,253,249,.98);
    box-shadow: var(--shadow-soft);
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links.open {
    display: flex;
  }

  .section {
    padding: 88px 0;
  }

  .hero-card {
    width: min(380px, 84%);
  }
}

@media (max-width: 580px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .nav {
    min-height: 72px;
  }

  .nav-links {
    top: 72px;
  }

  .hero {
    min-height: auto;
    padding: 48px 0 76px;
  }

  .hero h1 {
    font-size: 49px;
  }

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

  .hero-actions,
  .price-row,
  .footer-grid {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 430px;
  }

  .hero-card {
    width: 82%;
    padding: 30px;
  }

  .hero-orbit-one {
    width: 340px;
    height: 340px;
  }

  .hero-orbit-two {
    width: 410px;
    height: 410px;
  }

  .statement {
    padding: 76px 0;
  }

  .program-main,
  .program-price {
    padding: 34px;
  }

  .program-label {
    margin-bottom: 38px;
  }

  .book-cover {
    min-height: 430px;
  }

  .about-visual {
    min-height: 420px;
  }

  .contact-card {
    padding: 28px;
  }

  .contact-card > a {
    word-break: break-word;
  }

  .footer-grid {
    align-items: flex-start;
  }
}

/* === UI V2 PATCH 2 === */

.hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 4px;
  color: var(--forest);
  font-size: 14px;
  font-weight: 700;
}

.hero-secondary span {
  transition: transform .18s ease;
}

.hero-secondary:hover span {
  transform: translateX(5px);
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 30px;
}

.hero-chips span {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,253,249,.66);
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

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

.quick-heading {
  margin-bottom: 44px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.quick-card {
  min-height: 350px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}

.quick-card:hover {
  transform: translateY(-5px);
  background: white;
  box-shadow: var(--shadow-soft);
}

.quick-card-featured {
  background: var(--forest);
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-soft);
}

.quick-card-featured:hover {
  background: var(--forest-2);
}

.quick-card > span {
  color: #899e8e;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}

.quick-card h3 {
  margin: 50px 0 16px;
  font-family: Georgia, serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.04em;
}

.quick-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.quick-card-featured p {
  color: rgba(255,255,255,.66);
}

.quick-card strong {
  margin-top: auto;
  padding-top: 28px;
  font-size: 20px;
}

.quick-card strong small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.quick-card-featured strong small {
  color: rgba(255,255,255,.55);
}

.quick-card b {
  margin-top: 12px;
  font-size: 13px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 36px;
}

.proof-grid > div {
  padding: 18px;
  border: 1px solid rgba(18,56,43,.10);
  border-radius: 18px;
  background: rgba(255,255,255,.42);
}

.proof-grid strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.proof-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

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

@media (max-width: 700px) {
  .quick-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .quick-card {
    min-height: 290px;
  }

  .quick-card h3 {
    margin-top: 32px;
  }

  .hero-secondary {
    min-height: auto;
    padding: 10px 0;
  }

  .hero-chips {
    margin-top: 24px;
  }
}

/* === UI PATCH 3 PREMIUM POLISH === */

body {
  background:
    radial-gradient(circle at 78% 16%, rgba(216,227,212,.34), transparent 26rem),
    radial-gradient(circle at 18% 0%, rgba(255,255,255,.46), transparent 22rem),
    var(--bg);
}

.container {
  width: min(calc(100% - 56px), 1220px);
}

.site-header {
  background: rgba(248,245,238,.92);
  backdrop-filter: blur(20px);
}

.nav {
  min-height: 86px;
}

.brand {
  gap: 14px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  box-shadow: 0 10px 24px rgba(18,56,43,.16);
}

.nav-links {
  gap: 30px;
}

.nav-links > a:not(.button) {
  font-weight: 600;
  letter-spacing: -.01em;
}

.button {
  min-height: 54px;
  padding: 0 26px;
  box-shadow: 0 14px 32px rgba(18,56,43,.12);
}

.button-small {
  min-height: 44px;
}

.hero {
  min-height: auto;
  padding: 54px 0 86px;
}

.hero-grid {
  grid-template-columns: minmax(0, .97fr) minmax(360px, .83fr);
  gap: 72px;
  align-items: center;
}

.hero h1 {
  max-width: 620px;
  font-size: clamp(54px, 6.3vw, 88px);
  line-height: .90;
  letter-spacing: -.055em;
}

.hero h1 em {
  max-width: 560px;
  margin-top: 8px;
}

.hero-lead {
  max-width: 540px;
  margin: 28px 0 28px;
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  gap: 18px;
}

.hero-secondary {
  min-height: 54px;
  padding: 0 4px;
  color: var(--forest);
  font-size: 14px;
  font-weight: 700;
}

.hero-chips {
  margin-top: 26px;
  gap: 10px;
}

.hero-chips span {
  padding: 10px 14px;
  border-color: rgba(18,56,43,.10);
  background: rgba(255,255,255,.72);
  color: var(--muted);
  font-size: 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.hero-note {
  max-width: 520px;
  margin-top: 38px;
  padding-top: 18px;
}

.hero-note p {
  line-height: 1.7;
}

.hero-visual {
  min-height: 560px;
}

.hero-visual::before {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(216,227,212,.62) 0%, rgba(216,227,212,.26) 46%, transparent 72%);
  filter: blur(0);
}

.hero-orbit-one {
  width: 500px;
  height: 500px;
  opacity: .9;
}

.hero-orbit-two {
  width: 620px;
  height: 620px;
  opacity: .65;
}

.hero-card {
  width: min(390px, 100%);
  aspect-ratio: .78;
  padding: 46px 38px 34px;
  border-radius: 210px 210px 30px 30px;
  box-shadow:
    0 44px 90px rgba(18,56,43,.20),
    0 12px 30px rgba(18,56,43,.10);
}

.hero-card strong {
  font-size: clamp(54px, 5vw, 76px);
  line-height: .91;
}

.hero-card small {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,.70);
}

.statement {
  padding: 100px 0;
}

.statement-grid {
  grid-template-columns: 60px 1.1fr .9fr;
  gap: 42px;
}

.statement h2 {
  max-width: 640px;
  font-size: clamp(44px, 5vw, 66px);
  line-height: .98;
}

.section {
  padding: 106px 0;
}

.section-heading {
  grid-template-columns: 1fr .62fr;
  gap: 56px;
  margin-bottom: 42px;
}

.section-heading h2,
.book-copy h2,
.split-grid h2,
.about-copy h2,
.contact h2 {
  font-size: clamp(40px, 4.8vw, 62px);
  line-height: .98;
}

.quick-section {
  padding-top: 92px;
  padding-bottom: 106px;
}

.quick-heading {
  margin-bottom: 34px;
}

.quick-grid {
  gap: 18px;
}

.quick-card {
  min-height: 320px;
  padding: 28px;
  border-radius: 24px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(18,56,43,.10);
  box-shadow: 0 10px 30px rgba(18,56,43,.05);
}

.quick-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(18,56,43,.10);
}

.quick-card-featured {
  background:
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0)),
    var(--forest);
}

.quick-card h3 {
  margin: 38px 0 14px;
  font-size: 30px;
  line-height: .98;
}

.quick-card p {
  font-size: 14px;
  line-height: 1.7;
}

.quick-card strong {
  padding-top: 22px;
  font-size: 19px;
}

.program-card {
  border-radius: 36px;
  grid-template-columns: 1fr 300px;
  box-shadow: 0 26px 70px rgba(18,56,43,.14);
}

.program-main {
  padding: 58px;
}

.program-main h3 {
  font-size: clamp(38px, 4vw, 56px);
}

.program-main > p {
  margin: 24px 0 30px;
  line-height: 1.8;
}

.program-price {
  padding: 38px;
}

.program-price strong {
  font-size: 56px;
}

.book-grid {
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
}

.book-cover {
  min-height: 500px;
  border-radius: 34px 110px 34px 34px;
}

.book-cover h3 {
  max-width: 280px;
  font-size: clamp(42px, 4.8vw, 60px);
}

.price-row {
  margin-top: 32px;
  padding-top: 22px;
}

.cards-three {
  gap: 18px;
}

.experience-card {
  min-height: 350px;
  padding: 30px;
  border-radius: 24px;
}

.experience-card h3 {
  margin: 50px 0 16px;
  font-size: 32px;
}

.experience-card p {
  line-height: 1.72;
}

.split-section {
  background:
    radial-gradient(circle at 100% 0, rgba(255,255,255,.04), transparent 40%),
    linear-gradient(180deg, #123629 0%, #173d2f 100%);
}

.split-grid article {
  padding: 20px 58px 20px 0;
}

.split-grid article + article {
  padding-left: 58px;
}

.service-meta {
  margin: 34px 0 18px;
}

.about {
  background:
    radial-gradient(circle at 5% 0, rgba(255,255,255,.45), transparent 30%),
    linear-gradient(180deg, #d7e1d2 0%, #d2ddce 100%);
}

.about-grid {
  gap: 72px;
}

.about-visual {
  min-height: 470px;
  padding: 34px;
  border-radius: 210px 210px 26px 26px;
}

.about-number {
  font-size: clamp(112px, 13vw, 172px);
}

.about-visual p {
  margin-top: 28px;
}

.proof-grid {
  gap: 14px;
  margin-top: 30px;
}

.proof-grid > div {
  padding: 18px;
  border-radius: 16px;
  background: rgba(255,255,255,.58);
}

.contact {
  padding-bottom: 86px;
}

.contact-grid {
  grid-template-columns: 1fr .78fr;
  gap: 72px;
}

.contact-card {
  padding: 34px;
  border-radius: 24px;
}

.contact-card > a {
  font-size: clamp(25px, 2.6vw, 36px);
}

.medical-note {
  padding: 24px 0;
}

footer {
  padding: 28px 0;
}

@media (max-width: 1080px) {
  .hero-grid,
  .statement-grid,
  .section-heading,
  .book-grid,
  .about-grid,
  .contact-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 56px;
  }

  .hero-visual {
    min-height: 480px;
  }

  .hero-card {
    margin: 0 auto;
  }

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

  .statement-grid {
    gap: 22px;
  }

  .split-grid article,
  .split-grid article + article {
    padding: 42px 0 0;
  }

  .split-grid article + article {
    border-left: 0;
    border-top: 1px solid var(--line-light);
    margin-top: 24px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 30px), 1220px);
  }

  .nav-links {
    top: 82px;
  }

  .hero {
    padding: 34px 0 70px;
  }

  .hero h1 {
    font-size: 50px;
  }

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

  .hero-actions,
  .price-row,
  .footer-grid {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .button-small {
    width: 100%;
  }

  .hero-secondary {
    min-height: auto;
    padding: 8px 0 0;
  }

  .hero-visual {
    min-height: 390px;
  }

  .hero-visual::before {
    width: 320px;
    height: 320px;
  }

  .hero-orbit-one {
    width: 320px;
    height: 320px;
  }

  .hero-orbit-two {
    width: 390px;
    height: 390px;
  }

  .hero-card {
    width: min(320px, 100%);
    padding: 34px 28px 28px;
  }

  .quick-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .program-main,
  .program-price,
  .contact-card {
    padding: 28px;
  }

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

  .book-cover {
    min-height: 400px;
  }

  .about-visual {
    min-height: 390px;
  }
}

/* === HERO EDITORIAL REBUILD === */

.hero-visual {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual::before {
  display: none;
}

.hero-editorial {
  position: relative;
  width: min(100%, 500px);
  min-height: 520px;
}

.hero-editorial::before {
  content: "";
  position: absolute;
  inset: 42px 28px 18px 60px;
  border-radius: 36px;
  background: var(--sage);
  opacity: .52;
  transform: rotate(4deg);
}

.hero-editorial-card {
  position: absolute;
  z-index: 2;
  inset: 0 48px 54px 0;
  padding: 34px;
  border: 1px solid rgba(18,56,43,.10);
  border-radius: 30px;
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.96),
      rgba(252,249,242,.93)
    );
  box-shadow:
    0 32px 70px rgba(18,56,43,.10),
    inset 0 1px 0 rgba(255,255,255,.9);
  display: flex;
  flex-direction: column;
}

.hero-editorial-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #829487;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .17em;
}

.hero-editorial-copy {
  margin: auto 0;
  max-width: 360px;
}

.hero-editorial-copy p {
  margin: 0 0 14px;
  color: #819287;
  font-size: 14px;
}

.hero-editorial-copy strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(39px, 4.1vw, 57px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.045em;
  color: var(--forest);
}

.hero-editorial-footer {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}

.hero-proof {
  position: absolute;
  z-index: 4;
  min-width: 140px;
  padding: 18px 20px;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(18,56,43,.12);
}

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

.hero-proof strong {
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}

.hero-proof span {
  margin-top: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
}

.hero-proof-one {
  top: 38px;
  right: 0;
  background: var(--forest);
  color: white;
}

.hero-proof-one span {
  color: rgba(255,255,255,.62);
}

.hero-proof-two {
  right: 22px;
  bottom: 0;
  background: #e6ecdf;
  color: var(--forest);
}

.hero-proof-two span {
  color: var(--muted);
}

.hero-accent {
  position: absolute;
  z-index: 3;
  width: 72px;
  height: 72px;
  left: -30px;
  bottom: 100px;
  border: 1px solid rgba(18,56,43,.13);
  border-radius: 50% 50% 50% 8px;
  transform: rotate(-28deg);
}

@media (max-width: 1080px) {
  .hero-visual {
    min-height: 520px;
  }

  .hero-editorial {
    width: min(100%, 520px);
  }
}

@media (max-width: 760px) {
  .hero-visual {
    min-height: 465px;
    margin-top: 12px;
  }

  .hero-editorial {
    min-height: 430px;
  }

  .hero-editorial-card {
    inset: 0 26px 42px 0;
    padding: 26px;
  }

  .hero-editorial::before {
    inset: 32px 10px 12px 36px;
  }

  .hero-editorial-copy strong {
    font-size: 38px;
  }

  .hero-proof {
    min-width: 120px;
    padding: 15px 17px;
  }

  .hero-proof strong {
    font-size: 24px;
  }

  .hero-proof-one {
    top: 25px;
  }

  .hero-proof-two {
    right: 10px;
  }

  .hero-accent {
    display: none;
  }
}

/* === UI PATCH 4: premium structure cleanup === */

/* Put support texts under headings instead of floating right */
.quick-heading,
#programm .section-heading,
#retriidid .section-heading {
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 760px;
  margin-bottom: 34px;
}

.quick-heading > p,
#programm .section-heading > p,
#retriidid .section-heading > p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

/* tighten section rhythm */
.quick-section,
#programm.section,
#retriidid.section {
  padding-top: 88px;
}

/* better cards proportions */
.quick-grid {
  gap: 20px;
}

.quick-card {
  min-height: 300px;
  padding: 30px;
  border-radius: 26px;
}

.quick-card h3 {
  margin: 34px 0 14px;
  max-width: 220px;
  font-size: 28px;
}

.quick-card p {
  max-width: 240px;
}

.program-card {
  margin-top: 8px;
}

/* premium about section */
.about {
  padding-top: 94px;
  padding-bottom: 94px;
}

.about-grid {
  grid-template-columns: minmax(320px, .58fr) minmax(0, 1.42fr);
  gap: 44px;
  align-items: stretch;
}

.about-visual {
  min-height: 100%;
  padding: 30px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(252,249,243,.86));
  border: 1px solid rgba(18,56,43,.09);
  box-shadow: 0 22px 54px rgba(18,56,43,.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-kicker {
  display: inline-block;
  color: #839689;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}

.about-stat {
  margin: 26px 0 28px;
}

.about-stat strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(62px, 7vw, 92px);
  font-weight: 400;
  line-height: .92;
  letter-spacing: -.06em;
  color: var(--forest);
}

.about-stat p {
  max-width: 220px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.about-mini-grid {
  display: grid;
  gap: 12px;
}

.about-mini-grid > div {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(216,227,212,.34);
  border: 1px solid rgba(18,56,43,.08);
}

.about-mini-grid span {
  display: block;
  margin-bottom: 6px;
  color: #7d9083;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.about-mini-grid strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
}

.about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-copy h2 {
  max-width: 720px;
}

.about-copy > p {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.8;
}

.proof-grid {
  margin-top: 28px;
}

.proof-grid > div {
  padding: 20px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.68);
}

/* retreat cards more premium */
.experience-card {
  min-height: 330px;
  border-radius: 28px;
}

.experience-card h3 {
  max-width: 240px;
}

/* mobile */
@media (max-width: 1080px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .quick-heading,
  #programm .section-heading,
  #retriidid .section-heading {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .quick-heading > p,
  #programm .section-heading > p,
  #retriidid .section-heading > p {
    font-size: 16px;
  }

  .about-visual {
    padding: 24px;
  }

  .about-stat strong {
    font-size: 58px;
  }

  .quick-card {
    min-height: 270px;
    padding: 24px;
  }
}

/* === CONTENT PARITY PATCH 5 === */

.detail-list {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.detail-list > div {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(216,227,212,.28);
  border: 1px solid rgba(18,56,43,.07);
}

.detail-list b,
.detail-list span,
.detail-list small {
  display: block;
}

.detail-list b {
  color: var(--forest);
  font-size: 13px;
}

.detail-list span {
  margin-top: 2px;
  color: var(--ink);
  font-size: 12px;
}

.detail-list small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.card-note {
  margin: 4px 0 18px;
  padding: 11px 13px;
  border-left: 2px solid #8da28f;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.experience-card {
  min-height: 470px;
}

.experience-card h3 {
  margin-top: 34px;
}

.experience-card > strong {
  padding-top: 16px;
}

.split-details {
  display: grid;
  gap: 12px;
  margin: 28px 0 8px;
}

.split-details > div {
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.09);
}

.split-details span {
  display: block;
  margin-bottom: 5px;
  color: #b6c8ba;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.split-details p {
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: 13px;
  line-height: 1.65;
}

.newsletter-link {
  display: inline-flex !important;
  align-items: center;
  gap: 9px;
  margin-top: 18px !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 800;
  color: var(--forest);
}

.newsletter-link b {
  transition: transform .18s ease;
}

.newsletter-link:hover b {
  transform: translateX(4px);
}

.about-copy > p {
  margin-top: 0;
}

.about-copy > p + p {
  margin-top: 15px;
}

@media (max-width: 1080px) {
  .experience-card {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .detail-list > div,
  .split-details > div {
    padding: 13px 14px;
  }
}

/* === REAL PHOTOS 2026-09-24 === */
.site-header .brand,
footer .brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: 1;
}

footer .brand {
  font-size: 24px;
}

.hero-note {
  gap: 0;
}

.statement-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(28px, 6vw, 88px);
}

.quick-card h3 {
  margin-top: 12px;
}

.hero-editorial-card {
  padding: 0;
  overflow: hidden;
  background: #dbe4d6;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
}

.hero-photo-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 64px 28px 27px;
  color: white;
  background: linear-gradient(transparent, rgba(12,38,28,.84));
}

.hero-photo-caption span,
.hero-photo-caption strong {
  display: block;
}

.hero-photo-caption span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .17em;
}

.hero-photo-caption strong {
  margin-top: 6px;
  font: 400 31px/1.1 Georgia, serif;
}

.retreat-landscape {
  position: relative;
  margin: 0 0 28px;
  overflow: hidden;
  border-radius: 28px;
  background: #dce6da;
}

.retreat-landscape img {
  display: block;
  width: 100%;
  height: clamp(220px, 30vw, 360px);
  object-fit: cover;
  object-position: center 52%;
}

.retreat-landscape figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 42px 28px 22px;
  color: white;
  font: 400 clamp(22px, 2.6vw, 34px)/1.1 Georgia, serif;
  background: linear-gradient(transparent, rgba(9,34,26,.62));
}

.experience-photo {
  display: block;
  width: 100%;
  height: 178px;
  margin-top: 0;
  object-fit: cover;
  border-radius: 16px;
  background: #e7ede5;
}

.experience-photo--portrait {
  object-fit: contain;
}

.experience-card h3 {
  margin-top: 22px;
}

.stay-gallery {
  margin-top: 58px;
}

.stay-gallery-heading h3 {
  margin: 0 0 22px;
  font: 400 clamp(28px, 3vw, 40px)/1.1 Georgia, serif;
  letter-spacing: -.035em;
}

.stay-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 16px;
}

.stay-gallery-grid figure,
.about-photos figure {
  min-width: 0;
  margin: 0;
}

.gallery-link {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  outline-offset: 4px;
}

.gallery-link::after {
  content: "↗";
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,253,249,.94);
  color: var(--forest);
  font-size: 17px;
}

.stay-gallery-grid img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
  background: #dce6da;
  transition: transform .25s ease;
}

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

.stay-gallery-grid figcaption {
  padding-top: 10px;
}

.stay-gallery-grid figcaption,
.about-photos figcaption {
  padding: 8px 2px 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.about-visual {
  gap: 20px;
}

.about-grid {
  grid-template-columns: minmax(390px, .9fr) minmax(0, 1.1fr);
  gap: 64px;
}

.about-stat {
  margin: 0;
}

.about-stat strong {
  font-size: clamp(52px, 5.5vw, 74px);
}

.about-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.about-photos figure {
  overflow: hidden;
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 8px 20px rgba(18,56,43,.08);
}

.about-photos img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center 42%;
  background: #e7ede5;
}

.about-photos figcaption {
  padding: 10px 12px 12px;
  color: var(--forest);
}

.contact-card p a {
  color: var(--forest);
  text-decoration: underline;
  text-decoration-color: rgba(18,56,43,.35);
  text-underline-offset: 3px;
}

.contact-card p a:hover {
  text-decoration-color: currentColor;
}

.book-license {
  margin-top: 24px;
  padding: 19px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.55);
}

.book-license h3 {
  margin: 0 0 8px;
  color: var(--forest);
  font-size: 14px;
  font-weight: 650;
}

.book-license p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 1080px) {
  .about-grid,
  .statement-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 760px) {
  .stay-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 10px;
  }

  .stay-gallery-grid img {
    height: 170px;
  }

  .about-photos img {
    height: 210px;
  }

  .retreat-landscape figcaption {
    padding: 40px 18px 18px;
  }

  .hero-photo-caption {
    padding: 54px 22px 23px;
  }
}

/* Blogi tutvustus */
.blog-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
}

.blog-intro h2 {
  max-width: 18ch;
}

.blog-intro > div > p:last-child {
  max-width: 60ch;
  color: var(--muted);
  line-height: 1.65;
}

.blog-status {
  margin: 0;
  padding: 14px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--forest);
}

.book-presale-note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

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

  .blog-status {
    width: fit-content;
  }
}

/* Sigridi e-raamatu kaanepilt */
.book-cover {
  display: block;
  min-height: 0;
  padding: 0;
  border-radius: 12px;
  background: none;
}
.book-cover::after { content: none; }
.book-cover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}


/* Homepage brand logo */

.site-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.site-header .brand-logo {
  display: block;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  object-fit: contain;
}

@media (max-width: 600px) {
  .site-header .brand {
    gap: 8px;
  }

  .site-header .brand-logo {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }
}


/* Developer credit */

.footer-credit {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255,255,255,.65);
}

.footer-credit a {
  color: rgba(255,255,255,.85);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-credit a:hover {
  color: #fff;
}

/* Legal links across the public site */
.footer-legal-links{padding-top:20px;padding-bottom:20px;border-bottom:1px solid rgba(255,255,255,.15)}
.footer-legal-links .policy-footer-links{display:flex;gap:12px 24px;flex-wrap:wrap}
.footer-legal-links a{color:rgba(255,255,255,.82);font-size:13px;text-decoration:none}
.footer-legal-links a:hover,.footer-legal-links a:focus-visible{color:#fff;text-decoration:underline}

/* Extra breathing room under footer legal-links divider */
footer .footer-legal-links + .footer-grid {
  padding-top: 26px;
}
@media (max-width: 680px) {
  footer .footer-legal-links + .footer-grid {
    padding-top: 32px;
  }
}

/* Dynamic homepage journal cards */
#blogi .blog-intro { align-items:center; margin-bottom:32px; }
#blogi .blog-intro h2 { max-width:20ch; }
#blogi .blog-intro > div > p:not(.eyebrow) { color:var(--muted); max-width:56ch; line-height:1.7; }
.home-blog-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; align-items:stretch; }
.home-blog-card { min-width:0; display:flex; flex-direction:column; overflow:hidden; background:#fffdf9; border:1px solid var(--line); border-radius:20px; box-shadow:var(--shadow-soft); transition:transform .2s ease,box-shadow .2s ease; }
.home-blog-card:hover { transform:translateY(-3px); box-shadow:var(--shadow); }
.home-blog-cover { display:block; position:relative; aspect-ratio:16/10; overflow:hidden; background:var(--forest); text-decoration:none; }
.home-blog-cover img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .25s ease; }
.home-blog-card:hover .home-blog-cover img { transform:scale(1.04); }
.home-blog-cover-placeholder { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; text-align:center; padding:14px; color:#e6efe5; font:700 11px/1.5 system-ui,sans-serif; letter-spacing:.2em; background:linear-gradient(135deg,#17392c,#55725b); }
.home-blog-card-content { padding:24px; display:flex; flex-direction:column; flex:1; gap:12px; }
.home-blog-type { font:700 10px/1.4 system-ui,sans-serif; letter-spacing:.17em; color:var(--muted); }
.home-blog-card h3 { font:400 clamp(22px,2vw,29px)/1.22 Georgia,serif; letter-spacing:-.025em; margin:0; overflow-wrap:anywhere; }
.home-blog-card h3 a { color:var(--forest); text-decoration:none; }
.home-blog-card h3 a:hover { text-decoration:underline; text-underline-offset:4px; }
.home-blog-summary { color:var(--muted); font:14px/1.65 system-ui,sans-serif; margin:0 0 7px; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; }
.home-blog-read { color:var(--forest); font:700 13px/1.4 system-ui,sans-serif; margin-top:auto; padding-top:12px; text-decoration:none; }
.home-blog-read:hover { text-decoration:underline; text-underline-offset:3px; }
.home-blog-empty { display:block; }
.home-blog-state { grid-column:1/-1; color:var(--muted); }
@media(max-width:960px) { .home-blog-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:620px) { #blogi .blog-intro { gap:22px; } .home-blog-grid { grid-template-columns:1fr; } .home-blog-card-content { padding:20px; } }
