/* Tridis Group — tridisgroup.com
   Kind: service (B2B). Mode: Persuade. Dark charcoal + signal lime kept from the old brand; teal dropped.
   Type: Bricolage Grotesque (display) + Inter (text). 4px spacing scale. */
:root {
  --ink: #0F1110;
  --ink-2: #1A1D1B;
  --ink-3: #242826;
  --line: rgba(240, 244, 236, 0.12);
  --paper: #F4F5EF;
  --paper-2: #E8EAE1;
  --text: #EEF1EA;
  --text-2: #A9B0A6;
  --text-dark: #141714;
  --text-dark-2: #4A5148;
  --lime: #B6E33D;
  --lime-ink: #2E3A0A;
  --lime-soft: rgba(182, 227, 61, 0.14);
  --radius: 18px;
  --radius-sm: 10px;
  --max: 1200px;
  --pad: clamp(20px, 5vw, 48px);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--lime); color: var(--lime-ink); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.light :focus-visible { outline-color: var(--lime-ink); }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.025em; text-wrap: balance; line-height: 1.05; }
h1 { font-size: clamp(40px, 4.6vw, 66px); font-weight: 700; }
h2 { font-size: clamp(32px, 4.2vw, 56px); font-weight: 700; }
h3 { font-size: clamp(20px, 1.8vw, 24px); font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--lime); color: var(--lime-ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; z-index: 100; transition: top 160ms var(--ease-out); }
.skip:focus { top: 12px; }

/* ---------- header */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(15, 17, 16, 0.82); backdrop-filter: saturate(1.3) blur(12px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.logo { min-height: 44px; white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.logo-mark { width: 30px; height: 30px; flex: 0 0 auto; }
.nav .btn { white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--text-2); font-size: 15px; font-weight: 500; transition: color 150ms ease; }
.nav a.btn { color: var(--lime-ink); }
.nav .short { display: none; }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 600 16px/1 var(--body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform 160ms var(--ease-out), background-color 160ms ease, border-color 160ms ease; }
.btn:active { transform: scale(0.97); }
.btn-lime { background: var(--lime); color: var(--lime-ink); }
.btn-ghost { border-color: rgba(240, 244, 236, 0.28); color: var(--text); }
.btn-dark { background: var(--text-dark); color: var(--paper); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn .arrow { transition: transform 200ms var(--ease-out); }

/* ---------- hero (one screen) */
.hero { min-height: calc(100svh - 73px); display: flex; align-items: center; padding: 56px 0 64px; }
.hero-grid { display: grid; gap: clamp(40px, 5vw, 64px); }
.hero h1 { font-size: clamp(44px, 7vw, 96px); letter-spacing: -0.035em; line-height: 0.98; max-width: 12.5em; }
.hero-foot { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--line); }
.hero-act .cta-row { margin-top: 0; }
.hero h1 .hl { color: var(--lime); }
.lede { font-size: clamp(18px, 1.6vw, 22px); color: var(--text-2); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.fact { margin-top: 28px; display: flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 15px; }
.fact strong { color: var(--text); font-weight: 600; }
.fact .tick { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; background: var(--lime-soft); color: var(--lime); display: grid; place-items: center; }
.reveal { animation: rise 700ms var(--ease-out) both; }
.reveal.d2 { animation-delay: 90ms; } .reveal.d3 { animation-delay: 180ms; } .reveal.d4 { animation-delay: 270ms; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* photo (added later) */
.slot-img { width: 100%; height: auto; border-radius: var(--radius); object-fit: cover; }

/* ---------- sections */
section { scroll-margin-top: 80px; }
.band { padding: clamp(80px, 10vw, 140px) 0; }
.light { background: var(--paper); color: var(--text-dark); }
.light .muted { color: var(--text-dark-2); }
.muted { color: var(--text-2); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 72px); }
.section-head p { font-size: 19px; max-width: 32em; }

/* services: three rows, not three cards */
.services { border-top: 1px solid rgba(20, 23, 20, 0.14); }
.service { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px 40px; padding: 36px 0; border-bottom: 1px solid rgba(20, 23, 20, 0.14); align-items: start; }
.service h3 { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -0.02em; }
.service .tag { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--text-dark-2); background: var(--paper-2); padding: 4px 12px; border-radius: 999px; }
.service ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.service li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; color: var(--text-dark-2); }
.service li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--text-dark); margin-top: 10px; }
.service p.desc { color: var(--text-dark); font-size: 18px; margin-bottom: 14px; }

/* process: one authored moment (line draws once in view) */
.process { position: relative; }
.steps-wrap { position: relative; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.track { position: absolute; left: 28px; right: 28px; top: 27px; height: 2px; background: var(--line); }
.track span { display: block; height: 100%; background: var(--lime); transform-origin: left; transform: scaleX(0); transition: transform 1400ms var(--ease-out); }
.process.in .track span { transform: scaleX(1); }
.step { position: relative; }
.step-dot { width: 56px; height: 56px; border-radius: 50%; background: var(--ink-3); border: 2px solid var(--line); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--text-2); transition: background-color 300ms ease, border-color 300ms ease, color 300ms ease; position: relative; z-index: 1; }
.process.in .step-dot { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.process.in .step:nth-child(2) .step-dot { transition-delay: 350ms; } .process.in .step:nth-child(3) .step-dot { transition-delay: 700ms; } .process.in .step:nth-child(4) .step-dot { transition-delay: 1050ms; }
.step h3 { margin-top: 24px; font-size: 26px; }
.step p { margin-top: 10px; color: var(--text-2); font-size: 16px; }

/* fit / modular */
.fit { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.fit-col { padding-top: 28px; border-top: 1px solid rgba(20, 23, 20, 0.14); }
.fit-col .fit-list { margin-top: 20px; }
.fit-list { display: grid; gap: 14px; margin: 32px 0 0; padding: 0; list-style: none; }
.fit-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 18px; }
.fit-list .tick { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--text-dark); color: var(--lime); display: grid; place-items: center; margin-top: 2px; }
.story-p, .intro-p { margin-top: 20px; font-size: 19px; max-width: 34em; }
.story-p + .story-p { margin-top: 14px; }

/* consultation + form */
.consult { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.consult-points { margin: 32px 0 0; padding: 0; list-style: none; display: grid; gap: 18px; }
.consult-points li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.consult-points .n { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-weight: 600; font-size: 14px; color: var(--lime); }
.consult-points strong { display: block; color: var(--text); font-weight: 600; }
.consult-points span { color: var(--text-2); font-size: 16px; }
.form { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); display: grid; gap: 18px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; color: var(--text); }
.field label .opt { font-weight: 400; color: var(--text-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: var(--radius-sm); border: 1px solid rgba(240, 244, 236, 0.18); background: var(--ink); color: var(--text); font: 400 16px/1.4 var(--body); transition: border-color 150ms ease, box-shadow 150ms ease; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 4px rgba(182, 227, 61, 0.18); }
.field .err { display: none; font-size: 14px; color: #FFB4A8; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #FF8A7A; }
.field.invalid .err { display: block; }
.form .fine { font-size: 13px; color: var(--text-2); }
.form-body { display: grid; gap: 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field ::placeholder { color: #8C9389; opacity: 1; }
.send-err { font-size: 15px; color: #FFB4A8; background: rgba(255, 138, 122, 0.1); padding: 12px 16px; border-radius: var(--radius-sm); }
.send-err a { color: var(--text); }
.btn:disabled { opacity: 0.6; cursor: progress; }
.form-done { display: none; text-align: center; padding: 24px 0; }
.form-done p { margin-top: 10px; }
.form-done:focus { outline: none; }
.form.sent .form-done { display: block; }
.form.sent .form-body { display: none; }

/* footer */
.site-foot { border-top: 1px solid var(--line); padding: 48px 0; color: var(--text-2); font-size: 15px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
.site-foot a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound p { margin: 18px auto 32px; color: var(--text-2); max-width: 28em; }

/* ---------- hover only for real pointers */
@media (hover: hover) and (pointer: fine) {
  .nav a:not(.btn):hover, .site-foot a:hover { color: var(--text); }
  .btn-lime:hover { background: #C6EE55; }
  .btn-ghost:hover { border-color: var(--text); }
  .btn-dark:hover { background: #262A26; }
  .btn:hover .arrow { transform: translateX(3px); }
}

/* ---------- responsive */
@media (max-width: 1024px) {
  
  .service { grid-template-columns: 1fr; gap: 16px; }
  .fit, .consult, .section-head { grid-template-columns: 1fr; }
  .fit { align-items: start; }
}
@media (max-width: 860px) {
  .hero-foot { grid-template-columns: 1fr; gap: 28px; }
  .nav a:not(.btn) { display: none; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .track { display: none; }
}
@media (max-width: 560px) {
  .hero { min-height: calc(100svh - 65px); }
  body { font-size: 16px; }
  .steps { grid-template-columns: 1fr; }
  .form .btn { width: 100%; padding: 14px 20px; line-height: 1.25; text-align: center; }
  .form .btn .arrow { display: none; }
  .form .row2 { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; }
  .site-head .btn-sm { padding: 0 14px; }
  .nav .long { display: none; }
  .nav .short { display: inline; }
  .site-head .wrap { min-height: 64px; }
}
@media (max-width: 360px) {
  .site-head .logo-text { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { animation: none; }
  .track span { transform: scaleX(1); transition: none; }
  .step-dot { transition: none; }
  .btn, .btn .arrow { transition: none; }
  .btn:active { transform: none; }
}
