@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/instrument-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #0c1526;
  --ink-2: #15213a;
  --ink-3: #24344f;
  --paper: #f7f5ef;
  --surface: #ffffff;
  --line: #e3dfd4;
  --text: #16202f;
  --muted: #566072;
  --on-ink: #f4f2ec;
  --on-ink-muted: #adb8ca;
  --amber: #f6a723;
  --amber-hover: #ffba4a;
  --amber-text: #8f5200;
  --teal: #2dd4bf;
  --error: #b42318;
  --radius: 14px;
  --radius-lg: 22px;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); line-height: 1.08; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[id] { scroll-margin-top: 88px; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }
.icon-stroke { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: min(100% - 2 * var(--gutter), 1200px); margin-inline: auto; }
.skip-link {
  position: absolute; top: -60px; left: 16px; z-index: 100;
  padding: 10px 16px; background: var(--amber); color: var(--ink); border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px;
  border: 1px solid transparent; border-radius: 10px;
  font: 600 1rem/1.2 var(--body); text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--amber); color: var(--ink); }
.btn-primary:hover { background: var(--amber-hover); }
.btn-ghost { background: transparent; border-color: rgba(244, 242, 236, .32); color: var(--on-ink); }
.btn-ghost:hover { background: rgba(244, 242, 236, .08); border-color: rgba(244, 242, 236, .6); }
.btn-dark { background: var(--ink); color: var(--on-ink); }
.btn-dark:hover { background: var(--ink-3); }
.btn:disabled { opacity: .65; cursor: progress; transform: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink); color: var(--on-ink);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: rgba(244, 242, 236, .12); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; text-decoration: none;
}
.logo svg { width: 34px; height: 34px; }
.site-nav ul { display: flex; align-items: center; gap: 4px; }
.site-nav a:not(.btn) {
  display: block; padding: 10px 14px; border-radius: 8px;
  font-size: .975rem; font-weight: 500; text-decoration: none; color: var(--on-ink-muted);
  transition: color .2s;
}
.site-nav a:not(.btn):hover { color: var(--on-ink); }
.site-nav .btn { min-height: 44px; margin-left: 10px; padding: 10px 18px; font-size: .95rem; }
.nav-toggle {
  display: none; width: 46px; height: 46px; padding: 0;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid rgba(244, 242, 236, .28); border-radius: 10px;
  color: var(--on-ink); cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--on-ink);
  padding-block: clamp(44px, 5vw, 88px) clamp(56px, 6vw, 104px);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(244, 242, 236, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 242, 236, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(115deg, transparent 25%, #000 90%);
  -webkit-mask-image: linear-gradient(115deg, transparent 25%, #000 90%);
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center; gap: clamp(40px, 6vw, 80px);
}
.eyebrow {
  margin-bottom: 18px;
  font-size: .875rem; font-weight: 600; letter-spacing: .04em; color: var(--amber-text);
}
.hero .eyebrow, .on-ink .eyebrow { color: var(--amber); }
.hero h1 { font-size: clamp(2.5rem, 4.1vw, 4.25rem); font-weight: 700; text-wrap: balance; }
.hero-lead { max-width: 56ch; margin-top: 20px; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: var(--on-ink-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 28px; font-size: .95rem; color: var(--on-ink-muted); }
.hero-points li { display: flex; align-items: center; gap: 9px; }
.hero-points svg { width: 18px; height: 18px; color: var(--teal); flex: none; }

/* Hero workflow card */
.flow {
  padding: clamp(18px, 2.4vw, 26px);
  background: var(--ink-2);
  border: 1px solid rgba(244, 242, 236, .12);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .7);
}
.flow-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.flow-title { font-family: var(--display); font-size: 1.0625rem; font-weight: 600; }
.flow-tag {
  flex: none; padding: 3px 10px; border: 1px solid rgba(45, 212, 191, .4); border-radius: 99px;
  font-size: .75rem; font-weight: 600; color: var(--teal);
}
.flow-steps { display: grid; gap: 12px; }
.flow-step {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  padding: 13px 15px;
  background: rgba(244, 242, 236, .04);
  border: 1px solid rgba(244, 242, 236, .1);
  border-radius: 12px;
  animation: flow-pulse 8s infinite;
}
.flow-step:nth-child(2) { animation-delay: 2s; }
.flow-step:nth-child(3) { animation-delay: 4s; }
.flow-step:nth-child(4) { animation-delay: 6s; }
.flow-step:not(:last-child)::after {
  content: ""; position: absolute; left: 34px; top: 100%;
  width: 2px; height: 13px; background: rgba(244, 242, 236, .2);
}
.flow-icon {
  display: grid; place-items: center; flex: none;
  width: 38px; height: 38px;
  background: rgba(246, 167, 35, .14); border-radius: 10px; color: var(--amber);
}
.flow-icon svg { width: 20px; height: 20px; }
.flow-step strong { display: block; font-size: .975rem; font-weight: 600; line-height: 1.3; }
.flow-step span span { display: block; font-size: .85rem; color: var(--on-ink-muted); line-height: 1.35; }
@keyframes flow-pulse {
  0%, 22%, 100% { background: rgba(244, 242, 236, .04); border-color: rgba(244, 242, 236, .1); }
  4%, 18% { background: rgba(246, 167, 35, .1); border-color: rgba(246, 167, 35, .75); }
}

/* Sections */
.section { padding-block: var(--section); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2, .contact-copy h2 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 700; text-wrap: balance; }
.section-head p:not(.eyebrow) { margin-top: 16px; font-size: 1.125rem; color: var(--muted); }
.on-ink { background: var(--ink); color: var(--on-ink); }
.on-ink .section-head p:not(.eyebrow) { color: var(--on-ink-muted); }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service {
  display: flex; flex-direction: column;
  padding: clamp(24px, 2.6vw, 34px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service:hover { transform: translateY(-4px); border-color: #cfc9b8; box-shadow: 0 22px 44px -28px rgba(12, 21, 38, .4); }
.service-icon {
  display: grid; place-items: center;
  width: 52px; height: 52px; margin-bottom: 22px;
  background: var(--ink); border-radius: 13px; color: var(--amber);
}
.service-icon svg { width: 26px; height: 26px; }
.service h3 { font-size: 1.625rem; font-weight: 700; }
.service > p { margin-top: 12px; color: var(--muted); }
.service ul { display: grid; gap: 10px; margin-top: 22px; margin-bottom: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.service li { display: flex; gap: 10px; font-size: 1rem; line-height: 1.4; }
.service li svg { width: 18px; height: 18px; margin-top: 2px; flex: none; color: var(--amber-text); }
.service-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: auto;
  font-weight: 600; color: var(--text); text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.service-link svg { width: 18px; height: 18px; transition: transform .2s; }
.service-link:hover svg { transform: translateX(4px); }

/* Before and after */
.shift-list { display: grid; gap: 12px; }
.shift {
  display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr);
  align-items: center; gap: 18px;
  padding: 20px 24px;
  background: var(--ink-2); border: 1px solid rgba(244, 242, 236, .1); border-radius: var(--radius);
}
.shift-label { display: block; margin-bottom: 3px; font-size: .78rem; font-weight: 600; letter-spacing: .04em; }
.shift-before .shift-label { color: var(--on-ink-muted); }
.shift-after .shift-label { color: var(--teal); }
.shift-before p { color: var(--on-ink-muted); }
.shift-after p { color: var(--on-ink); font-weight: 500; }
.shift-arrow { color: var(--amber); }
.shift-arrow svg { width: 26px; height: 26px; margin-inline: auto; }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.process li { position: relative; padding-top: 74px; counter-increment: step; }
.process li::before {
  content: counter(step);
  position: absolute; top: 0; left: 0; z-index: 1;
  display: grid; place-items: center;
  width: 52px; height: 52px;
  background: var(--amber); border-radius: 50%; color: var(--ink);
  font-family: var(--display); font-size: 1.375rem; font-weight: 700;
}
.process li:not(:last-child)::after {
  content: ""; position: absolute; top: 26px; left: 52px; right: -28px; height: 2px; background: var(--line);
}
.process h3 { font-size: 1.3125rem; font-weight: 700; }
.process p { margin-top: 10px; color: var(--muted); font-size: 1rem; }

/* Promises */
.promises-band { background: #efece2; }
.promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.promise { padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.promise svg { width: 28px; height: 28px; margin-bottom: 16px; color: var(--amber-text); }
.promise h3 { font-size: 1.1875rem; font-weight: 700; line-height: 1.2; }
.promise p { margin-top: 8px; font-size: .975rem; color: var(--muted); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-grid .section-head { margin-bottom: 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 0; cursor: pointer; list-style: none;
  font-family: var(--display); font-size: 1.1875rem; font-weight: 600; line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex: none; color: var(--amber-text); transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact-copy > p:not(.eyebrow) { margin-top: 18px; font-size: 1.125rem; color: var(--on-ink-muted); }
.channels { display: grid; gap: 10px; margin-top: 30px; }
.channel {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 15px;
  background: var(--ink-2); border: 1px solid rgba(244, 242, 236, .12); border-radius: 12px;
  text-decoration: none; transition: border-color .2s, background-color .2s;
}
.channel:hover { border-color: var(--amber); background: #1a2846; }
.channel-icon {
  display: grid; place-items: center; flex: none;
  width: 42px; height: 42px;
  background: rgba(246, 167, 35, .14); border-radius: 10px; color: var(--amber);
}
.channel-label { display: block; font-size: .8125rem; color: var(--on-ink-muted); line-height: 1.3; }
.channel-value { display: block; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.socials { display: flex; gap: 10px; }
.contact-copy .socials { margin-top: 24px; }
.socials a {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border: 1px solid rgba(244, 242, 236, .24); border-radius: 12px;
  color: var(--on-ink); transition: background-color .2s, border-color .2s, color .2s;
}
.socials a:hover { background: var(--amber); border-color: var(--amber); color: var(--ink); }

.form-card {
  padding: clamp(22px, 3.2vw, 40px);
  background: var(--surface); color: var(--text); border-radius: var(--radius-lg);
}
.form-card h3 { font-size: 1.5rem; font-weight: 700; }
.form-note { margin-top: 6px; margin-bottom: 24px; font-size: .95rem; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { margin-bottom: 6px; font-size: .9375rem; font-weight: 600; }
.req { color: var(--error); }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: #fbfaf6; border: 1px solid #c6c1b2; border-radius: 10px;
  color: var(--text); font: 400 1rem/1.4 var(--body);
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6f7785; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: #fff; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(246, 167, 35, .45);
}
.field [aria-invalid="true"] { border-color: var(--error); }
.field-hint { margin-top: 5px; font-size: .85rem; color: var(--muted); }
.field-error { margin-top: 5px; font-size: .875rem; font-weight: 500; color: var(--error); }
.field-error:empty { display: none; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { margin-top: 22px; }
.form-foot .btn { width: 100%; }
.form-status { margin-top: 12px; font-weight: 500; color: var(--error); }
.form-status:empty { display: none; }
.form-privacy { margin-top: 12px; font-size: .85rem; color: var(--muted); text-align: center; }
.form-success { padding-block: 32px; text-align: center; }
.form-success:focus { outline: none; }
.form-success-mark {
  display: grid; place-items: center;
  width: 64px; height: 64px; margin: 0 auto 20px;
  background: #d5f5ef; border-radius: 50%; color: #0b6b5e;
}
.form-success-mark svg { width: 32px; height: 32px; }
.form-success p { max-width: 42ch; margin: 10px auto 22px; color: var(--muted); }

/* Footer */
.site-footer { padding-block: 44px; background: #080f1c; color: var(--on-ink); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .95rem; }
.footer-nav a { color: var(--on-ink-muted); text-decoration: none; }
.footer-nav a:hover { color: var(--on-ink); text-decoration: underline; }
.footer-copy { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(244, 242, 236, .12); font-size: .875rem; color: var(--on-ink-muted); }

/* WhatsApp button */
.whatsapp-float {
  position: fixed; z-index: 60;
  right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom));
  display: grid; place-items: center;
  width: 58px; height: 58px;
  background: #25d366; border-radius: 50%; color: #06281a;
  box-shadow: 0 12px 28px -8px rgba(6, 40, 26, .6);
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float .icon { width: 30px; height: 30px; }

/* Simple pages (404, thank you) */
.simple-page { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; background: var(--ink); color: var(--on-ink); }
.simple-page main { display: grid; place-content: center; flex: 1; padding: 40px var(--gutter); text-align: center; }
.simple-page h1 { font-size: clamp(2.25rem, 6vw, 3.75rem); font-weight: 700; }
.simple-page main p { max-width: 46ch; margin: 18px auto 30px; color: var(--on-ink-muted); }
.simple-page .logo { margin: 24px auto 0; }

/* Tablet */
@media (max-width: 1040px) {
  .hero-grid, .contact-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .flow { max-width: 620px; }
  .service-grid { grid-template-columns: minmax(0, 1fr); }
  .process, .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process li:nth-child(2)::after { display: none; }
  .faq-grid .section-head { margin-bottom: 8px; }
}

/* Mobile menu */
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    padding: 12px var(--gutter) 22px;
    background: var(--ink); border-top: 1px solid rgba(244, 242, 236, .12);
    box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .7);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav a:not(.btn) { padding: 13px 4px; font-size: 1.0625rem; color: var(--on-ink); }
  .site-nav .btn { width: 100%; min-height: 50px; margin: 10px 0 0; font-size: 1rem; }
}

/* Phones */
@media (max-width: 640px) {
  .header-row { min-height: 64px; }
  [id] { scroll-margin-top: 76px; }
  .hero-actions .btn { width: 100%; }
  .hero-points { flex-direction: column; }
  .process, .promises { grid-template-columns: minmax(0, 1fr); }
  .process { gap: 0; }
  .process li { padding: 0 0 30px 72px; min-height: 84px; }
  .process li:last-child { padding-bottom: 0; }
  .process li:not(:last-child)::after, .process li:nth-child(2)::after {
    display: block; top: 52px; bottom: 0; left: 25px; right: auto; width: 2px; height: auto;
  }
  .shift { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 18px; }
  .shift-arrow svg { margin: 0; transform: rotate(90deg); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-row { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .btn:hover, .service:hover, .whatsapp-float:hover { transform: none; }
}
