/* ==========================================================================
   Evata Consulting Group — site design system
   Brand: warm, intelligent, premium. Cream canvas, ink type, deep-teal accent.
   ========================================================================== */

:root {
  --cream:      #FBFBF9;   /* clean near-white canvas */
  --cream-2:    #F1F2F0;   /* light cool-gray alt sections */
  --ink:        #1B1D1E;   /* cool charcoal */
  --ink-soft:   #3A3D3F;
  --muted:      #6E7378;
  --line:       #E6E7E4;
  --teal:       #1E565B;   /* primary — refined deep teal */
  --teal-deep:  #143F40;
  --teal-bright:#2C8682;
  --clay:       #5E7C86;   /* soft blue-gray secondary */
  --gold:       #C2A35A;   /* logo accent rule */
  --white:      #FFFFFF;
  --radius:     14px;
  --radius-sm:  9px;
  --shadow:     0 1px 2px rgba(20,16,12,.04), 0 12px 40px -18px rgba(20,16,12,.18);
  --shadow-lg:  0 30px 80px -40px rgba(10,40,40,.45);
  --maxw:       1180px;
  --ease:       cubic-bezier(.22,.61,.36,1);
  --serif:      "Fraunces", Georgia, "Times New Roman", serif;
  --sans:       "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--teal-deep); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 560; line-height: 1.1; letter-spacing: -.01em; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.3rem); font-weight: 520; letter-spacing: -.025em; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); letter-spacing: -.02em; }
h3 { font-size: 1.34rem; font-weight: 600; font-family: var(--sans); letter-spacing: -.01em; }
p  { margin: 0 0 1.1em; }
.lead { font-size: 1.24rem; color: var(--ink-soft); line-height: 1.55; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.eyebrow {
  font-family: var(--sans); font-weight: 600; font-size: .8rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal); margin: 0 0 18px;
}
.center { text-align: center; }
.measure { max-width: 720px; }
.measure.center { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: .98rem;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.btn--primary { background: var(--teal); color: #fff; box-shadow: 0 10px 30px -12px rgba(14,90,94,.7); }
.btn--primary:hover { background: var(--teal-deep); color:#fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--cream-2); color: var(--ink); transform: translateY(-2px); }
.btn--lg { padding: 16px 32px; font-size: 1.04rem; }
.arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,246,239,.82); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.brand .mark { width: 30px; height: 30px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink-soft); font-weight: 500; font-size: .98rem; }
.nav-links a:hover { color: var(--teal); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .25s var(--ease); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 92px 0 84px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 520px at 82% -8%, rgba(20,129,127,.16), transparent 60%),
    radial-gradient(680px 460px at 0% 100%, rgba(194,112,61,.10), transparent 60%);
}
.hero h1 { max-width: 16ch; }
.hero .lead { max-width: 600px; margin-top: 8px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust { margin-top: 46px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; color: var(--muted); font-size: .92rem; }
.hero-trust .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--clay); }

/* ---------- generic grid + cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #d8cdbb; }
.card .ico { width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(160deg, var(--teal), var(--teal-bright)); color: #fff; margin-bottom: 18px; }
.card .ico svg { width: 23px; height: 23px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.card--soft { background: var(--cream); }

/* industries */
.ind-card { display: flex; flex-direction: column; gap: 6px; }
.ind-card .tag { font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--clay); }
.ind-card ul { margin: 12px 0 0; padding-left: 18px; color: var(--muted); font-size: .95rem; }
.ind-card ul li { margin-bottom: 5px; }

/* process */
.steps { counter-reset: step; display: grid; gap: 24px; grid-template-columns: repeat(4,1fr); }
.step { position: relative; padding-top: 18px; border-top: 2px solid var(--line); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--serif); font-size: 1.1rem; color: var(--teal); font-weight: 600; }
.step h3 { margin: 10px 0 6px; font-size: 1.1rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* dark band */
.band-dark { background: var(--ink); color: #EFE9DF; position: relative; overflow: hidden; }
.band-dark::before { content:""; position:absolute; inset:0; background: radial-gradient(700px 400px at 85% 0%, rgba(20,129,127,.28), transparent 62%); }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .eyebrow { color: var(--teal-bright); }
.band-dark p { color: #C9C1B4; }
.band-dark .container { position: relative; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.stat .num { font-family: var(--serif); font-size: 2.8rem; color: #fff; line-height: 1; }
.stat .lbl { color: #C9C1B4; margin-top: 8px; font-size: .96rem; }

/* CTA */
.cta-band { text-align: center; }
.cta-band .lead { color: var(--muted); }

/* split feature */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.feature-list { list-style: none; margin: 22px 0 0; padding: 0; }
.feature-list li { display: flex; gap: 13px; margin-bottom: 16px; align-items: flex-start; }
.feature-list .check { flex: none; width: 22px; height: 22px; border-radius: 50%; background: rgba(14,90,94,.12); color: var(--teal); display: grid; place-items: center; margin-top: 2px; }
.feature-list .check svg { width: 12px; height: 12px; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 8px; box-shadow: var(--shadow-lg); }
.panel .panel-bar { display: flex; gap: 7px; padding: 12px 14px; }
.panel .panel-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); display: block; }
.panel pre { margin: 0; padding: 8px 20px 22px; font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace; font-size: .86rem; color: var(--ink-soft); line-height: 1.7; overflow-x: auto; }
.panel .k { color: var(--teal); } .panel .c { color: var(--muted); } .panel .s { color: var(--clay); }

/* ---------- blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.post-card { display: flex; flex-direction: column; background:#fff; border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-card .thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--teal-deep), var(--teal-bright)); position: relative; }
.post-card .thumb.alt { background: linear-gradient(135deg, #2A2620, var(--clay)); }
.post-card .thumb.alt2 { background: linear-gradient(135deg, var(--teal), #1f3b3b); }
.post-card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card .meta { font-size: .8rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.post-card h3 { margin: 10px 0; font-family: var(--serif); font-weight: 560; font-size: 1.3rem; }
.post-card p { color: var(--muted); font-size: .96rem; flex: 1; }
.post-card .read { font-weight: 600; font-size: .92rem; margin-top: 10px; }

.article { max-width: 720px; margin: 0 auto; }
.article h2 { margin-top: 1.6em; }
.article h3 { margin-top: 1.4em; font-family: var(--serif); font-weight: 560; font-size: 1.5rem; }
.article p, .article li { font-size: 1.08rem; color: var(--ink-soft); }
.article blockquote { margin: 1.6em 0; padding: 6px 24px; border-left: 3px solid var(--teal); font-family: var(--serif); font-size: 1.3rem; color: var(--ink); }
.article .post-hero { aspect-ratio: 21/8; border-radius: var(--radius); background: linear-gradient(135deg, var(--teal-deep), var(--teal-bright)); margin: 26px 0 40px; }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 600; font-size: .9rem; }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; padding: 13px 15px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: #fff; color: var(--ink); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(14,90,94,.1); }
.field textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* contact split */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-info .item { margin-bottom: 22px; }
.contact-info .item .l { font-weight: 600; }
.contact-info .item a { font-size: 1.05rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #C9C1B4; padding: 70px 0 34px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer .brand { color: #fff; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; margin: 0 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: 11px; }
.site-footer ul a { color: #C9C1B4; font-size: .96rem; }
.site-footer ul a:hover { color: #fff; }
.footer-about { max-width: 320px; font-size: .96rem; margin-top: 16px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; font-size: .87rem; color: #8A8275; flex-wrap: wrap; gap: 12px; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .grid-3, .grid-4, .post-grid, .steps, .stats { grid-template-columns: repeat(2,1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 680px) {
  .section { padding: 68px 0; }
  .grid-2, .grid-3, .grid-4, .post-grid, .steps, .stats, .form-row { grid-template-columns: 1fr; }
  .nav-links, .nav-cta .btn--ghost { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links { display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 24px 20px; }
  .nav.open .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); width: 100%; }
  .footer-top { grid-template-columns: 1fr; }
  h1 { font-size: clamp(2.3rem, 9vw, 3rem); }
}

/* ============================================================
   High-end polish — logo lockup, hero visual, texture
   ============================================================ */

/* --- typographic logo wordmark (Playfair + gold rule, matches brand logo) --- */
.brand { gap: 0; align-items: center; }
.wordmark { display: flex; flex-direction: column; line-height: .92; }
.wordmark b { font-family: "Playfair Display", var(--serif); font-weight: 600; font-size: 2.1rem; letter-spacing: .004em; color: #262C31; }
.wm-sub { display: flex; align-items: center; gap: 11px; margin-top: 8px; }
.wm-rule { width: 26px; height: 2px; background: var(--gold); flex: none; border-radius: 1px; }
.wordmark i { font-style: normal; font-family: var(--sans); font-weight: 600; font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: #5E6973; }
.site-footer .wordmark b { color: #fff; }
.site-footer .wordmark i { color: #A7ACB1; }
.nav { height: 86px; }
@media (max-width: 560px){ .wordmark b { font-size: 1.7rem; } .wm-rule { width: 18px; } .wordmark i { letter-spacing: .22em; } }

/* thin premium accent line at very top */
body { border-top: 3px solid var(--teal); }

/* keep content above hero background layers */
.hero .container, .band-dark .container { position: relative; z-index: 1; }

/* --- refined, clean hero (restrained, Squarespace-like) --- */
.hero { padding: 80px 0 96px; }
.hero::before {
  background:
    radial-gradient(760px 460px at 90% -16%, rgba(44,134,130,.10), transparent 62%),
    radial-gradient(620px 460px at -8% 112%, rgba(94,124,134,.08), transparent 62%);
}
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 60px; align-items: center; }
.hero-copy h1 { max-width: 14ch; font-size: clamp(2.3rem, 4.4vw, 3.6rem); }
.hero-copy .lead { max-width: 540px; }
.hero-visual { position: relative; }
.claude-chip {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 11px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .82rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 22px;
}
.claude-chip .spark { width: 16px; height: 16px; color: var(--clay); }

/* --- product mockup --- */
.mock { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: var(--cream); }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); display: block; }
.mock-bar .ttl { margin-left: 12px; font-size: .76rem; color: var(--muted); font-weight: 600; }
.mock-body { display: grid; grid-template-columns: 132px 1fr; min-height: 350px; }
.mock-side { border-right: 1px solid var(--line); padding: 16px 12px; background: var(--cream); display: flex; flex-direction: column; gap: 5px; }
.mock-side .si { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 8px; font-size: .8rem; color: var(--muted); }
.mock-side .si.active { background: #fff; color: var(--ink); font-weight: 600; box-shadow: var(--shadow); }
.mock-side .si .d { width: 8px; height: 8px; border-radius: 3px; background: var(--teal); flex: none; }
.mock-main { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.mock-label { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.mock-doc { border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.mock-doc .ln { height: 7px; border-radius: 4px; background: var(--cream-2); margin-bottom: 8px; }
.mock-doc .ln.s { width: 55%; } .mock-doc .ln.m { width: 82%; } .mock-doc .ln:last-child { margin-bottom: 0; }
.mock-row { display: flex; gap: 7px; flex-wrap: wrap; }
.mock-chip { font-size: .71rem; padding: 5px 11px; border-radius: 999px; background: rgba(14,90,94,.09); color: var(--teal); font-weight: 600; }
.mock-chip.clay { background: rgba(194,112,61,.12); color: var(--clay); }
.mock-ai { background: linear-gradient(180deg,#fff,var(--cream)); border: 1px solid var(--line); border-radius: 10px; padding: 13px; display: flex; gap: 11px; }
.mock-ai .av { width: 28px; height: 28px; border-radius: 8px; flex: none; background: linear-gradient(160deg,var(--teal),var(--teal-bright)); }
.mock-ai .txt { font-size: .82rem; color: var(--ink-soft); line-height: 1.5; }
.mock-badge { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 11px 15px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; font-size: .83rem; font-weight: 600; color: var(--ink); }
.mock-badge .ck { width: 22px; height: 22px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; flex: none; }
.mock-badge .ck svg { width: 12px; height: 12px; }
.mock-badge.b1 { top: -16px; right: -14px; animation: float 6s ease-in-out infinite; }
.mock-badge.b2 { bottom: -16px; left: -18px; animation: float 6s ease-in-out infinite .9s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (prefers-reduced-motion: reduce) { .mock-badge { animation: none; } }

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy h1 { max-width: 18ch; }
  .mock-badge.b1 { right: 4px; } .mock-badge.b2 { left: 4px; }
}
@media (max-width: 560px) {
  .wordmark i { letter-spacing: .2em; }
  .mock-body { grid-template-columns: 1fr; } .mock-side { display: none; }
}
