/* ==========================================================================
   Thimar Ventures — design system
   Institutional / Swiss-bank grid: sharp corners, hairline rules,
   generous whitespace, a single red accent.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --red:        #e60000;
  --red-dark:   #b30000;
  --ink:        #1c1c1c;
  --ink-soft:   #4a4a4a;
  --ink-mute:   #767676;
  --line:       #dedede;
  --line-soft:  #ededed;
  --surface:    #ffffff;
  --surface-2:  #f5f5f5;
  --surface-3:  #ebebeb;
  --dark:       #141414;
  --dark-2:     #262626;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --gutter: 24px;
  --maxw: 1360px;
  --header-h: 76px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, h5, p, ul, ol, figure, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }

::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--red); color: #fff; padding: 12px 20px; font-weight: 600;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 900px; }

.section { padding-block: clamp(64px, 8vw, 116px); }
.section--tight { padding-block: clamp(48px, 5vw, 72px); }
.section--alt { background: var(--surface-2); }
.section--dark { background: var(--dark); color: #fff; }
.section--line { border-top: 1px solid var(--line); }

/* ---------- Type ---------- */
.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 20px;
}
.eyebrow--red { color: var(--red); }
.eyebrow--light { color: rgba(255,255,255,.7); }

.display {
  font-size: clamp(2.35rem, 5.4vw, 4.1rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -.025em;
}
.h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -.02em;
}
.h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -.01em;
}
.h4 { font-size: 1.05rem; font-weight: 600; line-height: 1.35; }
.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 300;
}
.body { color: var(--ink-soft); }
.muted { color: var(--ink-mute); }
.section--dark .body,
.section--dark .lead { color: rgba(255,255,255,.72); }

.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head .h2 + .lead { margin-top: 20px; }

/* Red keyline above a heading */
.keyline { position: relative; padding-top: 26px; }
.keyline::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 56px; height: 3px;
  background: var(--red);
}

/* ---------- Chevron link ---------- */
.clink {
  display: inline-flex;
  gap: 12px;
  align-items: flex-start;
  padding-block: 4px;
}
.clink__ico {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  margin-top: 3px;
  color: var(--red);
  transition: transform .28s var(--ease);
}
.clink__txt { display: block; }
.clink__lead {
  display: block;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.35;
  transition: color .18s var(--ease);
}
.clink__sub {
  display: block;
  font-size: .95rem;
  font-weight: 300;
  color: var(--ink-mute);
  line-height: 1.4;
}
.clink:hover .clink__ico { transform: translateX(5px); }
.clink:hover .clink__lead { color: var(--red); }
.section--dark .clink__sub, .cta .clink__sub { color: rgba(255,255,255,.6); }
.section--dark .clink__ico, .cta .clink__ico { color: #ff4d4d; }
.section--dark .clink:hover .clink__lead, .cta .clink:hover .clink__lead { color: #ff4d4d; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .01em;
  border: 1px solid transparent;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: 0 0 auto; }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }

.logo { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.logo__mark { width: 30px; height: 30px; flex: 0 0 auto; }
.logo__word { font-size: 1.22rem; font-weight: 700; letter-spacing: -.025em; line-height: 1; }
.logo__word span { font-weight: 300; color: var(--ink-mute); }

.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav__link {
  position: relative;
  padding: 10px 13px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .18s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute; left: 13px; right: 13px; bottom: -1px;
  height: 3px; background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform .26s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--ink); font-weight: 600; }
.nav__link.is-active::after { transform: scaleX(1); }

.header__cta { margin-left: 16px; padding: 12px 24px; font-size: .88rem; }

.burger {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
}
.burger span { display: block; position: relative; width: 22px; height: 2px; background: var(--ink); transition: background .2s var(--ease); }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0;
  width: 22px; height: 2px; background: var(--ink);
  transition: transform .26s var(--ease), top .26s var(--ease);
}
.burger span::before { top: -7px; }
.burger span::after  { top: 7px; }
body.nav-open .burger span { background: transparent; }
body.nav-open .burger span::before { top: 0; transform: rotate(45deg); }
body.nav-open .burger span::after  { top: 0; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0;
  z-index: 80;
  background: #fff;
  padding: 24px var(--gutter) 48px;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .24s var(--ease), transform .24s var(--ease), visibility .24s;
}
body.nav-open .mobile-nav { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
body.nav-open { overflow: hidden; }
.mobile-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
  font-size: 1.35rem; font-weight: 300; letter-spacing: -.01em;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-nav a:not(.btn) svg { width: 18px; height: 18px; color: var(--red); }
.mobile-nav .btn { width: 100%; justify-content: center; margin-top: 30px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: flex; align-items: flex-end;
  background: var(--dark);
  overflow: hidden;
}
.hero--compact { min-height: min(54vh, 480px); }
.hero__bg { position: absolute; inset: 0; }
.hero__bg svg, .hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,8,8,.9) 0%, rgba(8,8,8,.58) 55%, rgba(8,8,8,.25) 100%),
    linear-gradient(0deg, rgba(8,8,8,.6) 0%, rgba(8,8,8,0) 60%);
}
.hero__inner { position: relative; width: 100%; padding-block: clamp(52px, 8vw, 96px); color: #fff; }
.hero__content { max-width: 760px; }
.hero .display { color: #fff; }
.hero__deck {
  margin-top: 24px;
  max-width: 620px;
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  font-weight: 300;
  line-height: 1.55;
  color: rgba(255,255,255,.82);
}
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__rule { width: 56px; height: 3px; background: var(--red); margin-bottom: 26px; }

/* ==========================================================================
   Stat bar
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); border-top: 1px solid var(--line); }
.stat { padding: 34px 28px 34px 0; border-bottom: 1px solid var(--line); }
.stat__n { font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 300; line-height: 1; letter-spacing: -.03em; }
.stat__n em { font-style: normal; color: var(--red); }
.stat__l {
  margin-top: 12px;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-mute);
}
.section--dark .stats, .section--dark .stat { border-color: rgba(255,255,255,.16); }
.section--dark .stat__l { color: rgba(255,255,255,.6); }

/* ==========================================================================
   Card grids
   ========================================================================== */
.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card { background: var(--surface); display: flex; flex-direction: column; transition: background .22s var(--ease); }
.card--link:hover { background: var(--surface-2); }
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-3); }
.card__media svg, .card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card--link:hover .card__media svg, .card--link:hover .card__media img { transform: scale(1.035); }
.card__num {
  position: absolute; top: 0; left: 0;
  background: var(--red); color: #fff;
  font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  padding: 7px 13px;
}
.card__body { padding: 30px 30px 34px; display: flex; flex-direction: column; flex: 1; gap: 14px; }
.card__body .clink { margin-top: auto; padding-top: 10px; }

/* Feature split */
.feature { display: grid; grid-template-columns: 1.15fr 1fr; border: 1px solid var(--line); background: var(--line); gap: 1px; }
.feature__media { background: var(--surface-3); min-height: 380px; }
.feature__media svg, .feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__body {
  background: var(--surface);
  padding: clamp(32px, 4vw, 58px);
  display: flex; flex-direction: column; justify-content: center; gap: 18px;
}
.feature--flip .feature__media { order: 2; }

/* ==========================================================================
   Value list
   ========================================================================== */
.vlist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.vitem { background: var(--surface); padding: 34px 32px 38px; }
.vitem__k { font-size: .78rem; font-weight: 700; letter-spacing: .12em; color: var(--red); margin-bottom: 18px; }
.vitem .h4 { margin-bottom: 10px; }
.vitem p { font-size: .96rem; color: var(--ink-soft); }

/* ==========================================================================
   Quote
   ========================================================================== */
.quote { border-left: 3px solid var(--red); padding: 8px 0 8px 30px; }
.quote p { font-size: clamp(1.3rem, 2.6vw, 2rem); font-weight: 300; line-height: 1.3; letter-spacing: -.015em; }
.quote cite {
  display: block; margin-top: 18px;
  font-size: .8rem; font-style: normal; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute);
}

/* ==========================================================================
   Service blocks
   ========================================================================== */
.svc { border-top: 1px solid var(--line); padding-block: clamp(48px, 6vw, 80px); }
.svc__head { display: grid; grid-template-columns: 96px 1fr; gap: 28px; align-items: start; }
.svc__num { font-size: 2.6rem; font-weight: 200; line-height: .9; color: var(--line); letter-spacing: -.04em; }
.svc__intro { max-width: 720px; }
.svc__intro .lead { margin-top: 18px; }
.svc__grid {
  margin-top: 44px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.svc__item { background: var(--surface); padding: 28px 26px 32px; }
.svc__item h3 { font-size: 1rem; font-weight: 600; margin-bottom: 9px; }
.svc__item p { font-size: .93rem; color: var(--ink-soft); }

/* ==========================================================================
   Process steps
   ========================================================================== */
/* Explicit counts, not auto-fit: auto-fit leaves a collapsed 0px track and
   the 1px gap renders as a stray hairline against the right border. */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.steps--5 { grid-template-columns: repeat(5, 1fr); }
.step { background: var(--surface); padding: 32px 26px 36px; }
.step__n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; margin-bottom: 20px;
  border: 1px solid var(--red); color: var(--red);
  font-size: .82rem; font-weight: 700; letter-spacing: .06em;
}
.step h4 { margin-bottom: 9px; }
.step p { font-size: .93rem; color: var(--ink-soft); }

/* ==========================================================================
   Capability panels
   ========================================================================== */
.panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.panels--2 { grid-template-columns: repeat(2, 1fr); }
.panel { background: var(--surface); padding: 34px 30px 38px; display: flex; flex-direction: column; gap: 14px; }
.panel__bar { width: 40px; height: 3px; background: var(--red); }
.panel ul { display: grid; gap: 9px; margin-top: 4px; }
.panel li { position: relative; padding-left: 20px; font-size: .92rem; color: var(--ink-soft); }
.panel li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 1px; background: var(--red); }

/* ==========================================================================
   Projects
   ========================================================================== */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter {
  padding: 9px 20px; font-size: .82rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid var(--line); color: var(--ink-mute);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }

.proj { border: 1px solid var(--line); background: var(--surface); margin-bottom: 28px; }
.proj[hidden] { display: none; }
.proj__grid { display: grid; grid-template-columns: 1.05fr 1fr; }
.proj__visual { background: var(--dark); padding: 34px; display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.proj__body { padding: clamp(30px, 3.4vw, 50px); display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.proj__flag {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 12px; background: var(--red); color: #fff;
}
.proj__flag--soon { background: var(--surface-3); color: var(--ink-mute); }
.proj__dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .25 } }

.placeholder-visual {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; min-height: 260px; color: rgba(255,255,255,.5);
  border: 1px dashed rgba(255,255,255,.2);
}
.placeholder-visual svg { width: 44px; height: 44px; }
.placeholder-visual span { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 4px; }
.tag {
  font-size: .72rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  padding: 6px 11px; border: 1px solid var(--line); color: var(--ink-mute);
}

/* Dashboard mock */
.mock { background: var(--dark-2); border: 1px solid rgba(255,255,255,.12); }
.mock__bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 15px; border-bottom: 1px solid rgba(255,255,255,.12);
  font-size: .68rem; font-weight: 700; letter-spacing: .14em; color: rgba(255,255,255,.55);
}
.mock__live { display: inline-flex; align-items: center; gap: 7px; color: #4ade80; }
.mock__live .proj__dot { background: #4ade80; }
.mock__stats { display: grid; grid-template-columns: repeat(3, 1fr); }
.mock__stat { padding: 18px 15px; border-right: 1px solid rgba(255,255,255,.1); }
.mock__stat:last-child { border-right: 0; }
.mock__stat b { display: block; font-size: 1.3rem; font-weight: 400; color: #fff; letter-spacing: -.02em; }
.mock__stat span { font-size: .62rem; font-weight: 600; letter-spacing: .12em; color: rgba(255,255,255,.45); }
.mock__rows { border-top: 1px solid rgba(255,255,255,.1); }
.mock__row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 15px; font-size: .82rem; color: rgba(255,255,255,.8);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.mock__row:last-child { border-bottom: 0; }
.mock__row i {
  font-style: normal; font-size: .66rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 9px; background: rgba(255,255,255,.1); color: rgba(255,255,255,.7);
}
.mock__row i.on { background: rgba(230,0,0,.22); color: #ff7a7a; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact-side { background: var(--surface-2); padding: clamp(32px, 3.6vw, 52px); }
.contact-form { background: var(--surface); padding: clamp(32px, 3.6vw, 52px); }

.cdetail { padding-block: 22px; border-bottom: 1px solid var(--line); }
.cdetail:last-of-type { border-bottom: 0; }
.cdetail dt { font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 8px; }
.cdetail dd { font-size: 1rem; line-height: 1.5; }
.cdetail dd a:hover { color: var(--red); }
.cdetail .note { font-size: .82rem; color: var(--ink-mute); }

.field { margin-bottom: 22px; }
.field label {
  display: block; margin-bottom: 8px;
  font-size: .72rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-mute);
}
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 15px;
  font: inherit; font-size: .97rem; color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0;
  transition: border-color .18s var(--ease);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-note { font-size: .84rem; color: var(--ink-mute); margin-block: 6px 22px; }
.form-status { margin-top: 18px; font-size: .92rem; font-weight: 500; min-height: 1.4em; }
.form-status[data-state="ok"] { color: #0a7d27; }
.form-status[data-state="err"] { color: var(--red); }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta { background: var(--dark); color: #fff; padding-block: clamp(60px, 7vw, 100px); position: relative; overflow: hidden; }
.cta::after {
  content: ""; position: absolute; right: -8%; top: -30%;
  width: 46%; aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%, rgba(230,0,0,.3), transparent 68%);
}
.cta__inner { position: relative; max-width: 780px; }
.cta .h2 { color: #fff; }
.cta p { margin-top: 20px; color: rgba(255,255,255,.72); font-size: 1.08rem; font-weight: 300; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--surface-2); border-top: 3px solid var(--red); padding-top: 60px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 50px; }
.footer__about { max-width: 320px; margin-top: 18px; font-size: .93rem; color: var(--ink-soft); }
.footer h5 { margin-bottom: 18px; font-size: .74rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-mute); }
.footer li { margin-bottom: 11px; }
.footer li a { font-size: .95rem; color: var(--ink-soft); }
.footer li a:hover { color: var(--red); }
.footer__bar {
  border-top: 1px solid var(--line);
  padding-block: 24px;
  display: flex; flex-wrap: wrap; gap: 14px 28px;
  align-items: center; justify-content: space-between;
  font-size: .84rem; color: var(--ink-mute);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .grid--3, .vlist, .svc__grid, .panels { grid-template-columns: repeat(2, 1fr); }
  .steps, .steps--5 { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav, .header__cta { display: none; }
  .burger { display: flex; }
  .feature, .proj__grid, .contact-grid { grid-template-columns: 1fr; }
  .feature--flip .feature__media { order: 0; }
  .feature__media { min-height: 260px; }
}
@media (max-width: 680px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .grid--3, .grid--2, .vlist, .svc__grid, .panels, .field-row { grid-template-columns: 1fr; }
  .steps, .steps--5 { grid-template-columns: 1fr; }
  .svc__head { grid-template-columns: 1fr; gap: 14px; }
  .svc__num { font-size: 2rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .mock__stats { grid-template-columns: 1fr 1fr; }
  .stat { padding-right: 16px; }
}
