:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #111418;
  --muted: #5b6472;
  --line: #e3e1da;
  --accent: #0b6b57;
  --accent-ink: #084d3f;
  --accent-soft: #e7f2ee;
  --radius: 16px;
  --wrap: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 16px;
  z-index: 10;
}
.skip:focus { left: 12px; top: 12px; }

.wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 20px;
}
.brand {
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
}
.site-header nav a { text-decoration: none; color: var(--muted); }
.site-header nav a:hover { color: var(--ink); }
.site-header nav a.btn { color: #fff; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid var(--ink);
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--surface); color: var(--ink); border-color: #cfccc2; }
.btn-small { padding: 8px 14px; font-size: 14px; }

/* Hero */
.hero { padding: 88px 0 56px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-ink);
  background: var(--accent-soft);
  border: 1px solid #cfe5dd;
  padding: 6px 12px;
  border-radius: 999px;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(11, 107, 87, 0.14);
}
h1 {
  margin: 0 0 24px;
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 700;
}
.lede {
  margin: 0 0 28px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #333a44;
  max-width: 68ch;
}
.lede strong { color: var(--ink); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero-note { margin: 0; font-size: 14.5px; color: var(--muted); }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  margin-bottom: 8px;
}
.stats div {
  padding: 4px 20px;
  border-left: 1px solid var(--line);
}
.stats div:first-child { border-left: 0; padding-left: 0; }
.num {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.label { display: block; margin-top: 4px; font-size: 13.5px; color: var(--muted); }

/* Live proof */
.live-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.live-grid a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
}
.live-grid a:hover { border-color: #cfccc2; background: #fffef9; }
.live-grid strong { font-size: 14.5px; color: var(--ink); }
.live-grid span { font-size: 12.5px; color: var(--muted); }
.live-note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }

/* Sections */
.section { padding: 84px 0 0; }
.section-head { margin-bottom: 32px; }
.section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.section-head p { margin: 0; color: var(--muted); max-width: 62ch; }

/* Case studies */
.case {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
  margin-bottom: 24px;
}
.case-head { margin-bottom: 26px; }
.kicker {
  margin: 0 0 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.case h3 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.case .lede { margin: 0; font-size: 1.02rem; color: var(--muted); max-width: 70ch; }

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 0;
}
.case-meta span {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
}

.shots {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 24px 0 0;
  max-width: 860px;
}
.shots-4 { grid-template-columns: 1fr 1fr; max-width: none; }
.shots figure { margin: 0; }
.shots img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f4f2ec;
}
.shots figcaption {
  margin-top: 7px;
  font-size: 12.5px;
  color: var(--muted);
}

.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 40px;
}
.case h4 {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.case p { margin: 0 0 10px; font-size: 15.5px; }
.case ul { margin: 0; padding-left: 18px; }
.case li { margin-bottom: 7px; font-size: 15.5px; }
.case li strong { font-weight: 650; }

.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 28px 0 4px;
}
.flow span {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f4f2ec;
  border: 1px solid var(--line);
}
.flow .arrow { background: none; border: 0; padding: 0 2px; color: var(--muted); }

.links { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
.links a {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #faf9f5;
  color: var(--accent-ink);
}
.links a:hover { background: var(--accent-soft); border-color: #cfe5dd; }

/* Skills grid */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.card h3 { margin: 0 0 8px; font-size: 1.05rem; letter-spacing: -0.01em; }
.card p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* How I work */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.steps > div { border-top: 2px solid var(--ink); padding-top: 14px; }
.step-num { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--accent-ink); }
.steps h3 { margin: 8px 0 6px; font-size: 1rem; letter-spacing: -0.01em; }
.steps p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* About */
.about-body { max-width: 72ch; }
.about-body p { margin: 0 0 16px; color: #333a44; }
.about-close { font-weight: 600; color: var(--ink) !important; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.contact-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
}
.contact-item:hover { border-color: #cfccc2; background: #fffef9; }
.contact-label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.contact-value { font-weight: 600; color: var(--ink); }
.contact-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}
.contact-facts li {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
}

/* Footer */
.site-footer { margin-top: 88px; border-top: 1px solid var(--line); padding: 26px 0 40px; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--muted);
}
.footer-inner p { margin: 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.footer-nav a:hover { color: var(--accent-ink); }

/* Responsive */
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
  .stats div:nth-child(4) { border-left: 0; padding-left: 0; }
  .live-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .header-inner { flex-wrap: wrap; gap: 4px 12px; padding-top: 10px; padding-bottom: 10px; min-height: 0; }
  .brand { white-space: nowrap; }
  .site-header nav { width: 100%; justify-content: flex-start; gap: 18px; font-size: 14px; }
  .hero { padding: 48px 0 36px; }
  .section { padding-top: 64px; }
  .case-grid { grid-template-columns: 1fr; gap: 22px; }
  .shots-4 { grid-template-columns: 1fr; }
  .live-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div { border-left: 0; padding-left: 0; }
  .grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media print {
  .site-header, .cta, .site-footer, .links { display: none; }
  body { background: #fff; }
  .case { break-inside: avoid; }
}
