/* GREAT HUB — Industrial / Logistics Design System
   ------------------------------------------------- */

/* Reset
   ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, picture, svg, video { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* Tokens
   ---------------------------------- */
:root {
  --bg:       #f5f2ec;
  --bg-alt:   #ebe7df;
  --bg-deep:  #0d0d0d;
  --ink:      #0d0d0d;
  --ink-2:    #4a4a48;
  --ink-3:    #7a7770;
  --line:     #d8d2c6;
  --line-2:   #c2bbab;
  --accent:   #ff4d12;     /* high-vis safety orange */
  --accent-2: #f4c20d;     /* caution yellow */
  --paper:    #faf8f3;
  --on-deep:  #f5f2ec;

  --font-display: "Inter Tight", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:    "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 2px;        /* keep it crisp / industrial */
  --radius-lg: 4px;
}

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
}

::selection { background: var(--ink); color: var(--accent-2); }

/* Layout
   ---------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.container-wide { max-width: 1480px; }

section { padding: clamp(64px, 9vw, 128px) 0; }
section.tight { padding: clamp(40px, 6vw, 72px) 0; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

/* Type
   ---------------------------------- */
.display-1, .display-2, .display-3, h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
  text-wrap: balance;
}
.display-1 { font-size: clamp(48px, 9vw, 128px); letter-spacing: -0.04em; }
.display-2 { font-size: clamp(40px, 6.5vw, 88px); letter-spacing: -0.035em; }
.display-3 { font-size: clamp(32px, 4.4vw, 56px); letter-spacing: -0.03em; }
h1 { font-size: clamp(40px, 6vw, 80px); letter-spacing: -0.035em; }
h2 { font-size: clamp(28px, 3.6vw, 48px); letter-spacing: -0.03em; }
h3 { font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.02em; line-height: 1.15; }
h4 { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }

.lead { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; color: var(--ink-2); max-width: 60ch; text-wrap: pretty; }
p { color: var(--ink-2); line-height: 1.6; text-wrap: pretty; }
p.body-lg { font-size: 18px; color: var(--ink); }

.mono, .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow.no-dot::before { display: none; }

.accent { color: var(--accent); }
.muted  { color: var(--ink-3); }
.italic { font-style: italic; }

/* Buttons
   ---------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.005em;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--accent); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--ink); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-ghost { color: var(--ink); padding-left: 0; padding-right: 0; }
.btn-ghost::after { content: "→"; display: inline-block; transition: transform .15s ease; }
.btn-ghost:hover::after { transform: translateX(4px); }
.btn .arrow { display: inline-block; transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Header / Nav
   ---------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 242, 236, 0.85);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 28px; height: 28px;
  background: var(--ink);
  position: relative;
  flex: none;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  background: var(--accent);
}
.brand small {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  font-weight: 500;
  text-transform: uppercase;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  gap: 4px;
  justify-content: center;
}
.nav-links a {
  position: relative;
  padding: 8px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: var(--radius);
  transition: color .15s ease, background .15s ease;
}
.nav-links a:hover,
.nav-links a.is-active { color: var(--ink); background: rgba(13,13,13,0.05); }

.nav-links .has-sub { position: relative; }
.nav-links .has-sub > a::after {
  content: "▾";
  font-size: 9px;
  margin-left: 6px;
  opacity: .55;
}
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  min-width: 260px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease;
  box-shadow: 0 12px 32px -12px rgba(0,0,0,0.18);
}
.nav-links .has-sub:hover .submenu,
.nav-links .has-sub:focus-within .submenu {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.submenu a {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--ink);
  border-radius: var(--radius);
}
.submenu a:hover { background: var(--bg-alt); }
.submenu .sub-mono {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-top: 2px;
  text-transform: uppercase;
}

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-mail {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-2);
  letter-spacing: 0.02em;
}
.nav-mail:hover { color: var(--accent); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
}
.nav-toggle span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--ink);
  position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0;
  width: 18px; height: 1.5px;
  background: var(--ink);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }

@media (max-width: 980px) {
  .nav { grid-template-columns: auto 1fr auto; }
  .nav-links, .nav-mail { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* Mobile drawer */
.mobile-menu {
  position: fixed;
  inset: 72px 0 0 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 24px var(--gutter) 48px;
  transform: translateY(-110%);
  transition: transform .25s ease;
  z-index: 49;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  border-bottom: 1px solid var(--line);
  letter-spacing: -0.02em;
}
.mobile-menu .sub-group { padding-left: 16px; }
.mobile-menu .sub-group a {
  font-size: 16px; font-weight: 500;
  border-bottom: none;
  padding: 8px 0;
  color: var(--ink-2);
}

/* Hero
   ---------------------------------- */
.hero {
  position: relative;
  padding: clamp(48px, 6vw, 96px) 0 0;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: end;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.hero-meta .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid var(--ink);
  color: var(--ink);
}
.hero-meta .tag-filled { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.hero-meta .tag-accent { background: var(--accent); color: #fff; border-color: var(--accent); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  margin-top: clamp(48px, 6vw, 80px);
}
.hero-stats .stat {
  padding: 24px 20px 24px 0;
  border-right: 1px solid var(--line);
}
.hero-stats .stat:last-child { border-right: none; }
.hero-stats .stat .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.04em;
  line-height: 1;
  display: flex; align-items: baseline; gap: 4px;
}
.hero-stats .stat .num sup {
  font-size: 0.45em;
  color: var(--accent);
  margin-left: 4px;
  font-weight: 700;
  vertical-align: top;
  position: relative;
  top: 0.15em;
}
.hero-stats .stat .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 12px;
}
@media (max-width: 700px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats .stat:nth-child(2) { border-right: none; }
  .hero-stats .stat:nth-child(1), .hero-stats .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* Hero image cluster */
.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--bg-alt);
  border-radius: var(--radius);
  overflow: hidden;
}
.hero-visual img,
.hero-visual .hero-svg {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.hero-visual .badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: var(--ink);
  color: var(--bg);
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex; flex-direction: column; gap: 4px;
  max-width: 220px;
}
.hero-visual .badge strong {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--accent-2);
}

/* Marquee
   ---------------------------------- */
.marquee {
  background: var(--ink);
  color: var(--bg);
  padding: 18px 0;
  overflow: hidden;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.marquee-track {
  display: flex;
  gap: 64px;
  white-space: nowrap;
  animation: marquee 60s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: -0.02em;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 32px; }
.marquee-track span::after {
  content: "■";
  color: var(--accent);
  font-size: 0.5em;
  margin-left: 32px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Section heading
   ---------------------------------- */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 56px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.section-head .head-left .index {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  margin-bottom: 24px;
  text-transform: uppercase;
  display: flex; gap: 12px; align-items: center;
}
.section-head .head-left .index::before {
  content: ""; width: 24px; height: 1px; background: var(--ink);
}
.section-head .head-right { color: var(--ink-2); font-size: 17px; line-height: 1.55; max-width: 48ch; }
@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; }
}

/* Service cards
   ---------------------------------- */
.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
  position: relative;
}
.service-card:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -22px rgba(0,0,0,0.25);
}
.service-card .img {
  aspect-ratio: 4/3;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}
.service-card .img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.service-card:hover .img img { transform: scale(1.04); }
.service-card .img .num {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--ink); color: var(--bg);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 4px 8px;
}
.service-card .body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.service-card h3 { margin-bottom: 12px; }
.service-card p { font-size: 15px; flex: 1; }
.service-card .more {
  margin-top: 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink);
}
.service-card .more::after {
  content: "→"; transition: transform .15s ease;
}
.service-card:hover .more::after { transform: translateX(3px); }

/* Why cards
   ---------------------------------- */
.why-card {
  padding: 32px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex; flex-direction: column;
  position: relative;
  min-height: 320px;
}
.why-card .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 32px;
}
.why-card h3 { margin-bottom: 12px; }
.why-card p { font-size: 15px; flex: 1; }
.why-card .icon {
  width: 44px; height: 44px;
  margin-bottom: 24px;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  color: var(--bg);
}
.why-card .icon svg { width: 22px; height: 22px; }

/* Team
   ---------------------------------- */
.team-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.team-card .avatar {
  aspect-ratio: 1/1;
  background: var(--bg-alt);
  overflow: hidden;
}
.team-card .avatar img {
  width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.15) contrast(1.02);
}
.team-card .info { padding: 24px; }
.team-card .role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  margin-top: 6px;
  margin-bottom: 16px;
}
.team-card p { font-size: 14.5px; }

/* CTA banner
   ---------------------------------- */
.cta-banner {
  background: var(--ink);
  color: var(--bg);
  padding: clamp(56px, 8vw, 96px) 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 8px;
  background: repeating-linear-gradient(
    -45deg,
    var(--accent) 0 18px,
    var(--ink) 18px 36px
  );
}
.cta-banner .inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: end;
}
@media (max-width: 800px) {
  .cta-banner .inner { grid-template-columns: 1fr; align-items: start; }
}
.cta-banner h2 { color: var(--bg); margin-bottom: 16px; }
.cta-banner .lead { color: rgba(245, 242, 236, 0.75); }
.cta-banner .btn-primary { background: var(--accent); color: #fff; }
.cta-banner .btn-primary:hover { background: var(--bg); color: var(--ink); }
.cta-banner .btn-outline { border-color: rgba(245,242,236,0.4); color: var(--bg); }
.cta-banner .btn-outline:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.cta-banner-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 800px) { .cta-banner-actions { justify-content: flex-start; } }

/* FAQ
   ---------------------------------- */
.faq {
  border-top: 1px solid var(--ink);
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: grid;
  grid-template-columns: 50px 1fr 28px;
  align-items: start;
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent);
  padding-top: 4px;
  font-weight: 500;
}
.faq summary .plus {
  width: 28px; height: 28px;
  border: 1.5px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 18px;
  transition: background .15s, color .15s, transform .15s;
}
.faq details[open] summary .plus {
  background: var(--ink); color: var(--bg);
  transform: rotate(45deg);
}
.faq .answer {
  margin-top: 16px;
  padding-left: 66px;
  padding-right: 44px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.65;
  max-width: 70ch;
}
@media (max-width: 600px) {
  .faq summary { grid-template-columns: 40px 1fr 24px; }
  .faq .answer { padding-left: 56px; padding-right: 0; }
}

/* Process / Timeline
   ---------------------------------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.process .step {
  padding: 32px 24px;
  border-right: 1px solid var(--line);
  position: relative;
}
.process .step:last-child { border-right: none; }
.process .step .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.12em;
  margin-bottom: 32px;
}
.process .step h4 { margin-bottom: 8px; font-size: 20px; }
.process .step p { font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 800px) {
  .process { grid-template-columns: repeat(2, 1fr); }
  .process .step:nth-child(2) { border-right: none; }
  .process .step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .process { grid-template-columns: 1fr; }
  .process .step { border-right: none; border-bottom: 1px solid var(--line); }
  .process .step:last-child { border-bottom: none; }
}

/* Image with caption
   ---------------------------------- */
.figure {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.figure img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--bg-alt);
  border-radius: var(--radius);
}
.figure figcaption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* Sub-page hero / breadcrumb
   ---------------------------------- */
.page-hero {
  padding: clamp(64px, 8vw, 112px) 0 clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(to bottom, var(--paper), var(--bg) 80%);
}
.crumb {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 32px;
  display: flex; gap: 8px; flex-wrap: wrap;
}
.crumb a:hover { color: var(--accent); }
.crumb .sep { color: var(--line-2); }

.page-hero h1 { max-width: 18ch; margin-bottom: 24px; }
.page-hero .lead { max-width: 60ch; }

/* Side-by-side content
   ---------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split h2 { margin-bottom: 24px; }
.split-image {
  aspect-ratio: 4/5;
  background: var(--bg-alt);
  border-radius: var(--radius);
  overflow: hidden;
}
.split-image img { width: 100%; height: 100%; object-fit: cover; }

/* Bullets
   ---------------------------------- */
.bullets li {
  padding: 16px 0;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.bullets li:last-child { border-bottom: none; }
.bullets li .lab {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
  padding-top: 4px;
}
.bullets li strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  display: block;
  margin-bottom: 4px;
}
.bullets li p { font-size: 15px; }

/* News
   ---------------------------------- */
.post-list { display: flex; flex-direction: column; }
.post-row {
  display: grid;
  grid-template-columns: 140px 1fr 200px 28px;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  align-items: center;
  transition: background .15s ease, padding .15s ease;
}
.post-row:last-child { border-bottom: 1px solid var(--line); }
.post-row:hover { padding-left: 12px; padding-right: 12px; background: var(--paper); }
.post-row .date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
}
.post-row h3 { font-size: 22px; }
.post-row .tags { display: flex; gap: 8px; flex-wrap: wrap; }
.post-row .tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px;
  background: var(--bg-alt);
}
.post-row .arr {
  font-size: 18px;
  text-align: right;
  color: var(--ink-3);
  transition: transform .15s ease, color .15s ease;
}
.post-row:hover .arr { color: var(--accent); transform: translateX(4px); }
@media (max-width: 800px) {
  .post-row { grid-template-columns: 100px 1fr 24px; }
  .post-row .tags { display: none; }
}

/* Article
   ---------------------------------- */
.article {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 96px) 0;
}
.article h1 { font-size: clamp(36px, 5vw, 60px); margin-bottom: 24px; }
.article .meta {
  display: flex; gap: 16px; flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.article h2 {
  font-size: 28px; margin-top: 48px; margin-bottom: 16px;
}
.article h3 {
  font-size: 20px; margin-top: 32px; margin-bottom: 12px;
}
.article p { font-size: 17px; line-height: 1.75; color: var(--ink); margin-bottom: 20px; }
.article ul, .article ol { padding-left: 24px; margin-bottom: 20px; }
.article ul li { list-style: disc; margin-bottom: 8px; }
.article ol li { list-style: decimal; margin-bottom: 8px; }
.article blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 24px;
  margin: 32px 0;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.article img { width: 100%; border-radius: var(--radius); margin: 32px 0; }

/* Contact form
   ---------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-info .block {
  border-top: 1px solid var(--ink);
  padding-top: 16px;
}
.contact-info .block .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.contact-info .block .val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.contact-info .block .val a:hover { color: var(--accent); }

.form {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius);
}
.form .row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 600px) { .form .row-2 { grid-template-columns: 1fr; } }
.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink);
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 500;
}
.field label .req { color: var(--accent); margin-left: 4px; }
.field input, .field textarea, .field select {
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--ink);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(255, 77, 18, 0.18);
}
.field textarea { min-height: 140px; resize: vertical; }
.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  display: none;
}
.form-status.success { display: block; background: rgba(255, 77, 18, 0.08); border: 1px solid var(--accent); color: var(--ink); }
.form-status.error   { display: block; background: rgba(220, 38, 38, 0.06); border: 1px solid #dc2626; color: #b91c1c; }

/* Footer
   ---------------------------------- */
.site-footer {
  background: var(--bg-deep);
  color: var(--on-deep);
  padding: clamp(64px, 8vw, 96px) 0 32px;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--accent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(245, 242, 236, 0.12);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer .brand { color: var(--on-deep); margin-bottom: 24px; }
.site-footer .brand .brand-mark { background: var(--on-deep); }
.site-footer .brand .brand-mark::after { background: var(--accent); }
.site-footer .brand small { color: rgba(245,242,236,0.5); }
.site-footer p { color: rgba(245, 242, 236, 0.65); font-size: 14.5px; max-width: 32ch; }

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.45);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-col a {
  display: block;
  padding: 6px 0;
  color: var(--on-deep);
  font-size: 15px;
  transition: color .15s, padding-left .15s;
}
.footer-col a:hover { color: var(--accent); padding-left: 6px; }

.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(245, 242, 236, 0.45);
  text-transform: uppercase;
}
.footer-bottom .mail { color: rgba(245, 242, 236, 0.7); }
.footer-bottom .mail:hover { color: var(--accent); }

/* Utility
   ---------------------------------- */
.divider {
  height: 1px;
  background: var(--line);
  margin: 0;
}
.tag-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 10px;
  background: var(--bg-alt);
  color: var(--ink);
  border-radius: 100px;
}

/* No-image placeholder
   ---------------------------------- */
.placeholder {
  background:
    repeating-linear-gradient(
      45deg,
      var(--bg-alt) 0 12px,
      var(--paper) 12px 24px
    );
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* Print
   ---------------------------------- */
@media print {
  .site-header, .site-footer, .nav-toggle, .mobile-menu { display: none; }
}
