/* Volpaki — agency site. Self-hosted OFL fonts. No frameworks. */
@font-face {
  font-family: "Syne";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("/assets/fonts/syne-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/instrument-sans-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/instrument-sans-italic-latin.woff2") format("woff2");
}

:root {
  --paper: #f3f0e8;
  --paper-2: #e9e4d8;
  --ink: #12141a;
  --ink-soft: #5a5e6a;
  --rule: #d4cec0;
  --rule-soft: #e4dfd3;
  --accent: #0e7c6b;
  --accent-ink: #f3f0e8;
  --accent-deep: #0a5a4e;
  --warn: #8a5a10;
  --warn-bg: #f5e6c8;
  --maxw: 72rem;
  --gutter: clamp(1.1rem, 4vw, 2.75rem);
  --font-display: "Syne", "Avenir Next Condensed", "Arial Narrow", sans-serif;
  --font-text: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --space-5: clamp(3.5rem, 8vw, 6rem);
  --radius: 2px;
  --focus: 2px solid var(--accent);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:hover { color: var(--accent-deep); }
:focus-visible { outline: var(--focus); outline-offset: 3px; }
.visually-hidden {
  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: var(--gutter); top: .5rem; z-index: 100;
  background: var(--ink); color: var(--paper); padding: .5rem .9rem;
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.muted { color: var(--ink-soft); }
.kicker {
  font-family: var(--font-text);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft); margin: 0 0 .85rem;
}
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 .75rem;
  text-wrap: balance;
}
h1 {
  font-size: 3.25rem; /* ~cap on mobile; primary CTA must stay above fold on 390×844 */
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.02;
  max-width: 14ch;
}
@media (min-width: 60rem) {
  h1 { font-size: 5rem; max-width: 12ch; }
}
h2 { font-size: clamp(1.55rem, 3.2vw, 2.35rem); font-weight: 700; }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--font-text); font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 0; border-radius: var(--radius);
  padding: .85rem 1.35rem; cursor: pointer;
}
.btn:hover { background: var(--accent-deep); color: var(--accent-ink); }
.link {
  font-weight: 600; text-decoration: underline; text-underline-offset: .18em;
  text-decoration-thickness: 1.5px;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule-soft);
}
@supports not (backdrop-filter: blur(8px)) { .site-header { background: var(--paper); } }
.site-header__inner {
  display: flex; align-items: center; gap: .85rem; min-height: 3.5rem; flex-wrap: wrap;
}
.brand {
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
  letter-spacing: -0.03em; text-decoration: none; margin-right: auto;
}
.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.2rem; }
.nav a { font-size: .86rem; font-weight: 500; text-decoration: none; color: var(--ink-soft); }
.nav a:hover { color: var(--ink); }
.lang-switch { display: flex; align-items: center; gap: .35rem; font-size: .82rem; font-weight: 600; }
.lang-switch a { text-decoration: none; color: var(--ink-soft); }
.lang-switch [aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; }
.lang-switch__sep { color: var(--rule); }
.header-phone {
  font-size: .88rem; font-weight: 600; text-decoration: none; color: var(--ink);
  white-space: nowrap;
}
.header-phone:hover { color: var(--accent-deep); }
.header-cta { display: none; }
@media (min-width: 56rem) {
  .nav { display: block; }
  .header-cta { display: inline-flex; margin-left: .25rem; padding: .5rem .95rem; font-size: .88rem; }
}

/* Hero */
.hero { padding: 1.75rem 0 2.75rem; border-bottom: 1px solid var(--rule); }
.hero__grid { display: grid; gap: 2rem; }
@media (min-width: 60rem) {
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
}
.hero__lede {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.45; max-width: 38ch; margin-bottom: 1.35rem;
}
.hero__actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.1rem;
  margin-bottom: 1rem;
}
.hero__note { font-size: .9rem; color: var(--ink-soft); max-width: 36ch; }

/* Composed hero mockup: phone + overlapping search card */
.hero__byline {
  margin: 0 0 .65rem;
  font-size: .92rem; font-weight: 600; color: var(--ink-soft);
}
.hero-compose {
  position: relative;
  justify-self: center;
  width: min(100%, 380px);
  padding: 1.75rem 0 2.25rem 0;
}
.hero-compose__badge {
  position: absolute; top: 0; left: 0; z-index: 3;
}
.phone-frame {
  position: relative;
  z-index: 1;
  width: min(100%, 300px);
  margin: 1.1rem auto 0;
  background: #1a1c22;
  border-radius: 1.55rem;
  padding: .6rem .5rem .75rem;
  box-shadow: 0 16px 48px rgba(18,20,26,.28);
}
.phone-frame__notch {
  width: 5rem; height: .38rem; background: #2c3038; border-radius: 999px;
  margin: .2rem auto .5rem;
}
.phone-frame__screen {
  background: #f4f2ec; border-radius: .95rem; overflow: hidden;
  aspect-ratio: 9 / 16; position: relative;
}
.phone-frame__screen img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
}
.search-card {
  position: absolute;
  z-index: 2;
  top: 2.4rem;
  left: 0;
  width: min(92%, 240px);
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: .85rem .9rem .9rem;
  box-shadow: 0 10px 28px rgba(18,20,26,.16);
}
.search-card__label {
  font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-soft); margin: 0 0 .5rem;
}
.search-card__q {
  font-size: .82rem; color: var(--ink-soft); margin: 0 0 .55rem;
  padding: .35rem .55rem; border: 1px solid var(--rule); border-radius: var(--radius);
  background: var(--paper);
}
.search-card__result-url { font-size: .72rem; color: var(--ink-soft); margin: 0 0 .1rem; }
.search-card__result-title {
  font-family: var(--font-text);
  font-weight: 650;
  font-size: .98rem;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 .3rem;
  text-decoration: none;
  max-width: 22ch;
}
.search-card__result-snip { font-size: .8rem; color: var(--ink-soft); margin: 0; line-height: 1.35; }
.hero-compose__cap {
  margin: .85rem 0 0;
  text-align: center;
  font-size: .78rem;
  color: var(--ink-soft);
}

@media (min-width: 60rem) {
  .hero-compose { width: 420px; justify-self: end; padding-top: 2rem; padding-bottom: 2.5rem; }
  .phone-frame { width: 300px; margin-left: auto; margin-right: 0; }
  /* ~40px left + down vs previous: overlap bezel / top-left screen only */
  .search-card { left: calc(-0.5rem - 40px); top: calc(2.4rem + 40px); width: 250px; }
}
/* Hero phone mockup only: crop the yellow example-banner out of the shot */
.hero-compose .phone-frame__screen img {
  object-fit: cover;
  object-position: center 14%;
  transform: scale(1.08);
  transform-origin: top center;
}

/* Sections */
.section { padding: var(--space-5) 0; border-bottom: 1px solid var(--rule); }
.section__head { max-width: 40rem; margin-bottom: 2rem; }
.section__head p { color: var(--ink-soft); }

.work {
  display: grid; gap: 2rem;
}
@media (min-width: 60rem) {
  .work { grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: start; }
}
.work-shot {
  background: var(--paper-2); border: 1px solid var(--rule); padding: .65rem;
  border-radius: var(--radius);
}
.work-shot img { width: 100%; border: 1px solid var(--rule); }
.work-shot figcaption { font-size: .85rem; color: var(--ink-soft); margin-top: .55rem; padding: 0 .15rem; }
.badge {
  display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; background: var(--warn-bg); color: var(--warn);
  padding: .22rem .45rem; margin-bottom: .45rem;
}
.steps-inline { counter-reset: step; display: grid; gap: 0; margin-top: 1.5rem; }
.steps-inline .step {
  counter-increment: step;
  display: grid; grid-template-columns: 2.5rem 1fr; gap: .75rem;
  padding: 1rem 0; border-top: 1px solid var(--rule);
}
.steps-inline .step:last-child { border-bottom: 1px solid var(--rule); }
.steps-inline .step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  color: var(--ink); line-height: 1.3;
}
.other-strip {
  margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--rule);
}
.other-strip__grid {
  display: flex; flex-wrap: nowrap; gap: .65rem;
  margin-top: .75rem;
  overflow-x: auto;
}
.other-strip__grid figure {
  margin: 0; flex: 0 0 auto; width: 160px;
  border: 1px solid var(--rule); background: var(--paper-2); padding: .25rem;
}
.other-strip__grid img {
  width: 100%; height: 100px; object-fit: cover; object-position: top;
}
@media (min-width: 40rem) {
  .other-strip__grid figure { width: 200px; }
  .other-strip__grid img { height: 125px; }
}
.other-strip__grid figcaption { font-size: .68rem; color: var(--ink-soft); padding: .25rem .15rem 0; }

/* Behind */
.behind {
  display: grid; gap: 1.75rem;
}
@media (min-width: 50rem) {
  .behind { grid-template-columns: 8rem 1fr; gap: 2.5rem; align-items: start; }
}
.behind__photo {
  width: 8rem; height: 8rem; border: 1.5px dashed var(--ink-soft);
  background: var(--paper-2); display: grid; place-items: center;
  text-align: center; font-size: .75rem; color: var(--ink-soft); padding: .5rem;
}
.behind__photo img { width: 100%; height: 100%; object-fit: cover; }
.commitments {
  list-style: none; margin: 1.25rem 0 0; padding: 0;
  display: grid; gap: .65rem;
}
.commitments li {
  padding-left: 1.15rem; position: relative; color: var(--ink-soft); font-size: .98rem;
}
.commitments li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: .5rem; height: .5rem; background: var(--ink); border-radius: 1px;
}

/* Pricing — plain statement */
.price-plain {
  border-top: 3px solid var(--ink);
  padding-top: 1.5rem;
  max-width: 40rem;
}
.price-plain__line {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.35rem, 3vw, 1.85rem); line-height: 1.25;
  letter-spacing: -0.02em; margin: 0 0 .75rem;
}
.price-plain__line .ph-token { font-size: .75em; }
.price-plain p { color: var(--ink-soft); }

/* FAQ two columns */
.faq {
  display: grid; gap: 0 2.5rem;
}
@media (min-width: 50rem) {
  .faq { grid-template-columns: 1fr 1fr; }
}
.faq__item {
  padding: 1.15rem 0;
  border-top: 1px solid var(--rule);
}
.faq__item:last-child { border-bottom: 1px solid var(--rule); }
@media (min-width: 50rem) {
  .faq__item:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--rule); }
}
.faq__q {
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  letter-spacing: -0.015em; margin: 0 0 .5rem; line-height: 1.2;
}
.faq__a { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* Contact */
.contact-grid { display: grid; gap: 2.25rem; }
@media (min-width: 60rem) {
  .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 3.5rem; }
}
.form {
  display: grid; gap: 1rem;
  background: var(--paper-2); border: 1px solid var(--rule);
  padding: clamp(1.25rem, 3vw, 1.85rem); border-radius: var(--radius);
}
.field { display: grid; gap: .35rem; }
.field label { font-size: .88rem; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--rule); border-radius: var(--radius);
  padding: .7rem .8rem; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent); outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent);
}
.field textarea { min-height: 7.5rem; resize: vertical; }
.hint { font-size: .82rem; color: var(--ink-soft); }
.consent {
  display: grid; grid-template-columns: 1.15rem 1fr; gap: .7rem; align-items: start;
  font-size: .9rem; color: var(--ink-soft);
}
.consent input { width: 1.15rem; height: 1.15rem; margin-top: .15rem; accent-color: var(--accent); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__notice { font-size: .88rem; color: var(--ink-soft); margin-bottom: .25rem; }

/* Footer */
.site-footer { background: var(--ink); color: var(--paper); padding: 2.75rem 0 1.75rem; }
.site-footer a { color: #c9c6bd; }
.site-footer a:hover { color: #9fd4c4; }
.site-footer__name {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -0.03em; margin: 0 0 1.25rem;
}
.site-footer__cols {
  display: grid; gap: 1.15rem; padding-bottom: 1.25rem; margin-bottom: 1rem;
  border-bottom: 1px solid #2c3038;
}
@media (min-width: 50rem) { .site-footer__cols { grid-template-columns: 1.2fr 1fr 1fr; } }
.site-footer small { color: #8a8880; font-size: .82rem; }

.ph-token {
  display: inline; background: var(--warn-bg); color: var(--warn);
  border: 1px dashed var(--warn); padding: .05em .35em; border-radius: 2px;
  font-family: var(--font-text); font-weight: 600; font-size: .92em; white-space: nowrap;
}
.page-title { padding: 3rem 0 1.5rem; border-bottom: 1px solid var(--rule); margin-bottom: 2rem; }
.page-title .updated { color: var(--ink-soft); margin: 0; }
.prose { max-width: 42rem; }
.prose h2 { font-size: 1.25rem; margin-top: 2rem; }
.prose ul { padding-left: 1.2rem; }
.err { min-height: 60vh; display: grid; place-content: center; text-align: center; padding: 4rem var(--gutter); }
.err h1 { font-size: clamp(3rem, 10vw, 6rem); max-width: none; }

.mailto-cta {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
}
.mailto-cta__lead {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 0 .65rem;
}
.behind:not(:has(.behind__photo)) { grid-template-columns: 1fr; }
@media (min-width: 50rem) {
  .behind:not(:has(.behind__photo)) { grid-template-columns: 1fr; }
}
