:root {
  /* Taevapiir: udune valge, mis läheb üle helesiniseks */
  --mist: #f6f9fb;
  --sky-pale: #e3eef5;
  --sky: #a9cbe0;
  --sky-deep: #6f9fbd;
  --lake: #1f344d;
  --moss: #8fa38a;
  --veil: #efe5d6;

  --ink: #1f344d;
  --ink-soft: #384b5f;

  --f-display: "Cormorant Garamond", Georgia, serif;
  --f-script: "Great Vibes", cursive;
  --f-body: "Mulish", system-ui, sans-serif;

  --gutter: clamp(1rem, 5vw, 4rem);
  --max: 72rem;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 6rem; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.125rem;
  line-height: 1.7;
  /* Kogu leht liigub ülevalt alla valgest helesiniseks, nagu taevas fotol */
  background: linear-gradient(180deg, var(--mist) 0%, var(--mist) 25%, var(--sky-pale) 60%, var(--sky) 100%);
  background-color: var(--mist);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

:focus-visible { outline: 2px solid var(--sky-deep); outline-offset: 4px; border-radius: 2px; }

.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip:focus { position: fixed; top: 1rem; left: 1rem; z-index: 100; background: var(--lake); color: #fff; padding: .5rem 1rem; }

h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.15; margin: 0; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -0.01em; }
h1 em { font-style: italic; color: var(--sky-deep); }
/* Pealkirjad käekirjas, nagu logo ja Hing Fekeli lausekujundused */
h2 { font-family: var(--f-script); font-size: clamp(3rem, 6.5vw, 4.6rem); line-height: 1.05; }
h3 { font-size: 1.6rem; font-weight: 500; }

p { margin: 0 0 1.1em; }

.eyebrow {
  font-size: .78rem; letter-spacing: .28em; text-transform: uppercase; font-weight: 600;
  color: var(--sky-deep); margin-bottom: 1.25rem;
}

/* Header */
/* Läbipaistev foto kohal, muutub udu-valgeks kerimisel */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem var(--gutter);
  color: #fff;
  transition: background .35s, padding .35s, color .35s;
}
.site-header.is-solid {
  color: var(--ink);
  padding-top: .5rem; padding-bottom: .5rem;
  background: rgba(246, 249, 251, .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(169, 203, 224, .5);
}
.brand { display: grid; }
.brand img { width: 118px; grid-area: 1 / 1; transition: opacity .35s; }
.brand__dark, .is-solid .brand__light { opacity: 0; }
.is-solid .brand__dark { opacity: 1; }
.nav { display: flex; gap: 2rem; align-items: center; font-size: .95rem; }
.nav a { text-decoration: none; padding: .25rem 0; border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav a:hover { border-color: currentColor; }
.nav .nav__cta { border: 1px solid currentColor; border-radius: 999px; padding: .45rem 1.2rem; }
.nav .nav__cta:hover { background: #fff; color: var(--lake); border-color: #fff; }
.is-solid .nav .nav__cta:hover { background: var(--lake); color: #fff; border-color: var(--lake); }

.nav-toggle { display: none; }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none;
  background: var(--lake); color: #fff;
  padding: .9rem 1.8rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  transition: background .25s, transform .25s;
}
.btn:hover { background: var(--sky-deep); transform: translateY(-1px); }
.btn--light { background: #fff; color: var(--lake); }
.btn--light:hover { background: var(--sky-pale); }

.link { text-decoration: none; font-weight: 600; font-size: .95rem; border-bottom: 1px solid var(--sky); padding-bottom: 2px; }
.link:hover { border-color: var(--lake); }
.link--light { color: #fff; border-color: rgba(255,255,255,.5); }
.link--light:hover { border-color: #fff; }

/* Hero */
/* Täisekraani foto; tekst istub vasakul all tumeda rohu ja puu kohal */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 8rem var(--gutter) clamp(5rem, 12vh, 8rem);
  color: #fff;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 36, 54, .45) 0%, rgba(20, 36, 54, 0) 22%),
    linear-gradient(90deg, rgba(20, 36, 54, .72) 0%, rgba(20, 36, 54, .38) 38%, rgba(20, 36, 54, 0) 62%),
    linear-gradient(0deg, rgba(20, 36, 54, .55) 0%, rgba(20, 36, 54, 0) 50%);
}
.hero__text { max-width: 38rem; }
.hero h1 { font-size: clamp(2.8rem, 6.5vw, 5.4rem); text-shadow: 0 2px 30px rgba(20, 36, 54, .35); }
.hero h1 em { color: var(--sky); }
.hero__lead { font-size: 1.2rem; color: rgba(255,255,255,.88); max-width: 30rem; margin-top: 1.5rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; margin-top: 2.25rem; }


/* Ornament – Hing Fekeli spiraal */
.ornament { width: 110px; margin: 0 auto; opacity: .85; }

/* Statement */
.statement {
  max-width: 52rem; margin: 0 auto; text-align: center;
  padding: clamp(3rem, 8vw, 6rem) var(--gutter);
}
.statement__text {
  font-family: var(--f-display); font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.4;
  margin-top: 2rem;
}
.statement__word { display: block; font-family: var(--f-script); font-size: 1.9em; color: var(--sky-deep); line-height: 1.1; margin-bottom: .2em; }

/* Section heads */
.section-head { text-align: center; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head__lead { font-family: var(--f-display); font-style: italic; font-size: 1.4rem; color: var(--ink-soft); margin: 1.5rem auto 0; max-width: 34rem; }

/* Calling */
/* Tutvustus: foto vasakul, tekst paremal */
.calling {
  max-width: var(--max); margin: 0 auto; padding: clamp(3rem, 8vw, 6rem) var(--gutter);
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: center;
}
/* Nagu isiklik kiri: prinditud foto kergelt viltu, lõpus logo allkirjana */
.calling__photo {
  margin: 0; max-width: 25rem; justify-self: center;
  background: #fff; padding: .8rem .8rem 3.2rem;
  transform: rotate(-2.5deg);
  box-shadow: 0 2px 4px rgba(31, 52, 77, .06), 0 30px 60px -28px rgba(31, 52, 77, .45);
}
.calling__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.calling__body { max-width: 34rem; }
.calling__quote {
  font-family: var(--f-display); font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.3;
  margin: 1.5rem 0 1.75rem;
}
.calling__body > p:not(.calling__quote) { color: var(--ink-soft); }
.calling__signature { width: 150px; margin-top: 1.75rem; }

/* Meetings */
/* Helesinine riba: suured käekirjas pealkirjad vasakul, selgitus paremal */
.meetings {
  background: linear-gradient(180deg, #d6e7f1 0%, #c5dceb 100%);
  padding: clamp(4rem, 9vw, 7rem) var(--gutter);
}
/* Portree vasakul, kohtumisviisid paremal */
.meetings__inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: center;
}
.meetings__photo { margin: 0; }
.meetings__photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%;
  border-radius: .35rem;
}
.meetings__head { margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.meetings__head p {
  font-family: var(--f-display); font-size: 1.45rem; line-height: 1.4; color: var(--ink-soft);
  max-width: 30rem; margin: 1rem 0 0;
}
.meeting { padding: clamp(1rem, 2.5vw, 1.5rem) 0; }
.meeting h3 {
  font-family: var(--f-display); font-weight: 500; font-size: clamp(1.6rem, 2.4vw, 1.9rem); line-height: 1.2;
  color: var(--lake); margin-bottom: .4rem;
}
.meeting p { margin: 0; color: var(--ink-soft); }

/* Journey */
.journey { max-width: var(--max); margin: 0 auto; padding: clamp(3rem, 8vw, 6rem) var(--gutter); }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 3.25rem; top: .8rem; bottom: .8rem; width: 1px; background: var(--sky);
}
.timeline__item { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1.5rem; padding-bottom: 2.75rem; position: relative; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__year {
  font-family: var(--f-display); font-size: 1.5rem; font-style: italic;
  background: var(--mist); border: 1px solid var(--sky); border-radius: 999px;
  height: 3rem; display: grid; place-items: center; position: relative; z-index: 1;
}
.timeline__item h3 { margin-bottom: .6rem; }
.timeline__item p { margin: 0; color: var(--ink-soft); }

.journey__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
/* Kaks prinditud fotot üksteise peal, nagu laual */
.journey__photos { position: relative; min-height: 26rem; }
.print {
  position: absolute; margin: 0; width: 82%;
  background: #fff; padding: .6rem .6rem 2.2rem;
  box-shadow: 0 2px 4px rgba(31, 52, 77, .06), 0 26px 50px -26px rgba(31, 52, 77, .45);
}
.print img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.print--back { top: 0; right: 0; transform: rotate(3deg); }
.print--front { bottom: 0; left: 0; transform: rotate(-2.5deg); }
.js-reveal .print.print--back.is-visible { transform: rotate(3deg); }
.js-reveal .print.print--front.is-visible { transform: rotate(-2.5deg); }

/* Media: tumesinine "kinosaal" videotele */
.media {
  background: var(--lake);
  color: #fff;
  padding: clamp(4rem, 9vw, 7rem) var(--gutter) clamp(3rem, 6vw, 4.5rem);
}
.media__inner { max-width: var(--max); margin: 0 auto; }
.media__intro { max-width: 34rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.media__intro p:last-child { margin: 1rem 0 0; color: rgba(255, 255, 255, .75); font-size: 1.1rem; }

.media__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.media__video, .media__reel { margin: 0; }
.media__reel-frame {
  aspect-ratio: 9 / 16; border-radius: 1rem; overflow: hidden; background: #0f1b28;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .6);
}
.media__reel-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.media__frame {
  aspect-ratio: 16 / 9; border-radius: 1rem; overflow: hidden; background: #000;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .6);
}
.media__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.media figcaption { margin-top: 1.25rem; font-family: var(--f-display); font-size: 1.4rem; line-height: 1.35; color: rgba(255, 255, 255, .92); }
.media__play {
  all: unset; cursor: pointer; display: block; position: relative; width: 100%; height: 100%;
}
.media__play img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.media__play::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(20, 36, 54, .45), rgba(20, 36, 54, .05) 60%);
}
.media__play-icon {
  position: absolute; z-index: 1; left: 50%; top: 50%; width: 5rem; height: 5rem; transform: translate(-50%, -50%);
  border-radius: 50%; background: rgba(255, 255, 255, .92);
  box-shadow: 0 10px 30px rgba(20, 36, 54, .35); transition: transform .3s;
}
.media__play-icon::before {
  content: ""; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%);
  border-style: solid; border-width: .75rem 0 .75rem 1.2rem; border-color: transparent transparent transparent var(--lake);
}
.media__play:hover img { transform: scale(1.03); }
.media__play:hover .media__play-icon { transform: translate(-50%, -50%) scale(1.08); }
.media__play:focus-visible { outline: 2px solid var(--sky-deep); outline-offset: 4px; }

.media__follow {
  margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 2.25rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
  display: flex; align-items: center; gap: 2rem;
}
.media__follow img { width: 96px; flex-shrink: 0; opacity: .85; }
.media__follow p { margin: 0; flex: 1; font-family: var(--f-display); font-size: 1.5rem; line-height: 1.35; }
.media__follow p span { display: block; font-style: italic; color: var(--sky); }
.media__follow-actions { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; }

/* Affirmation */
.affirmation {
  text-align: center; padding: clamp(4rem, 10vw, 7rem) var(--gutter);
}
.affirmation__text {
  font-family: var(--f-script); font-size: clamp(2.1rem, 5.5vw, 3.6rem); line-height: 1.35; margin: 0 0 2rem;
}
.affirmation__logo { width: 150px; margin: 0 auto; }

/* Contact */
/* Lihtne kutse ilma kastita: pealkiri vasakul, e-post suurelt paremal */
.contact { padding: clamp(2rem, 5vw, 3rem) var(--gutter) clamp(4rem, 9vw, 7rem); }
.contact__inner {
  max-width: 60rem; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem clamp(2rem, 6vw, 5rem); align-items: end;
}
.contact__lead { font-family: var(--f-display); font-size: 1.5rem; line-height: 1.4; margin: 1rem 0 0; }
.contact__links { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
.contact__mail {
  font-family: var(--f-display); font-size: clamp(1.7rem, 3.2vw, 2.4rem); text-decoration: none; color: var(--lake);
  border-bottom: 1px solid currentColor; padding-bottom: .15rem; transition: color .2s;
  overflow-wrap: anywhere;
}
.contact__mail:hover { color: var(--sky-deep); }

/* Footer: logo, menüü ja kontakt kolmes veerus, all õiguste rida */
.site-footer {
  background: var(--lake); color: rgba(255, 255, 255, .75);
  padding: clamp(3rem, 6vw, 4.5rem) var(--gutter) 1.75rem; font-size: .95rem;
}
.site-footer__top {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; align-items: start;
}
.site-footer__brand img { width: 130px; margin-bottom: 1rem; }
.site-footer__brand p { margin: 0; max-width: 18rem; font-family: var(--f-display); font-size: 1.15rem; line-height: 1.4; }
.site-footer__nav, .site-footer__contact { display: flex; flex-direction: column; gap: .6rem; }
.site-footer a { color: #fff; text-decoration: none; width: fit-content; border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-footer a:hover { border-color: rgba(255, 255, 255, .6); }
.site-footer__legal {
  max-width: var(--max); margin: clamp(2.5rem, 5vw, 3.5rem) auto 0; padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .14); font-size: .82rem; color: rgba(255, 255, 255, .55); text-align: center;
}

/* Reveal */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

/* Responsive */
@media (max-width: 900px) {
  .media__grid { grid-template-columns: 1fr; }
  .media__reel { width: 100%; max-width: 340px; margin: 0 auto; }
  .media__follow { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .calling { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
  .contact__inner { grid-template-columns: 1fr; }
  .calling__photo { max-width: 20rem; margin-bottom: 1rem; }
  .meetings__inner, .journey__grid { grid-template-columns: 1fr; }
  .meetings__photo { max-width: 22rem; margin: 0 auto; }
  .journey__photos { min-height: 0; aspect-ratio: 5 / 4; max-width: 30rem; width: 100%; margin: 1rem auto 0; }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; padding: 0; cursor: pointer; color: inherit;
  }
  .nav-toggle__bar { display: block; width: 24px; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform .3s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  /* Täisekraani menüü: suured lingid ekraani keskel, mugav pöidlaga vajutada */
  .nav {
    position: absolute; top: 0; left: 0; right: 0; z-index: -1;
    height: 100vh; height: 100svh;
    flex-direction: column; align-items: center; justify-content: center; gap: .5rem;
    padding: 6rem var(--gutter) 3rem;
    background: linear-gradient(180deg, var(--mist) 0%, var(--sky-pale) 70%, var(--sky) 100%);
    display: none;
  }
  .nav.is-open { display: flex; animation: menu-in .35s ease; }
  .nav a { font-family: var(--f-display); font-size: 2.1rem; padding: .4rem 1rem; text-align: center; }
  .nav a:hover { border-color: transparent; color: var(--sky-deep); }
  .nav .nav__cta {
    font-family: var(--f-body); font-size: 1rem; font-weight: 600;
    margin-top: 1.75rem; padding: 1rem 2.5rem; background: var(--lake); color: #fff; border-color: var(--lake);
  }
  .is-solid .nav .nav__cta:hover { color: #fff; }
  @keyframes menu-in { from { opacity: 0; } }
  .menu-open { overflow: hidden; }

  .hero__actions { gap: 1.25rem; }
  .hero .btn { padding: .85rem 1.4rem; font-size: .9rem; }
  .hero .link { font-size: .9rem; }

  .hero { padding-bottom: 6rem; }
  .hero__bg { object-position: 48% 50%; }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(20, 36, 54, .5) 0%, rgba(20, 36, 54, 0) 20%),
      linear-gradient(0deg, rgba(20, 36, 54, .85) 0%, rgba(20, 36, 54, .55) 45%, rgba(20, 36, 54, 0) 75%);
  }

  .timeline::before { left: 2.25rem; }
  .timeline__item { grid-template-columns: 4.5rem 1fr; gap: 1rem; }
  .timeline__year { font-size: 1.2rem; height: 2.5rem; }
}
