/* Shared base styles: fonts, tokens, base elements, buttons, header. Used by every page. */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/fonts/fraunces.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/manrope.woff2") format("woff2");
}
:root {
  color-scheme: light;
  --bg: #FFFFFF;
  --mist: #F7F6F3;
  --surface: #FFFFFF;
  --ink: #1A1712;
  --ink-soft: #6B6255;
  --line: #E7E3DC;
  --line-strong: #B9AE9B;
  --signal: #8A6A3B;
  --signal-hover: #6F5430;
  --signal-ink: #FFFFFF;
  --signal-tint: #F0E8DA;
  --focus: #8A6A3B;
  --band-bg: #1A1712;
  --band-ink: #F7F3EC;
  --band-soft: #C4B79F;
  --chip-erp: #8A6A3B;
  --chip-crm: #7A7360;
  --chip-hr: #9B7B4A;
  --chip-data: #6E6553;
  --chip-ext: #8F8370;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --mono: "Fraunces", Georgia, serif;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: inherit; }
html {
  background: var(--bg);
  scroll-padding-top: env(safe-area-inset-top, 0px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a {
  color: var(--ink);
  text-decoration-color: var(--signal);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
a:hover { text-decoration-thickness: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); text-wrap: balance; }
h1, h2, .way h3, .band h2, #hero-title, .service h3 {
  font-family: var(--serif);
  font-weight: 340;
  font-optical-sizing: auto;
  letter-spacing: -0.005em;
}
h3 { font-family: var(--serif); font-weight: 400; }
h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-weight: 360;
  margin-bottom: 18px;
}
h3 { font-size: 24px; line-height: 1.22; letter-spacing: -0.005em; font-weight: 420; }
p { margin: 0 0 16px; }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 48px);
}
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-intro { font-size: 20px; line-height: 1.55; color: var(--ink-soft); max-width: 34em; margin: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 24px;
  border-radius: 2px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--signal); color: var(--signal-ink); border-color: var(--signal); }
.btn-primary:hover { background: var(--signal-hover); border-color: var(--signal-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--mist); }
.btn-lg { min-height: 54px; padding: 14px 30px; font-size: 16px; }

.site-header { padding-block: 22px; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  letter-spacing: 0.002em;
}
.brand svg { width: 30px; height: 30px; flex: none; }
.mark-ring, .mark-tail { fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; }
.mark-node { fill: var(--signal); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav .text-link { color: var(--ink-soft); text-decoration: none; font-size: 16px; font-weight: 550; }
.nav .text-link:hover { color: var(--ink); }
.nav .btn { min-height: 44px; padding: 10px 18px; font-size: 16px; }
@media (max-width: 900px) {
  .nav .text-link { display: none; }
}
@media (max-width: 420px) {
  .nav .btn { display: none; }
}
