/* ============================================
   MAHER ANDREA — SENIOR PRODUCT DESIGNER
   Portfolio Stylesheet
   ============================================ */

/* --- TOKENS --- */
:root {
  --c-accent:        #2C656B;
  --c-accent-2:      #5CA0AA;
  --c-accent-light:  #EBF4F5;
  --c-accent-mid:    #3d7f86;

  --c-bg:            #FAFAF9;
  --c-surface:       #FFFFFF;
  --c-rule:          #E5E3DF;
  --c-rule-dark:     #D0CEC9;

  --c-text:          #1A1916;
  --c-text-secondary:#5C5A55;
  --c-text-tertiary: #8F8D87;
  --c-tag-bg:        #F0EFEC;
  --c-tag-text:      #4A4845;

  --font-display:    'Cormorant Garamond', Georgia, serif;
  --font-body:       'DM Sans', system-ui, -apple-system, sans-serif;

  --max-w:           1200px;
  --px:              clamp(1.25rem, 5vw, 4rem);
  --nav-h:           68px;

  --radius-card:     4px;
  --shadow-card:     0 1px 3px rgba(26,25,22,0.06), 0 4px 16px rgba(26,25,22,0.04);
  --shadow-card-hover: 0 4px 12px rgba(44,101,107,0.10), 0 12px 40px rgba(26,25,22,0.08);

  --ease-out:        cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:     cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 300;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* --- ANIMATION BASE --- */
.animate-in {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.7s var(--ease-out) forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll-triggered */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- NAV --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(250,250,249,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav.scrolled { border-bottom-color: var(--c-rule); }

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}
.logo-mark {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-mark img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 4px;
}
.nav-name {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--c-text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--c-text-secondary);
  border-radius: 3px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover {
  color: var(--c-text);
  background: var(--c-tag-bg);
}
.nav-cta {
  margin-left: 0.5rem;
  padding: 0.5rem 1.125rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-surface);
  background: var(--c-accent);
  border-radius: 3px;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover {
  background: var(--c-accent-mid);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--c-text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
}
.btn-primary {
  background: var(--c-accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--c-accent-mid);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(44,101,107,0.2);
}
.btn-secondary {
  background: transparent;
  color: var(--c-accent);
  border: 1.5px solid var(--c-accent);
}
.btn-secondary:hover {
  background: var(--c-accent-light);
  transform: translateY(-1px);
}
.btn-sm {
  padding: 0.5rem 1.125rem;
  font-size: 0.875rem;
}

/* --- HERO --- */
.hero {
  padding-top: calc(var(--nav-h) + clamp(4rem, 10vw, 7rem));
  padding-bottom: clamp(3rem, 7vw, 5rem);
  padding-left: var(--px);
  padding-right: var(--px);
  max-width: var(--max-w);
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: start;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 1.25rem;
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6.5vw, 5rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--c-text);
  margin-bottom: 1.75rem;
}
.hero-heading em {
  font-style: italic;
  color: var(--c-accent);
}

.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  font-weight: 300;
  color: var(--c-text-secondary);
  line-height: 1.7;
  max-width: 54ch;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 1rem;
  border-left: 1.5px solid var(--c-rule);
  padding-left: 2.5rem;
  min-width: 180px;
}
.hero-stat {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--c-rule);
}
.hero-stat:last-child { border-bottom: none; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--c-accent);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-label {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--c-text-tertiary);
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.hero-rule {
  height: 1px;
  background: var(--c-rule);
  margin-top: clamp(3rem, 6vw, 5rem);
}

/* --- SECTION SHARED --- */
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) var(--px);
}

.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 0.75rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  color: var(--c-text);
  line-height: 1.12;
  margin-bottom: 0.875rem;
}

.section-sub {
  font-size: 1rem;
  font-weight: 300;
  color: var(--c-text-secondary);
  max-width: 50ch;
}

/* --- WORK GRID --- */
.work {
  background: var(--c-bg);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1.5px;
  background: var(--c-rule);
  border: 1.5px solid var(--c-rule);
  border-radius: calc(var(--radius-card) + 1px);
  overflow: hidden;
}

.project-card {
  background: var(--c-surface);
  transition: background 0.2s;
  position: relative;
}

/* Hero card spans full width, landscape image */
.project-card--hero {
  grid-column: 1 / -1;
}
.project-card--hero .project-image {
  aspect-ratio: 21 / 8;
}
.project-link--hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.project-link--hero .project-image {
  aspect-ratio: unset;
  height: 100%;
  min-height: 260px;
}
.project-link--hero .project-body {
  padding: 2.25rem 2rem;
  justify-content: center;
}
.project-link--hero .project-title {
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
}
.project-link--hero .project-desc {
  font-size: 0.9375rem;
  max-width: 44ch;
}

.project-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  outline: none;
  color: inherit;
}
.project-link:focus-visible .project-image {
  outline: 2px solid var(--c-accent);
  outline-offset: -2px;
}

.project-image {
  aspect-ratio: 16 / 9;
  background: var(--c-tag-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: background 0.3s;
  position: relative;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #F4F2EF 0%, #ECEAE6 100%);
  transition: background 0.3s;
}
.placeholder-inner {
  opacity: 0.7;
  transition: opacity 0.3s, transform 0.3s;
}

.project-card:hover .image-placeholder {
  background: linear-gradient(145deg, #EBF4F5 0%, #D5EAEC 100%);
}
.project-card:hover .placeholder-inner {
  opacity: 1;
  transform: scale(1.05);
}

.project-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}
.tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--c-tag-bg);
  color: var(--c-tag-text);
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}
.project-card:hover .tag {
  background: var(--c-accent-light);
  color: var(--c-accent);
}

.project-title {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 500;
  color: var(--c-text);
  line-height: 1.25;
  transition: color 0.2s;
}
.project-card:hover .project-title {
  color: var(--c-accent);
}

.project-desc {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--c-text-secondary);
  line-height: 1.6;
  flex: 1;
}

.project-cta {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--c-accent);
  letter-spacing: 0.02em;
  margin-top: 0.25rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s, transform 0.25s;
}
.project-card:hover .project-cta {
  opacity: 1;
  transform: translateX(0);
}

/* --- ABOUT --- */
.about {
  background: var(--c-surface);
  border-top: 1px solid var(--c-rule);
  border-bottom: 1px solid var(--c-rule);
}

.about-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.about-image {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

.headshot-placeholder {
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, #E8F4F5 0%, #D2E8EB 100%);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-rule);
  overflow: hidden;
}

.about-linkedin {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-accent);
  transition: color 0.2s;
  padding: 0.75rem 1rem;
  background: var(--c-accent-light);
  border-radius: 3px;
  justify-content: center;
}
.about-linkedin:hover {
  background: var(--c-accent);
  color: white;
}
.about-linkedin:hover svg rect { fill: white; }

.about-content {
  padding-top: 0.25rem;
}

.about-bio {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  margin-bottom: 2.5rem;
}
.about-bio p {
  font-size: clamp(0.9375rem, 1.5vw, 1rem);
  font-weight: 300;
  color: var(--c-text-secondary);
  line-height: 1.75;
  max-width: 62ch;
}
.about-personal {
  font-style: italic;
  color: var(--c-text-tertiary) !important;
  font-size: 0.9375rem !important;
}

.about-skills {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--c-rule);
}
.skill-group {
  padding: 1rem 0;
  border-bottom: 1px solid var(--c-rule);
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1rem;
  align-items: baseline;
}
.skill-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent);
}
.skill-group p {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--c-text-secondary);
  line-height: 1.6;
}

/* --- FOOTER --- */
.footer {
  background: var(--c-text);
  color: rgba(255,255,255,0.9);
  padding: clamp(2.5rem, 5vw, 4rem) var(--px) 1.5rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.875rem;
}
.footer-logo img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 4px;
}
.footer-logo span {
  font-size: 0.9375rem;
  font-weight: 500;
  color: white;
}
.footer-copy {
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}
.footer-link {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-link:hover { color: white; }

.footer-bottom {
  max-width: var(--max-w);
  margin: 1.5rem auto 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  font-weight: 300;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .project-link--hero {
    grid-template-columns: 1fr 1fr;
  }
  .project-link--hero .project-image {
    min-height: 220px;
  }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(250,250,249,0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--c-rule);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem var(--px) 1.5rem;
    gap: 0.25rem;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.3s var(--ease-out), opacity 0.3s;
    pointer-events: none;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-link, .nav-cta {
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border-radius: 3px;
    margin-left: 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-aside {
    border-left: none;
    border-top: 1px solid var(--c-rule);
    padding-left: 0;
    padding-top: 1.5rem;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
  }
  .hero-stat {
    flex: 1;
    min-width: 120px;
    padding: 1rem 1rem 1rem 0;
    border-bottom: none;
    border-right: 1px solid var(--c-rule);
  }
  .hero-stat:last-child { border-right: none; }

  .projects-grid {
    grid-template-columns: 1fr;
  }
  .project-link--hero {
    grid-template-columns: 1fr;
  }
  .project-link--hero .project-image {
    min-height: unset;
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .about-inner {
    grid-template-columns: 1fr;
  }
  .about-image {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .headshot-placeholder {
    aspect-ratio: 1;
    width: 120px;
    flex-shrink: 0;
  }
  .about-connect { flex: 1; min-width: 160px; }
  .about-linkedin { justify-content: flex-start; }

  .footer-inner {
    flex-direction: column;
    gap: 2rem;
  }
  .footer-nav { align-items: flex-start; }

  .skill-group {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
}

@media (max-width: 480px) {
  :root { --px: 1.25rem; }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn { width: 100%; justify-content: center; }

  .hero-aside {
    flex-direction: column;
    gap: 0;
  }
  .hero-stat {
    border-right: none;
    border-bottom: 1px solid var(--c-rule);
    padding: 0.875rem 0;
  }
}

/* --- FOCUS / ACCESSIBILITY --- */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .animate-in { opacity: 1; transform: none; animation: none; }
  .reveal { opacity: 1; transform: none; }
}

/* Case study sections always visible — no scroll reveal on project pages */
.case-study .reveal,
.cs-section,
.cs-hero-image {
  opacity: 1;
  transform: none;
}

/* =======================================
   PROJECT DETAIL PAGE
   ======================================= */

.project-hero {
  padding-top: calc(var(--nav-h) + clamp(3rem, 7vw, 5rem));
  padding-bottom: clamp(2rem, 4vw, 3rem);
  padding-left: var(--px);
  padding-right: var(--px);
  max-width: var(--max-w);
  margin: 0 auto;
  border-bottom: 1px solid var(--c-rule);
}

.project-hero-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--c-accent);
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
  transition: gap 0.2s;
}
.project-hero-back:hover { gap: 0.6rem; }

.project-hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-tertiary);
  margin-bottom: 0.75rem;
}

.project-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.project-hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 300;
  color: var(--c-text-secondary);
  max-width: 58ch;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.project-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-rule);
}
.meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.meta-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-tertiary);
}
.meta-value {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--c-text);
}

/* Case study sections */
.case-study {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}

.cs-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-bottom: 1px solid var(--c-rule);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.cs-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-accent);
  padding-top: 0.35rem;
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

.cs-content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.5vw, 2rem);
  font-weight: 400;
  color: var(--c-text);
  line-height: 1.25;
  margin-bottom: 1.125rem;
}
.cs-content p {
  font-size: clamp(0.9375rem, 1.4vw, 1rem);
  font-weight: 300;
  color: var(--c-text-secondary);
  line-height: 1.8;
  max-width: 62ch;
  margin-bottom: 1rem;
}
.cs-content p:last-child { margin-bottom: 0; }

.cs-image-block {
  margin-top: 2rem;
  aspect-ratio: 16 / 8;
  background: linear-gradient(145deg, #EBF4F5, #D8EAEC);
  border-radius: var(--radius-card);
  border: 1px solid var(--c-rule);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cs-image-placeholder-text {
  font-size: 0.8125rem;
  color: var(--c-text-tertiary);
  letter-spacing: 0.04em;
}

.cs-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--c-rule);
  border: 1.5px solid var(--c-rule);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-top: 2rem;
}
.metric {
  background: var(--c-surface);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.metric-num {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 500;
  color: var(--c-accent);
  line-height: 1;
}
.metric-label {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--c-text-secondary);
  line-height: 1.4;
}

@media (max-width: 768px) {
  .cs-section {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .cs-label { position: static; }
  .cs-metrics { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .cs-metrics { grid-template-columns: 1fr; }
}
