@font-face {
  font-family: "Bricolage";
  src: url("fonts/BricolageGrotesque-Variable.ttf") format("truetype");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}

:root {
  --ink: #0d0d0c;
  --ink-2: #171715;
  --paper: #ecebe6;
  --grey: #8d8b85;
  --grey-2: #b6b4ad;
  --line: rgba(236, 235, 230, .14);
  --safelight: #c8331f;
  --gutter: clamp(28px, 4.4vw, 60px);
  --radius: 14px;
  --max: 1200px;
}

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

html { background: var(--ink); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: var(--paper);
  font-family: "Bricolage", system-ui, sans-serif;
  font-size: clamp(16px, .9vw + 10px, 18px);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; }

/* Ilma JS-ita on kõik vaated üksteise all; JS-iga on korraga nähtav üks vaade */
.js .view:not(.is-active) { display: none; }
.js [data-reveal], .js [data-split] { visibility: hidden; }
.no-anim [data-reveal], .no-anim [data-split] { visibility: visible; }

/* ===== Lehe vasak serv: filmikaadri perforatsioon ===== */
.page-frame {
  position: fixed;
  inset: 0;
  z-index: 58;
  pointer-events: none;
  border-style: solid;
  border-width: 0 0 0 clamp(18px, 2.2vw, 30px);
  border-image: url("img/filmiaar.png") 18 18 18 66 stretch;
  opacity: .9;
}

/* ===== Filmilikud efektid ===== */
.fx { position: fixed; inset: 0; z-index: 60; pointer-events: none; overflow: hidden; }

.fx__grain {
  position: absolute;
  inset: -50%;
  opacity: .18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-3%, 2%); }
  40%  { transform: translate(2%, -4%); }
  60%  { transform: translate(-4%, -1%); }
  80%  { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

/* Karvad ja tolm (JS joonistab) */
.fx__dust { position: absolute; inset: 0; }
.fx__dust path { fill: none; stroke: rgba(236, 235, 230, .55); stroke-linecap: round; }
.fx__dust circle { fill: rgba(236, 235, 230, .6); }

/* ===== Päis ===== */
.top {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding: 20px var(--gutter);
  background: rgba(13, 13, 12, .8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.top__logo {
  position: relative;
  z-index: 2;
  font-weight: 700;
  font-stretch: 78%;
  font-size: clamp(1.8rem, 1.3rem + 1.3vw, 2.5rem);
  letter-spacing: -.01em;
  text-transform: uppercase;
  text-decoration: none;
}
.top__nav { display: flex; align-items: center; gap: 1.8rem; margin-left: auto; }
.top__nav > a, .drop__btn {
  position: relative;
  padding: 6px 0;
  background: none;
  border: 0;
  font-size: 1.08rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}
.top__nav > a::after, .drop__btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.top__nav > a:hover::after, .top__nav > a[aria-current]::after,
.drop:hover .drop__btn::after, .drop.is-current .drop__btn::after { transform: scaleX(1); }

.drop { position: relative; }
.drop__btn { display: inline-flex; align-items: center; gap: .4em; }
.drop__chev { transition: transform .25s ease; }
.drop__menu {
  position: absolute;
  top: 100%;
  left: -18px;
  min-width: 200px;
  margin: 0;
  padding: 8px;
  list-style: none;
  border-radius: 16px;
  background: rgba(26, 26, 24, .96);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.drop__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.drop__menu a { display: block; padding: 11px 14px; font-size: 1.05rem; border-radius: 10px; text-decoration: none; }
.drop__menu a:hover, .drop__menu a:focus-visible, .drop__menu a[aria-current] { background: rgba(236, 235, 230, .1); }
.drop:hover .drop__menu, .drop.is-open .drop__menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.drop:hover .drop__chev, .drop.is-open .drop__chev { transform: rotate(180deg); }

.lang {
  position: relative;
  z-index: 2;
  display: flex;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .06em;
}
.lang a { padding: .3em .7em; border-radius: 999px; text-decoration: none; color: var(--grey); }
.lang a:hover { color: var(--paper); }
.lang a[aria-current] { background: var(--paper); color: var(--ink); }

.top__menu {
  display: none;
  position: relative;
  z-index: 2;
  padding: .45em 1.1em;
  background: none;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 500;
  cursor: pointer;
}

/* ===== Üldised ===== */
main { flex: 1; display: flex; flex-direction: column; }
.view { flex: 1; width: 100%; padding: clamp(48px, 8vw, 110px) var(--gutter) clamp(64px, 8vw, 120px); }
.view__head { display: grid; gap: 1rem; max-width: var(--max); margin: 0 auto clamp(40px, 6vw, 72px); }

.eyebrow {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--grey);
}
.title, .hero__title {
  font-weight: 700;
  font-stretch: 75%;
  font-size: clamp(2.8rem, 8vw, 7.5rem);
  line-height: .94;
  letter-spacing: .005em;
  text-transform: uppercase;
}
.title:focus, .hero__title:focus { outline: none; }
.lead { max-width: 40ch; font-size: 1.2em; color: var(--grey-2); }
.prose { display: grid; gap: 1em; max-width: 60ch; color: var(--grey-2); font-size: 1.08em; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.actions--center { justify-content: center; margin-top: clamp(32px, 5vw, 56px); }
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .9em 1.6em;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .25s ease, background-color .25s ease, color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--line { border: 1.5px solid var(--paper); }
.btn--line:hover { background: var(--paper); color: var(--ink); }

/* Avalehe nupud: täitub kursori kohast, nupp tõmbub kursori poole, ikoon liigub */
.btn--fx { position: relative; overflow: hidden; isolation: isolate; will-change: transform; }
.btn--fx::before {
  content: "";
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  z-index: -1;
  width: 0;
  height: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width .45s ease, height .45s ease;
}
.btn--fx.btn--light::before { background: var(--ink); }
.btn--fx.btn--line::before { background: var(--paper); }
.btn--fx:hover::before, .btn--fx:focus-visible::before { width: 260%; height: 600%; }
.btn--fx.btn--light:hover, .btn--fx.btn--light:focus-visible { background: var(--paper); color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--paper); }
.btn--fx.btn--line:hover, .btn--fx.btn--line:focus-visible { background: transparent; color: var(--ink); }
.btn--fx:hover { transform: none; }
.btn__icon { transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.btn__icons { display: inline-flex; gap: 2px; }
.btn--fx:hover .btn__icon--roll { transform: rotate(-20deg) translateX(2px); }
.btn--fx:hover .btn__icon--120 { transform: rotate(18deg) translateX(3px); }
.btn--fx:hover .btn__icon--arrow { transform: translateX(5px); }

/* ===== Avaleht ===== */
.view--home { display: flex; flex-direction: column; padding-block: clamp(20px, 3vw, 40px); }
.hero {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}
.hero__text { display: grid; gap: 1.2rem; justify-items: start; }
.hero__title { font-size: clamp(3.2rem, 8.2vw, 8rem); line-height: .94; letter-spacing: .015em; }
/* Ingliskeelne pealkiri on pikem, seega veidi väiksem, et avaleht mahuks ekraanile */
html[lang="en"] .hero__title { font-size: clamp(2.8rem, 6.2vw, 6.4rem); }
.hero__lead { max-width: 38ch; font-size: 1.15em; line-height: 1.6; letter-spacing: .01em; color: #c9c7c0; }

/* Negatiiv ↔ positiiv liugur */
.ba-wrap { margin: 0; justify-self: end; width: min(100%, calc(100svh - 326px), 620px); min-width: 260px; }
.ba {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #050505;
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.ba__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: opacity .3s ease;
}
/* Positiiv on vasakul, negatiiv paremal */
.ba__img--top { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__handle {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 1px;
  background: rgba(13, 13, 12, .55);
  pointer-events: none;
}
.ba__handle svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 50%;
  background: rgba(13, 13, 12, .7);
  color: var(--paper);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .35);
  transform: translate(-50%, -50%);
}
.ba__tag {
  position: absolute;
  z-index: 3;
  top: 5%;
  padding: .25em .7em;
  border-radius: 999px;
  background: rgba(13, 13, 12, .65);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--paper);
  pointer-events: none;
}
.ba__tag--l { left: 9%; }
.ba__tag--r { right: 5%; }

/* Klaviatuurile ja ekraanilugejale: nähtamatu, aga fookustatav liugur */
.ba__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.ba:has(.ba__range:focus-visible) { outline: 2px solid var(--paper); outline-offset: 4px; }
.ba__cap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1rem;
  margin-top: .9rem;
  font-size: .82rem;
  color: var(--grey-2);
}
.ba__pairs { display: flex; gap: 4px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.ba__pair {
  min-width: 2.2em;
  padding: .3em .8em;
  background: none;
  border: 0;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--grey);
  cursor: pointer;
}
.ba__pair:hover { color: var(--paper); }
.ba__pair[aria-pressed="true"] { background: var(--paper); color: var(--ink); }

/* ===== Laborist ===== */
.lab-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 5vw, 72px) clamp(28px, 5vw, 72px);
  max-width: var(--max);
  margin: 0 auto;
  padding-top: clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--line);
}
.lab-col { display: grid; align-content: start; gap: .9em; }
.lab-col h3 { font-weight: 700; font-stretch: 78%; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1; text-transform: uppercase; }
.lab-col p { max-width: 46ch; color: var(--grey-2); font-size: 1.05em; }
.lab-col__btn { justify-self: start; margin-top: .3rem; }
/* Pilt on lahtrist laiem ja negatiivsed veerised lõikavad läbipaistva ääre ära, et servad joonduks */
.lab-photos { grid-column: 1 / -1; justify-self: center; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); width: min(100%, clamp(720px, 78vw, 1100px)); margin: 0; }
.lab-photos img { display: block; width: 113.3%; max-width: none; height: auto; margin: -11.1% 0 -11.9% -6.5%; }

/* ===== Minust ===== */
/* Tekst vasakul pealkirjaga ühel joonel, portree paremal; telefonis portree teksti järel */
.me { display: grid; gap: clamp(28px, 6vw, 40px); max-width: var(--max); margin: 0 auto; }
.me__prose p { max-width: 68ch; }
.me__photo { margin: 0; }
.me__photo img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; filter: grayscale(1); }
@media (min-width: 901px) {
  .me { grid-template-columns: minmax(0, 1fr) clamp(300px, 40vw, 520px); column-gap: clamp(36px, 5vw, 72px); align-items: start; }
}
/* Laias aknas on portree täpselt teksti kõrgune, et üla- ja alaserv joonduks */
@media (min-width: 1200px) {
  .me { align-items: stretch; }
  .me__photo { position: relative; }
  .me__photo img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
}

/* ===== Hinnakiri (vahelehed C-41 / BW) ===== */
.pr-main { max-width: 860px; margin: 0 auto; }
.tabs { margin: 0; }
/* Värvifilmide teade: sama C-41 värviriba mis vahelehel */
.color-note {
  margin: 0 0 clamp(16px, 2.4vw, 24px);
  padding: .1em 0 .1em 1em;
  border-left: 3px solid;
  border-image: linear-gradient(180deg, #f2b45a, #e57a5a, #c9628a, #6f8fc4) 1;
  color: var(--paper);
  font-weight: 500;
  line-height: 1.5;
}
.color-note--send { max-width: var(--max); margin: clamp(32px, 4vw, 48px) auto 0; }
.color-note--send p { max-width: 76ch; }
.send__contact { max-width: var(--max); margin: clamp(28px, 4vw, 44px) auto 0; color: var(--grey-2); text-align: center; }
.send__contact a { text-underline-offset: 3px; }
.color-note--send p + p { margin-top: .5em; color: var(--grey-2); font-weight: 400; }
.tabs__list {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 999px;
}
/* Arvutis keskel, telefonis vasakul tekstiga ühel joonel */
@media (min-width: 901px) { .tabs__list { display: flex; width: fit-content; margin-inline: auto; } }
.tabs__btn {
  padding: .7em 1.4em;
  background: none;
  border: 0;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--grey);
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease;
}
.tabs__btn:hover { color: var(--paper); }
.tabs__btn[aria-selected="true"] { background: var(--paper); color: var(--ink); }
/* C-41 on värvifilm: valitud nupp on värviline */
#tab-c41[aria-selected="true"] { background: linear-gradient(100deg, #f2b45a 0%, #e57a5a 38%, #c9628a 66%, #6f8fc4 100%); color: var(--ink); }
#tab-c41:not([aria-selected="true"]) .tabs__code { background: linear-gradient(100deg, #f2b45a, #e57a5a, #c9628a, #6f8fc4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tabs__code { margin-right: .2em; font-weight: 700; letter-spacing: .04em; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table tr { border-top: 1px solid var(--line); }
.price-table tr:last-child { border-bottom: 1px solid var(--line); }
.price-table th, .price-table td { padding: 18px 0; vertical-align: baseline; }
.price-table th { text-align: left; font-weight: 600; font-size: clamp(1.1rem, 1.8vw, 1.4rem); }
.price-table td {
  text-align: right;
  font-weight: 300;
  font-stretch: 75%;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
#hinnakiri .actions { margin: clamp(28px, 4vw, 44px) 0 0; }
.notes__title { margin-top: clamp(32px, 4.5vw, 52px); font-weight: 700; font-stretch: 78%; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1; text-transform: uppercase; }
.notes {
  display: grid;
  gap: .8rem;
  max-width: 860px;
  margin: clamp(16px, 2vw, 22px) 0 0;
  padding: 0;
  list-style: none;
  color: var(--grey-2);
  font-size: .95em;
}
.notes li { position: relative; padding-left: 1.5em; }
.notes li strong { font-weight: 650; color: var(--paper); }
.notes__small { color: var(--grey); font-size: .9em; }
/* Sama kast nagu "Kuidas pakkida" all, et kogu leht oleks ühes stiilis */
.notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: .7em;
  height: .7em;
  border: 1.5px solid var(--paper);
  border-radius: 3px;
}

/* ===== Saada oma film ===== */
.steps {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: var(--max);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.step { position: relative; isolation: isolate; display: grid; align-content: start; justify-items: start; gap: .9rem; padding: 28px 32px 28px 0; }
.step:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--line); }
.step:nth-child(n+3) { border-top: 1px solid var(--line); }
.step__num { color: var(--grey); }
.step h3 { font-size: 1.45rem; font-weight: 650; letter-spacing: -.01em; }
.step p { color: var(--grey-2); max-width: 52ch; }
.step .btn { margin-top: .4rem; }
.step__btns { display: flex; flex-wrap: wrap; gap: .6rem; }
.checklist { margin: 0; padding: 0; list-style: none; display: grid; gap: .7rem; color: var(--grey-2); }
.checklist li { position: relative; padding-left: 1.5em; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: .7em;
  height: .7em;
  border: 1.5px solid var(--paper);
  border-radius: 3px;
}
.step__small { margin-top: .4rem; font-size: .9em; }
.step__small a { text-underline-offset: 3px; }
.option { width: 100%; padding: 20px 22px; border: 1px solid var(--line); border-radius: 20px; }
.option h4 { margin-bottom: .35rem; font-size: 1.1rem; font-weight: 650; }
.option p { color: var(--grey-2); line-height: 1.55; max-width: none; }
.option p + p { margin-top: .5em; }
/* Arvutis tõuseb kursori all olev samm esile, teised jäävad tagaplaanile */
@media (hover: hover) and (min-width: 901px) {
  .step { transition: translate .3s ease; }
  .step > *, .step__num, .step p, .checklist, .option { transition: opacity .3s ease, color .3s ease, border-color .3s ease; }
  .step::before {
    content: "";
    position: absolute;
    inset: 0 8px 0 8px;
    z-index: -1;
    border: 1px solid rgba(236, 235, 230, .28);
    border-radius: var(--radius);
    background: rgba(236, 235, 230, .06);
    opacity: 0;
    transition: opacity .3s ease;
  }
  .step:nth-child(odd)::before { left: -20px; right: 12px; }
  .step:hover, .step:focus-within { translate: 0 -8px; }
  .step:hover::before, .step:focus-within::before { opacity: 1; }
  .step:hover .option, .step:focus-within .option { border-color: rgba(236, 235, 230, .34); }
  .step:hover .step__num, .step:focus-within .step__num { color: var(--paper); }
  .step:hover p, .step:hover .checklist,
  .step:focus-within p, .step:focus-within .checklist { color: var(--paper); }
  .steps:hover .step:not(:hover) > * { opacity: .4; }
}

/* ===== Tagasiside ===== */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(16px, 2.4vw, 28px);
  max-width: var(--max);
  margin: 0 auto;
}
.review {
  position: relative;
  display: grid;
  gap: 1.4rem;
  margin: 0;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(236, 235, 230, .03);
}
.review::before {
  content: "“";
  font-weight: 700;
  font-stretch: 75%;
  font-size: 4.5rem;
  line-height: .6;
  color: var(--grey);
}
.review blockquote { display: grid; gap: .8em; margin: 0; font-size: 1.05em; color: var(--paper); }
.review figcaption { display: grid; gap: .1rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .9rem; }
.review figcaption strong { font-weight: 650; }
.review figcaption span { color: var(--grey); }

/* ===== KKK ===== */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  padding: 22px 48px 22px 0;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  font-weight: 300;
  font-size: 1.8rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform .3s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 48px 24px 0; color: var(--grey-2); max-width: 62ch; }
.faq details p + p { margin-top: -10px; }
.faq a, .prose a { text-underline-offset: 3px; }

.ask {
  display: grid;
  justify-items: center;
  gap: 1.1rem;
  max-width: 860px;
  margin: clamp(36px, 5vw, 56px) auto 0;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 999px;
  text-align: center;
}
.ask p { max-width: 40ch; font-size: 1.1em; }

/* ===== Tingimused ===== */
.prose--terms { margin: 0 auto; gap: .6em; }
.prose--terms h3 { margin-top: 1.4em; font-size: 1.15rem; font-weight: 650; color: var(--paper); }
.prose--terms h3:first-child { margin-top: 0; }
.prose--terms ul { padding-left: 1.2em; list-style: square; }

/* ===== Kontakt ===== */
.view--contact { display: grid; place-items: center; }
.contact { display: grid; justify-items: center; gap: 1.6rem; text-align: center; }
.contact__q { max-width: 30ch; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--grey-2); }
.contact .title { font-size: clamp(2.6rem, 6.5vw, 6rem); }
.contact__btns { margin-top: .4rem; }
.contact__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.join {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  margin-top: .6rem;
  padding: .5em 0;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: border-color .25s ease;
}
.join:hover { border-color: var(--paper); }

/* ===== Jalus ===== */
.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .8rem 1.6rem;
  padding: 18px var(--gutter);
  border-top: 1px solid var(--line);
  font-size: .85rem;
  color: var(--grey-2);
}
.foot__links { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.foot__links a { font-weight: 700; color: var(--paper); }
.foot__rights { width: 100%; text-align: center; font-size: .78rem; color: var(--grey); }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }

/* ===== Mobiil ===== */
@media (max-width: 900px) {
  .top { gap: .6rem; }
  .top__menu { display: block; margin-left: auto; order: 2; }
  .lang { order: 3; }
  /* Logo, menüü ja keelevalik mahuvad ka kitsal või suurendatud telefonis ühte ritta */
  .top__logo { font-size: clamp(1.15rem, 6.4vw, 1.6rem); flex-shrink: 1; min-width: 0; }
  .top__menu, .lang { flex-shrink: 0; }
  .tabs__btn { padding: .6em .6em; font-size: clamp(.7rem, 3.3vw, .85rem); white-space: nowrap; }
  .top__nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    margin: 0;
    padding: 100px var(--gutter) 40px;
    background: var(--ink);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility 0s linear .25s;
  }
  .top.menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; border-color: transparent; }
  .top.menu-open .top__nav { opacity: 1; visibility: visible; transition-delay: 0s; }
  .top__nav > a, .drop__btn {
    font-size: 2.1rem;
    font-weight: 700;
    font-stretch: 78%;
    text-transform: uppercase;
    line-height: 1.05;
  }
  .drop__btn { padding: 0; }
  .drop__btn::after, .top__nav > a::after { display: none; }
  .drop__chev { width: .7em; height: .7em; }
  .drop__menu {
    position: static;
    min-width: 0;
    margin-top: .5rem;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: inherit;
    transform: none;
    display: none;
  }
  .drop.is-open .drop__menu { display: block; }
  /* Puutel ei tohi hover menüüd lahti hoida */
  .drop:hover:not(.is-open) .drop__chev { transform: none; }
  .drop__menu a { padding: 5px 0; font-size: 1.15rem; color: var(--grey-2); }

  .hero { grid-template-columns: 1fr; padding-top: 8px; }
  .ba-wrap { width: min(100%, 440px); }

  .ask { border-radius: 28px; }
  .lab-cols { grid-template-columns: 1fr; }
  /* Telefonis kaks fotot kõrvuti, kolmas nende all keskel */
  .lab-photos { grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; }
  .lab-photos img:nth-child(1) { grid-column: 1 / span 2; }
  .lab-photos img:nth-child(2) { grid-column: 3 / span 2; }
  .lab-photos img:nth-child(3) { grid-column: 2 / span 2; }
  .reviews { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step, .step:nth-child(even), .step:nth-child(n+3) { padding: 24px 0; border-left: 0; border-top: 0; border-bottom: 1px solid var(--line); }
  .step { gap: .75rem; }
  .step h3 { font-size: 1.3rem; }
  .step__btns .btn { padding: .75em 1.05em; font-size: .9rem; }
  .checklist { gap: .55rem; }
  .foot {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "links links" "place copy" "rights rights";
    gap: .9rem 1rem;
  }
  .foot__links { grid-area: links; justify-content: center; }
  .foot__place { grid-area: place; }
  .foot__copy { grid-area: copy; text-align: right; }
  .foot__rights { grid-area: rights; }
}

/* Väga kitsas või suurendatud ekraan (nt iPhone SE, Display Zoom) */
@media (max-width: 374px) {
  .top { padding-inline: 20px 12px; gap: .4rem; }
  .top__menu { padding: .35em .75em; font-size: .92rem; }
  .lang { font-size: .75rem; }
  .lang a { padding: .3em .5em; }
}
@media (prefers-reduced-motion: reduce) {
  .fx__grain { animation: none; }
}
/* Telefonis on taust paigal: tera ei virvenda ja aadressiriba peitumine ei venita filmiäärt */
@media (max-width: 900px) {
  .fx__grain { animation: none; }
  .page-frame { bottom: auto; height: 100lvh; }
}
