/* kvagency.io agency pages (English). Same look as the Romanian homepage: ink on paper, hairlines, square corners. */
:root {
  --paper: #F4F2EC; --paper2: #ECE9E1; --ink: #111; --ink2: #2a2926; --stone: #6b675f; --line: #d9d5ca;
  --gut: clamp(16px, 5vw, 56px); --max: 1180px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font: 400 16px/1.6 'Hanken Grotesk', system-ui, sans-serif; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 760px; }
.serif { font-family: 'Newsreader', Georgia, serif; font-weight: 300; letter-spacing: -.01em; }
em { font-style: italic; }
.eyebrow { font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--stone);
           display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .6; }

header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 92%, transparent);
         backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
header.scrolled { border-bottom-color: var(--line); }
header .row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; }
.mark { font-size: 12px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.mark b { font: 400 18px/1 'Newsreader', Georgia, serif; letter-spacing: .02em; margin-right: 10px; }
.nav { display: flex; gap: 26px; font-size: 13px; }
.nav a { text-decoration: none; color: var(--ink2); padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current] { border-bottom-color: var(--ink); }
.hdr-r { display: flex; align-items: center; gap: 16px; }
.lang { font-size: 11px; font-weight: 500; letter-spacing: .18em; text-decoration: none; color: var(--stone); }
.lang:hover { color: var(--ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px;
       font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
       border: 1px solid var(--ink); background: var(--ink); color: var(--paper); transition: background .2s, color .2s; }
.btn:hover { background: var(--ink2); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: 11px; }
.btn svg { width: 16px; height: 16px; flex: none; }
.dark .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }

section { padding: clamp(56px, 9vw, 120px) 0; }
section.tight { padding-top: 0; }
.hero { padding: clamp(40px, 9vw, 110px) 0 clamp(48px, 7vw, 88px); }
.hero h1 { font-size: clamp(40px, 7.2vw, 88px); line-height: 1.02; margin: 22px 0 26px; max-width: 15ch; }
.hero.page h1 { font-size: clamp(36px, 6vw, 72px); max-width: 18ch; }
.hero .lede { font-size: clamp(16px, 1.6vw, 19px); color: var(--ink2); max-width: 40rem; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.facts div { padding: 18px 16px 0 0; }
.facts b { display: block; font: 300 clamp(26px, 3.4vw, 40px)/1.1 'Newsreader', Georgia, serif; }
.facts span { font-size: 13px; color: var(--stone); }

h2 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.06; margin: 18px 0 0; max-width: 20ch; }
.sub { color: var(--stone); max-width: 34rem; margin-top: 18px; }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }

.work { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); margin-top: 44px; }
.card { text-decoration: none; display: block; }
.card .ph, .shot { overflow: hidden; aspect-ratio: 16 / 10; background: var(--paper2); }
.card img, .shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.card:hover img { transform: scale(1.03); }
.card .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.card h3 { font: 300 clamp(22px, 2.2vw, 28px)/1.15 'Newsreader', Georgia, serif; }
.card p { font-size: 13px; color: var(--stone); margin-top: 4px; }
.go { font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }

.dark { background: var(--ink); color: var(--paper); }
.dark .eyebrow, .dark .sub { color: #a9a59b; }
.svcs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 48px; border-top: 1px solid #3a3935; }
.svc { display: flex; flex-direction: column; text-decoration: none; padding: 24px 28px 8px 0; }
.svc i, .grid4 i { font: italic 300 15px 'Newsreader', Georgia, serif; color: #a9a59b; }
.svc h3 { font: 300 28px/1.15 'Newsreader', Georgia, serif; margin: 10px 0 10px; }
.svc p { font-size: 15px; color: #c9c5bb; flex: 1; }
.svc .go { margin-top: 18px; }
.svc:hover h3 { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 48px; border-top: 1px solid #3a3935; }
.grid4 div { padding: 22px 24px 0 0; }
.grid4 h3 { font: 300 22px/1.2 'Newsreader', Georgia, serif; margin: 10px 0 8px; }
.grid4 p { font-size: 14px; color: #c9c5bb; }

.steps { list-style: none; counter-reset: s; border-top: 1px solid var(--line); }
.dark .steps, .dark .ticks li { border-color: #3a3935; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); }
.dark .steps li { border-bottom-color: #3a3935; }
.steps li::before { content: '0' counter(s); font: italic 300 17px 'Newsreader', Georgia, serif; color: var(--stone); }
.steps b, .ticks b { font-weight: 500; display: block; }
.steps span, .ticks span { color: var(--stone); font-size: 15px; }
.dark .steps span, .dark .ticks span { color: #c9c5bb; }
.ticks { list-style: none; border-top: 1px solid var(--line); }
.ticks li { display: grid; grid-template-columns: 32px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ticks li::before { content: '✓'; font-size: 15px; color: var(--stone); line-height: 1.5; }
.ticks.no li::before { content: '×'; }

.faq .qas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 64px); margin-top: 40px; border-top: 1px solid var(--line); }
.qa { padding: 22px 0; border-bottom: 1px solid var(--line); }
.qa h3 { font: 400 20px/1.3 'Newsreader', Georgia, serif; margin-bottom: 8px; }
.qa p { color: var(--ink2); font-size: 15px; }

.cases .case { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(24px, 5vw, 72px); padding: clamp(40px, 6vw, 72px) 0;
               border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.case h2 { font-size: clamp(28px, 3.4vw, 42px); max-width: 18ch; }
.when { font-size: 13px; color: var(--stone); margin-top: 14px; }
.when a { color: var(--ink); text-underline-offset: 3px; }
.case-body { display: grid; gap: 24px; }
.facts-list { list-style: none; border-top: 1px solid var(--line); }
.facts-list li { padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line); position: relative; font-size: 15px; }
.facts-list li::before { content: '—'; position: absolute; left: 0; color: var(--stone); }

.prose h2 { font: 300 clamp(26px, 3vw, 34px)/1.15 'Newsreader', Georgia, serif; margin: 40px 0 12px; max-width: none; }
.prose p { color: var(--ink2); max-width: 44rem; }
.prose a { text-underline-offset: 3px; }
.ro-note { margin-top: 48px; padding-top: 8px; border-top: 1px solid var(--line); }

.end { text-align: center; }
.end h2 { margin: 18px auto 0; }
.end .eyebrow { justify-content: center; }
.end .sub { margin: 18px auto 0; }
.end .ctas { justify-content: center; }
.end .tel { display: block; margin-top: 22px; font-size: 14px; color: var(--stone); text-decoration: none; letter-spacing: .06em; }

footer { border-top: 1px solid var(--line); padding: 36px 0 calc(36px + env(safe-area-inset-bottom)); font-size: 13px; color: var(--stone); }
footer .wrap { display: grid; grid-template-columns: 1.2fr 2fr 1fr; gap: 24px; align-items: start; }
footer p { margin-top: 10px; max-width: 26rem; }
footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; padding-top: 2px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

.bar { display: none; }
@media (max-width: 980px) {
  header .row { flex-wrap: wrap; min-height: 0; padding-top: 14px; row-gap: 6px; }
  .nav { order: 3; width: 100%; overflow-x: auto; gap: 22px; padding-bottom: 8px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; }
  .split, .cases .case { grid-template-columns: 1fr; }
  .work, .svcs { grid-template-columns: 1fr; }
  .svc { padding-right: 0; border-bottom: 1px solid #3a3935; padding-bottom: 22px; }
  .grid4 { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  footer .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .facts b { font-size: 26px; }
  .faq .qas { grid-template-columns: 1fr; }
  .hdr-r .btn { display: none; }
  .hero .ctas .btn { flex: 1 1 100%; }
  .bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
         background: var(--paper); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s; }
  .bar.on { transform: none; }
  .bar .btn { flex: 1; }
  footer { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
}
@media (max-width: 420px) { .grid4 { grid-template-columns: 1fr; } .facts span { font-size: 12px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
