/* ============================================================
   ABEROKII.COM — Design System & Styles
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #F5F1EA;
  color: #0F0F0F;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: #D97757; color: #F5F1EA; }

/* --- Typography --- */
.font-display { font-family: 'Archivo Black', sans-serif; font-weight: 400; }

/* --- Color Tokens (used as references) --- */
/* --bg: #F5F1EA  --fg: #0F0F0F  --accent: #D97757  --accent-hover: #E8A589
   --dark: #0F0F0F  --dark-2: #1A1A1A  --cream: #F5F1EA  --muted: rgba(15,15,15,0.72) */

/* --- Layout Utilities --- */
.page { display: none; }
.page.active { display: block; }

/* --- Scroll Reveal --- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   HEADER
   ============================================================ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 241, 234, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 15, 15, 0.1);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Archivo Black', sans-serif;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: #0F0F0F;
  padding: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.nav-link {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 6px 8px;
  color: #0F0F0F;
  transition: color 0.2s ease;
}
.nav-link:hover { color: #D97757; }
.nav-link.active { color: #D97757; }
.nav-cta {
  margin-left: 8px;
  background: #D97757;
  color: #F5F1EA;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 2px;
  transition: background 0.2s ease;
}
.nav-cta:hover { background: #E8A589; }

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #0F0F0F;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.mobile-menu-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
  .mobile-menu-btn { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(245, 241, 234, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 4px;
    border-bottom: 1px solid rgba(15, 15, 15, 0.1);
  }
  .main-nav.open { display: flex; }
  .nav-link { padding: 12px 0; font-size: 17px; }
  .nav-cta { margin: 8px 0 0 0; align-self: flex-start; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  background: #D97757;
  color: #F5F1EA;
  border: 2px solid #D97757;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  padding: 15px 28px;
  border-radius: 2px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.btn-primary:hover { background: #E8A589; border-color: #E8A589; }

.btn-outline {
  background: transparent;
  color: #0F0F0F;
  border: 2px solid #0F0F0F;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  padding: 15px 28px;
  border-radius: 2px;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn-outline:hover { background: #0F0F0F; color: #F5F1EA; }

.btn-dark {
  display: inline-block;
  background: #0F0F0F;
  color: #F5F1EA;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 2px;
  transition: background 0.2s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-dark:hover { background: #1A1A1A; }

/* ============================================================
   HIGHLIGHT TAG
   ============================================================ */
.highlight-tag {
  background: #D97757;
  color: #F5F1EA;
  padding: 0 0.2em;
  display: inline-block;
  transform: rotate(-1.3deg);
  border-radius: 2px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(56px, 9vw, 120px) 24px clamp(48px, 7vw, 90px);
}
.hero-title {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 400;
  font-size: clamp(38px, 7.5vw, 98px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0;
  max-width: 16ch;
}
.hero-sub {
  font-size: clamp(17px, 2.1vw, 22px);
  line-height: 1.55;
  color: rgba(15, 15, 15, 0.72);
  max-width: 680px;
  margin: 32px 0 0;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-socials {
  display: flex;
  gap: 22px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.social-link {
  color: #0F0F0F;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 2px solid #D97757;
  padding-bottom: 2px;
  transition: color 0.2s ease;
}
.social-link:hover { color: #D97757; }

/* ============================================================
   INTRO SECTION
   ============================================================ */
.intro-section {
  border-top: 1px solid rgba(15, 15, 15, 0.1);
}
.intro-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 86px) 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.section-label.accent { color: #D97757; }
.section-label.muted { color: rgba(15, 15, 15, 0.5); }
.intro-text {
  font-size: clamp(17px, 1.9vw, 21px);
  line-height: 1.6;
  margin: 0;
  color: #1A1A1A;
}

/* --- Pill Grid --- */
.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill {
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid rgba(15, 15, 15, 0.14);
  border-radius: 999px;
  color: #1A1A1A;
}

/* ============================================================
   PILLARS SECTION
   ============================================================ */
.pillars-section {
  background: #0F0F0F;
  color: #F5F1EA;
}
.pillars-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(28px, 4vw, 48px);
}
.pillar-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pillar-title {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.1;
}
.pillar-title .highlight-tag {
  transform: rotate(-1deg);
}
.pillar-line {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(245, 241, 234, 0.72);
}

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section-heading {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 400;
  font-size: clamp(34px, 5.5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 44px;
}
.section-heading.light { color: #F5F1EA; }

/* ============================================================
   FEATURED & WORK SECTIONS
   ============================================================ */
.featured-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 100px) 24px;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}
.project-card {
  background: #fff;
  border: 2px solid #0F0F0F;
  padding: 26px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  cursor: pointer;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.project-card:hover {
  box-shadow: 8px 8px 0 #D97757;
  transform: translateY(-4px);
}
.card-org {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #D97757;
}
.card-title {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 400;
  font-size: 21px;
  line-height: 1.12;
  margin: 0;
}
.card-problem {
  margin: 0;
  color: rgba(15, 15, 15, 0.66);
  line-height: 1.5;
  font-size: 15px;
  flex: 1;
}
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.card-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border: 1px solid rgba(15, 15, 15, 0.22);
  border-radius: 999px;
}
.card-outcome {
  font-size: 14px;
  color: #1A1A1A;
  border-top: 1px solid rgba(15, 15, 15, 0.12);
  padding-top: 12px;
  line-height: 1.45;
}
.card-view {
  font-weight: 700;
  color: #D97757;
  font-size: 14px;
}

/* Work cards with category chip */
.work-card-header {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.category-chip {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #F5F1EA;
  background: #D97757;
  padding: 4px 10px;
  border-radius: 999px;
}
.stack-chip {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border: 1px solid rgba(15, 15, 15, 0.22);
  border-radius: 999px;
  color: #1A1A1A;
}

/* ============================================================
   RESOURCES PREVIEW (Dark)
   ============================================================ */
.resources-preview-section {
  background: #0F0F0F;
  color: #F5F1EA;
}
.resources-preview-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 100px) 24px;
}
.resources-preview-sub {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.55;
  color: rgba(245, 241, 234, 0.7);
  max-width: 620px;
  margin: 0 0 44px;
}
.dark-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.dark-resource-card {
  background: #1A1A1A;
  border: 1px solid rgba(245, 241, 234, 0.14);
  padding: 24px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.dark-resource-card:hover {
  border-color: #D97757;
  transform: translateY(-4px);
}
.resource-format-tag {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #D97757;
  border: 1px solid rgba(217, 119, 87, 0.5);
  padding: 3px 9px;
  border-radius: 999px;
  display: inline-block;
}
.dark-card-title {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 400;
  font-size: 19px;
  line-height: 1.15;
  margin: 0;
  color: #F5F1EA;
}
.dark-card-benefit {
  margin: 0;
  color: rgba(245, 241, 234, 0.62);
  line-height: 1.5;
  font-size: 14px;
  flex: 1;
}
.dark-card-action {
  font-weight: 700;
  color: #D97757;
  font-size: 14px;
}

/* ============================================================
   CONTENT (Watch & Read)
   ============================================================ */
.content-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 100px) 24px;
}
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}
.content-card {
  background: #fff;
  border: 2px solid #0F0F0F;
  padding: 32px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.content-card-title {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 400;
  font-size: 24px;
  margin: 0;
  line-height: 1.1;
}
.accent-text { color: #D97757; }
.content-card-desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(15, 15, 15, 0.7);
  flex: 1;
}

/* ============================================================
   EMAIL BAND
   ============================================================ */
.email-band {
  background: #D97757;
  padding: clamp(56px, 8vw, 104px) 24px;
}
.email-band-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.email-band-heading {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 400;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #0F0F0F;
  margin: 0 0 14px;
}
.email-band-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(15, 15, 15, 0.82);
  margin: 0 auto 30px;
  max-width: 540px;
  line-height: 1.55;
}
.email-band-form {
  display: flex;
  gap: 10px;
  max-width: 500px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.email-band-input {
  flex: 1;
  min-width: 200px;
  padding: 16px 18px;
  border: 2px solid #0F0F0F;
  background: #F5F1EA;
  color: #0F0F0F;
  font-size: 16px;
  font-family: inherit;
  border-radius: 2px;
  outline: none;
}
.email-band-input:focus { border-color: #0F0F0F; box-shadow: 0 0 0 2px rgba(15,15,15,0.15); }
.email-band-submit {
  padding: 16px 30px;
  background: #0F0F0F;
  color: #F5F1EA;
  border: 2px solid #0F0F0F;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  border-radius: 2px;
  font-family: inherit;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
.email-band-submit:hover { background: #1A1A1A; }
.email-band-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.email-band-success-title {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 400;
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.04;
  color: #0F0F0F;
  letter-spacing: -0.01em;
}
.email-band-success-sub {
  margin: 0;
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(15, 15, 15, 0.8);
}

/* ============================================================
   PAGE HEADERS
   ============================================================ */
.page-header-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) 24px clamp(32px, 4vw, 48px);
}
.page-title {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 400;
  font-size: clamp(40px, 7vw, 92px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0;
}
.page-subtitle {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
  color: rgba(15, 15, 15, 0.72);
  max-width: 660px;
  margin: 28px 0 32px;
}

/* --- Filter Tabs --- */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.filter-tab {
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
  line-height: 1.1;
}
.filter-tab.active {
  background: #D97757;
  color: #F5F1EA;
  border: 2px solid #D97757;
}
.filter-tab:not(.active) {
  background: transparent;
  color: #0F0F0F;
  border: 2px solid rgba(15, 15, 15, 0.25);
}
.filter-tab:not(.active):hover {
  border-color: #D97757;
  color: #D97757;
}

/* --- Work Cards Section --- */
.work-cards-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px clamp(40px, 6vw, 72px);
}

/* ============================================================
   CASE STUDY
   ============================================================ */
.case-article {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 44px) 24px clamp(40px, 5vw, 64px);
}
.case-back-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: #1A1A1A;
  padding: 0;
  margin-bottom: clamp(24px, 4vw, 40px);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}
.case-back-btn:hover { color: #D97757; }
.case-category-chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #F5F1EA;
  background: #D97757;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.case-title {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 400;
  font-size: clamp(34px, 5.6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0;
}
.case-title .highlight-tag {
  padding: 0.02em 0.18em;
  transform: rotate(-1deg);
}
.case-tagline {
  font-size: clamp(18px, 2.3vw, 24px);
  line-height: 1.4;
  color: rgba(15, 15, 15, 0.66);
  margin: 22px 0 0;
  font-weight: 500;
  max-width: 36ch;
}
.case-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  margin: clamp(28px, 4vw, 40px) 0;
  padding: 22px 0;
  border-top: 2px solid #0F0F0F;
  border-bottom: 2px solid #0F0F0F;
}
.case-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.case-meta-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #D97757;
}
.case-meta-value {
  font-size: 15px;
  font-weight: 600;
  color: #1A1A1A;
}
.case-section-title {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.case-section-title .highlight-tag {
  padding: 0 0.16em;
  transform: rotate(-1deg);
}
.case-prose {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.65;
  color: #1A1A1A;
  margin-bottom: clamp(40px, 5vw, 60px);
}
.case-prose p { margin: 0; }
.case-how-box {
  background: #fff;
  border: 2px solid #0F0F0F;
  border-radius: 4px;
  padding: clamp(22px, 3vw, 32px);
  margin-bottom: clamp(40px, 5vw, 60px);
}
.case-how-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #D97757;
  margin-bottom: 20px;
}
.case-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.case-step + .case-step { margin-top: 18px; }
.case-step-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  background: #0F0F0F;
  color: #F5F1EA;
  font-family: 'Archivo Black', sans-serif;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}
.case-step-text {
  margin: 0;
  font-size: clamp(15px, 1.9vw, 17px);
  line-height: 1.55;
  color: #1A1A1A;
  padding-top: 5px;
}

/* Workflow diagram */
.case-diagram-box {
  background: #fff;
  border: 2px solid #0F0F0F;
  border-radius: 4px;
  padding: clamp(22px, 3vw, 34px);
  margin-bottom: clamp(40px, 5vw, 60px);
}
.case-diagram-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #D97757;
  margin-bottom: 24px;
}
.case-diagram-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px 2px;
}
.diagram-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 98px;
}
.diagram-tile {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 12px;
  border: 2px solid #0F0F0F;
  background: #F5F1EA;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.diagram-mono {
  font-family: 'Archivo Black', sans-serif;
  font-size: 13px;
  color: #0F0F0F;
}
.diagram-logo {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 58%;
  height: 58%;
  object-fit: contain;
  background: #F5F1EA;
}
.diagram-label {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  color: #1A1A1A;
}
.diagram-arrow {
  align-self: flex-start;
  margin-top: 17px;
  color: #D97757;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

/* Stack pills */
.case-stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(40px, 5vw, 60px);
}
.case-stack-pill {
  font-size: 14px;
  font-weight: 600;
  padding: 9px 16px;
  background: #fff;
  border: 2px solid #0F0F0F;
  border-radius: 999px;
  color: #1A1A1A;
}

/* Outcome box */
.case-outcome-box {
  background: #0F0F0F;
  color: #F5F1EA;
  border-left: 6px solid #D97757;
  border-radius: 4px;
  padding: clamp(24px, 3.5vw, 36px);
  font-size: clamp(17px, 2.1vw, 21px);
  line-height: 1.6;
  margin-bottom: clamp(36px, 5vw, 52px);
}

/* CTA row */
.case-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.case-internal-note {
  font-size: 15px;
  font-style: italic;
  color: rgba(15, 15, 15, 0.55);
}

/* ============================================================
   RESOURCES PAGE
   ============================================================ */
.resources-grid-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px clamp(48px, 6vw, 80px);
}
.resource-card {
  background: #fff;
  border: 2px solid #0F0F0F;
  padding: 28px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.resource-card:hover {
  box-shadow: 8px 8px 0 #D97757;
  transform: translateY(-4px);
}
.resource-card-title {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.13;
  margin: 0;
}
.resource-card-benefit {
  margin: 0;
  color: rgba(15, 15, 15, 0.66);
  line-height: 1.55;
  font-size: 15px;
  flex: 1;
}
.resource-card-btn {
  align-self: flex-start;
  background: #0F0F0F;
  color: #F5F1EA;
  border: 2px solid #0F0F0F;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 2px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.resource-card-btn:hover { background: #D97757; border-color: #D97757; }

/* ============================================================
   RESOURCE DETAIL PAGE
   ============================================================ */
.resource-detail-article {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) 24px clamp(40px, 5vw, 64px);
}
.resource-detail-header {
  margin-bottom: clamp(32px, 4vw, 48px);
}
.resource-detail-title {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.13;
  margin: 12px 0 16px;
}
.resource-detail-benefit {
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.65;
  color: rgba(15, 15, 15, 0.66);
  margin: 0 0 20px;
}
.resource-detail-copy-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F5F1EA;
  border: 2px solid #0F0F0F;
  border-radius: 4px;
  padding: 8px 16px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.resource-detail-copy-link:hover {
  background: #0F0F0F;
  color: #F5F1EA;
}
.resource-detail-copy-link.copied {
  background: #2E7D32;
  border-color: #2E7D32;
  color: #fff;
}

/* Body content */
.resource-detail-body {
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.75;
  color: #1A1A1A;
}
.resource-detail-body h2 {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 400;
  font-size: clamp(22px, 2.5vw, 28px);
  margin: clamp(36px, 4vw, 52px) 0 16px;
  line-height: 1.2;
}
.resource-detail-body h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(18px, 2vw, 22px);
  margin: clamp(28px, 3vw, 40px) 0 10px;
  line-height: 1.3;
}
.resource-detail-body p {
  margin: 0 0 16px;
}
.resource-detail-body ul,
.resource-detail-body ol {
  margin: 0 0 20px;
  padding-left: 24px;
}
.resource-detail-body li {
  margin-bottom: 8px;
}
.resource-detail-body a {
  color: #D97757;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.2s ease;
}
.resource-detail-body a:hover {
  color: #0F0F0F;
}

/* Prompt blocks — the big code-style boxes */
.resource-prompt-block {
  background: #0F0F0F;
  color: #F5F1EA;
  border-radius: 6px;
  padding: clamp(20px, 3vw, 32px);
  margin: 16px 0 24px;
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.7;
  overflow-x: auto;
  -webkit-font-smoothing: antialiased;
}
.resource-prompt-block p {
  margin: 0 0 12px;
  color: #F5F1EA;
}
.resource-prompt-block p:last-child {
  margin-bottom: 0;
}
.resource-prompt-block ul,
.resource-prompt-block ol {
  margin: 8px 0 12px;
  padding-left: 22px;
}
.resource-prompt-block li {
  margin-bottom: 6px;
  color: #F5F1EA;
}
.resource-prompt-block strong {
  color: #D97757;
}

/* Tables */
.resource-detail-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: clamp(14px, 1.5vw, 16px);
}
.resource-detail-body th {
  background: #0F0F0F;
  color: #F5F1EA;
  text-align: left;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.resource-detail-body td {
  border-bottom: 1px solid rgba(15, 15, 15, 0.1);
  padding: 12px 16px;
  vertical-align: top;
}
.resource-detail-body tr:hover td {
  background: rgba(217, 119, 87, 0.06);
}

/* Footer */
.resource-detail-footer {
  margin-top: clamp(36px, 4vw, 56px);
  padding-top: 24px;
  border-top: 2px solid rgba(15, 15, 15, 0.08);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-section {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) 24px clamp(40px, 5vw, 64px);
}
.about-prose {
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
  color: #1A1A1A;
}
.about-prose p { margin: 0; }
.currently-box {
  margin-top: 40px;
  background: #0F0F0F;
  color: #F5F1EA;
  padding: 24px 28px;
  border-radius: 4px;
  border-left: 6px solid #D97757;
  font-size: 16px;
  line-height: 1.55;
}
.currently-label {
  font-weight: 700;
  color: #D97757;
}

/* ============================================================
   CONNECT PAGE
   ============================================================ */
.connect-section {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) 24px clamp(40px, 5vw, 64px);
}
.connect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.connect-card {
  background: #fff;
  border: 2px solid #0F0F0F;
  border-radius: 4px;
  padding: 24px;
  text-decoration: none;
  color: #0F0F0F;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.connect-card:hover {
  box-shadow: 8px 8px 0 #D97757;
  transform: translateY(-4px);
}
.connect-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #D97757;
}
.connect-handle {
  font-family: 'Archivo Black', sans-serif;
  font-size: 20px;
}
.work-with-me-box {
  margin-top: 40px;
  background: #0F0F0F;
  color: #F5F1EA;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 4px;
}
.work-with-me-title {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 400;
  font-size: clamp(24px, 3vw, 34px);
  margin: 0 0 14px;
  line-height: 1.1;
}
.work-with-me-desc {
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(245, 241, 234, 0.75);
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: #0F0F0F;
  color: #F5F1EA;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 72px) 24px clamp(32px, 4vw, 44px);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  align-items: start;
}
.footer-brand {
  font-family: 'Archivo Black', sans-serif;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.footer-tagline {
  margin: 0;
  font-size: 15px;
  color: rgba(245, 241, 234, 0.6);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
}
.footer-links button, .footer-links a {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  color: #F5F1EA;
  font-size: 15px;
  font-weight: 600;
  padding: 0;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-links button:hover, .footer-links a:hover { color: #D97757; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(245, 241, 234, 0.14);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(245, 241, 234, 0.5);
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 15, 15, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: #F5F1EA;
  border: 2px solid #0F0F0F;
  border-radius: 6px;
  max-width: 460px;
  width: 100%;
  padding: clamp(28px, 4vw, 40px);
  position: relative;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  color: #0F0F0F;
  padding: 4px;
}
.modal-title {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.13;
  margin: 0 0 10px;
}
.modal-desc {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(15, 15, 15, 0.7);
}
.modal-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #0F0F0F;
  background: #fff;
  color: #0F0F0F;
  font-size: 15px;
  font-family: inherit;
  border-radius: 2px;
  outline: none;
  margin-bottom: 10px;
}
.modal-input:focus { box-shadow: 0 0 0 2px rgba(217, 119, 87, 0.3); }

/* ============================================================
   READER OVERLAY
   ============================================================ */
.reader-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #F5F1EA;
  overflow-y: auto;
}
.reader-overlay.open { display: block; }
.reader-header {
  position: sticky;
  top: 0;
  background: rgba(245, 241, 234, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 15, 15, 0.1);
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.reader-brand {
  font-family: 'Archivo Black', sans-serif;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.reader-article {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) 24px clamp(56px, 8vw, 96px);
}
.reader-title {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 400;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.reader-benefit {
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.5;
  color: rgba(15, 15, 15, 0.6);
  margin: 0 0 36px;
  font-weight: 500;
}
.reader-body {
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.68;
  color: #1A1A1A;
}
.reader-body p { margin: 0; }
.reader-cta-box {
  margin-top: 44px;
  padding: 24px 28px;
  background: #0F0F0F;
  color: #F5F1EA;
  border-radius: 4px;
  border-left: 6px solid #D97757;
  font-size: 15px;
  line-height: 1.55;
}
.reader-cta-link {
  background: none;
  border: none;
  color: #D97757;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  padding: 0;
  text-decoration: underline;
}

/* ============================================================
   SMOOTH PAGE TRANSITIONS
   ============================================================ */
.page {
  animation: fadeIn 0.35s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
