*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --base:    #141414;
  --raised:  #1a1a1a;
  --surface: #212121;
  --hover:   #282828;
  --line:    #2a2a2a;
  --line-s:  #222222;
  --white:   #f0f0ee;
  --dim:     rgba(240,240,238,0.48);
  --muted:   rgba(240,240,238,0.26);
  --faint:   rgba(240,240,238,0.08);
  --serif:   'Playfair Display', Georgia, serif;
  --mono:    'JetBrains Mono', monospace;
  --sans:    'DM Sans', sans-serif;
}

html { font-size: 18px; scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--base);
  color: var(--white);
  line-height: 1.65;
  font-weight: 300;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ── NAV ── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6vw; height: 64px;
  background: rgba(20,20,20,0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  max-width: 100%;
}
.nav-logo {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.04em;
}
.nav-logo .dim { color: var(--muted); }
.nav-links { display: flex; gap: 2.25rem; list-style: none; }
.nav-links a {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--base);
  background: var(--white);
  padding: 9px 20px;
  border-radius: 100px;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.8; }

/* ── HERO ── */
.hero {
  position: relative;
  background: var(--base);
  padding: 80px 6vw 70px;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(240,240,238,0.055) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 60% 40%, black 0%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, black 0%, transparent 65%);
}
.hero-eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.7;
  margin-bottom: 1.75rem;
  position: relative;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(4rem, 8.5vw, 8rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--white);
  max-width: 1000px;
  position: relative;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--muted);
}
.hero-bottom {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
  margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid var(--line);
  position: relative;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--dim);
  max-width: 480px;
  line-height: 1.75;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; }
.btn-fill {
  font-family: var(--mono); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.05em; color: var(--base); background: var(--white);
  padding: 12px 24px; border-radius: 100px; transition: opacity 0.2s; display: inline-block;
}
.btn-fill:hover { opacity: 0.82; }
.btn-ghost {
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.05em;
  color: var(--dim); background: transparent; padding: 12px 24px;
  border-radius: 100px; border: 1px solid var(--line);
  transition: border-color 0.2s, color 0.2s; display: inline-block;
}
.btn-ghost:hover { border-color: rgba(240,240,238,0.3); color: var(--white); }

/* ── TICKER ── */
.ticker {
  border-bottom: 1px solid var(--line);
  overflow: hidden; background: var(--raised);
}
.ticker-track {
  display: flex;
  animation: scroll 24s linear infinite;
  width: max-content;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.tick-item {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 1.1rem 2.5rem; border-right: 1px solid var(--line);
  flex-shrink: 0; white-space: nowrap;
}
.tick-n { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--white); font-style: italic; }
.tick-l { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.tick-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line); flex-shrink: 0; }

/* ── SHARED ── */
.section-tag {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 1.25rem;
}
h2.serif {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  line-height: 1.05; letter-spacing: -0.02em;
  color: var(--white); margin-bottom: 3rem; max-width: 640px;
}
h2.serif em { font-style: italic; font-weight: 400; color: var(--muted); }

/* ── PAIN / BENTO ── */
.pain { padding: 96px 6vw; background: var(--raised); border-bottom: 1px solid var(--line); }
.bento {
  display: grid; grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 1px; background: var(--line-s); border: 1px solid var(--line-s);
}
.bc { background: var(--raised); padding: 2.25rem; transition: background 0.2s; position: relative; overflow: hidden; }
.bc:hover { background: var(--hover); }
.bc::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240,240,238,0.08), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.bc:hover::after { opacity: 1; }
.b6  { grid-column: span 6; }
.b4  { grid-column: span 4; }
@media (max-width: 860px) { .b6, .b4 { grid-column: span 12; } }
.pain-tag { font-family: var(--mono); font-size: 0.65rem; color: var(--muted); letter-spacing: 0.08em; margin-bottom: 1.5rem; display: block; }
.bc h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 500; color: var(--white); margin-bottom: 0.6rem; letter-spacing: -0.01em; line-height: 1.35; }
.bc p { font-size: 0.9rem; color: var(--dim); line-height: 1.7; font-weight: 300; }
.bc-stat { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; min-height: 200px; }
.stat-big { font-family: var(--serif); font-size: 5.5rem; font-weight: 700; color: var(--white); line-height: 1; margin-bottom: 0.3rem; font-style: italic; }
.stat-label { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* ── SERVICES ── */
.services { padding: 96px 6vw; background: var(--base); border-bottom: 1px solid var(--line); }
.svc-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px; background: var(--line-s); border: 1px solid var(--line-s);
}
.svc { background: var(--base); padding: 2.5rem 2rem; transition: background 0.2s; position: relative; }
.svc:hover { background: var(--raised); }
.svc::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240,240,238,0.1), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.svc:hover::after { opacity: 1; }
.svc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.svc-num { font-family: var(--mono); font-size: 0.65rem; color: var(--muted); letter-spacing: 0.1em; }
.svc-arrow { color: var(--faint); font-size: 1rem; transition: color 0.2s; }
.svc:hover .svc-arrow { color: var(--dim); }
.svc h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--white); margin-bottom: 0.75rem; letter-spacing: -0.01em; line-height: 1.2; }
.svc p { font-size: 0.9rem; color: var(--dim); line-height: 1.7; font-weight: 300; margin-bottom: 1.5rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.tag { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.04em; border: 1px solid var(--line); color: var(--muted); padding: 4px 10px; border-radius: 100px; }

/* ── PROCESS ── */
.process { padding: 96px 6vw; background: var(--raised); border-bottom: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.steps::before {
  content: ''; position: absolute; top: 13px;
  left: calc(12.5% + 14px); right: calc(12.5% + 14px); height: 1px;
  background: linear-gradient(90deg, var(--line), rgba(240,240,238,0.12), var(--line));
}
@media (max-width: 680px) { .steps { grid-template-columns: 1fr; } .steps::before { display: none; } }
.step { padding-right: 2rem; }
.step + .step { padding-left: 2rem; border-left: 1px solid var(--line-s); }
.step-dot { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.step-dot::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--dim); }
.step-num { font-family: var(--mono); font-size: 0.65rem; color: var(--muted); letter-spacing: 0.08em; margin-bottom: 0.6rem; }
.step h3 { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; color: var(--white); margin-bottom: 0.5rem; line-height: 1.25; }
.step p { font-size: 0.88rem; color: var(--dim); line-height: 1.65; font-weight: 300; }

/* ── WHY ── */
.why { padding: 96px 6vw; background: var(--base); border-bottom: 1px solid var(--line); }
.why-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
@media (max-width: 800px) { .why-layout { grid-template-columns: 1fr; gap: 3rem; } }
.why-lead { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--dim); line-height: 1.75; margin-bottom: 2rem; font-weight: 400; }
.why-list { list-style: none; }
.why-item { display: flex; gap: 0.85rem; align-items: flex-start; font-size: 0.9rem; color: var(--dim); font-weight: 300; padding: 0.85rem 0; border-bottom: 1px solid var(--line-s); line-height: 1.55; }
.why-item:first-child { border-top: 1px solid var(--line-s); }
.why-dash { font-family: var(--mono); font-size: 0.85rem; color: var(--muted); flex-shrink: 0; margin-top: 1px; }
.quote-card { background: var(--surface); border: 1px solid var(--line); padding: 2.5rem; position: relative; overflow: hidden; }
.quote-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(240,240,238,0.1), transparent); }
.qc-label { font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.5rem; }
.qc-quote { font-family: var(--serif); font-style: italic; font-size: 1.05rem; line-height: 1.78; color: var(--dim); font-weight: 400; margin-bottom: 1.25rem; padding-left: 1.25rem; border-left: 1px solid var(--line); }
.qc-sig { font-family: var(--mono); font-size: 0.65rem; color: var(--muted); letter-spacing: 0.04em; margin-bottom: 2rem; }
.qc-divider { border-top: 1px solid var(--line-s); padding-top: 1.5rem; }
.qc-tools-label { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.75rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.chip { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.03em; border: 1px solid var(--line); color: var(--muted); padding: 4px 10px; border-radius: 100px; }

/* ── SEO ── */
.seo { padding: 80px 6vw; background: var(--raised); border-bottom: 1px solid var(--line); }
.seo-inner { max-width: 680px; }
.seo h3 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.3rem; color: var(--white); margin: 2.5rem 0 0.75rem; letter-spacing: -0.01em; }
.seo p { font-size: 0.95rem; color: var(--dim); line-height: 1.85; margin-bottom: 0.75rem; font-weight: 300; }

/* ── CTA ── */
.cta { padding: 120px 6vw; background: var(--surface); text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; bottom: -80px; left: 50%; transform: translateX(-50%); width: 700px; height: 400px; background: radial-gradient(ellipse, rgba(240,240,238,0.03) 0%, transparent 70%); pointer-events: none; }
.cta h2 { font-family: var(--serif); font-size: clamp(2.5rem, 6vw, 5.5rem); font-weight: 700; color: var(--white); line-height: 1.05; letter-spacing: -0.02em; max-width: 820px; margin: 0 auto 1rem; }
.cta h2 em { font-style: italic; font-weight: 400; color: var(--muted); }
.cta-sub { font-size: 1rem; color: var(--dim); font-weight: 300; max-width: 480px; margin: 0 auto 2.5rem; line-height: 1.7; }
.cta-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* ── BLOG ── */
.blog-section { padding: 96px 6vw; background: var(--base); border-bottom: 1px solid var(--line); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1px; background: var(--line-s); border: 1px solid var(--line-s); }
.blog-card { background: var(--base); padding: 2.5rem 2rem; transition: background 0.2s; }
.blog-card:hover { background: var(--raised); }
.blog-card-date { font-family: var(--mono); font-size: 0.65rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; display: block; }
.blog-card h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--white); margin-bottom: 0.75rem; line-height: 1.25; letter-spacing: -0.01em; }
.blog-card p { font-size: 0.9rem; color: var(--dim); line-height: 1.7; font-weight: 300; margin-bottom: 1.25rem; }
.blog-read-more { font-family: var(--mono); font-size: 0.68rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; transition: color 0.2s; }
.blog-card:hover .blog-read-more { color: var(--white); }

/* ── SINGLE POST ── */
.post-wrap { max-width: 860px; margin: 0 auto; padding: 80px 2rem; }
.post-meta { font-family: var(--mono); font-size: 0.68rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 2rem; }
.post-wrap h1 { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 700; color: var(--white); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 2rem; }
.post-content { font-size: 1rem; color: var(--dim); line-height: 1.85; font-weight: 300; }
.post-content h2 { font-family: var(--serif); font-size: 1.75rem; font-weight: 700; color: var(--white); margin: 2.5rem 0 1rem; }
.post-content h3 { font-family: var(--serif); font-style: italic; font-size: 1.3rem; font-weight: 400; color: var(--white); margin: 2rem 0 0.75rem; }
.post-content p { margin-bottom: 1.25rem; }
.post-content a { color: var(--white); border-bottom: 1px solid var(--line); transition: border-color 0.2s; }
.post-content a:hover { border-color: var(--white); }
.post-content ul, .post-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.post-content li { margin-bottom: 0.5rem; }
.post-content blockquote { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--dim); border-left: 1px solid var(--line); padding-left: 1.5rem; margin: 2rem 0; }

/* ── FOOTER ── */
.site-footer { background: var(--raised); border-top: 1px solid var(--line); padding: 4rem 6vw 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line-s); margin-bottom: 1.5rem; }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
.footer-brand { font-family: var(--mono); font-size: 0.85rem; font-weight: 500; color: var(--white); letter-spacing: 0.04em; margin-bottom: 0.75rem; }
.footer-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.7; max-width: 300px; font-weight: 300; margin-bottom: 1.25rem; }
.footer-contact a { display: block; font-family: var(--mono); font-size: 0.78rem; color: var(--muted); margin-bottom: 0.3rem; letter-spacing: 0.02em; transition: color 0.2s; }
.footer-contact a:hover { color: var(--white); }
.footer-col h4 { font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.75rem; opacity: 0.5; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { font-size: 0.88rem; color: var(--muted); font-weight: 300; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; font-family: var(--mono); font-size: 0.65rem; color: var(--muted); opacity: 0.4; letter-spacing: 0.03em; }

/* ── PAGE ── */
.page-wrap { max-width: 820px; margin: 0 auto; padding: 80px 6vw; }
.page-wrap h1 { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--white); margin-bottom: 2rem; letter-spacing: -0.02em; }
.page-content { font-size: 1rem; color: var(--dim); line-height: 1.85; font-weight: 300; }
.page-content h2 { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--white); margin: 2rem 0 0.75rem; }
.page-content p { margin-bottom: 1.25rem; }
.page-content a { color: var(--white); border-bottom: 1px solid var(--line); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow { animation: fadeUp 0.55s ease both; }
.hero h1      { animation: fadeUp 0.65s 0.08s ease both; }
.hero-bottom  { animation: fadeUp 0.65s 0.2s ease both; }

/* ── LEGAL PAGES ── */
.page-legal { max-width: 720px; }
.page-legal h2 { font-family: var(--serif); font-size: clamp(1.5rem,3vw,2.25rem); font-weight: 700; color: var(--white); margin-bottom: 2rem; letter-spacing: -0.02em; }
.page-legal h3 { font-family: var(--serif); font-style: italic; font-size: 1.1rem; font-weight: 400; color: var(--white); margin: 2.5rem 0 0.75rem; letter-spacing: -0.01em; }
.page-legal p { font-size: 0.875rem; color: var(--dim); line-height: 1.85; margin-bottom: 1rem; font-weight: 300; }
.page-legal ul, .page-legal ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.page-legal li { font-size: 0.875rem; color: var(--dim); line-height: 1.75; margin-bottom: 0.4rem; font-weight: 300; }
.page-legal strong { color: var(--white); font-weight: 500; }
.page-legal a { color: var(--white); border-bottom: 1px solid var(--line); transition: border-color 0.2s; }
.page-legal a:hover { border-color: var(--white); }

/* ── WPFORMS DARK STYLING ── */
.wpforms-container { width: 100%; }
.wpforms-field-label { font-family: var(--mono) !important; font-size: 0.65rem !important; letter-spacing: 0.1em !important; text-transform: uppercase !important; color: var(--muted) !important; margin-bottom: 0.5rem !important; }
.wpforms-field input, .wpforms-field textarea { background: var(--raised) !important; border: 1px solid var(--line) !important; color: var(--white) !important; font-family: var(--sans) !important; font-size: 0.9rem !important; font-weight: 300 !important; padding: 12px 16px !important; border-radius: 0 !important; width: 100% !important; transition: border-color 0.2s !important; }
.wpforms-field input:focus, .wpforms-field textarea:focus { border-color: rgba(240,240,238,0.4) !important; outline: none !important; }
.wpforms-field textarea { min-height: 120px !important; resize: vertical !important; }
.wpforms-submit-container { margin-top: 1rem !important; }
.wpforms-submit { font-family: var(--mono) !important; font-size: 0.72rem !important; font-weight: 500 !important; letter-spacing: 0.06em !important; background: var(--white) !important; color: var(--base) !important; border: none !important; padding: 12px 28px !important; border-radius: 100px !important; cursor: pointer !important; transition: opacity 0.2s !important; }
.wpforms-submit:hover { opacity: 0.82 !important; }
.wpforms-field { margin-bottom: 1.25rem !important; }


/* Odoo live chat — shadow DOM offset handled via JS in footer */
