:root {
  --bg: #F7F4EE;
  --surface: #FFFFFF;
  --tint: #EFE9DF;
  --ink: #1F1D1A;
  --muted: #5E5850;
  --line: #E2DACC;

  --accent: #1F5C46;        /* forest green */
  --accent-hover: #174A38;
  --accent-soft: #E2EDE6;
  --saddle: #8A5A3A;        /* leather brown */
  --saddle-soft: #F2E7DB;
  --blue: #3E5F78;          /* dusty blue */
  --blue-soft: #E3EAF0;
  --warm: #C46D3A;
  --warm-text: #9E5026;

  --radius: 18px;
  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, sans-serif;
  --shadow: 0 1px 2px rgba(40, 30, 10, .04), 0 10px 30px -14px rgba(40, 30, 10, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0; }
a { color: inherit; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #fff;
  padding: 13px 24px; border-radius: 999px;
  font-weight: 500; font-size: 16px; letter-spacing: .01em; text-decoration: none;
  border: 1.5px solid var(--accent); cursor: pointer; font-family: var(--sans);
  transition: background .2s, transform .2s, border-color .2s;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn:active { transform: scale(.98); }
.btn-small { padding: 8px 16px; font-size: 15px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); border-color: var(--ink); }
.btn-light { background: #fff; color: var(--accent); border-color: #fff; }
.btn-light:hover { background: var(--accent-soft); border-color: var(--accent-soft); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(247, 244, 238, .88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 70px; }
.logo {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--serif); font-weight: 600; font-size: 31px; letter-spacing: .01em;
  text-decoration: none; color: var(--ink);
}
.logo-mark { width: 30px; height: 30px; color: var(--accent); --logo-hole: var(--bg); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 400; font-size: 15px; letter-spacing: .02em; }
.nav a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang a {
  font: 500 13px var(--sans); color: var(--muted); letter-spacing: .04em; text-decoration: none;
  border-radius: 999px; padding: 5px 10px;
}
.lang a:hover { color: var(--ink); }
.lang a[aria-current="page"] { background: var(--ink); color: #fff; }

/* Mobile menu button (shown under 960px) */
.menu-toggle {
  display: none; width: 42px; height: 42px; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1px solid var(--line); color: var(--ink);
  align-items: center; justify-content: center;
}
.menu-icon, .menu-icon::before { display: block; width: 16px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .2s ease, translate .2s ease; }
.menu-icon { position: relative; translate: 0 -3px; }
.menu-icon::before { content: ""; position: absolute; left: 0; top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-icon { translate: 0 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::before { top: 0; transform: rotate(-90deg); }
.nav-cta { display: none; }

/* Accessibility helpers */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-size: 15px;
}
.skip-link:focus { top: 12px; }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center;
  padding-top: 76px; padding-bottom: 100px;
}
.eyebrow {
  font-size: 12.5px; font-weight: 500; color: var(--warm-text);
  letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(42px, 5.4vw, 66px); letter-spacing: -.01em; line-height: 1.02;
  text-wrap: balance;
}
.lead { font-size: 19px; color: var(--muted); margin-top: 24px; max-width: 33em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--muted); letter-spacing: .02em; }

/* Run card */
.run-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 22px; padding: 22px; box-shadow: var(--shadow);
  transform: rotate(1deg);
}
.run-head { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; }
.run-tag { margin-left: auto; font-size: 12px; font-weight: 500; color: var(--saddle); background: var(--saddle-soft); padding: 4px 10px; border-radius: 999px; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #2FA36B; box-shadow: 0 0 0 0 rgba(47,163,107,.5); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(47,163,107,0); } 100% { box-shadow: 0 0 0 0 rgba(47,163,107,0); } }

.run-steps { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 8px; }
.run-steps li {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 12px;
  background: var(--bg); color: var(--muted); font-size: 15px;
  opacity: .45; transform: translateY(4px);
  transition: opacity .4s, transform .4s, background .4s, color .4s;
}
.run-steps li .run-text { flex: 1; }
.run-steps li .ok { color: var(--accent); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .3s; }
.run-steps li.active { opacity: 1; transform: none; background: var(--accent-soft); color: var(--ink); }
.run-steps li.done { opacity: 1; transform: none; color: var(--ink); }
.run-steps li.done .ok { opacity: 1; transform: none; }
.run-foot { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px dashed var(--line); padding-top: 14px; font-size: 14px; color: var(--muted); }
.run-foot strong { font-size: 26px; line-height: 1; color: var(--accent); font-weight: 500; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-tint { background: var(--tint); }
.section-title { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 4.4vw, 52px); letter-spacing: -.005em; line-height: 1.05; text-wrap: balance; }
.section-lead { color: var(--muted); font-size: 18px; margin-top: 14px; max-width: 40em; }

/* Services */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 46px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.card-head { display: flex; align-items: center; gap: 12px; }
.card-icon { color: var(--accent); display: flex; }
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-family: var(--serif); font-size: 28px; font-weight: 600; }
.card p { color: var(--muted); margin-top: 12px; font-size: 16px; }
.card-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.card-accent p { color: rgba(255,255,255,.82); }
.card-accent .card-icon { color: #9FD9BC; }
.card-warm { background: var(--saddle-soft); border-color: #E8D9C8; }
.card-warm .card-icon { color: var(--saddle); }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; font-size: 15px; }
.ticks li { padding-left: 24px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .58em; width: 10px; height: 6px; border-left: 1.6px solid var(--accent); border-bottom: 1.6px solid var(--accent); transform: rotate(-45deg); }
.card-accent .ticks li::before { border-color: #9FD9BC; }
.card-warm .ticks li::before { border-color: var(--saddle); }

/* Automations */
.flows { display: grid; gap: 20px; margin-top: 46px; }
.flow {
  --c: var(--accent); --c-soft: var(--accent-soft);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px 44px; align-items: center;
}
.flow-saddle { --c: var(--saddle); --c-soft: var(--saddle-soft); }
.flow-blue { --c: var(--blue); --c-soft: var(--blue-soft); }
.flow h3 { grid-column: 1 / -1; font-family: var(--serif); font-size: 28px; font-weight: 600; }
.flow video { grid-column: 1 / -1; width: 100%; border-radius: 12px; }
.flow-line { position: relative; display: grid; grid-template-columns: repeat(var(--n), 1fr); padding: 6px 0; }
.flow-line::before {
  content: ""; position: absolute; top: 31px; left: calc(50% / var(--n)); right: calc(50% / var(--n));
  border-top: 2px dashed var(--line);
}
.node { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 13px; font-weight: 500; color: var(--muted); line-height: 1.3; padding: 0 4px; }
.node svg { position: relative; z-index: 1; box-sizing: content-box; padding: 14px; background: var(--c-soft); border-radius: 14px; color: var(--c); width: 22px; height: 22px; }
.flow-dot {
  position: absolute; top: 26px; left: calc(50% / var(--n)); width: 12px; height: 12px; margin-left: -6px;
  border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px var(--c-soft);
  animation: travel 3.2s cubic-bezier(.6,0,.4,1) infinite;
}
.flow:nth-child(2) .flow-dot { animation-delay: -1s; }
.flow:nth-child(3) .flow-dot { animation-delay: -2s; }
@keyframes travel {
  0% { left: calc(50% / var(--n)); opacity: 0; }
  10% { opacity: 1; }
  85% { opacity: 1; }
  100% { left: calc(100% - 50% / var(--n)); opacity: 0; }
}
.ba { margin: 0; display: grid; gap: 14px; }
.ba div { display: grid; gap: 2px; }
.ba dt { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.ba div:last-child dt { color: var(--c); }
.ba dd { margin: 0; font-size: 16px; }

/* Work */
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 46px; }
.work-intro h3 { font-family: var(--serif); font-weight: 500; font-size: 32px; }
.work-grid { grid-template-columns: 5fr 7fr; }
.work-intro .eyebrow { margin: 0 0 10px; }
.work-intro p { color: var(--muted); margin: 14px 0 0; }
.work-intro .work-more { font-size: 15px; margin: 18px 0 26px; padding-top: 18px; border-top: 1px dashed var(--line); }
.frame { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.frame-bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.frame-bar i:first-child { background: #E5B9A0; }
.work-video { margin: 0; box-shadow: var(--shadow); }
.work-video { position: relative; }
.work-video video { cursor: pointer; }
.video-toggle {
  position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 999px;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(20, 28, 24, .62); color: #fff; border: 0;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: .85; transition: opacity .2s, background .2s;
}
.video-toggle:hover, .video-toggle:focus-visible { opacity: 1; background: rgba(20, 28, 24, .8); }
.video-toggle svg { width: 18px; height: 18px; fill: currentColor; grid-area: 1 / 1; }
.video-toggle .i-play, .video-toggle.is-paused .i-pause { display: none; }
.video-toggle.is-paused .i-play { display: block; }
.work-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #0E1D17; }

/* Testimonial */
.quote {
  position: relative; margin: 72px auto 0; max-width: 820px; text-align: center;
  padding: 44px 48px 38px; background: var(--saddle-soft); border-radius: var(--radius);
}
.quote .eyebrow { margin: 0 0 14px; }
.quote-mark { width: 34px; height: 27px; fill: var(--saddle); opacity: .55; margin-bottom: 14px; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: 25px; line-height: 1.45; font-weight: 500; color: var(--ink); text-wrap: pretty; }
.quote figcaption { margin-top: 20px; font-size: 14px; letter-spacing: .02em; color: var(--warm-text); }

/* Process */
.steps { list-style: none; padding: 0; margin: 46px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-n { display: block; font-family: var(--serif); font-weight: 500; font-size: 46px; line-height: 1; color: var(--saddle); margin-bottom: 14px; }
.steps h3 { font-family: var(--serif); font-size: 25px; font-weight: 600; }
.steps p { color: var(--muted); font-size: 15px; margin-top: 8px; }

/* About */
.about { display: grid; grid-template-columns: 200px 1fr; gap: 48px; align-items: center; }
.photo { width: 200px; height: 200px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; object-fit: cover; --logo-hole: var(--accent-soft); }
.photo svg { width: 92px; height: 92px; }

/* Contact */
.section#contact { padding-top: 0; }
.contact {
  background: var(--accent); color: #fff; border-radius: 28px; padding: clamp(28px, 5vw, 64px);
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start;
}
.contact h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 4.6vw, 54px); line-height: 1.05; }
.contact-copy > p { color: rgba(255,255,255,.84); margin-top: 16px; font-size: 18px; }
.contact-alt { display: grid; gap: 10px; margin-top: 32px; font-size: 15px; }
.contact-alt span:first-child { color: rgba(255,255,255,.7); }
.contact-alt a { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; width: fit-content; }
.contact-alt a:hover { text-decoration: underline; }
.contact-alt a[hidden] { display: none; }
.form-status a { color: inherit; font-weight: 500; }
.contact-alt svg { width: 18px; height: 18px; color: #9FD9BC; }

.contact-form { background: var(--surface); color: var(--ink); border-radius: 20px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 18px; }
.field { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: 14px; font-weight: 500; padding: 0; }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%; font: 400 16px/1.5 var(--sans); color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field textarea::placeholder { color: #9A938A; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; background: var(--bg); transition: background .15s, border-color .15s, color .15s; }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px var(--accent-soft); }
.contact-form .btn { justify-content: center; }
.contact-form .btn[disabled] { opacity: .6; cursor: wait; }
.form-note { font-size: 13px; color: var(--muted); }
.form-note a { color: var(--muted); }
.form-status:empty { display: none; }
.form-status { font-size: 15px; padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-hover); }
.form-status.error { background: #F8E3DA; color: #8A3414; }
.contact-form.sent .field, .contact-form.sent .btn, .contact-form.sent .form-note { display: none; }
.contact-form.sent .form-status { font-size: 17px; padding: 20px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 32px; padding-bottom: 40px; color: var(--muted); font-size: 14px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }

/* Cookie notice */
.cookie-note {
  position: fixed; left: 20px; bottom: 20px; z-index: 20; max-width: 380px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 20px; box-shadow: var(--shadow); font-size: 14px; line-height: 1.5;
}
.cookie-note[hidden] { display: none; }
.cookie-actions { display: flex; align-items: center; justify-content: flex-end; gap: 16px; margin-top: 12px; }
.cookie-actions a { color: var(--muted); }

/* Privacy page */
.legal { max-width: 720px; padding-top: 56px; padding-bottom: 80px; }
.legal h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 5vw, 58px); line-height: 1.05; }
.legal .updated { color: var(--muted); font-size: 14px; margin-top: 10px; }
.legal h2 { font-family: var(--serif); font-weight: 600; font-size: 26px; margin-top: 40px; }
.legal p, .legal li { color: #3E3A34; margin-top: 12px; }
.legal ul { padding-left: 20px; margin: 0; }
.legal a { color: var(--accent); }
html[data-lang="lt"] [data-only="en"], html:not([data-lang="lt"]) [data-only="lt"] { display: none; }

/* ---------- 404 ---------- */
.not-found { padding-top: 72px; padding-bottom: 96px; min-height: 60vh; }
.nf-mark { width: 44px; height: 44px; color: var(--accent); --logo-hole: var(--bg); }
.nf-code { font-family: var(--sans); font-size: 13px; letter-spacing: .14em; color: var(--warm-text); margin: 18px 0 8px; }
.nf-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.nf-cols h1, .nf-cols h2 { font-family: var(--serif); font-weight: 500; font-size: 40px; line-height: 1.1; margin: 0; }
.nf-cols p { color: var(--muted); margin: 14px 0 26px; max-width: 34ch; }
.nf-cols section + section { border-left: 1px dashed var(--line); padding-left: 56px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .header-actions { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; margin: 0; padding: 8px 20px 20px;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -22px rgba(40, 30, 10, .35);
  }
  .menu-open .nav { display: flex; }
  .nav a { font-size: 19px; color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a.nav-cta { display: block; border-bottom: 0; color: var(--accent); font-weight: 500; }
  .menu-open .site-header { border-bottom-color: var(--line); background: var(--bg); }
  .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 48px; padding-bottom: 72px; }
  .run-card { transform: none; max-width: 460px; }
  .cards-3, .steps { grid-template-columns: 1fr 1fr; }
  .flow, .work-grid, .contact { grid-template-columns: 1fr; }
  .flow { gap: 24px; }
}
@media (max-width: 600px) {
  .quote { padding: 32px 22px 28px; margin-top: 48px; }
  .quote blockquote { font-size: 21px; }
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .cards-3, .steps { grid-template-columns: 1fr; }
  .header-actions .header-cta { display: none; }
  .header-actions { gap: 10px; }
  .lead { font-size: 17px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .flow { padding: 22px 16px; }
  .node { font-size: 12px; }
  .node svg { padding: 11px; width: 20px; height: 20px; }
  .flow-line::before { top: 27px; }
  .flow-dot { top: 22px; }
  .frame:nth-child(2) { margin-left: 24px; }
  .about { grid-template-columns: 1fr; gap: 24px; }
  .photo { width: 120px; height: 120px; }
  .photo svg { width: 56px; height: 56px; }
  .contact { border-radius: 22px; }
  .footer { flex-direction: column; align-items: flex-start; }
  .cookie-note { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .nf-cols { grid-template-columns: 1fr; gap: 40px; }
  .nf-cols section + section { border-left: 0; padding-left: 0; border-top: 1px dashed var(--line); padding-top: 36px; }
  .nf-cols h1, .nf-cols h2 { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flow-dot, .pulse { animation: none; }
  .flow-dot { display: none; }
  .run-steps li, .run-steps li .ok { transition: none; }
}
