/* ==========================================================================
   Built by Beards — kodulehe stiilid
   Bränd: süsi #252822, kriit #EAE1D0, sammal #59614A, savi #A04A2F, valge
   Fondid: Barlow Condensed 700 (pealkirjad), Source Sans 3 400/600 (tekst)
   ========================================================================== */

@font-face { font-family: "Barlow Condensed"; src: url("../fonts/BarlowCondensed-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/SourceSans3-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/SourceSans3-Semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --ink: #252822;
  --paper: #EAE1D0;
  --moss: #59614A;
  --clay: #A04A2F;
  --clay-dark: #8A3E27;
  --white: #FFFFFF;
  --paper-dim: #DCD1BC;
  --ink-soft: #3A3E35;

  --font-body: "Source Sans 3", Arial, sans-serif;
  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;

  --gutter: clamp(16px, 5vw, 80px);
  --maxw: 1320px;
  --radius: 2px;              /* üks nurgaraadius kogu lehel */
  --header-h: 92px;
  --gap: clamp(12px, 1.6vw, 24px);
  --focus: var(--ink);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Alus ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.02; margin: 0; letter-spacing: 0; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.container { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--paper); color: var(--ink); padding: 12px 16px; font-weight: 600; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

/* Astmeline puiduliide (logo ühendusribast) — väike dekoratiivne detail */
.joint {
  display: inline-block; width: 30px; height: 10px; margin-right: 12px; vertical-align: 0.05em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 10'%3E%3Cpath d='M0 8.5H14V1.5H30' fill='none' stroke='%23000' stroke-width='2.4'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 10'%3E%3Cpath d='M0 8.5H14V1.5H30' fill='none' stroke='%23000' stroke-width='2.4'/%3E%3C/svg%3E") no-repeat center / contain;
}

.eyebrow {
  font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--clay); margin: 0 0 18px;
}
.eyebrow--light { color: var(--paper); }
.eyebrow--light .joint { color: #D58A6F; }

.section-title { font-size: clamp(44px, 5.4vw, 80px); text-transform: uppercase; margin-bottom: 20px; }
.section-lead { font-size: clamp(18px, 1.4vw, 21px); max-width: 38em; }

/* ---------- Nupud ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 24px;
  font: 600 18px/1.2 var(--font-body);
  text-decoration: none; border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background-color .18s, color .18s, border-color .18s;
}
.btn--primary { background: var(--clay); color: var(--white); }
.btn--primary:hover { background: var(--clay-dark); }
.btn--ghost { color: var(--paper); border-color: rgba(234, 225, 208, .7); background: transparent; }
.btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--ink-soft); }
.btn--ghost-dark { color: var(--ink); border-color: var(--ink); background: transparent; }
.btn--ghost-dark:hover { background: var(--ink); color: var(--paper); }

/* ---------- Päis ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  color: var(--paper); --focus: var(--paper);
  background: linear-gradient(to bottom, rgba(26, 28, 24, .62), rgba(26, 28, 24, 0));
  transition: background-color .25s, box-shadow .25s;
}
.site-header.is-solid { background: var(--ink); box-shadow: 0 1px 0 rgba(234, 225, 208, .12); }
.site-header__inner {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-inline: var(--gutter);
}
.site-header__logo { display: inline-flex; align-items: center; min-height: 44px; border-radius: var(--radius); }
.site-header__logo img { height: 64px; width: auto; }
@media (max-width: 520px) { :root { --header-h: 76px; } .site-header__logo img { height: 50px; } }
.site-nav ul { list-style: none; display: flex; gap: clamp(4px, 2vw, 28px); margin: 0; padding: 0; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px;
  font-weight: 600; font-size: 21px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  border-radius: var(--radius); position: relative;
}
.site-nav ul { gap: clamp(0px, 2vw, 32px); }
@media (max-width: 520px) { .site-nav a { font-size: 17px; padding: 0 7px; letter-spacing: .04em; } .site-nav ul { gap: 0; } }
.site-nav { margin-left: auto; }
.site-nav a { white-space: nowrap; }

/* Keelevalik: laial ekraanil ET · SV · EN reas, kitsal rippmenüü */
.lang { position: relative; display: flex; align-items: center; margin-left: clamp(4px, 1.6vw, 28px); }
.lang__toggle {
  display: none; align-items: center; gap: 4px; min-width: 44px; min-height: 44px; padding: 0 6px;
  background: transparent; color: inherit; border: 2px solid rgba(234, 225, 208, .35); border-radius: var(--radius);
  font: 600 16px/1 var(--font-body); letter-spacing: .06em; cursor: pointer;
}
.lang__toggle svg { width: 16px; height: 16px; transition: transform .2s; }
.lang.is-open .lang__toggle svg { transform: rotate(180deg); }
.lang__menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; border-left: 1px solid rgba(234, 225, 208, .3); padding-left: clamp(8px, 1.2vw, 18px); }
.lang__menu a {
  display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 44px; padding: 0 6px;
  font-weight: 600; font-size: 16px; letter-spacing: .08em; text-decoration: none; color: rgba(234, 225, 208, .7);
  border-radius: var(--radius);
}
.lang__menu a:hover { color: var(--paper); }
.lang__menu a[aria-current="true"] { color: var(--paper); box-shadow: inset 0 -2px 0 var(--clay); }
.lang__name { display: none; }
@media (max-width: 760px) {
  .lang__toggle { display: inline-flex; }
  .lang__menu {
    display: none; position: absolute; right: 0; top: calc(100% + 8px); z-index: 60;
    flex-direction: column; align-items: stretch; min-width: 170px; padding: 6px; border: 0;
    background: var(--ink); box-shadow: 0 8px 24px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(234, 225, 208, .12); border-radius: var(--radius);
  }
  .lang.is-open .lang__menu { display: flex; }
  .lang__menu a { justify-content: flex-start; gap: 12px; padding: 0 12px; color: var(--paper); }
  .lang__menu a[aria-current="true"] { box-shadow: inset 3px 0 0 var(--clay); }
  .lang__name { display: inline; font-weight: 400; letter-spacing: 0; }
  .lang__code { min-width: 24px; }
}
.site-header__logo { flex-shrink: 0; }
@media (max-width: 400px) {
  .site-header__logo img { height: 40px; }
  .site-nav a { font-size: 15px; padding: 0 5px; }
  .lang { margin-left: 2px; }
  .lang__toggle { padding: 0; justify-content: center; }
  .lang__toggle svg { display: none; }
}
@media (max-width: 340px) {
  .site-header__logo img { height: 34px; }
  .site-nav a { font-size: 14px; padding: 0 4px; letter-spacing: .02em; }
}

.site-nav a::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 8px; height: 2px;
  background: var(--clay); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease);
}
.site-nav a:hover::after, .site-nav a[aria-current="true"]::after { transform: scaleX(1); }

/* ---------- Avavaade ----------
   Laial ekraanil: kogu puidupilt taustana, tekst vasakul otse puidul. Vasakule serva
   lisatud tagasihoidlik söetooni üleminek tagab loetavuse; graveering jääb puutumata.
   Kitsal/püstisel ekraanil: pilt eraldi täislaia alana, tekst selle all söepaneelil. */
.hero { position: relative; background: var(--ink); color: var(--paper); --focus: var(--paper); }
.hero__media { position: relative; overflow: hidden; }
.hero__img { width: 100%; height: 100%; object-fit: cover; }
/* Kirjasuurus sõltub pikima rea tähemärkide arvust (--h1-chars, seab main.js), et iga keele pealkiri mahuks */
.hero__title { font-size: min(84px, calc(188vw / var(--h1-chars, 15))); text-transform: uppercase; margin-bottom: 22px; }
.hero__title span { display: block; white-space: nowrap; }
.hero__lead { font-size: clamp(18px, 1.35vw, 21px); color: rgba(234, 225, 208, .94); max-width: 30em; margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (min-width: 1200px) and (min-aspect-ratio: 125/100) {
  .hero {
    /* Kõrgus = pildi enda proportsioon; madalal ekraanil lõigatakse ülevalt/alt veidi,
       kuid graveeringu ülemine ja alumine serv jäävad nähtavale. */
    height: min(56.25vw, max(100vh, 48vw));
    height: min(56.25vw, max(100svh, 48vw));
  }
  .hero__media { position: absolute; inset: 0; }
  .hero__media::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(90deg, rgba(24, 22, 18, .66) 0%, rgba(24, 22, 18, .5) 26%, rgba(24, 22, 18, .18) 42%, rgba(24, 22, 18, 0) 52%);
  }
  .hero__img { object-position: 50% 50%; }
  .hero__content {
    position: relative; z-index: 1; height: 100%;
    display: flex; align-items: center;
    padding: calc(var(--header-h) + 8px) 0 24px var(--gutter);
  }
  /* Tekstiplokk mahub pildi vasakusse ossa ja ei kata graveeringut */
  .hero__panel { width: 46vw; text-shadow: 0 1px 2px rgba(0, 0, 0, .45), 0 0 24px rgba(0, 0, 0, .25); }
  .hero__title { font-size: calc(84vw / var(--h1-chars, 15)); margin-bottom: 1.4vw; }
  .hero__lead { max-width: 28vw; font-size: max(18px, 1.3vw); }
  .hero__actions .btn { text-shadow: none; }
  .hero .btn--ghost { background: rgba(24, 22, 18, .35); }
}

/* Kitsas / püstine vaade */
@media (max-width: 1199.98px), (max-aspect-ratio: 124/100) {
  .site-header { background: var(--ink); }
  .hero { padding-top: var(--header-h); }
  .hero__media { aspect-ratio: 4 / 3; max-height: 70vh; }
  /* Fookus graveeringul: lõikest jääb välja vaid vasaku serva tühi puit */
  .hero__img { object-position: 82% 50%; }
  .hero__content { padding: 36px var(--gutter) 48px; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; }
  .hero__panel { max-width: 680px; }
}
@media (min-width: 640px) and (max-width: 1199.98px), (min-width: 640px) and (max-aspect-ratio: 124/100) {
  .hero__media { aspect-ratio: 1672 / 941; max-height: none; }
  .hero__img { object-position: 50% 50%; }
}
@media (max-width: 380px) {
  .hero__actions .btn { width: 100%; }
}

/* ---------- Teenused ja karusell ---------- */
.services { padding: clamp(64px, 8vw, 120px) 0 clamp(56px, 7vw, 104px); background: var(--paper); overflow: hidden; }
.services__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 3vw, 44px); }
.services__head .section-lead { margin-bottom: 0; }
.carousel-status { font-family: var(--font-head); font-size: 22px; color: var(--moss); white-space: nowrap; font-variant-numeric: tabular-nums; }

.carousel { position: relative; }
.carousel__viewport {
  container-type: inline-size;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  /* vasak serv joondub sisuga, paremal jooksevad kaardid ekraani servani ja lõigatakse ära */
  padding-left: max(var(--gutter), calc((100vw - var(--maxw)) / 2));
  padding-right: var(--gutter);
  scroll-padding-left: max(var(--gutter), calc((100vw - var(--maxw)) / 2));
  scroll-padding-right: var(--gutter);
  outline: none;
}
.carousel__viewport::-webkit-scrollbar { display: none; }
.carousel__viewport.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.carousel__viewport.is-dragging .card { pointer-events: none; }
.carousel__viewport.is-hover-scrolling { scroll-snap-type: none; }
@media (hover: hover) and (pointer: fine) { .carousel__viewport { cursor: grab; } }

.carousel__list {
  --cols: 1; --peek: .2;
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: var(--gap);
}
.carousel__list > li {
  flex: 0 0 auto;
  width: calc((100cqw - var(--gap) * var(--cols)) / (var(--cols) + var(--peek)));
  scroll-snap-align: start;
}
@media (min-width: 640px)  { .carousel__list { --cols: 2; --peek: .3; } }
@media (min-width: 1100px) { .carousel__list { --cols: 3; --peek: .3; } }

.card {
  all: unset; box-sizing: border-box;
  display: flex; flex-direction: column; width: 100%; height: 100%;
  background: var(--ink); color: var(--paper);
  border-radius: var(--radius); overflow: hidden; cursor: pointer;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}
.card:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.card__media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-dim); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); -webkit-user-drag: none; user-select: none; }
.card:hover .card__media img { transform: scale(1.03); }
.card__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 18px 18px 22px; min-height: 96px;
  border-top: 4px solid transparent;
}
.card__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(24px, 2vw, 30px); line-height: 1.05; text-transform: uppercase; }
.card__num { display: block; font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: .14em; color: rgba(234, 225, 208, .62); margin-bottom: 6px; }
.card__icon {
  flex: 0 0 auto; width: 44px; height: 44px; display: grid; place-items: center;
  border: 2px solid rgba(234, 225, 208, .5); border-radius: var(--radius);
  transition: background-color .2s, border-color .2s, transform .25s var(--ease);
}
.card__icon svg { width: 20px; height: 20px; }
.card:hover .card__icon { border-color: var(--paper); }
.card[aria-expanded="true"] .card__bar { border-top-color: var(--clay); }
.card[aria-expanded="true"] .card__icon { background: var(--clay); border-color: var(--clay); transform: rotate(45deg); }

/* Nooled */
.carousel__arrow {
  position: absolute; top: calc(50% - 48px); z-index: 2;
  width: 56px; height: 56px; display: grid; place-items: center;
  background: var(--ink); color: var(--paper); border: 0; border-radius: var(--radius);
  cursor: pointer; transform: translateY(-50%);
  opacity: .5; transition: opacity .2s, background-color .2s;
  --focus: var(--ink);
}
.carousel__arrow svg { width: 26px; height: 26px; }
.carousel__arrow--prev { left: max(8px, calc(var(--gutter) - 28px)); }
.carousel__arrow--next { right: 12px; }
.carousel:hover .carousel__arrow, .carousel:focus-within .carousel__arrow, .carousel__arrow:focus-visible { opacity: 1; }
.carousel__arrow:hover, .carousel__arrow.is-active { background: var(--clay); opacity: 1; }
.carousel__arrow[aria-disabled="true"] { opacity: 0 !important; pointer-events: none; }
.carousel__arrow[aria-disabled="true"]:focus-visible { opacity: .35 !important; }
/* Puuteseadmes on nooled alati nähtaval, väiksemana */
@media (hover: none) {
  .carousel__arrow { opacity: .92; width: 48px; height: 48px; }
  .carousel__arrow[aria-disabled="true"] { opacity: .0 !important; }
}

.carousel-progress { position: relative; height: 3px; background: rgba(37, 40, 34, .15); margin-top: 28px; overflow: hidden; }
.carousel-progress__bar { position: absolute; inset: 0 auto 0 0; width: 30%; background: var(--ink); transform-origin: left; will-change: transform; }
.noscript { padding: 16px; background: var(--white); }

/* Detailpaneel */
.service-detail { margin-top: 28px; }
.service-detail__inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 48px;
  background: var(--ink); color: var(--paper); --focus: var(--paper);
  border-radius: var(--radius);
  padding: clamp(28px, 3.4vw, 52px);
  padding-right: clamp(72px, 7vw, 120px);
  border-left: 6px solid var(--clay);
}
.service-detail.is-entering .service-detail__inner { animation: detail-in .32s var(--ease); }
@keyframes detail-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.service-detail__title { font-size: clamp(36px, 4vw, 60px); text-transform: uppercase; margin-bottom: 16px; }
.service-detail__title:focus { outline: none; }
.service-detail__desc { font-size: clamp(18px, 1.5vw, 22px); max-width: 40em; }
.service-detail__scope { font-size: 15px; color: rgba(234, 225, 208, .7); margin: 0; }
.service-detail__close {
  position: absolute; top: 14px; right: 14px; width: 48px; height: 48px;
  display: grid; place-items: center; background: transparent; color: var(--paper);
  border: 2px solid rgba(234, 225, 208, .4); border-radius: var(--radius); cursor: pointer;
}
.service-detail__close:hover { border-color: var(--paper); background: rgba(234, 225, 208, .08); }
.service-detail__close svg { width: 20px; height: 20px; }
@media (max-width: 760px) {
  .service-detail__inner { grid-template-columns: 1fr; padding-right: clamp(28px, 3.4vw, 52px); padding-top: 72px; }
  .service-detail__actions .btn { width: 100%; }
}

/* ---------- Meist ---------- */
.about { background: var(--ink); color: var(--paper); --focus: var(--paper); padding: clamp(72px, 9vw, 136px) 0; }
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about__figure { margin: 0; position: relative; }
.about__figure img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius); }
.about__figure figcaption {
  position: absolute; left: 12px; bottom: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(37, 40, 34, .82); color: var(--paper); padding: 6px 10px; border-radius: var(--radius);
}
.about__text > p { font-size: clamp(18px, 1.4vw, 21px); max-width: 34em; }
.principle { border-left: 4px solid var(--moss); background: rgba(89, 97, 74, .28); padding: 20px 24px; margin: 28px 0; border-radius: var(--radius); }
.principle__title { font-size: 24px; text-transform: uppercase; margin-bottom: 8px; color: var(--paper); }
.principle p { margin: 0; }
.about__invite { font-weight: 600; }
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; } }

/* ---------- Kontakt ---------- */
.contact { padding: clamp(72px, 9vw, 136px) 0; background: var(--paper); }
.contact__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 960px) { .contact__grid { grid-template-columns: 1fr; } }

.contact-list { margin: 32px 0 0; display: grid; gap: 0; border-top: 1px solid rgba(37, 40, 34, .2); }
.contact-list > div { padding: 16px 0; border-bottom: 1px solid rgba(37, 40, 34, .2); display: grid; grid-template-columns: 11em 1fr; gap: 12px; }
.contact-list dt { font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--moss); padding-top: 3px; }
.contact-list dd { margin: 0; font-size: 20px; font-weight: 600; overflow-wrap: anywhere; }
.contact-list a { text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (max-width: 520px) { .contact-list > div { grid-template-columns: 1fr; gap: 2px; } }
.is-placeholder { color: var(--clay); font-family: ui-monospace, Consolas, monospace; font-size: .85em; font-weight: 600; }

.inquiry { background: var(--white); padding: clamp(24px, 3vw, 44px); border-radius: var(--radius); border-top: 6px solid var(--ink); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field label { font-weight: 600; font-size: 16px; margin-bottom: 6px; }
.optional { font-weight: 400; color: rgba(37, 40, 34, .65); }
.field input, .field select, .field textarea {
  font: 400 18px/1.4 var(--font-body); color: var(--ink);
  background: var(--white); border: 2px solid rgba(37, 40, 34, .35); border-radius: var(--radius);
  padding: 11px 14px; min-height: 50px; width: 100%;
}
.field textarea { resize: vertical; min-height: 140px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23252822' stroke-width='2.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(37, 40, 34, .6); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: var(--clay); }
.field.is-highlight select { border-color: var(--clay); box-shadow: 0 0 0 3px rgba(160, 74, 47, .2); }
.form-error { color: var(--clay); font-weight: 600; }
.inquiry__actions { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.inquiry__privacy { font-size: 15px; color: rgba(37, 40, 34, .72); margin: 0; flex: 1 1 220px; }
.btn[aria-busy="true"] { opacity: .75; cursor: progress; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile { margin: 4px 0 18px; min-height: 65px; }
.form-success { margin-top: 24px; padding: 24px; background: var(--paper); border-left: 6px solid var(--moss); border-radius: var(--radius); }
.form-success:focus { outline: none; }
.form-success__title { font-size: 30px; text-transform: uppercase; margin-bottom: 8px; }
.draft__intro { font-size: 16px; }

.draft { margin-top: 28px; padding-top: 24px; border-top: 2px solid var(--ink); }
.draft__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.draft__title { font-size: 28px; text-transform: uppercase; }
.draft__title:focus { outline: none; }
.draft__badge { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; background: var(--paper); color: var(--ink); padding: 4px 8px; border-radius: var(--radius); }
.draft__text { width: 100%; font: 400 16px/1.5 ui-monospace, Consolas, monospace; color: var(--ink); background: #F6F2EA; border: 1px solid rgba(37, 40, 34, .25); border-radius: var(--radius); padding: 14px; resize: vertical; }
.draft__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.draft__status { margin: 12px 0 0; font-weight: 600; min-height: 1.5em; }

/* ---------- Jalus ---------- */
.site-footer { background: var(--ink); color: rgba(234, 225, 208, .85); --focus: var(--paper); padding: 56px 0 40px; border-top: 1px solid rgba(234, 225, 208, .1); }
.site-footer__grid { display: grid; grid-template-columns: auto 1fr; gap: 32px 64px; align-items: start; }
.site-footer__brand img { width: 64px; height: auto; margin-bottom: 14px; }
.site-footer__name { font-family: var(--font-head); font-size: 28px; text-transform: uppercase; color: var(--paper); margin: 0 0 2px; }
.site-footer__brand p:last-child { margin: 0; }
.site-footer__info { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px 32px; }
.site-footer__info dt { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(234, 225, 208, .55); }
.site-footer__info dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.site-footer .is-placeholder { color: #E39A7F; }
.site-footer__small { grid-column: 1 / -1; font-size: 14px; color: rgba(234, 225, 208, .6); border-top: 1px solid rgba(234, 225, 208, .12); padding-top: 20px; margin: 8px 0 0; }
@media (max-width: 700px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Vähendatud liikumine ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .card:hover .card__media img { transform: none; }
}
