/* ==========================================================================
   LogicLemons — design tokens
   ========================================================================== */

:root {
  --ink:        #f4f2ea;
  --ink-dim:    #b9b6ac;
  --void:       #0a0a08;
  --void-2:     #121210;
  --void-3:     #1b1b17;
  --zest:       #d9ff3f;
  --zest-dim:   #a7c631;
  --line:       #2a2a24;

  --font-display: "Clash Display", "Segoe UI", sans-serif;
  --font-body:    "Satoshi", "Segoe UI", sans-serif;

  --edge: clamp(1.5rem, 5vw, 5rem);
  --maxw: 90rem;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--void);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--void);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* faint grain texture over everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
}

p { margin: 0; }

a { color: inherit; text-decoration: none; }

img, svg { display: block; max-width: 100%; }

button { font-family: inherit; cursor: pointer; }

::selection { background: var(--zest); color: var(--void); }

/* scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--void); }
::-webkit-scrollbar-thumb { background: var(--void-3); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--zest-dim); }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--edge);
  padding-right: var(--edge);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--zest);
  display: flex;
  align-items: center;
  gap: 0.6em;
}

.eyebrow::before {
  content: "";
  width: 1.6em;
  height: 1px;
  background: var(--zest);
}

/* ---------- scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--zest);
  z-index: 1000;
  transition: width 0.08s linear;
}

/* ---------- nav ---------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem var(--edge);
  transition: padding 0.35s ease, background-color 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}

.site-nav.is-scrolled {
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  background: rgba(10, 10, 8, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

.brand-mark { width: 30px; height: 30px; color: var(--zest); flex: none; }
.brand-word b { color: var(--zest); font-weight: 600; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-dim);
  position: relative;
  padding: 0.2rem 0;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--zest);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-links a:hover,
.nav-links a.is-active { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav-cta {
  border: 1px solid var(--line);
  padding: 0.6rem 1.3rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 999px;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}
.nav-cta:hover { border-color: var(--zest); background: var(--zest); color: var(--void); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  width: 32px;
  height: 22px;
  position: relative;
  z-index: 600;
}
.nav-toggle span {
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 50%; }
.nav-toggle span:nth-child(3) { top: 100%; }

.nav-toggle.is-active { z-index: 401; }
.nav-toggle.is-active span:nth-child(1) { top: 50%; transform: rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { top: 50%; transform: rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--zest);
  background: var(--zest);
  color: var(--void);
  transition: transform 0.35s cubic-bezier(.2,.9,.2,1), background 0.25s ease, color 0.25s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn svg { width: 1em; height: 1em; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--zest); color: var(--zest); background: transparent; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 8rem;
  padding-bottom: 4rem;
  overflow: clip;
}

.hero-mark {
  position: absolute;
  top: 50%;
  right: -8vw;
  width: min(52vw, 620px);
  color: var(--void-3);
  transform: translateY(-50%);
  z-index: 0;
  animation: float-slow 14s ease-in-out infinite;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(-50%) rotate(0deg); }
  50% { transform: translateY(calc(-50% - 18px)) rotate(6deg); }
}

.hero-inner { position: relative; z-index: 1; }

.hero h1 {
  font-size: clamp(2.6rem, 7.2vw, 6.4rem);
  max-width: 16ch;
}

.hero .line {
  display: block;
  overflow: hidden;
}

.hero .line span {
  display: block;
  transform: translateY(110%);
  animation: line-in 0.9s cubic-bezier(.2,.9,.2,1) forwards;
}

.hero .line:nth-child(1) span { animation-delay: 0.05s; }
.hero .line:nth-child(2) span { animation-delay: 0.18s; }
.hero .line:nth-child(3) span { animation-delay: 0.31s; }

@keyframes line-in {
  to { transform: translateY(0); }
}

.hero p.lead {
  margin-top: 1.8rem;
  max-width: 42ch;
  font-size: 1.15rem;
  color: var(--ink-dim);
  opacity: 0;
  animation: fade-up 0.8s ease forwards;
  animation-delay: 0.55s;
}

.hero-actions {
  margin-top: 2.6rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fade-up 0.8s ease forwards;
  animation-delay: 0.7s;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-stats {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: clamp(2rem, 6vw, 5rem);
  opacity: 0;
  animation: fade-up 0.8s ease forwards;
  animation-delay: 0.85s;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  color: var(--zest);
  font-weight: 600;
}

.stat-label {
  margin-top: 0.3rem;
  font-size: 0.82rem;
  color: var(--ink-dim);
  letter-spacing: 0.03em;
}

.scroll-cue {
  position: absolute;
  bottom: 2.4rem;
  left: var(--edge);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.78rem;
  color: var(--ink-dim);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-cue .stick {
  width: 1px;
  height: 34px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.scroll-cue .stick::after {
  content: "";
  position: absolute;
  left: 0; top: -100%;
  width: 100%; height: 100%;
  background: var(--zest);
  animation: cue-drop 1.8s ease-in-out infinite;
}
@keyframes cue-drop {
  0% { top: -100%; }
  60%, 100% { top: 100%; }
}

/* ---------- marquee ---------- */
.marquee-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.4rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  animation: marquee 32s linear infinite;
}

.marquee-track span {
  font-family: var(--font-display);
  font-size: 1.4rem;
  padding: 0 1.6rem;
  color: var(--ink-dim);
  display: inline-flex;
  align-items: center;
  gap: 1.6rem;
}
.marquee-track span i {
  font-style: normal;
  color: var(--zest);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- section scaffolding ---------- */
section { position: relative; padding: clamp(4rem, 10vw, 8rem) 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.section-head h2 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  max-width: 18ch;
}

.section-head .sub {
  max-width: 34ch;
  color: var(--ink-dim);
  font-size: 1rem;
}

/* reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(.2,.9,.2,1), transform 0.8s cubic-bezier(.2,.9,.2,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(.2,.9,.2,1), transform 0.7s cubic-bezier(.2,.9,.2,1);
}
.reveal-stagger > *:nth-child(1) { transition-delay: 0.02s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.18s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.34s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.42s; }

/* ---------- service list ---------- */
.service-row {
  display: grid;
  grid-template-columns: 4rem 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  transition: padding-left 0.4s ease, background 0.4s ease;
}
.service-list { border-bottom: 1px solid var(--line); }

.service-row .idx {
  font-family: var(--font-display);
  color: var(--ink-dim);
  font-size: 1rem;
}

.service-row h3 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 500;
  transition: color 0.3s ease;
}

.service-row .desc {
  grid-column: 2 / 3;
  color: var(--ink-dim);
  max-width: 60ch;
  margin-top: 0.6rem;
  font-size: 0.95rem;
}

.service-row .arrow {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-dim);
  transition: transform 0.4s cubic-bezier(.2,.9,.2,1), border-color 0.3s ease, color 0.3s ease;
}

.service-row:hover {
  padding-left: 1rem;
  background: linear-gradient(90deg, rgba(217,255,63,0.05), transparent);
}
.service-row:hover h3 { color: var(--zest); }
.service-row:hover .arrow {
  transform: rotate(45deg);
  border-color: var(--zest);
  color: var(--zest);
}

/* ---------- cards (deliberately flat: no shadow, no rounded card blobs) ---------- */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.flat-card {
  background: var(--void);
  padding: 2.4rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: background 0.3s ease;
}
.flat-card:hover { background: var(--void-2); }

.grid-cards-3 { grid-template-columns: repeat(3, 1fr); }

.flat-card .num {
  font-family: var(--font-display);
  color: var(--zest);
  font-size: 0.9rem;
}

.flat-card h3 { font-size: 1.3rem; font-weight: 500; }
.flat-card p { color: var(--ink-dim); font-size: 0.92rem; }

/* ---------- process / timeline ---------- */
.timeline { position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 0; top: 0.6rem; bottom: 0.6rem;
  width: 1px;
  background: var(--line);
}
.timeline-step {
  position: relative;
  padding-left: 2.6rem;
  padding-bottom: 3rem;
}
.timeline-step:last-child { padding-bottom: 0; }
.timeline-step::before {
  content: "";
  position: absolute;
  left: -4px; top: 0.35rem;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--zest);
}
.timeline-step h3 { font-size: 1.3rem; font-weight: 500; margin-bottom: 0.5rem; }
.timeline-step p { color: var(--ink-dim); max-width: 52ch; font-size: 0.95rem; }

/* ---------- stat counter band ---------- */
.stat-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 3rem 0;
}
.stat-band .stat-num { font-size: clamp(2.2rem, 5vw, 3.6rem); }

/* ---------- quote / values ---------- */
.big-quote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  line-height: 1.25;
  max-width: 26ch;
  letter-spacing: -0.01em;
}
.big-quote .zest { color: var(--zest); }

/* ---------- team / value grid ---------- */
.value-item { display: flex; gap: 1.4rem; }
.value-item .glyph {
  flex: none;
  width: 3rem; height: 3rem;
  color: var(--zest);
}
.value-item h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.4rem; }
.value-item p { color: var(--ink-dim); font-size: 0.92rem; }

/* ---------- CTA band ---------- */
.cta-band {
  border: 1px solid var(--line);
  padding: clamp(3rem, 7vw, 6rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); max-width: 16ch; }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.field { position: relative; margin-bottom: 2.2rem; }
.field label {
  position: absolute;
  left: 0; top: 0.9rem;
  color: var(--ink-dim);
  font-size: 1rem;
  transition: transform 0.25s ease, font-size 0.25s ease, color 0.25s ease;
  pointer-events: none;
  transform-origin: left top;
}
.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.9rem 0;
  outline: none;
  transition: border-color 0.3s ease;
  resize: none;
}
.field textarea { min-height: 6rem; }
.field input:focus,
.field textarea:focus { border-color: var(--zest); }
.field input:focus + label,
.field textarea:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:not(:placeholder-shown) + label {
  transform: translateY(-1.4rem) scale(0.78);
  color: var(--zest);
}

.contact-info-item {
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}
.contact-info-item:last-child { border-bottom: 1px solid var(--line); }
.contact-info-item .label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 0.5rem;
}
.contact-info-item .val { font-size: 1.15rem; font-family: var(--font-display); font-weight: 500; }
.contact-info-item a:hover { color: var(--zest); }

.form-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--ink-dim);
}
.form-note.success { color: var(--zest); }
.form-note.error { color: #ff8a5c; }

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

.work-card {
  background: var(--void);
  display: flex;
  flex-direction: column;
}

.work-card-img {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--void-2);
}
.work-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s cubic-bezier(.2,.9,.2,1);
}
a.work-card-img:hover img { transform: scale(1.06); }

.work-card-img-empty {
  display: flex;
  align-items: center;
  justify-content: center;
}
.work-empty-mark { width: 3.4rem; height: 3.4rem; color: var(--line); }

.work-card-body {
  padding: 1.7rem 1.6rem 1.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}
.work-card-body .tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--zest);
}
.work-card-body h3 { font-size: 1.25rem; font-weight: 500; }
.work-card-body p { color: var(--ink-dim); font-size: 0.92rem; }

.work-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-top: auto;
  padding-top: 0.6rem;
  transition: color 0.25s ease;
}
.work-link:hover { color: var(--zest); }
.work-link-muted { color: var(--ink-dim); font-weight: 500; }
.work-link-muted:hover { color: var(--ink-dim); }

.work-note {
  border: 1px solid var(--line);
  padding: 2rem clamp(1.6rem, 4vw, 2.4rem);
  margin-top: 3rem;
  max-width: 68ch;
}
.work-note p { color: var(--ink-dim); font-size: 0.98rem; }

/* ---------- blog list ---------- */
.article-list { border-bottom: 1px solid var(--line); }

.article-row {
  display: grid;
  grid-template-columns: 11rem 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 1.8rem 0;
  border-top: 1px solid var(--line);
  transition: padding-left 0.4s ease, background 0.4s ease;
}

.article-row-meta { display: flex; flex-direction: column; gap: 0.4rem; }
.article-row-meta .tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--zest);
}
.article-row-meta .date { font-size: 0.8rem; color: var(--ink-dim); }

.article-row-body h3 { font-size: 1.3rem; font-weight: 500; transition: color 0.3s ease; }
.article-row-body .desc { color: var(--ink-dim); font-size: 0.92rem; margin-top: 0.4rem; max-width: 58ch; }

.article-row .arrow {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-dim);
  transition: transform 0.4s cubic-bezier(.2,.9,.2,1), border-color 0.3s ease, color 0.3s ease;
}

.article-row:hover {
  padding-left: 1rem;
  background: linear-gradient(90deg, rgba(217,255,63,0.05), transparent);
}
.article-row:hover h3 { color: var(--zest); }
.article-row:hover .arrow {
  transform: rotate(45deg);
  border-color: var(--zest);
  color: var(--zest);
}

/* ---------- article detail ---------- */
.article-byline { color: var(--ink-dim); font-size: 0.92rem; margin-top: 1.1rem; }

.article-body p {
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.8;
  margin-bottom: 1.6rem;
}
.article-body p:first-child {
  font-size: 1.2rem;
  color: var(--ink);
}

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 4rem 0 2.2rem;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  flex-wrap: wrap;
  padding-bottom: 3rem;
}
.footer-cols { display: flex; gap: 4.5rem; flex-wrap: wrap; }
.footer-col h5 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 1.1rem;
  font-weight: 600;
}
.footer-col a, .footer-col p {
  display: block;
  color: var(--ink-dim);
  font-size: 0.92rem;
  margin-bottom: 0.7rem;
  transition: color 0.25s ease;
}
.footer-col a:hover { color: var(--zest); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--ink-dim);
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }

  .nav-links.is-open {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 400;
    background: var(--void);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 var(--edge);
    gap: 1.6rem;
  }
  .nav-links.is-open a { font-size: 1.8rem; font-family: var(--font-display); }

  .hero-stats { grid-template-columns: repeat(3, auto); gap: 1.6rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 2.4rem 1fr auto; }
  .hero-mark { opacity: 0.5; }
  .grid-cards-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .article-row { grid-template-columns: 1fr auto; }
  .article-row-meta { flex-direction: row; gap: 0.8rem; grid-column: 1 / -1; order: -1; }
}

@media (max-width: 560px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .grid-cards-3 { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
}
