/* Heather Looney portfolio — approved V1, Midnight palette.
   Dark values are precomputed from the design source's adapt()/mix()/hexA()
   helpers (accents mixed 30% toward white in dark mode). */

:root {
  --bg: #f7f6f4;
  --bg-alt: #efece7;
  --surface: #ffffff;
  --text: #1b1a18;
  --muted: #5c544c;
  --line: #e8e3dc;

  --accent: #4b5bd6;
  --accent2: #2bb7a0;
  --accent-on: #ffffff;
  --cat-success: #4b5bd6;
  --cat-technical: #2f9d8f;
  --cat-leadership: #d65b9a;
  --cat-foundation: #c9912f;

  --hero-bg: #ebebf2;
  --nav-bg: rgba(255, 255, 255, 0.82);
  --accent-soft: rgba(75, 91, 214, 0.10);
  --card-shadow: 0 10px 34px rgba(20, 30, 48, 0.07);
  --chart-target: #d64545;
  --chart-actual: #4b5bd6;

  --body-font: 'Public Sans', sans-serif;
  --head-font: 'Archivo', sans-serif;
  --mono-font: 'Space Mono', monospace;
  --radius: 8px;
  --radius-sm: 6px;
  --section-title-size: clamp(30px, 3.8vw, 42px);
}

[data-theme="dark"] {
  --bg: #13151b;
  --bg-alt: #191c24;
  --surface: #1d212b;
  --text: #eef1f5;
  --muted: #aca49b;
  --line: #2b303c;

  --accent: #818ce2;
  --accent2: #6bcdbd;
  --accent-on: #ffffff;
  --cat-success: #818ce2;
  --cat-technical: #6dbab1;
  --cat-leadership: #e28cb8;
  --cat-foundation: #d9b26d;

  --hero-bg: #1b1f35;
  --nav-bg: rgba(29, 33, 43, 0.72);
  --accent-soft: rgba(129, 140, 226, 0.16);
  --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.40);
  --chart-target: #e27d7d;
  --chart-actual: #818ce2;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body-font);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .35s, color .35s;
}
a { color: inherit; }
a:hover { opacity: 0.85; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid #4b5bd6; outline-offset: 2px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--nav-bg);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 11px;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--accent);
  color: var(--accent-on);
  font-family: var(--head-font);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.5px;
}
.brand-name {
  font-family: var(--head-font);
  font-weight: 800;
  font-size: 16px;
  color: var(--text);
  letter-spacing: -0.4px;
}
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-link {
  text-decoration: none;
  font-family: var(--body-font);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color .25s;
}
.nav-link:hover { color: var(--text); opacity: 1; }
.nav-link.active { color: var(--accent); font-weight: 700; }
.nav-link.active:hover { color: var(--accent); }
.mode-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  padding: 0;
}
.icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: block; }
/* With three site-level links the nav fits every viewport; no hamburger needed. */

/* ---------- Hero ---------- */
.hero {
  scroll-margin-top: 66px;
  background: var(--hero-bg);
  transition: background .35s;
}
.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(46px, 7vw, 104px) 28px clamp(46px, 6vw, 84px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}
.hero-inner.solo { grid-template-columns: 1fr; }
.hero-h1 {
  margin: 0;
  font-family: var(--head-font);
  font-weight: 900;
  font-size: clamp(48px, 7.5vw, 94px);
  line-height: 0.98;
  letter-spacing: -1.8px;
  color: var(--text);
}
.hero-title {
  margin-top: 16px;
  font-family: var(--head-font);
  font-weight: 700;
  font-size: clamp(17px, 2vw, 22px);
  color: var(--accent);
  letter-spacing: -0.3px;
}
.hero-tagline {
  margin: 16px 0 0;
  max-width: 560px;
  font-family: var(--body-font);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.62;
  color: var(--muted);
}
.hero-location {
  margin-top: 30px;
  font-family: var(--mono-font);
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--muted);
}
.hero-photo-wrap {
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.hero-photo {
  position: relative;
  width: clamp(230px, 26vw, 330px);
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  background: var(--surface);
}
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 24%;
}

/* ---------- Sections (shared) ---------- */
.section { scroll-margin-top: 66px; transition: background .35s; }
.bg-default { background: var(--bg); }
.bg-alt { background: var(--bg-alt); }
.section-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 96px) 28px;
}
.career-pad { padding-bottom: clamp(64px, 8vw, 104px); }
.contact-pad { padding-top: clamp(60px, 8vw, 104px); padding-bottom: clamp(60px, 8vw, 104px); }
.section-header { display: flex; align-items: center; gap: 14px; }
.section-num {
  font-family: var(--mono-font);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--accent);
}
.section-rule { height: 1px; width: 34px; background: var(--line); }
.section-title {
  margin: 0;
  font-family: var(--head-font);
  font-weight: 800;
  font-size: var(--section-title-size);
  color: var(--text);
  letter-spacing: -0.6px;
}
.section-sub {
  margin: 14px 0 0;
  max-width: 560px;
  font-family: var(--body-font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- 01 About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 60px);
  margin-top: 30px;
  align-items: start;
}
.about-lede {
  margin: 0;
  font-family: var(--head-font);
  font-weight: 500;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.45;
  color: var(--text);
  letter-spacing: -0.4px;
}
.about-body {
  margin: 18px 0 0;
  font-family: var(--body-font);
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--muted);
}
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--card-shadow);
}
.stat-num {
  font-family: var(--head-font);
  font-weight: 800;
  font-size: 36px;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -1px;
}
.stat-label {
  margin-top: 8px;
  font-family: var(--body-font);
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--muted);
}

/* ---------- 02 What I Help Create ---------- */
.create-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.create-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--card-shadow);
}
.create-dot { display: block; width: 11px; height: 11px; border-radius: 50%; }
.create-name {
  margin-top: 14px;
  font-family: var(--head-font);
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  letter-spacing: -0.2px;
}
.create-desc {
  margin: 8px 0 0;
  font-family: var(--body-font);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- 03 How I Operate ---------- */
.op-list { margin-top: 26px; max-width: 800px; }
.op-row {
  display: flex;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.op-num {
  font-family: var(--mono-font);
  font-size: 12px;
  color: var(--accent);
  flex: none;
  padding-top: 6px;
}
.op-statement {
  font-family: var(--head-font);
  font-weight: 700;
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: -0.4px;
  color: var(--text);
}
.op-note {
  margin-top: 5px;
  font-family: var(--body-font);
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- 04 Work OS ---------- */
.os-sub { max-width: 640px; }
.os-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: max-content 36px minmax(0, 1.5fr) 36px minmax(0, 1.05fr);
  gap: 0 22px;
  align-items: stretch;
}
.os-col { display: flex; flex-direction: column; gap: 9px; }
.os-outputs { gap: 13px; }
.os-col-label {
  font-family: var(--mono-font);
  font-size: 10.5px;
  letter-spacing: 2.5px;
  color: var(--accent);
  margin-bottom: 4px;
}
.os-outputs .os-col-label { margin-bottom: 1px; }
.os-pill {
  display: inline-flex;
  width: fit-content;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-family: var(--mono-font);
  font-size: 12px;
  color: var(--muted);
}
.os-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  color: var(--accent);
  font-size: 20px;
}
.os-box {
  align-self: center;
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}
.os-box-header {
  padding: 13px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: var(--accent-soft);
}
.os-box-title {
  font-family: var(--mono-font);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--text);
}
.os-box-meta {
  font-family: var(--mono-font);
  font-size: 10px;
  line-height: 1.5;
  color: var(--accent);
  text-align: right;
}
.os-box-body { padding: 20px; }
.os-box-heading {
  font-family: var(--head-font);
  font-weight: 800;
  font-size: 19px;
  color: var(--text);
  letter-spacing: -0.3px;
}
.os-box-text {
  margin: 9px 0 0;
  font-family: var(--body-font);
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.os-box-trace {
  margin: 11px 0 0;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  font-family: var(--mono-font);
  font-size: 11px;
  line-height: 1.55;
  color: var(--accent);
}
.os-out { display: flex; gap: 11px; align-items: baseline; }
.os-out-dot {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  position: relative;
  top: 0.5px;
}
.os-out-label {
  font-family: var(--head-font);
  font-weight: 700;
  font-size: 15.5px;
  color: var(--text);
  letter-spacing: -0.2px;
}

/* ---------- 05 Career ---------- */
.timeline { position: relative; margin-top: 46px; max-width: 860px; }
.timeline-spine {
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--line);
}
.milestone { position: relative; padding: 0 0 40px 46px; }
.milestone-dot {
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--bg);
}
.milestone-year {
  font-family: var(--mono-font);
  font-size: 11.5px;
  letter-spacing: 2px;
  color: var(--accent);
}
.milestone-title {
  margin-top: 7px;
  font-family: var(--head-font);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.4px;
  color: var(--text);
}
/* Scope labels inside a single employment entry — reuses the small mono
   label treatment (see .os-col-label) in muted so it stays subordinate to
   the entry eyebrow and title. */
.milestone-scope {
  margin-top: 18px;
  font-family: var(--mono-font);
  font-size: 10.5px;
  letter-spacing: 2.5px;
  color: var(--muted);
}
.milestone-subline {
  margin-top: 5px;
  font-family: var(--body-font);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}
.milestone-desc {
  margin: 7px 0 0;
  max-width: 580px;
  font-family: var(--body-font);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- 06 Values ---------- */
.values-grid {
  margin-top: 38px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 52px) clamp(32px, 5vw, 72px);
  max-width: 980px;
}
.value-quad { border-top: 2px solid; padding-top: 18px; }
.value-noun {
  font-family: var(--mono-font);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 3px;
  color: var(--accent);
}
.value-quote {
  margin-top: 10px;
  font-family: var(--head-font);
  font-weight: 700;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.35;
  letter-spacing: -0.3px;
  color: var(--text);
}
.fun { color: var(--accent2); }

/* ---------- 07 Contact ---------- */
.contact-wrap { max-width: 760px; }
.contact-lede {
  margin: 16px 0 0;
  max-width: 720px;
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}
.contact-btns { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 13px; }
.btn-linkedin {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--accent-on);
  font-family: var(--body-font);
  font-weight: 600;
  font-size: 15px;
}
.in-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--accent-on);
  color: var(--accent);
  font-family: var(--head-font);
  font-weight: 800;
  font-size: 13px;
}
.btn-email {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--body-font);
  font-weight: 600;
  font-size: 15px;
}
.contact-location {
  margin-top: 26px;
  display: flex;
  align-items: center;
  font-family: var(--body-font);
  font-size: 14px;
  color: var(--muted);
}
.contact-pin-wrap { display: inline-flex; align-items: center; gap: 8px; }
.contact-pin {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

/* ---------- Home ---------- */
.home-eyebrow {
  font-family: var(--mono-font);
  font-size: 12px;
  letter-spacing: 2.5px;
  color: var(--accent);
}
.home-eyebrow + .home-h1 { margin-top: 16px; }
.home-h1 { font-size: clamp(44px, 6.5vw, 84px); }
.home-tagline {
  font-size: clamp(16px, 1.6vw, 19px);
  max-width: 480px;
  color: var(--muted);
}
.home-links { margin-top: 32px; display: flex; gap: 26px; }
.home-links a {
  text-decoration: none;
  font-family: var(--body-font);
  font-weight: 600;
  font-size: 15.5px;
  color: var(--accent);
}
.home-sub-link {
  display: inline-block;
  margin-top: 24px;
  text-decoration: none;
  font-family: var(--body-font);
  font-size: 13.5px;
  color: var(--muted);
  transition: color .2s;
}
.home-sub-link:hover { color: var(--text); opacity: 1; }
.home-main { padding-top: clamp(44px, 5vw, 72px); }
.home-blocks { max-width: 800px; }
.home-block {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.home-block:first-child { padding-top: 0; }
.home-block-link {
  display: block;
  text-decoration: none;
}
.home-block-link:hover { opacity: 1; }
.home-block-title {
  margin: 0;
  font-family: var(--head-font);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.3px;
  color: var(--text);
  transition: color .2s;
}
.home-block-link:hover .home-block-title { color: var(--accent); }
.home-block-desc {
  margin: 7px 0 0;
  font-family: var(--body-font);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}
.home-post-link {
  display: block;
  margin-top: 16px;
  text-decoration: none;
}
.home-post-link:hover { opacity: 1; }
.home-post-date {
  display: block;
  font-family: var(--mono-font);
  font-size: 11.5px;
  letter-spacing: 2px;
  color: var(--accent);
}
.home-post-excerpt {
  display: block;
  margin: 7px 0 0;
  font-family: var(--body-font);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  transition: color .2s;
}
.home-post-link:hover .home-post-excerpt { color: var(--text); }

/* ---------- Writing ---------- */
.masthead-eyebrow {
  font-family: var(--mono-font);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--accent);
}
.masthead-title {
  margin: 12px 0 0;
  font-family: var(--head-font);
  font-weight: 800;
  font-size: clamp(34px, 5vw, 52px);
  letter-spacing: -1px;
  color: var(--text);
}
.masthead-tagline {
  margin: 12px 0 0;
  max-width: 560px;
  font-family: var(--body-font);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted);
}
.post-list { margin-top: 48px; max-width: 680px; }
.post { padding-bottom: 44px; scroll-margin-top: 90px; }
.post + .post {
  border-top: 1px solid var(--line);
  padding-top: 44px;
}
.post-date {
  margin: 0;
  font-family: var(--mono-font);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 2px;
  color: var(--accent);
}
.post-body p {
  margin: 18px 0 0;
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
}

/* ---------- Body dashboard ---------- */
/* The Body page's hero sits higher than the default section rhythm so the
   composition doesn't float below the nav (~60px up on desktop). */
.body-main { padding-top: clamp(32px, 4vw, 36px); }
.body-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: start;
  padding-top: clamp(8px, 1.5vw, 22px);
}
/* Vertical rhythm inside the hero text column: small gap into the title,
   medium into the date/goal line, then easing back down to the trend line. */
.body-hero .masthead-title { margin-top: 14px; }
.body-hero .masthead-tagline { margin-top: 22px; max-width: 620px; }
.body-hero .body-eventline { margin-top: 20px; }
.body-hero .body-trend { margin-top: 12px; }
.body-hero-photo { justify-self: end; }
.body-hero-photo[hidden] { display: none; }
.body-hero-photo img {
  display: block;
  width: clamp(200px, 24vw, 282px);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  background: var(--surface);
}
.body-photo-caption {
  margin-top: 8px;
  font-family: var(--mono-font);
  font-size: 10.5px;
  letter-spacing: 1.5px;
  color: var(--muted);
}
.c-tick-x { font-size: 10.5px; }
.body-eventline {
  margin-top: 18px;
  font-family: var(--mono-font);
  font-size: 11.5px;
  letter-spacing: 2px;
  color: var(--accent);
}
.body-trend {
  margin: 10px 0 0;
  font-family: var(--body-font);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}
.body-stats {
  margin-top: clamp(48px, 6vw, 68px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.stat-card.stat-primary { border: 2px solid var(--accent); }
.chart-block { margin-top: 40px; max-width: 860px; }
.chart-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.chart-tab {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-family: var(--mono-font);
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  transition: color .2s, border-color .2s;
}
.chart-tab.active { color: var(--accent); border-color: var(--accent); }
.chart-legend {
  margin-top: 14px;
  display: flex;
  gap: 18px;
  font-family: var(--mono-font);
  font-size: 10.5px;
  letter-spacing: 1.5px;
  color: var(--muted);
  text-transform: uppercase;
}
.leg::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 0;
  margin-right: 7px;
  vertical-align: middle;
}
.leg-target::before { border-top: 2px dashed var(--chart-target); }
.leg-actual::before { border-top: 3px solid var(--chart-actual); border-radius: 2px; }
.leg-zero::before { border-top: 2px dashed var(--line); }
.chart-wrap {
  margin-top: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 16px 14px 8px;
}
.chart-wrap svg { width: 100%; height: auto; display: block; }
.c-grid { stroke: var(--line); stroke-width: 1; }
.c-zero { stroke: var(--muted); stroke-width: 1.5; stroke-dasharray: 5 5; opacity: 0.6; }
.c-target { stroke: var(--chart-target); stroke-width: 2; stroke-dasharray: 7 5; }
.c-actual { stroke: var(--chart-actual); stroke-width: 2.5; fill: none; }
.c-point { fill: var(--chart-actual); stroke: var(--surface); stroke-width: 1.5; }
.c-target-end { fill: var(--surface); stroke: var(--chart-target); stroke-width: 2; }
.stat-num-word { font-size: 26px; line-height: 1.35; }
.c-tick { fill: var(--muted); font-family: var(--mono-font); font-size: 10px; }
.body-history { margin-top: 48px; max-width: 860px; }
.body-h2 {
  margin: 0 0 16px;
  font-family: var(--head-font);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.3px;
  color: var(--text);
}
.body-table-wrap { overflow-x: auto; }
.body-table { width: 100%; border-collapse: collapse; }
.body-table th {
  text-align: left;
  padding: 8px 14px 8px 0;
  font-family: var(--mono-font);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 1.5px;
  color: var(--muted);
  text-transform: uppercase;
}
.body-table td {
  padding: 11px 14px 11px 0;
  border-top: 1px solid var(--line);
  font-family: var(--body-font);
  font-size: 14.5px;
  color: var(--text);
  white-space: nowrap;
}
.t-date { font-family: var(--mono-font); font-size: 12px; letter-spacing: 1px; color: var(--muted); }
.t-base {
  margin-left: 8px;
  font-family: var(--mono-font);
  font-size: 9.5px;
  letter-spacing: 1.5px;
  color: var(--accent);
}
.row-note td {
  border-top: none;
  padding-top: 0;
  font-size: 13px;
  color: var(--muted);
  white-space: normal;
}
.body-follow { margin-top: 44px; }
.body-follow a {
  text-decoration: none;
  font-family: var(--body-font);
  font-weight: 600;
  font-size: 15.5px;
  color: var(--accent);
}
.footer-social { color: var(--muted); text-decoration: none; transition: color .2s; }
.footer-social:hover { color: var(--text); opacity: 1; }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  transition: background .35s;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 28px;
  text-align: center;
  font-family: var(--body-font);
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Breakpoints ---------- */
@media (max-width: 1100px) {
  .create-grid { grid-template-columns: repeat(3, 1fr); }
  .os-grid {
    grid-template-columns: max-content 30px minmax(0, 1.4fr) 30px minmax(0, 1fr);
    gap: 0 16px;
  }
}

@media (max-width: 860px) {
  .hero-inner, .about-grid, .values-grid { grid-template-columns: 1fr; }
  .body-stats { grid-template-columns: 1fr 1fr; }
  .body-hero { grid-template-columns: 1fr; gap: 30px; padding-top: 0; }
  .body-hero-photo { justify-self: start; }
  .nav-inner { padding-left: 18px; padding-right: 18px; }
  .nav-links { gap: 16px; }
  .section-inner, .hero-inner { padding-left: 20px; padding-right: 20px; }
  .create-grid { grid-template-columns: repeat(2, 1fr); }
  .os-grid { grid-template-columns: 1fr; gap: 0; }
  .os-arrow {
    transform: rotate(90deg);
    padding: 10px 0;
    align-self: flex-start;
    margin-left: 22px;
  }
  .os-col { margin-bottom: 6px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-photo-wrap { justify-self: start; }
}

@media (max-width: 520px) {
  .brand-name { display: none; }
  .create-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .contact-btns a { width: 100%; justify-content: center; }
  .contact-btns a[href^="mailto"] { word-break: break-all; }
}
