/* Setsebi — shared styles. Direction: warm ground + hairline grid + cobalt. */

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

:root{
  --bg:#f6f3ec;
  --surface:#fffdf8;
  --surface-2:#efe9db;
  --ink:#191510;
  --muted:#6f6656;
  --line:#e4ddcf;
  --line-strong:#d6ccb8;
  --accent:#1f4dff;
  --accent-ink:#fffdf8;
  --accent-soft:rgba(31,77,255,0.07);
  --ok:#1f9d55;
  --pad:48px;
}

html{ scroll-behavior:smooth; }

body{
  background:var(--bg);
  color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,Roboto,sans-serif;
  line-height:1.6;
  min-height:100vh;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}

a{ color:inherit; }

/* ---------- reusable type ---------- */
.eyebrow{
  font-family:'Geist Mono',ui-monospace,monospace;
  font-size:11px; letter-spacing:0.12em; text-transform:uppercase;
  color:var(--accent);
  display:inline-flex; align-items:center; gap:10px;
  margin-bottom:24px;
}
.eyebrow::before{ content:''; width:22px; height:1px; background:var(--accent); }

.section-label{
  font-family:'Geist Mono',ui-monospace,monospace;
  font-size:11px; letter-spacing:0.1em; text-transform:uppercase; color:var(--muted);
}

em{ font-style:normal; color:var(--accent); }
mark{ background:var(--accent); color:var(--accent-ink); padding:0 .1em; border-radius:5px;
  -webkit-box-decoration-break:clone; box-decoration-break:clone; }

/* ---------- nav ---------- */
nav.site{
  display:flex; justify-content:space-between; align-items:center;
  padding:22px var(--pad);
  border-bottom:1px solid var(--line);
  position:sticky; top:0; z-index:100;
  background:rgba(246,243,236,0.97);
}
.logo{ font-size:18px; font-weight:700; letter-spacing:-0.03em; text-decoration:none; color:var(--ink); }
.logo b{ color:var(--accent); }

.nav-links{ display:flex; gap:30px; align-items:center; }
.nav-links a{
  font-family:'Geist Mono',ui-monospace,monospace; font-size:12px; letter-spacing:0.04em;
  color:var(--muted); text-decoration:none; transition:color .2s;
}
.nav-links a:hover{ color:var(--ink); }
.nav-links a.active{ color:var(--accent); }

.nav-toggle{
  display:none; background:none; border:1px solid var(--line-strong); border-radius:8px;
  width:40px; height:40px; cursor:pointer; padding:0; align-items:center; justify-content:center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:''; display:block; width:18px; height:2px; background:var(--ink); border-radius:2px;
  transition:transform .2s, opacity .2s;
}
.nav-toggle span{ position:relative; }
.nav-toggle span::before{ position:absolute; top:-6px; }
.nav-toggle span::after{ position:absolute; top:6px; }
.nav-toggle[aria-expanded="true"] span{ background:transparent; }
.nav-toggle[aria-expanded="true"] span::before{ top:0; transform:rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after{ top:0; transform:rotate(-45deg); }

/* ---------- buttons ---------- */
.btn-primary{
  display:inline-flex; align-items:center; gap:10px;
  background:var(--accent); color:var(--accent-ink);
  font-family:'Geist Mono',ui-monospace,monospace; font-size:12px; font-weight:500;
  letter-spacing:0.05em; text-transform:uppercase;
  padding:15px 26px; border-radius:9px; border:none; cursor:pointer;
  text-decoration:none; transition:transform .2s, box-shadow .2s, opacity .2s;
}
.btn-primary:hover:not(:disabled){ transform:translateY(-2px); box-shadow:0 10px 24px -12px var(--accent); }
.btn-primary:disabled{ opacity:0.5; cursor:not-allowed; transform:none; box-shadow:none; }
.btn-ghost{
  font-family:'Geist Mono',ui-monospace,monospace; font-size:12px; letter-spacing:0.04em;
  color:var(--muted); text-decoration:none; transition:color .2s;
}
.btn-ghost:hover{ color:var(--ink); }

/* ---------- hero (grid backdrop from "Signal") ---------- */
.hero{
  position:relative; overflow:hidden;
  padding:96px var(--pad);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size:56px 56px;
  background-position:-1px -1px;
}
.hero::after{
  content:''; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(115% 90% at 12% 0%, transparent 42%, var(--bg) 88%);
}
.hero-inner{ position:relative; z-index:1; max-width:880px; }
.hero.center .hero-inner{ margin:0 auto; text-align:center; }
.hero.center .eyebrow{ justify-content:center; }

h1{
  font-size:clamp(40px,6.2vw,76px); font-weight:800; line-height:0.96;
  letter-spacing:-0.04em; margin-bottom:26px; text-wrap:balance;
}
.hero-sub{
  font-size:16px; line-height:1.7; color:var(--muted);
  max-width:52ch; margin-bottom:38px;
}
.hero.center .hero-sub{ margin-left:auto; margin-right:auto; }
.hero-actions{ display:flex; align-items:center; gap:28px; flex-wrap:wrap; }
.hero.center .hero-actions{ justify-content:center; }

/* status line (ops-native touch from "Signal") */
.statusline{
  display:inline-flex; align-items:center; gap:18px; flex-wrap:wrap;
  font-family:'Geist Mono',ui-monospace,monospace; font-size:11px; color:var(--muted);
  padding:10px 16px; border:1px solid var(--line); border-radius:9px;
  background:var(--surface); margin-bottom:28px;
}
.statusline .dot{
  width:7px; height:7px; border-radius:50%; background:var(--ok); display:inline-block;
  margin-right:8px; box-shadow:0 0 0 0 rgba(31,157,85,.5); animation:pulse 2.4s infinite;
}
@keyframes pulse{ 70%{ box-shadow:0 0 0 6px rgba(31,157,85,0); } 100%{ box-shadow:0 0 0 0 rgba(31,157,85,0); } }

/* ---------- proof bar ---------- */
.proof-bar{
  border-top:1px solid var(--line); border-bottom:1px solid var(--line);
  padding:26px var(--pad); display:flex; gap:56px; flex-wrap:wrap; background:var(--surface);
}
.proof-item{ display:flex; flex-direction:column; gap:4px; }
.proof-item strong{ font-size:24px; font-weight:700; letter-spacing:-0.02em; color:var(--accent); }
.proof-item span{ font-family:'Geist Mono',ui-monospace,monospace; font-size:11px; color:var(--muted); letter-spacing:0.03em; }

/* ---------- generic section ---------- */
.section{ padding:100px var(--pad); }
.section.alt{ background:var(--surface); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.section-header{
  display:flex; justify-content:space-between; align-items:flex-end; gap:16px; margin-bottom:46px;
}
.section-link{
  font-family:'Geist Mono',ui-monospace,monospace; font-size:11px; color:var(--accent);
  text-decoration:none; letter-spacing:0.04em; transition:opacity .2s;
}
.section-link:hover{ opacity:0.65; }

/* ---------- service grid (index) ---------- */
.service-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.service-card{
  background:var(--surface); border:1px solid var(--line); border-radius:14px;
  padding:34px 28px; display:flex; flex-direction:column; gap:14px;
  text-decoration:none; color:inherit; transition:border-color .2s, background .2s, transform .2s;
}
.service-card:hover{ border-color:var(--accent); background:var(--accent-soft); transform:translateY(-3px); }
.service-card .num{ font-family:'Geist Mono',ui-monospace,monospace; font-size:12px; font-weight:500; color:var(--accent); }
.service-card h3{ font-size:20px; font-weight:700; letter-spacing:-0.02em; line-height:1.15; }
.service-card p{ font-size:13.5px; line-height:1.65; color:var(--muted); flex:1; }
.service-card .arrow{ align-self:flex-end; font-size:18px; color:var(--line-strong); transition:color .2s, transform .2s; }
.service-card:hover .arrow{ color:var(--accent); transform:translate(3px,-3px); }

/* ---------- who (index) ---------- */
.who-grid{ display:grid; grid-template-columns:1fr 1fr; gap:72px; align-items:center; }
.who-text h2{ font-size:clamp(28px,3.2vw,44px); font-weight:700; letter-spacing:-0.03em; line-height:1.08; margin-bottom:20px; text-wrap:balance; }
.who-text p{ font-size:15px; line-height:1.75; color:var(--muted); margin-bottom:32px; max-width:46ch; }
.who-list{ display:flex; flex-direction:column; border:1px solid var(--line); border-radius:14px; overflow:hidden; background:var(--bg); }
.who-list-item{
  display:flex; align-items:center; gap:14px; padding:18px 24px;
  border-bottom:1px solid var(--line); font-size:14px; color:var(--muted);
}
.who-list-item:last-child{ border-bottom:none; }
.who-list-item::before{ content:'→'; color:var(--accent); font-family:'Geist Mono',ui-monospace,monospace; }

/* ---------- cta band ---------- */
.cta-band{
  padding:100px var(--pad); display:flex; justify-content:space-between; align-items:center;
  gap:40px; flex-wrap:wrap;
}
.cta-band h2{ font-size:clamp(28px,3.6vw,50px); font-weight:700; letter-spacing:-0.03em; line-height:1.08; max-width:14ch; text-wrap:balance; }
.cta-note{ font-family:'Geist Mono',ui-monospace,monospace; font-size:13px; color:var(--muted); margin-bottom:26px; }
.cta-section{ padding:120px var(--pad); text-align:center; }
.cta-section h2{ font-size:clamp(30px,4.4vw,60px); font-weight:700; letter-spacing:-0.03em; line-height:1.05; margin-bottom:18px; text-wrap:balance; }

/* ---------- services page ---------- */
.divider{ height:1px; background:var(--line); }
.service-list{ display:flex; flex-direction:column; }
.service-item{
  display:grid; grid-template-columns:64px 1fr 40px; gap:28px; align-items:start;
  padding:44px 0; border-bottom:1px solid var(--line);
}
.service-item:last-child{ border-bottom:none; }
.service-num{ font-family:'Geist Mono',ui-monospace,monospace; font-size:14px; color:var(--accent); padding-top:6px; }
.service-body h2{ font-size:clamp(22px,2.4vw,30px); font-weight:700; letter-spacing:-0.02em; margin-bottom:14px; }
.service-body p{ font-size:15px; line-height:1.75; color:var(--muted); max-width:64ch; margin-bottom:22px; }
.tag-list{ display:flex; flex-wrap:wrap; gap:8px; }
.tag{
  font-family:'Geist Mono',ui-monospace,monospace; font-size:11px; color:var(--muted);
  padding:6px 12px; border:1px solid var(--line); border-radius:100px; background:var(--surface);
}
.service-arrow{ font-size:18px; color:var(--line-strong); padding-top:6px; }
.service-count{ font-family:'Geist Mono',ui-monospace,monospace; font-size:11px; color:var(--muted); letter-spacing:0.06em; }

.engagement-grid{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:44px; }
.engagement-card{
  background:var(--bg); border:1px solid var(--line); border-radius:14px; padding:34px 30px;
}
.card-label{
  font-family:'Geist Mono',ui-monospace,monospace; font-size:10px; letter-spacing:0.1em; text-transform:uppercase;
  color:var(--accent); margin-bottom:16px;
}
.engagement-card h3{ font-size:22px; font-weight:700; letter-spacing:-0.02em; margin-bottom:12px; }
.engagement-card p{ font-size:14px; line-height:1.7; color:var(--muted); }

/* ---------- contact page (form-focused, centered) ---------- */
.contact-focus{ max-width:660px; margin:0 auto; padding:72px var(--pad) 100px; }
.contact-head{ text-align:center; margin-bottom:40px; }
.contact-head .eyebrow{ justify-content:center; }
.contact-head h1{ font-size:clamp(32px,4.2vw,52px); }
.contact-intro{ font-size:16px; line-height:1.65; color:var(--muted); max-width:52ch; margin:18px auto 0; }
.form-card{
  background:var(--surface); border:1px solid var(--line); border-radius:18px;
  padding:clamp(24px,4vw,40px); box-shadow:0 30px 70px -50px rgba(0,0,0,0.5);
}
.contact-foot{
  text-align:center; margin-top:26px; font-family:'Geist Mono',ui-monospace,monospace;
  font-size:12px; color:var(--muted); letter-spacing:0.02em;
}
.form-label{ font-family:'Geist Mono',ui-monospace,monospace; font-size:11px; letter-spacing:0.1em; text-transform:uppercase; color:var(--muted); margin-bottom:26px; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-group{ display:flex; flex-direction:column; gap:8px; margin-bottom:20px; }
.form-group label{ font-family:'Geist Mono',ui-monospace,monospace; font-size:11px; letter-spacing:0.04em; color:var(--ink); display:flex; gap:8px; align-items:center; }
.required{ color:var(--accent); font-size:10px; }
.optional{ color:var(--muted); font-size:10px; }
.form-group input, .form-group textarea, .form-group select{
  font-family:inherit; font-size:14px; color:var(--ink);
  background:var(--bg); border:1px solid var(--line); border-radius:9px; padding:13px 15px;
  transition:border-color .2s; width:100%; resize:vertical;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus{
  outline:none; border-color:var(--accent); box-shadow:0 0 0 3px var(--accent-soft);
}
.form-group input::placeholder, .form-group textarea::placeholder{ color:var(--muted); opacity:0.7; }
.referral-details{ max-height:0; overflow:hidden; transition:max-height .3s, margin .3s; }
.referral-details.visible{ max-height:80px; margin-top:12px; }
.submit-btn{ width:100%; justify-content:center; margin-top:6px; }
.form-note{ font-family:'Geist Mono',ui-monospace,monospace; font-size:11px; color:var(--muted); line-height:1.6; margin-top:16px; }
.form-error{ font-family:'Geist Mono',ui-monospace,monospace; font-size:12px; color:#c0392b; margin-top:14px; display:none; }
.form-error.visible{ display:block; }

.success-state{ display:none; flex-direction:column; align-items:flex-start; gap:14px; padding-top:20px; }
.success-state.visible{ display:flex; }
.success-icon{
  width:52px; height:52px; border-radius:50%; background:var(--accent); color:var(--accent-ink);
  display:flex; align-items:center; justify-content:center; font-size:24px;
}
.success-state h2{ font-size:28px; font-weight:700; letter-spacing:-0.02em; }
.success-state p{ font-size:14px; color:var(--muted); max-width:38ch; line-height:1.7; }
.success-state a{ font-family:'Geist Mono',ui-monospace,monospace; font-size:12px; color:var(--accent); text-decoration:none; }

/* ---------- footer ---------- */
footer.site{
  padding:28px var(--pad); border-top:1px solid var(--line);
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px;
}
footer.site .logo{ font-size:14px; }
footer.site a, footer.site span{ font-family:'Geist Mono',ui-monospace,monospace; font-size:11px; color:var(--muted); text-decoration:none; }
footer.site a:hover{ color:var(--ink); }
.footer-links{ display:flex; gap:24px; align-items:center; }

/* ---------- motion pref ---------- */
@media (prefers-reduced-motion:reduce){
  *{ animation:none !important; scroll-behavior:auto !important; transition:none !important; }
}

/* ---------- responsive ---------- */
@media (max-width:900px){
  .who-grid{ grid-template-columns:1fr; gap:40px; }
  .engagement-grid{ grid-template-columns:1fr; }
}
@media (max-width:768px){
  :root{ --pad:24px; }
  .nav-toggle{ display:flex; }
  .nav-links{
    position:absolute; top:100%; right:0; left:0;
    flex-direction:column; align-items:flex-start; gap:0;
    background:var(--surface); border-bottom:1px solid var(--line);
    max-height:0; overflow:hidden; transition:max-height .25s ease;
  }
  .nav-links.open{ max-height:260px; }
  .nav-links a{ width:100%; padding:16px 24px; border-top:1px solid var(--line); font-size:13px; }
  .service-grid{ grid-template-columns:1fr; }
  .section-header{ flex-direction:column; align-items:flex-start; }
  .cta-band{ flex-direction:column; align-items:flex-start; }
  .form-row{ grid-template-columns:1fr; }
  .service-item{ grid-template-columns:40px 1fr; }
  .service-arrow{ display:none; }
}
