/* ============================================================
   SAKA MAKİNA · CNC Tel Erezyon · Global Stylesheet
   Zero-JS · HTML + CSS only
   ============================================================ */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=cabinet-grotesk@800,900,700,500,400&display=swap');

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

/* Tokens */
:root {
  --bg: #ffffff;
  --bg-2: #f4f4f5;
  --bg-3: #e4e4e7;
  --ink: #09090b;
  --ink-2: #52525b;
  --ink-3: #a1a1aa;
  --border: #e4e4e7;
  --border-2: #d4d4d8;
  --accent: #ff3b30;
  --accent-hover: #d63028;
  --dark: #09090b;
  --font-display: 'Cabinet Grotesk', 'IBM Plex Sans', sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --max: 1280px;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--ink); color: #fff; }

/* Utilities */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.font-display { font-family: var(--font-display); font-weight: 900; letter-spacing: -0.04em; }
.font-mono { font-family: var(--font-mono); letter-spacing: 0.18em; text-transform: uppercase; }
.overline {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border: 1px solid var(--border-2);
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
}
.pill::before { content: ""; width: 6px; height: 6px; background: var(--accent); }

/* Blueprint grid background */
.blueprint {
  background-image:
    linear-gradient(to right, rgba(9,9,11,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(9,9,11,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}
.blueprint-dark {
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Crosshair markers */
.crosshair { position: relative; }
.crosshair::before, .crosshair::after,
.crosshair > .ch-bl, .crosshair > .ch-br {
  content: '+';
  position: absolute;
  font-family: var(--font-mono);
  color: var(--accent);
  font-weight: 700; font-size: 16px; line-height: 1;
}
.crosshair::before { top: 8px; left: 8px; }
.crosshair::after  { top: 8px; right: 8px; }
.crosshair .ch-bl { bottom: 8px; left: 8px; }
.crosshair .ch-br { bottom: 8px; right: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; font-size: 13px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em;
  border: 1px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .1s ease;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--accent); }
.btn svg { width: 16px; height: 16px; }
.btn:active { transform: translateY(1px); }

/* Navbar */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-topbar {
  display: none;
  justify-content: space-between;
  padding: 6px 24px;
  border-bottom: 1px solid #f4f4f5;
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-2);
}
.nav-topbar .right { display: flex; gap: 24px; }
@media (min-width: 768px) { .nav-topbar { display: flex; } }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 38px; height: 38px; background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 900; font-size: 20px;
}
.brand-name { font-family: var(--font-display); font-weight: 900; font-size: 18px; letter-spacing: -0.03em; line-height: 1; }
.brand-sub  { font-family: var(--font-mono); font-size: 10px; color: var(--ink-2); margin-top: 4px; }

.nav-links { display: none; }
@media (min-width: 1024px) {
  .nav-links {
    display: flex; align-items: center; gap: 4px;
  }
  .nav-link {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 14px; font-size: 14px; color: var(--ink-2);
    transition: color .2s ease;
  }
  .nav-link:hover, .nav-link.active { color: var(--ink); }
  .nav-link .code { font-family: var(--font-mono); font-size: 10px; }
  .nav-link.active::after {
    content: ""; width: 6px; height: 6px; background: var(--accent);
  }
}

.nav-cta { display: none; }
@media (min-width: 640px) { .nav-cta { display: inline-flex; } }

/* Mobile menu (CSS-only via :target) */
.nav-toggle-open, .nav-toggle-close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 1px solid var(--border-2);
  color: var(--ink); background: #fff;
}
.nav-toggle-open  svg, .nav-toggle-close svg { width: 20px; height: 20px; }
@media (min-width: 1024px) { .nav-toggle-open, .nav-toggle-close { display: none; } }

.mobile-menu {
  position: fixed; inset: 0; z-index: 100;
  background: #fff; overflow-y: auto;
  transform: translateY(-100%); opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.mobile-menu:target { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu-inner { padding: 24px; }
.mobile-menu .brand { margin-bottom: 32px; }
.mobile-menu .m-close {
  position: absolute; top: 22px; right: 22px;
  width: 40px; height: 40px; border: 1px solid var(--border-2);
  display: inline-flex; align-items: center; justify-content: center;
}
.mobile-menu a.m-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 4px; border-bottom: 1px solid var(--border);
  color: var(--ink);
}
.mobile-menu a.m-link .lhs { display: flex; align-items: center; gap: 12px; }
.mobile-menu a.m-link .lhs .c { font-family: var(--font-mono); font-size: 10px; color: var(--ink-3); }
.mobile-menu a.m-link .lhs .t { font-size: 16px; }
.mobile-menu .m-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; margin-top: 24px; padding: 16px; background: var(--accent); color: #fff;
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em;
}

/* Hero */
.hero { position: relative; border-bottom: 1px solid var(--border); }
.hero-inner { position: relative; padding: 48px 0 48px; }
@media (min-width: 768px) { .hero-inner { padding: 72px 0 56px; } }
.hero-blueprint { position: absolute; inset: 0; opacity: .6; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 24px; align-items: end; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 7fr 5fr; gap: 32px; } }
.hero h1 {
  font-family: var(--font-display); font-weight: 900;
  font-size: 44px; line-height: 0.92; letter-spacing: -0.045em;
  margin-top: 24px;
}
@media (min-width: 640px) { .hero h1 { font-size: 60px; } }
@media (min-width: 768px) { .hero h1 { font-size: 76px; } }
@media (min-width: 1280px) { .hero h1 { font-size: 96px; } }
.hero p.lead { color: var(--ink-2); font-size: 16px; margin-top: 20px; max-width: 560px; line-height: 1.65; }
@media (min-width: 768px) { .hero p.lead { font-size: 18px; } }
.hero .cta-row { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
@media (min-width: 640px) { .hero .cta-row { flex-direction: row; } }
.text-accent { color: var(--accent); }

.hero-figure { border: 1px solid var(--border-2); position: relative; }
.hero-figure img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.hero-figure .caption {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  background: #fff; border: 1px solid var(--border-2); padding: 14px;
}
.hero-figure .caption .over { font-family: var(--font-mono); font-size: 10px; color: var(--ink-2); }
.hero-figure .caption .name { font-family: var(--font-display); font-size: 18px; margin-top: 4px; }
.hero-figure .caption .spec { font-family: var(--font-mono); font-size: 11px; color: var(--ink-2); margin-top: 4px; }

/* Stats strip */
.stats {
  border-top: 1px solid var(--border);
  background: #fff;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-left: 1px solid var(--border); border-right: 1px solid var(--border);
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 28px 24px; border-right: 1px solid var(--border); }
.stat:last-child { border-right: 0; }
.stat .v { font-family: var(--font-display); font-size: 40px; line-height: 1; letter-spacing: -0.04em; }
@media (min-width: 768px) { .stat .v { font-size: 48px; } }
.stat .l { font-family: var(--font-mono); font-size: 10px; color: var(--ink-2); margin-top: 8px; }

/* Marquee (CSS-only animation) */
.marquee-band {
  background: var(--dark); color: #fff; border-bottom: 1px solid var(--border);
  overflow: hidden; padding: 20px 0;
}
.marquee {
  display: flex; width: max-content;
  animation: marquee 35s linear infinite;
}
.marquee span {
  font-family: var(--font-display); font-weight: 900;
  font-size: 30px; letter-spacing: -0.04em;
  padding: 0 32px; display: inline-flex; align-items: center; gap: 32px;
}
@media (min-width: 768px) { .marquee span { font-size: 36px; } }
.marquee span::after { content: "+"; color: var(--accent); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Section header */
.section-head {
  border-top: 1px solid var(--border);
  display: grid; grid-template-columns: 1fr; gap: 12px;
  padding: 32px 0;
}
@media (min-width: 768px) { .section-head { grid-template-columns: 3fr 6fr 3fr; gap: 24px; align-items: end; } }
.section-head h2 {
  font-family: var(--font-display); font-weight: 900;
  font-size: 34px; line-height: 0.95; letter-spacing: -0.04em;
}
@media (min-width: 768px) { .section-head h2 { font-size: 48px; } }
@media (min-width: 1024px) { .section-head h2 { font-size: 56px; } }
.section-head p { color: var(--ink-2); margin-top: 12px; max-width: 560px; }
.section-head .action { display: flex; justify-content: flex-end; align-items: flex-end; }
.arrow-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em;
  border-bottom: 1px solid var(--ink); padding-bottom: 4px;
}
.arrow-link:hover { color: var(--accent); border-color: var(--accent); }

/* Card grid (services / why us) */
.grid-4 {
  display: grid; grid-template-columns: 1fr;
  border-top: 1px solid var(--border); border-left: 1px solid var(--border);
}
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.grid-3 {
  display: grid; grid-template-columns: 1fr;
  border-top: 1px solid var(--border); border-left: 1px solid var(--border);
}
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 {
  display: grid; grid-template-columns: 1fr;
  border-top: 1px solid var(--border); border-left: 1px solid var(--border);
}
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.card {
  border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 32px; min-height: 240px;
  display: flex; flex-direction: column;
  transition: background-color .2s ease;
}
.card:hover { background: #fafafa; }
.card .code { font-family: var(--font-mono); font-size: 10px; color: var(--ink-3); }
.card .icon { color: var(--ink-3); transition: color .2s ease; }
.card:hover .icon { color: var(--accent); }
.card .head-row { display: flex; align-items: center; justify-content: space-between; }
.card h3 {
  font-family: var(--font-display); font-weight: 900;
  font-size: 22px; letter-spacing: -0.03em; margin-top: 40px; line-height: 1.1;
}
.card p { color: var(--ink-2); font-size: 14px; margin-top: 12px; line-height: 1.6; flex: 1; }
.card .more {
  font-family: var(--font-mono); font-size: 10px; margin-top: 20px;
  display: inline-flex; align-items: center; gap: 6px; color: var(--ink);
}
.card ul.details { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.card ul.details li { display: flex; gap: 8px; font-size: 14px; color: var(--ink-2); }
.card ul.details li::before { content: "+"; font-family: var(--font-mono); color: var(--accent); font-weight: 700; }

/* Data table (machines) */
.table-wrap { border: 1px solid var(--border-2); overflow-x: auto; }
table.datasheet {
  width: 100%; border-collapse: collapse; font-size: 14px;
}
table.datasheet thead { background: #f4f4f5; border-bottom: 1px solid var(--border-2); }
table.datasheet th, table.datasheet td {
  padding: 14px 16px; border-right: 1px solid var(--border); text-align: left;
}
table.datasheet th:last-child, table.datasheet td:last-child { border-right: 0; }
table.datasheet th {
  font-family: var(--font-mono); font-size: 10px; color: var(--ink-2); font-weight: 600;
}
table.datasheet .num { text-align: right; font-family: var(--font-mono); font-size: 12px; }
table.datasheet tr { border-bottom: 1px solid var(--border); }
table.datasheet tbody tr:hover { background: #fafafa; }
table.datasheet .tname { font-family: var(--font-display); font-size: 17px; letter-spacing: -0.02em; }
table.datasheet .tol { color: var(--accent); }

/* Gallery */
.gallery {
  display: grid; grid-template-columns: 1fr; gap: 0;
  border-top: 1px solid var(--border); border-left: 1px solid var(--border);
}
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery figure {
  position: relative; overflow: hidden;
  border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: #f4f4f5;
}
.gallery figure .frame { aspect-ratio: 4/5; overflow: hidden; }
.gallery figure img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1);
  transition: filter .5s ease, transform .5s ease;
}
.gallery figure:hover img { filter: grayscale(0); transform: scale(1.04); }
.gallery figcaption.tag {
  position: absolute; top: 12px; left: 12px;
  background: #fff; border: 1px solid var(--border-2);
  font-family: var(--font-mono); font-size: 10px; padding: 4px 8px;
}
.gallery figcaption.foot {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 16px; color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}
.gallery figcaption.foot .title { font-family: var(--font-display); font-size: 20px; letter-spacing: -0.02em; }
.gallery figcaption.foot .sub  { font-family: var(--font-mono); font-size: 10px; color: #d4d4d8; margin-top: 4px; }

/* Forms */
.form-split {
  display: grid; grid-template-columns: 1fr;
  border-top: 1px solid var(--border); border-left: 1px solid var(--border);
}
@media (min-width: 1024px) { .form-split { grid-template-columns: 5fr 7fr; } }
.form-side, .form-body {
  border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 32px;
}
@media (min-width: 768px) { .form-side, .form-body { padding: 48px; } }
.form-side { background: var(--bg-2); }
.form-side h3, .form-body h3 {
  font-family: var(--font-display); font-weight: 900;
  font-size: 26px; letter-spacing: -0.03em;
}
.info-list { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; font-size: 14px; }
.info-list .item { display: flex; align-items: flex-start; gap: 14px; }
.info-list .item svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }

.field { margin-top: 16px; }
.field label { display: block; margin-bottom: 8px; }
.field input, .field textarea, .field select {
  display: block; width: 100%;
  border: 1px solid var(--border-2); background: #fff;
  padding: 12px 14px; font-size: 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--ink);
  box-shadow: 0 0 0 2px var(--accent);
}
.field textarea { resize: vertical; min-height: 120px; }
.two-col { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .two-col { grid-template-columns: repeat(2, 1fr); } }
.checkbox-row {
  display: flex; align-items: center; gap: 10px;
  margin-top: 12px; font-size: 14px;
}
.checkbox-row input { accent-color: var(--accent); width: 16px; height: 16px; }

.form-note { font-family: var(--font-mono); font-size: 10px; color: var(--ink-2); margin-top: 14px; }

/* Map placeholder */
.map-placeholder {
  margin-top: 32px; border: 1px solid var(--border-2);
  position: relative; aspect-ratio: 4/3; background: #fff; overflow: hidden;
}
.map-placeholder .grid-bg { position: absolute; inset: 0; }
.map-placeholder .pin {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center;
}
.map-placeholder .pin .ring {
  width: 64px; height: 64px; border: 2px solid var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin: 0 auto;
}
.map-placeholder .pin .dot { width: 12px; height: 12px; background: var(--accent); border-radius: 50%; }
.map-placeholder .pin .coord { font-family: var(--font-mono); font-size: 10px; color: var(--ink); margin-top: 12px; }
.map-placeholder .pin .city  { font-family: var(--font-display); font-size: 18px; margin-top: 4px; }

/* CTA strip */
.cta-strip {
  background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  margin-top: 96px;
}
.cta-strip-inner {
  padding: 64px 0; display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center;
}
@media (min-width: 768px) { .cta-strip-inner { grid-template-columns: 8fr 4fr; padding: 80px 0; } }
.cta-strip h3 {
  font-family: var(--font-display); font-weight: 900;
  font-size: 32px; letter-spacing: -0.04em; line-height: 1.05;
}
@media (min-width: 768px) { .cta-strip h3 { font-size: 44px; } }
.cta-strip .side-right { display: flex; }
@media (min-width: 768px) { .cta-strip .side-right { justify-content: flex-end; } }

/* Footer */
.footer {
  position: relative; overflow: hidden;
  background: #09090b; color: #f4f4f5;
  border-top: 1px solid var(--border);
}
.footer-blueprint { position: absolute; inset: 0; opacity: .5; pointer-events: none; }
.footer-inner {
  position: relative; padding: 72px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid #27272a;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 5fr 3fr 4fr; } }
.footer .tag { font-family: var(--font-mono); font-size: 11px; color: var(--accent); }
.footer h2 {
  font-family: var(--font-display); font-weight: 900;
  font-size: 38px; letter-spacing: -0.04em; line-height: 0.95; margin-top: 16px;
}
@media (min-width: 768px) { .footer h2 { font-size: 48px; } }
.footer .sitemap ul li { margin-bottom: 8px; font-size: 14px; }
.footer .sitemap a:hover { color: var(--accent); }
.footer .contact-list { font-size: 14px; }
.footer .contact-list div { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.footer .contact-list svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.footer-copy {
  display: flex; flex-direction: column; gap: 12px; padding-top: 24px;
  font-family: var(--font-mono); font-size: 11px; color: #71717a;
}
@media (min-width: 768px) { .footer-copy { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer-copy .right { display: flex; gap: 20px; }

/* Page hero (inner pages) */
.page-hero { position: relative; border-bottom: 1px solid var(--border); }
.page-hero-inner { position: relative; padding: 60px 0; }
@media (min-width: 768px) { .page-hero-inner { padding: 96px 0; } }
.page-hero h1 {
  font-family: var(--font-display); font-weight: 900;
  font-size: 44px; line-height: 0.92; letter-spacing: -0.045em; margin-top: 24px;
}
@media (min-width: 768px) { .page-hero h1 { font-size: 68px; } }
@media (min-width: 1024px) { .page-hero h1 { font-size: 80px; } }
.page-hero p { color: var(--ink-2); font-size: 16px; margin-top: 24px; max-width: 720px; }
@media (min-width: 768px) { .page-hero p { font-size: 18px; } }

/* About page */
.about-split {
  display: grid; grid-template-columns: 1fr;
  border-top: 1px solid var(--border); border-left: 1px solid var(--border);
}
@media (min-width: 1024px) { .about-split { grid-template-columns: 7fr 5fr; } }
.about-left { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 32px; }
@media (min-width: 768px) { .about-left { padding: 56px; } }
.about-left h2 {
  font-family: var(--font-display); font-weight: 900;
  font-size: 28px; letter-spacing: -0.03em; line-height: 1.15; margin-top: 24px;
}
@media (min-width: 768px) { .about-left h2 { font-size: 40px; } }
.about-left ul { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.about-left ul li { display: flex; gap: 10px; }
.about-left ul li svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }

.about-stats {
  border-bottom: 1px solid var(--border);
  display: grid; grid-template-columns: repeat(2, 1fr);
}
.about-stats .cell {
  padding: 24px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.about-stats .cell:nth-child(2n) { border-right: 0; }
.about-stats .cell .v { font-family: var(--font-display); font-weight: 900; font-size: 36px; letter-spacing: -0.04em; line-height: 1; }
.about-stats .cell .l { font-family: var(--font-mono); font-size: 10px; color: var(--ink-2); margin-top: 8px; }

.timeline {
  border-top: 1px solid var(--border); border-left: 1px solid var(--border);
}
.timeline .row {
  display: grid; grid-template-columns: 100px 1fr;
  border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
  transition: background-color .2s ease;
}
@media (min-width: 768px) { .timeline .row { grid-template-columns: 160px 1fr; } }
.timeline .row:hover { background: #fafafa; }
.timeline .year {
  padding: 24px; border-right: 1px solid var(--border);
  font-family: var(--font-display); font-weight: 900; font-size: 32px; letter-spacing: -0.04em;
}
@media (min-width: 768px) { .timeline .year { font-size: 44px; } }
.timeline .text { padding: 24px; color: var(--ink); display: flex; align-items: center; }

/* Materials */
.materials {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--border-2); border-left: 1px solid var(--border-2);
}
@media (min-width: 640px) { .materials { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .materials { grid-template-columns: repeat(6, 1fr); } }
.materials .m {
  background: #fff; padding: 20px;
  border-right: 1px solid var(--border-2); border-bottom: 1px solid var(--border-2);
}
.materials .m .code { font-family: var(--font-mono); font-size: 10px; color: var(--ink-2); }
.materials .m .name { font-family: var(--font-display); font-weight: 900; font-size: 17px; letter-spacing: -0.02em; margin-top: 12px; }

/* Section spacing */
.section { padding: 64px 0; }
@media (min-width: 768px) { .section { padding: 80px 0; } }

/* Fine helpers */
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.text-dim { color: var(--ink-2); }
.strong-num { font-weight: 700; color: var(--ink); }
