:root {
  /* Original Google Sites Palette for Emily Luthra */
  --indigo: #3c35c9;
  --indigo-dark: #302aa1;
  --indigo-soft: #5f59d3;
  --indigo-tint: rgba(60, 53, 201, 0.08);
  --charcoal: #212121;
  --bg: #ffffff;
  --bg-muted: #ededed;
  --bg-card: #ffffff;
  --bg-card-hover: #f7f7fd;
  --ink: #212121;
  --ink-secondary: #4a4a52;
  --muted: #6e6e78;
  --cyan: #00e5ff;
  --cyan-bright: #5cefff;
  --cyan-deep: #00bcd4;
  --line: #d3d3d3;
  --line-subtle: #e6e6ec;
  --line-strong: rgba(60, 53, 201, 0.35);

  /* All fonts unified to Open Sans per user request */
  --font: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --sans: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --gutter: clamp(24px, 4.2vw, 72px);
}

*, *::before, *::after {
  box-sizing: border-box;
  font-family: var(--font);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6667;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: none;
  border: 0;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 4px;
}

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

h1, h2, h3, h4, p {
  margin: 0;
  font-family: var(--font);
}

h1, h2 {
  font-family: var(--font);
  font-weight: 300;
  color: var(--indigo);
}

h1 em, h2 em {
  font-style: normal;
  font-weight: 400;
  color: var(--indigo);
}

[hidden] {
  display: none !important;
}

.mono {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--indigo);
  font-weight: 600;
}

.section-index {
  color: var(--muted);
  margin-right: 6px;
}

.tiny-glyph {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--indigo);
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--indigo);
  color: #ffffff;
  font-weight: 600;
  z-index: 100;
  padding: 12px 18px;
}
.skip-link:focus {
  top: 12px;
}

/* ============================================================================
   SITE HEADER (Original Google Sites Charcoal #212121 Navigation Bar)
   ============================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--charcoal);
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.header-inner {
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  color: #ffffff;
}

.brand-glyph {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: var(--indigo);
  border: 1px solid rgba(0, 229, 255, 0.6);
  position: relative;
  display: inline-block;
}
.brand-glyph::after {
  content: '';
  position: absolute;
  inset: 5px;
  border-top: 2px solid var(--cyan);
  border-bottom: 1.5px solid #ffffff;
  transform: skewY(-12deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.2px;
  color: #ffffff;
}

.brand-sub {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 2px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.nav-link {
  font-size: 13.5px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  font-weight: 400;
  border-bottom-color: var(--cyan);
}

.nav-link-ai {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 4px;
  border: 1px solid rgba(0, 229, 255, 0.45);
  background: rgba(60, 53, 201, 0.55);
  color: #ffffff;
}
.nav-link-ai:hover,
.nav-link-ai.active {
  background: var(--indigo);
  border-color: var(--cyan);
}

.ai-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  display: inline-block;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.header-cta {
  font-size: 13px;
  font-weight: 400;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  transition: background 0.2s, border-color 0.2s;
}
.header-cta:hover {
  background: var(--indigo);
  border-color: #ffffff;
}

.text-arrow {
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  vertical-align: -0.08em;
}
.text-arrow path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: square;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: #ffffff;
  transition: transform 0.2s;
}
.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

.mobile-nav {
  background: var(--charcoal);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 16px var(--gutter) 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav-link {
  padding: 10px 0;
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-nav-link.active,
.mobile-nav-link:hover {
  color: var(--cyan);
}

/* ============================================================================
   HERO SECTION (Google Sites Royal Indigo #3c35c9 Banner + Eragon Split + Unboxed Cyan Wave)
   ============================================================================ */
.hero-stage {
  position: relative;
  overflow: hidden;
  /* Matches Emily's original Google Sites royal indigo banner (#3c35c9) */
  background: linear-gradient(135deg, #3c35c9 0%, #302aa1 52%, #1d1968 100%);
  color: #ffffff;
}

.hero-grid {
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 44% 56%;
  align-items: center;
  min-height: 620px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  padding: 52px 24px 58px 0;
}

.hero-copy .eyebrow {
  color: var(--cyan-bright);
}
.hero-copy .tiny-glyph {
  background: var(--cyan);
}

.hero-title {
  font-family: var(--font);
  font-weight: 300;
  font-size: clamp(54px, 6.2vw, 88px);
  letter-spacing: 0.5px;
  line-height: 1.05;
  margin: 20px 0 22px;
  color: #ffffff;
}
.hero-title em {
  font-style: normal;
  font-weight: 300;
  color: #ffffff;
}

.hero-subtitle-lead {
  font-size: clamp(19px, 1.55vw, 24px);
  line-height: 1.4;
  color: #ffffff;
  font-weight: 400;
  max-width: 520px;
  margin-bottom: 16px;
}

.hero-description {
  max-width: 500px;
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-top: 32px;
}

/* Primary Button: White button with Indigo text inside Indigo banners (like .lQAHbd .QmpIrf on Google Sites), or Indigo on white sections */
.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  padding: 13px 24px;
  border-radius: 4px;
  background: var(--indigo);
  color: #ffffff;
  border: 1px solid var(--indigo);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.button-primary:hover {
  background: var(--indigo-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(60, 53, 201, 0.25);
}

/* Inside the Indigo Hero Banner, match Google Sites .lQAHbd .QmpIrf (White fill, #3c35c9 text) */
.hero-stage .button-primary {
  background: #ffffff;
  color: var(--indigo);
  border-color: #ffffff;
}
.hero-stage .button-primary:hover {
  background: #f2f2ff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--indigo);
  border-bottom: 1.5px solid rgba(60, 53, 201, 0.4);
  padding: 7px 0;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.text-link:hover {
  color: var(--indigo-dark);
  border-color: var(--indigo);
}

.hero-stage .text-link {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.55);
}
.hero-stage .text-link:hover {
  color: var(--cyan-bright);
  border-bottom-color: var(--cyan-bright);
}

/* Right Hero Visual & Unboxed Edge-Faded Radio Wave Canvas */
.hero-visual {
  position: relative;
  padding-top: 28px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1;
}

.plate-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--indigo);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
}

.hero-visual > .plate-label {
  padding: 0 12px 6px;
  color: rgba(255, 255, 255, 0.8);
}

/* Seamless edge-faded canvas stage: fades out on left and right sides so it never looks like a box */
.wave-canvas-bleed {
  position: relative;
  width: calc(100% + 120px);
  margin-left: -60px;
  margin-right: -60px;
  height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, rgba(0,0,0,0.15) 6%, rgba(0,0,0,0.75) 16%, #000 28%, #000 72%, rgba(0,0,0,0.75) 84%, rgba(0,0,0,0.15) 94%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, rgba(0,0,0,0.15) 6%, rgba(0,0,0,0.75) 16%, #000 28%, #000 72%, rgba(0,0,0,0.75) 84%, rgba(0,0,0,0.15) 94%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-composite: intersect;
}

#frequency-wave-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.visual-caption {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 12px 24px;
  gap: 20px;
}

.visual-caption .mono {
  font-size: 10px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.8px;
  color: var(--muted);
}

.hero-visual .visual-caption .mono {
  color: rgba(255, 255, 255, 0.78);
}

.replay-button {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.6px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: background 0.2s, border-color 0.2s;
}
.replay-button:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--cyan-bright);
}

.hero-baseline {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px 0 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  font-weight: 400;
}
.hero-baseline a {
  font-size: 16px;
  color: #ffffff;
}

/* Discipline Strip (Soft Gray #ededed section from Google Sites .qeLZfd) */
.discipline-strip {
  max-width: 100%;
  margin: 0 auto;
  padding: 22px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-muted);
}

.discipline-strip > .mono {
  color: var(--indigo);
  font-size: 10.5px;
  min-width: 150px;
}

.discipline-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 24px;
  flex: 1;
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}

.strip-note {
  font-size: 13px;
  color: var(--ink-secondary);
  text-align: right;
}

/* ============================================================================
   SECTIONS & PORTFOLIO CARDS (Crisp White & Royal Indigo #3c35c9 Headings)
   ============================================================================ */
.section-wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding: 80px var(--gutter);
}

.page-wrap {
  padding-top: 44px;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  margin-bottom: 32px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.page-breadcrumb a {
  color: var(--indigo);
}
.page-breadcrumb a:hover {
  text-decoration: underline;
}

.section-heading {
  background: var(--indigo);
  color: #ffffff;
  padding: 36px 40px;
  border-radius: 6px;
  margin-bottom: 36px;
}

.section-heading > .eyebrow {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 10px;
}
.section-heading .section-index {
  color: var(--cyan-bright);
}

.heading-row {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-end;
}

h2 {
  font-family: var(--font);
  font-weight: 300;
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.18;
  letter-spacing: 0.3px;
  color: var(--indigo);
}

.section-heading h2,
.section-heading h2 em {
  color: #ffffff;
  font-weight: 300;
}

.heading-row > p,
.section-lead {
  font-size: 15.5px;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.92);
  max-width: 480px;
}

.section-lead {
  max-width: 760px;
  margin-top: 12px;
}

/* Primary 4 Featured Work Cards (Matches Emily's 4-item Home grid on clean white surface) */
.featured-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.work-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  cursor: pointer;
  overflow: hidden;
}

.work-card:hover {
  transform: translateY(-4px);
  border-color: var(--indigo);
  box-shadow: 0 14px 34px rgba(60, 53, 201, 0.12);
}

.work-card-top {
  padding: 12px 22px;
  border-bottom: 1px solid var(--line-subtle);
  background: #fafafa;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
}

.work-card-media {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: #ffffff;
  border-bottom: 1px solid var(--line-subtle);
}

.work-card-media img {
  max-height: 135px;
  width: auto;
  object-fit: contain;
  transition: transform 0.28s ease;
}

.work-card:hover .work-card-media img {
  transform: scale(1.06);
}

.work-card-body {
  padding: 26px 28px 28px;
}

.work-card-body h3 {
  font-family: var(--font);
  font-size: 26px;
  font-weight: 400;
  color: var(--indigo);
  margin-bottom: 10px;
}

.work-card-body p {
  font-size: 14.5px;
  color: var(--ink-secondary);
  line-height: 1.68;
  margin-bottom: 20px;
}

.work-card-cta {
  color: var(--indigo);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Secondary 4 Mini Cards */
.secondary-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.mini-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fafafa;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.mini-card:hover {
  border-color: var(--indigo);
  background: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(60, 53, 201, 0.1);
}

.mini-card-accent {
  border-color: var(--indigo);
  background: var(--indigo-tint);
}

.mini-index {
  color: var(--indigo);
  font-size: 10px;
  margin-bottom: 10px;
}

.mini-card h3 {
  font-family: var(--font);
  font-size: 20px;
  font-weight: 400;
  color: var(--indigo);
  margin-bottom: 8px;
}

.mini-card p {
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
}

.mini-link {
  color: var(--indigo);
  font-size: 10.5px;
  font-weight: 600;
  margin-top: auto;
}

/* ============================================================================
   CASE STUDY & ABOUT PAGES (Matches Google Sites Indigo Section Bands & Clean White Content)
   ============================================================================ */
.page-title {
  font-family: var(--font);
  font-weight: 300;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.1;
  letter-spacing: 0.4px;
  color: var(--indigo);
  margin: 14px 0 20px;
}
.page-title em {
  font-style: normal;
  font-weight: 300;
  color: var(--indigo);
}

.role-subtitle {
  font-family: var(--font);
  font-size: 22px;
  font-weight: 400;
  color: var(--indigo);
  margin-bottom: 14px;
}

.lead-paragraph {
  font-size: 16px;
  line-height: 1.72;
  color: var(--ink);
  max-width: 680px;
  margin-bottom: 14px;
}
.lead-paragraph strong {
  font-weight: 600;
  color: var(--ink);
}

.inline-link {
  color: var(--indigo);
  text-decoration: underline;
  font-weight: 500;
}
.inline-link:hover {
  color: var(--indigo-dark);
}

/* About Page Layout */
.about-layout {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 52px;
  align-items: start;
}

.capabilities-panel {
  margin: 28px 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--indigo);
  color: #ffffff;
  padding: 28px 32px;
}

.panel-heading {
  color: var(--cyan-bright);
  margin-bottom: 16px;
}

.capabilities-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.capabilities-list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 15px;
  color: #ffffff;
}
.capabilities-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.cap-index {
  color: var(--cyan-bright);
  font-size: 11px;
}

.personal-note {
  font-size: 15.5px;
  color: var(--ink);
  margin-top: 20px;
}

.about-portrait-frame {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fafafa;
  padding: 20px;
}

.portrait-box {
  margin: 12px 0;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--line);
}
.portrait-box img {
  width: 100%;
  height: auto;
}

/* Case Study Header & TOC */
.case-hero {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 44px;
  align-items: start;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.case-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: #fafafa;
  color: var(--indigo);
}

.case-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.case-toc {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fafafa;
  padding: 24px;
}

.toc-title {
  color: var(--indigo);
  margin-bottom: 12px;
}

.case-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.case-toc a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--indigo);
  padding: 8px 0;
  border-bottom: 1px solid var(--line-subtle);
  transition: color 0.2s;
}
.case-toc a:hover {
  color: var(--indigo-dark);
  text-decoration: underline;
}

.case-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--line);
}

.case-split-block {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 44% 56%;
  gap: 44px;
  align-items: center;
}

.case-split-block.reverse {
  grid-template-columns: 56% 44%;
}
.case-split-block.reverse .case-block-copy {
  order: 2;
}
.case-split-block.reverse .case-block-media {
  order: 1;
}

.sub-tag {
  color: var(--indigo);
  display: block;
  margin-bottom: 6px;
}

.case-block-copy h3,
.case-detail-card h3 {
  font-family: var(--font);
  font-size: 30px;
  font-weight: 300;
  color: var(--indigo);
  margin-bottom: 12px;
}

.case-block-copy h4,
.case-detail-card h4 {
  font-size: 18px;
  font-weight: 400;
  color: var(--indigo);
  margin: 18px 0 8px;
}

.case-block-copy p,
.case-detail-card p {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.68;
  margin-bottom: 14px;
}

.impact-box {
  margin-top: 20px;
  padding: 20px 24px;
  border-left: 3px solid var(--indigo);
  background: var(--indigo-tint);
  border-radius: 0 6px 6px 0;
}

.impact-label {
  color: var(--indigo);
  margin-bottom: 10px;
}

.impact-box ul,
.compact-bullets {
  margin: 0;
  padding-left: 20px;
  color: var(--ink);
  display: grid;
  gap: 8px;
  font-size: 14.5px;
}

.media-plate {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fafafa;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.media-plate img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line-subtle);
  background: #ffffff;
}

.plate-caption h3 {
  font-family: var(--font);
  font-size: 22px;
  font-weight: 400;
  color: var(--indigo);
  margin-bottom: 4px;
}

.plate-caption p {
  font-size: 14px;
  color: var(--ink-secondary);
}

.case-cards-row {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.case-detail-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  padding: 30px;
}

.sub-feature-list {
  display: grid;
  gap: 14px;
  margin: 18px 0;
  padding-left: 16px;
  border-left: 2px solid var(--indigo);
}

.inline-media-preview {
  margin-top: 20px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 12px;
}

.dual-media-stack {
  display: grid;
  gap: 24px;
}

/* Carousel inside Google Analytics Key Events */
.carousel-widget {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.carousel-slides {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}

.carousel-slide {
  display: none;
  width: 100%;
  height: auto;
}
.carousel-slide.active {
  display: block;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 4px;
}

.carousel-caption {
  color: var(--ink-secondary);
}

.carousel-buttons {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.carousel-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--indigo);
  border-radius: 4px;
  color: var(--indigo);
  display: grid;
  place-items: center;
  transition: background 0.2s, color 0.2s;
}
.carousel-btn:hover {
  background: var(--indigo);
  color: #ffffff;
}

/* Screens Grid (Android Auto, Google One, Google VR) */
.aa-screens-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.doc-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.doc-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 4px;
  border: 1px solid var(--indigo);
  background: #ffffff;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  color: var(--indigo);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.doc-pill:hover {
  background: var(--indigo);
  color: #ffffff;
  transform: translateY(-1px);
}

.pill-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.tag-chip {
  padding: 7px 14px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: #ffffff;
  font-size: 13.5px;
  color: var(--ink);
}

.workspace-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.workspace-facts > div {
  border-left: 3px solid var(--indigo);
  padding-left: 16px;
}
.workspace-facts .mono {
  color: var(--indigo);
  font-size: 10px;
}
.workspace-facts p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink);
  margin-top: 6px;
}

/* Material Design 6 Writing Samples Grid */
.md-samples-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.md-sample-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.md-sample-card:hover {
  border-color: var(--indigo);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(60, 53, 201, 0.1);
}
.md-sample-card img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  background: #fff;
  border-bottom: 1px solid var(--line-subtle);
}
.md-sample-body {
  padding: 20px;
}
.md-sample-body h3 {
  font-family: var(--font);
  font-size: 20px;
  font-weight: 400;
  color: var(--indigo);
  margin-bottom: 12px;
}
.md-sample-links {
  display: flex;
  gap: 16px;
}
.md-sample-links a {
  color: var(--indigo);
  font-weight: 600;
  text-decoration: underline;
}
.md-sample-links a:hover {
  color: var(--indigo-dark);
}

.editorial-quote {
  margin: 16px 0 0;
  padding: 18px 22px;
  border-left: 3px solid var(--indigo);
  background: var(--indigo-tint);
  font-style: italic;
  color: var(--ink);
}
.editorial-quote footer {
  margin-top: 8px;
  font-style: normal;
  font-size: 13px;
  color: var(--ink-secondary);
}

/* Fun Stuff Comic & Articles */
.comic-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.article-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.article-card:hover {
  border-color: var(--indigo);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(60, 53, 201, 0.1);
}
.article-card h3 {
  font-family: var(--font);
  font-size: 26px;
  font-weight: 400;
  color: var(--indigo);
  margin: 8px 0;
}
.article-card p {
  color: var(--ink-secondary);
  margin-bottom: 18px;
}
.article-cta {
  color: var(--indigo);
  font-weight: 600;
}

/* Chat with AI Layout */
.ai-layout {
  display: grid;
  grid-template-columns: 42% 58%;
  gap: 44px;
  align-items: start;
}

.prompt-chips {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.prompt-chip {
  text-align: left;
  padding: 11px 14px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  font-size: 13.5px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.prompt-chip:hover {
  border-color: var(--indigo);
  color: var(--indigo);
  background: #f5f5ff;
}

.ai-embed-stage {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fafafa;
  padding: 20px;
}

.portfolio-chat-widget {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  height: 500px;
  overflow: hidden;
}

.chat-widget-header {
  padding: 14px 18px;
  background: var(--indigo);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.chat-reset-btn {
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.chat-reset-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #f9f9fc;
}

.chat-msg {
  display: flex;
  max-width: 85%;
}
.chat-msg.user {
  align-self: flex-end;
}
.chat-msg.bot {
  align-self: flex-start;
}

.chat-bubble {
  padding: 13px 16px;
  font-size: 14.5px;
  line-height: 1.65;
  border-radius: 6px;
  border: 1px solid var(--line);
}
.chat-msg.bot .chat-bubble {
  background: #ffffff;
  color: var(--ink);
}
.chat-msg.user .chat-bubble {
  background: var(--indigo);
  border-color: var(--indigo);
  color: #ffffff;
}

.chat-input-bar {
  display: flex;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.chat-input-bar input {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 15px 18px;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}
.chat-input-bar input:focus {
  outline: none;
}

.chat-send-btn {
  border-radius: 0;
  padding: 0 24px;
}

.case-footer-nav {
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* ============================================================================
   FOOTER (Matches Original Google Sites Charcoal #212121 Bar)
   ============================================================================ */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--charcoal);
  color: #ffffff;
  padding: 56px var(--gutter) 32px;
}

.footer-inner {
  max-width: 1680px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-tagline {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.78);
  max-width: 360px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 13.5px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
}
.footer-nav a:hover {
  color: var(--cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 10px;
  font-weight: 400;
}

/* ============================================================================
   RESPONSIVE BREAKPOINTS
   ============================================================================ */
@media (max-width: 1120px) {
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-copy {
    padding: 40px 0 20px;
  }
  .wave-canvas-bleed {
    width: calc(100% + 48px);
    margin-left: -24px;
    margin-right: -24px;
    height: 350px;
  }
  .case-hero,
  .about-layout,
  .case-split-block,
  .case-split-block.reverse,
  .ai-layout {
    grid-template-columns: 1fr;
  }
  .case-split-block.reverse .case-block-copy,
  .case-split-block.reverse .case-block-media {
    order: unset;
  }
  .secondary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .aa-screens-grid,
  .md-samples-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .featured-grid,
  .secondary-grid,
  .case-cards-row,
  .aa-screens-grid,
  .md-samples-grid,
  .comic-grid,
  .workspace-facts {
    grid-template-columns: 1fr;
  }
  .heading-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .discipline-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .strip-note {
    text-align: left;
  }
  .footer-top {
    flex-direction: column;
  }
}
