:root {
  --bg: #F7F4EF;
  --bg2: #EEEAE3;
  --bg3: #E4DFD6;
  --ink: #1A1714;
  --ink2: #5C5550;
  --ink3: #8C8580;
  --accent: #C84B2F;
  --accent2: #E8956D;
  --border: rgba(26,23,20,0.12);
  --border2: rgba(26,23,20,0.06);
  --radius: 3px;
  --radius-lg: 8px;
  --nav-h: 56px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Instrument Sans', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ============================
   TOP NAVBAR
============================ */
.topnav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247,244,239,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 40px;
  justify-content: space-between;
  gap: 20px;
}

.nav-brand {
  font-family: 'Fraunces', serif;
  font-size: 17px;
  font-weight: 400;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-brand em { font-style: italic; color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
}

.nav-link {
  font-size: 12.5px;
  font-family: 'Instrument Sans', sans-serif;
  color: var(--ink3);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all .18s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--ink); background: var(--bg2); }
.nav-link.active { background: var(--ink); color: var(--bg); }

.nav-avail {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--ink3);
  font-family: 'DM Mono', monospace;
  letter-spacing: .05em;
  flex-shrink: 0;
}

.avail-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4CAF50;
  animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4.5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span { width: 20px; height: 1.5px; background: var(--ink); display: block; transition: all .22s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px,4px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px,-4px); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 99;
  padding: 12px 20px 16px;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 8px 24px rgba(26,23,20,.08);
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link { border-radius: var(--radius); padding: 10px 14px; text-align: left; }

/* ============================
   PAGE
============================ */
.page {
  max-width: 860px;
  margin: 0 auto;
  padding: 64px 40px 100px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.section-anchor { scroll-margin-top: calc(var(--nav-h) + 24px); }

.section-sep { width: 100%; height: 1px; background: var(--border2); }

.section-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 9.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.section-title {
  font-family: 'Fraunces', serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

/* ============================
   HOME
============================ */
#home { padding-top: 10px; }

.hero-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: left;
  position: relative;
  z-index: 1;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 30px;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: 40px;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  transition: background .18s, border-color .18s, color .18s, transform .18s;
}
.hero-btn:hover { transform: translateY(-1px); }
.hero-btn--primary {
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
}
.hero-btn--primary:hover { background: #2e2926; }
.hero-btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
}
.hero-btn--ghost:hover { border-color: var(--ink); background: var(--bg2); }

/* ============================
   HERO — DARK CONTAINER (full-bleed, centered)
============================ */
.hero-dark {
  position: relative;
  overflow: hidden;
  background-color: #2a231d;
  background-image: url("assets/hero-doodles.jpg");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: cover;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: -74px;
  margin-bottom: 44px;
  border-radius: 0;
  padding: 92px 40px 56px;
}

.hero-dark .hero-badge {
  background: rgba(247,244,239,.06);
  border-color: rgba(247,244,239,.18);
  color: rgba(247,244,239,.62);
}
.hero-dark .hero-heading { color: var(--bg); }
.hero-dark .hero-heading em { color: var(--accent2); }
.hero-dark .hero-sub {
  color: rgba(247,244,239,.7);
  max-width: 620px;
  line-height: 2.1;
  margin: 0 0 32px;
}

.hero-dark .hero-chips { justify-content: flex-start; margin-bottom: 32px; }
.hero-dark .chip {
  background: rgba(22,19,15,.66);
  border-color: rgba(247,244,239,.16);
  color: rgba(247,244,239,.68);
}
.hero-dark .chip:hover { background: rgba(22,19,15,.88); }

.hero-dark .hero-btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.hero-dark .hero-btn--primary:hover { background: #d9563a; border-color: #d9563a; }
.hero-dark .hero-btn--ghost {
  color: var(--bg);
  border-color: rgba(247,244,239,.24);
}
.hero-dark .hero-btn--ghost:hover {
  border-color: rgba(247,244,239,.55);
  background: rgba(247,244,239,.07);
}


@media (max-width: 780px) {
  .hero-dark {
    margin-top: -42px;
    padding: 56px 20px 30px;
    background-size: 200% auto;
    background-position: center bottom;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border: 1px solid var(--border);
  border-radius: 40px;
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink3);
  margin-bottom: 22px;
  background: var(--bg2);
}

.hero-heading {
  font-family: 'Fraunces', serif;
  font-size: 62px;
  font-weight: 300;
  line-height: 1.04;
  margin-bottom: 14px;
  letter-spacing: -.5px;
}
.hero-heading em { font-style: italic; color: var(--accent); }

.hero-sub {
  font-size: 15px;
  color: var(--ink2);
  line-height: 1.85;
  max-width: 560px;
  margin-bottom: 28px;
}

.hero-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 44px; }
.chip {
  font-size: 11px;
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 40px;
  color: var(--ink2);
  font-family: 'DM Mono', monospace;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.stat-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  position: relative;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.stat-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,23,20,.07); }
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.stat-card:hover::before { transform: scaleX(1); }

.stat-n { font-family: 'Fraunces', serif; font-size: 36px; font-weight: 400; color: var(--accent); line-height: 1; margin-bottom: 6px; }
.stat-title { font-size: 12px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.stat-desc { font-size: 11px; color: var(--ink3); font-family: 'DM Mono', monospace; }
.stat-saas-brands { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.stat-saas-dot { color: var(--border); }

/* ============================
   ACHIEVEMENTS BLOCK
============================ */
.achievements-block {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 22px 16px;
  background: var(--bg);
  margin-top: 20px;
}

.achievements-label {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink3);
  margin-bottom: 12px;
}

.achievements-list { display: flex; flex-direction: column; gap: 9px; }

.ach-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink2);
  line-height: 1.65;
}

.ach-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 6px;
}

.ach-item strong { color: var(--ink); font-weight: 600; }

/* ============================
   ABOUT — EXTRA BLOCKS
============================ */
.about-approach {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border2);
}

.about-approach-label {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink3);
  margin-bottom: 10px;
}

.about-approach-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.about-approach-list li {
  font-size: 13px;
  color: var(--ink2);
  padding-left: 14px;
  position: relative;
  line-height: 1.6;
}

.about-approach-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 10px;
  top: 2px;
}

.about-saas-block {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border2);
}

.saas-brands { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }

.saas-brand-card {
  padding: 10px 14px;
  background: var(--bg2);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}

.saas-brand-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}

.saas-brand-desc {
  font-size: 11px;
  color: var(--ink3);
  font-family: 'DM Mono', monospace;
  letter-spacing: .03em;
}

/* ============================
   CAMPAIGN HIGHLIGHT
============================ */
.cs-campaign-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #1A1714 0%, #2e2926 100%);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-top: 12px;
}

.cs-campaign-badge {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  flex-shrink: 0;
}

.cs-campaign-title {
  font-family: 'Fraunces', serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--bg);
  margin-bottom: 3px;
}

.cs-campaign-sub {
  font-size: 11px;
  color: rgba(247,244,239,.5);
  font-family: 'DM Mono', monospace;
  letter-spacing: .04em;
  line-height: 1.5;
}

/* Instagram embed */
.ig-embed-wrap {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border2);
}

.ig-embed-label {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink3);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ig-embed-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border2);
}

.ig-embed-container {
  display: flex;
  justify-content: flex-start;
}

.post-previews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.post-preview-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.post-preview-platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 40px;
  width: fit-content;
}

.post-preview-platform-badge--ig {
  background: linear-gradient(135deg, #f9ce34, #ee2a7b, #6228d7);
  color: #fff;
}

.post-preview-platform-badge--li {
  background: #0A66C2;
  color: #fff;
}

/* LinkedIn card */
.li-post-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 0 1px 0 rgba(0,0,0,.5), 0 1px 10px 0 rgba(0,0,0,.15);
  padding: 16px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s;
}
.li-post-card:hover { box-shadow: 0 0 1px 0 rgba(0,0,0,.5), 0 4px 18px 0 rgba(0,0,0,.18); }

.li-post-header { display: flex; align-items: center; gap: 10px; }

.li-post-avatar {
  width: 40px; height: 40px;
  border-radius: 6px;
  background: #0A66C2;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px;
  flex-shrink: 0;
  font-family: 'Instrument Sans', sans-serif;
}

.li-post-name { font-size: 13px; font-weight: 600; color: #000; }
.li-post-handle { font-size: 11px; color: #666; margin-top: 1px; }

.li-post-text {
  font-size: 12.5px;
  color: #333;
  line-height: 1.65;
  font-family: 'Instrument Sans', sans-serif;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.li-post-preview-img {
  background: #f3f2ef;
  border-radius: 4px;
  height: 80px;
  display: flex; align-items: center; justify-content: center;
}

.li-post-preview-inner {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: #666;
}

.li-post-preview-inner span {
  font-size: 10px;
  font-family: 'DM Mono', monospace;
  color: #999;
}

.li-post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid #f0f0f0;
}

.li-post-cta {
  font-size: 12px;
  color: #0A66C2;
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 600;
}

.li-post-date {
  font-size: 10px;
  color: #999;
  font-family: 'DM Mono', monospace;
}
.cs-content-formats {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border2);
}

.cs-content-formats-label {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink3);
  margin-bottom: 10px;
}

.cs-format-chips { display: flex; flex-wrap: wrap; gap: 6px; }

.cs-format-chip {
  font-size: 11px;
  padding: 4px 11px;
  border: 1px solid var(--border);
  border-radius: 40px;
  color: var(--ink2);
  font-family: 'DM Mono', monospace;
  transition: background .18s, color .18s;
}

.cs-format-chip:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tools-strip {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 20px 18px;
  background: var(--bg2);
}

.tools-strip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.tools-strip-label {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink3);
}

.tools-strip-count {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: .12em;
  color: var(--bg);
  background: var(--ink);
  padding: 3px 9px;
  border-radius: 40px;
}

.tools-strip-logos {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.tools-strip-logos::-webkit-scrollbar { display: none; }

.tool-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  flex: 1;
  min-width: 64px;
  padding: 8px 4px 6px;
  border-radius: var(--radius);
  transition: background .18s;
  cursor: default;
}
.tool-logo-item:hover { background: var(--bg3); }

.tool-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.10);
  transition: transform .18s, box-shadow .18s;
  flex-shrink: 0;
}
.tool-logo-item:hover .tool-icon-wrap {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,.13);
}

.tool-icon-wrap img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.tool-logo-item span {
  font-family: 'DM Mono', monospace;
  font-size: 8.5px;
  color: var(--ink3);
  text-align: center;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 64px;
}

/* ============================
   ABOUT
============================ */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: start; }

.about-text { font-size: 14px; color: var(--ink2); line-height: 1.85; }
.about-text p+p { margin-top: 14px; }
.about-text strong { color: var(--ink); font-weight: 600; }

.meta-block {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: sticky;
  top: calc(var(--nav-h) + 16px);
  align-self: start;
}
.meta-row { display: flex; padding: 11px 16px; border-bottom: 1px solid var(--border2); font-size: 13px; gap: 12px; }
.meta-row:last-child { border-bottom: none; }
.meta-key { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); min-width: 72px; padding-top: 1px; }
.meta-val { color: var(--ink); flex: 1; }
.meta-val a { color: var(--accent); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s; }
.meta-val a:hover { border-bottom-color: var(--accent); }

/* ============================
   SKILLS
============================ */
.skills-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }

.skill-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px 20px; transition: box-shadow .2s, transform .2s; }
.skill-card:hover { box-shadow: 0 6px 20px rgba(26,23,20,.06); transform: translateY(-1px); }

.skill-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.skill-icon { width: 30px; height: 30px; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.skill-card-title { font-size: 13px; font-weight: 600; }

.tag-wrap { display: flex; flex-wrap: wrap; gap: 5px; }
.tag { font-size: 11px; padding: 3px 9px; border: 1px solid var(--border); border-radius: 40px; color: var(--ink3); font-family: 'DM Mono', monospace; cursor: default; transition: background .18s, color .18s, border-color .18s; }
.tag:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ============================
   EXPERIENCE
============================ */
.exp-timeline { position: relative; padding-left: 24px; }
.exp-timeline::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px; background: var(--border); }

.exp-item { position: relative; padding: 0 0 36px 24px; }
.exp-item:last-child { padding-bottom: 0; }
.exp-item::before { content: ''; position: absolute; left: -4px; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); border: 2px solid var(--bg); }

.exp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 6px; }
.exp-title { font-family: 'Fraunces', serif; font-size: 18px; font-weight: 400; line-height: 1.2; }
.exp-date { font-family: 'DM Mono', monospace; font-size: 9.5px; letter-spacing: .1em; color: var(--ink3); white-space: nowrap; background: var(--bg2); padding: 4px 10px; border-radius: 40px; border: 1px solid var(--border); }
.exp-company { font-size: 12px; color: var(--ink3); margin-bottom: 14px; font-family: 'DM Mono', monospace; letter-spacing: .06em; }

.exp-points { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.exp-points li { font-size: 13px; color: var(--ink2); padding-left: 16px; position: relative; line-height: 1.65; }
.exp-points li::before { content: '—'; position: absolute; left: 0; color: var(--accent); font-size: 11px; top: 1px; }

/* ============================
   EDUCATION
============================ */
.edu-grid { display: flex; flex-direction: column; gap: 1px; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }

.edu-card { background: var(--bg); padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: background .18s; }
.edu-card:hover { background: var(--bg2); }
.edu-card + .edu-card { border-top: 1px solid var(--border); }

.edu-degree { font-family: 'Fraunces', serif; font-size: 16px; font-weight: 400; margin-bottom: 4px; }
.edu-school { font-size: 12px; color: var(--ink3); font-family: 'DM Mono', monospace; }
.edu-year { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .1em; color: var(--accent); white-space: nowrap; background: rgba(200,75,47,.08); padding: 5px 12px; border-radius: 40px; }

/* ============================
   CASE STUDY CARD (closed state)
============================ */
.cs-trigger {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--ink);
  color: var(--bg);
  border: none;
  border-radius: var(--radius-lg);
  padding: 24px 28px 20px;
  cursor: pointer;
  text-align: left;
  transition: background .2s, border-radius .15s;
}
.cs-trigger:hover { background: #252220; }
.cs-trigger[aria-expanded="true"] { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }

/* top row: eyebrow + chevron */
.cs-trigger-toprow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.cs-trigger-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent2);
}
.cs-chevron {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(247,244,239,.18);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 10px;
  color: rgba(247,244,239,.6);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
}
.cs-trigger[aria-expanded="true"] .cs-chevron { transform: rotate(180deg); }

/* title */
.cs-trigger-title {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 14px;
}

/* tags */
.cs-trigger-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 0;
}
.cs-trigger-tag {
  font-family: 'DM Mono', monospace;
  font-size: 9.5px;
  letter-spacing: .1em;
  padding: 4px 10px;
  border: 1px solid rgba(247,244,239,.15);
  border-radius: 40px;
  color: rgba(247,244,239,.55);
}

/* divider */
.cs-trigger-divider {
  width: 100%;
  height: 1px;
  background: rgba(247,244,239,.1);
  margin: 18px 0 14px;
}

/* impact label */
.cs-trigger-impact-label {
  font-family: 'DM Mono', monospace;
  font-size: 8.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(247,244,239,.35);
  margin-bottom: 12px;
}

/* metrics row */
.cs-trigger-metrics {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.cs-trigger-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 10px 9px;
  background: rgba(247,244,239,.06);
  border: 1px solid rgba(247,244,239,.08);
  border-radius: var(--radius);
}
.cs-trigger-metric-n {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--accent2);
  line-height: 1;
}
.cs-trigger-metric-l {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  color: rgba(247,244,239,.45);
  line-height: 1.4;
  letter-spacing: .02em;
}

/* footer hint */
.cs-trigger-footer {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.cs-trigger-hint {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .08em;
  color: rgba(247,244,239,.35);
  transition: color .18s;
}
.cs-trigger:hover .cs-trigger-hint { color: rgba(247,244,239,.6); }

/* body wrap */
.cs-body-wrap {
  overflow: hidden;
  max-height: 0;
  transition: max-height .55s cubic-bezier(.4,0,.2,1);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.cs-body-wrap.open { max-height: 7000px; }

.cs-inner { padding: 28px 28px 24px; background: var(--bg); }

.cs-hero-pills { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.cs-pill { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border: 1px solid var(--border); border-radius: 40px; color: var(--ink3); }

.cs-meta-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 0;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border2);
}
.cs-meta-item {
  font-family: 'DM Mono', monospace;
  font-size: 11.5px;
  color: var(--ink2);
  display: flex;
  align-items: center;
  gap: 6px;
}
.cs-meta-key {
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink3);
}
.cs-meta-sep {
  color: var(--border);
  font-size: 13px;
  padding: 0 10px;
  user-select: none;
}

.cs-blurb { font-size: 13.5px; color: var(--ink2); line-height: 1.8; margin-bottom: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--border); }

/* flat sections inside case study */
.cs-sections-flat { display: flex; flex-direction: column; }

.cs-flat-sec {
  padding: 20px 0;
  border-bottom: 1px solid var(--border2);
}

.cs-flat-hd {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.cs-flat-num {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: .18em;
  color: var(--accent);
  min-width: 26px;
}

.cs-flat-title {
  font-family: 'Fraunces', serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
}

.cs-body-text { font-size: 13px; color: var(--ink2); line-height: 1.8; }
.cs-body-text p+p { margin-top: 8px; }

.cs-list { list-style: none; margin-top: 10px; display: flex; flex-direction: column; gap: 7px; }
.cs-list li { font-size: 13px; color: var(--ink2); padding-left: 18px; position: relative; line-height: 1.65; }
.cs-list li::before { content: '→'; position: absolute; left: 0; color: var(--accent); font-size: 10px; top: 2px; }

.cs-impact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cs-impact-card { background: var(--bg2); border-left: 3px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; padding: 12px 14px; font-size: 12.5px; color: var(--ink2); line-height: 1.6; }

.cs-tools { display: flex; flex-wrap: wrap; gap: 6px; }
.cs-tool { font-size: 11px; padding: 5px 12px; background: var(--ink); color: var(--bg); border-radius: var(--radius); font-family: 'DM Mono', monospace; letter-spacing: .04em; }

.cs-learn { display: flex; flex-direction: column; gap: 8px; }
.cs-learn-item { display: flex; gap: 14px; align-items: flex-start; padding: 12px 14px; background: var(--bg2); border-radius: var(--radius); font-size: 13px; color: var(--ink2); line-height: 1.65; }
.cs-learn-n { font-family: 'Fraunces', serif; font-size: 20px; font-weight: 400; color: var(--accent); min-width: 24px; line-height: 1; margin-top: 1px; }

/* ============================
   LANGUAGES
============================ */
.extra-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }

.lang-list { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.lang-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; font-size: 13px; border-bottom: 1px solid var(--border2); transition: background .18s; }
.lang-row:hover { background: var(--bg2); }
.lang-row:last-child { border-bottom: none; }
.lang-name { font-weight: 500; }
.lang-lvl { font-family: 'DM Mono', monospace; font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); background: rgba(200,75,47,.08); padding: 3px 9px; border-radius: 40px; }

.lead-list { display: flex; flex-direction: column; gap: 8px; }
.lead-item { padding: 14px 16px; border-left: 3px solid var(--border); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; background: var(--bg2); transition: border-color .2s; }
.lead-item:hover { border-left-color: var(--accent); }
.lead-title { font-size: 13px; font-weight: 600; margin-bottom: 3px; }
.lead-sub { font-size: 12px; color: var(--ink3); line-height: 1.55; }

/* ============================
   CONTACT
============================ */
.contact-hero { background: var(--ink); color: var(--bg); border-radius: var(--radius-lg); padding: 28px 32px; margin-bottom: 20px; position: relative; overflow: hidden; }
.contact-hero::after { content: '✉'; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 80px; opacity: .05; pointer-events: none; }
.contact-hero-title { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 400; margin-bottom: 8px; }
.contact-hero-sub { font-size: 13px; color: rgba(247,244,239,.6); line-height: 1.8; max-width: 460px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact-link { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-lg); text-decoration: none; color: var(--ink); font-size: 13px; transition: all .18s; }
.contact-link:hover { background: var(--bg); border-color: var(--ink); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(26,23,20,.07); }

.c-icon { width: 36px; height: 36px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.contact-link-label { font-size: 10px; color: var(--ink3); font-family: 'DM Mono', monospace; letter-spacing: .08em; margin-bottom: 1px; }
.contact-link-val { font-size: 13px; font-weight: 500; }

/* ============================
   IMPACT METRICS
============================ */
.cs-impact-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.cs-metric-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 16px 14px;
  position: relative;
  overflow: hidden;
  transition: transform .18s, box-shadow .18s;
}
.cs-metric-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(26,23,20,.07);
}
.cs-metric-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
}

.cs-metric-n {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}

.cs-metric-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 5px;
}

.cs-metric-sub {
  font-size: 11.5px;
  color: var(--ink3);
  line-height: 1.55;
  font-family: 'DM Mono', monospace;
}

/* ============================
   RESPONSIVE
============================ */
@media (max-width: 780px) {
  .topnav { padding: 0 20px; }
  .nav-links, .nav-avail { display: none; }
  .hamburger { display: flex; }
  .page { padding: 32px 20px 80px; gap: 56px; }
  .stat-row { grid-template-columns: repeat(3,1fr); }
  .about-grid, .extra-grid, .contact-grid, .skills-grid { grid-template-columns: 1fr; }
  .cs-impact-grid { grid-template-columns: 1fr; }
  .cs-impact-metrics { grid-template-columns: 1fr 1fr; }
  .cs-trigger-metrics { grid-template-columns: repeat(3, 1fr); }
  .hero-heading { font-size: 40px; }
  .edu-card { flex-direction: column; align-items: flex-start; gap: 8px; }
  .exp-head { flex-direction: column; gap: 6px; }
}

/* ============================
   CASE STUDY - LINK CARD + STANDALONE PAGE
============================ */
a.cs-trigger { text-decoration: none; }
a.cs-trigger:hover .cs-chevron { color: rgba(247,244,239,.9); border-color: rgba(247,244,239,.4); }

.cs-back-link {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--ink2) !important;
  text-decoration: none;
}
.cs-back-link:hover { color: var(--ink) !important; background: var(--bg2); }

.cs-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  padding: 11px 20px;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius-lg);
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: .04em;
  text-decoration: none;
  transition: background .2s;
}
.cs-back-btn:hover { background: #252220; }

/* ============================
   CASE STUDY DETAIL — DARK HERO CONTAINER
============================ */
.cs-detail-hero {
  background: linear-gradient(180deg, #1A1714 0%, #221e1b 100%);
  color: var(--bg);
  border-radius: var(--radius-lg);
  padding: 34px 38px 30px;
  margin-bottom: 34px;
}
.cs-detail-hero .section-eyebrow {
  color: var(--accent2);
  margin-bottom: 14px;
}
.cs-detail-hero .section-title {
  color: var(--bg);
  border-bottom: 1px solid rgba(247,244,239,.14);
  margin-bottom: 20px;
  padding-bottom: 20px;
}
.cs-detail-hero .cs-meta-bar {
  border-bottom: 1px solid rgba(247,244,239,.1);
  margin-bottom: 18px;
  padding-bottom: 18px;
}
.cs-detail-hero .cs-meta-item { color: rgba(247,244,239,.75); }
.cs-detail-hero .cs-meta-key { color: rgba(247,244,239,.42); }
.cs-detail-hero .cs-meta-sep { color: rgba(247,244,239,.25); }
.cs-detail-hero .cs-blurb {
  color: rgba(247,244,239,.7);
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

@media (max-width: 780px) {
  .cs-detail-hero { padding: 22px 20px 20px; }
}

/* ============================
   HERO — COMPANY LOGOS
============================ */
.hero-logos {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 0;
  margin-bottom: 44px;
}
.hero-logos-label {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink3);
  white-space: nowrap;
  flex-shrink: 0;
}
.hero-logos-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent);
}
.hero-logos-track {
  display: flex;
  width: max-content;
  animation: hero-logo-scroll 30s linear infinite;
}
.hero-logos:hover .hero-logos-track { animation-play-state: paused; }
.hero-logos-set {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
  flex-shrink: 0;
}
@keyframes hero-logo-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.hero-logo {
  height: 17px;
  width: auto;
  opacity: .9;
  flex-shrink: 0;
}
.hero-logo--globurn { height: 22px; }
.hero-logo--hudl { height: 16px; }
.hero-logo--mpb { height: 19px; }
.hero-logo--badge { height: 32px; }
@media (prefers-reduced-motion: reduce) {
  .hero-logos-track { animation: none; }
}
@media (max-width: 780px) {
  .hero-logos { margin-top: -8px; gap: 12px; }
  .hero-logos-set { gap: 34px; padding-right: 34px; }
}

