/* ==========================================
   Marc Chester — Creative Director Portfolio
   Design System & Global Styles
   ========================================== */

/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Variables */
:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --text: #f0f0f0;
  --text-secondary: #888888;
  --accent: #c4a35a;
  --white: #ffffff;
  --divider: #222222;
  --max-width: 1400px;
  --nav-height: 80px;
}

/* Base */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
}

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

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

/* ==========================================
   Typography
   ========================================== */

h1, h2, h3 {
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.label {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.large-text {
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ==========================================
   Layout
   ========================================== */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: 120px 0;
}

/* ==========================================
   Navigation
   ========================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: background-color 0.3s ease;
}

.nav--scrolled {
  background-color: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.nav__logo {
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text);
  transition: color 0.3s ease;
}

.nav__logo:hover {
  color: var(--accent);
}

.nav__links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  position: relative;
}

.nav__link:hover,
.nav__link--active {
  color: var(--text);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.nav__link:hover::after {
  width: 100%;
}

/* Nav Email Button */
.nav__link--email {
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 6px 16px;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.nav__link--email:hover {
  background-color: var(--accent);
  color: var(--bg);
}

.nav__link--email::after {
  display: none;
}

/* Mobile Menu Toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: var(--text);
  transition: all 0.3s ease;
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4.5px, 4.5px);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4.5px, -4.5px);
}

/* Mobile Menu Overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--bg);
  z-index: 999;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 40px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu.active {
  display: flex;
  opacity: 1;
}

.mobile-menu a {
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--text);
  transition: color 0.3s ease;
}

.mobile-menu a:hover {
  color: var(--accent);
}

/* ==========================================
   Homepage Headline
   ========================================== */

.hero-headline {
  padding: calc(var(--nav-height) + 60px) 0 40px;
}

.hero-headline__title {
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 300;
  line-height: 1.4;
  color: var(--text);
  max-width: 800px;
  margin-bottom: 16px;
}

.hero-headline__sub {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* ==========================================
   Project Grid (Homepage)
   ========================================== */

.project-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  padding: 0 40px 40px;
  min-height: 100vh;
}

/* Card sizing — explicit classes */
.project-card--half {
  grid-column: span 3;
}

.project-card--third {
  grid-column: span 2;
}

/* Blank placeholder cards */
.project-card--blank {
  cursor: default;
  background-color: var(--surface);
}

/* Title card — text-only label card */
.project-card--title-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--surface);
  cursor: default;
}

.project-card__title-text {
  position: relative;
  z-index: 2;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--white);
  text-transform: uppercase;
  text-align: center;
  padding: 40px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.project-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  cursor: pointer;
  background-color: var(--surface);
}

.project-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
  filter: brightness(0.7);
}

.project-card:hover .project-card__image {
  transform: scale(1.03);
  filter: brightness(0.5);
}

.project-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-card__overlay {
  transform: translateY(0);
  opacity: 1;
}

.project-card__title {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 4px;
}

.project-card__category {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* Centered card — last row positioning */
.project-card--centered {
  grid-column: 3 / span 2;
}

/* CLICS & Coastal cards: show full image without cropping */
.project-card--contain .project-card__image {
  object-fit: contain;
}

/* USBL card special: logo centered on navy bg */
.project-card--logo-centered {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #092547;
}

.project-card--logo-centered .project-card__image {
  width: 60%;
  height: auto;
  object-fit: contain;
  filter: brightness(1);
}

.project-card--logo-centered:hover .project-card__image {
  filter: brightness(1);
  transform: scale(1.05);
}

/* Video Background Card */
.project-card--video {
  position: relative;
  overflow: hidden;
  background-color: #0a0a0a;
}

.project-card__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  border: none;
}

.project-card--video .project-card__overlay {
  z-index: 2;
}

/* ==========================================
   Case Study Pages
   ========================================== */

/* Hero */
.case-hero {
  width: 100%;
  height: 70vh;
  min-height: 500px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--nav-height);
}

.case-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-hero--contain {
  background-color: var(--surface);
}

.case-hero--video {
  background-color: #0a0a0a;
}

.case-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}

.case-hero--contain .case-hero__image {
  object-fit: contain;
  padding: 60px;
}

.case-hero--navy {
  background-color: #092547;
}

/* Overview Bar */
.case-overview {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 60px 0;
  border-bottom: 1px solid var(--divider);
  flex-wrap: wrap;
  gap: 20px;
}

.case-overview__item {
  flex: 1;
  min-width: 150px;
}

.case-overview__label {
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.case-overview__value {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text);
}

/* Brief / Context */
.case-brief {
  padding: 80px 0;
  max-width: 800px;
}

.case-brief p {
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* Before / After */
.before-after {
  padding: 80px 0;
}

.before-after__header {
  margin-bottom: 40px;
}

.before-after__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.before-after__item {
  position: relative;
}

.before-after__label {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  background-color: rgba(0, 0, 0, 0.6);
  padding: 6px 12px;
  backdrop-filter: blur(4px);
  z-index: 2;
}

.before-after__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}

.before-after__context {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* Compact before/after — constrained height */
.before-after--compact {
  max-width: 900px;
}

.before-after--compact .before-after__item img {
  max-height: 360px;
  object-fit: contain;
  background-color: var(--surface);
}

/* Work Gallery */
.work-gallery {
  padding: 80px 0;
}

.work-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.work-gallery__grid--three {
  grid-template-columns: repeat(3, 1fr);
}

.work-gallery__item {
  overflow: hidden;
  background-color: var(--surface);
  border-radius: 2px;
}

.work-gallery__item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-gallery__item:hover img {
  transform: scale(1.03);
}

.work-gallery__item--full {
  grid-column: 1 / -1;
}

/* Compact gallery item — constrained height */
.work-gallery__item--compact {
  max-width: 900px;
}

.work-gallery__item--compact img {
  object-fit: contain;
  max-height: 360px;
}

.work-gallery__item--contain {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.work-gallery__item--contain img {
  object-fit: contain;
  max-height: 500px;
}

/* Video Gallery */
.video-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.video-gallery__item video {
  width: 100%;
  border-radius: 2px;
  background-color: var(--surface);
}

.video-gallery__embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  background-color: var(--surface);
  border-radius: 2px;
  overflow: hidden;
}

.video-gallery__embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-gallery__caption {
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--text-secondary);
  margin-top: 10px;
}

.video-gallery__thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 2;
  background: #111;
}

/* When thumb is direct child of gallery item (no embed wrapper), use natural sizing */
.video-gallery__item > .video-gallery__thumb {
  position: relative;
  height: auto;
}

.video-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

.video-gallery__item > .video-gallery__thumb img {
  height: auto;
}

.video-gallery__thumb:hover img {
  opacity: 0.85;
}

.video-gallery__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.video-gallery__thumb:hover .video-gallery__play {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-gallery__play::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #fff;
  margin-left: 3px;
}

.video-gallery--three {
  grid-template-columns: repeat(3, 1fr);
}

/* Results */
.case-results {
  padding: 100px 0;
  border-top: 1px solid var(--divider);
}

.case-results__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 60px;
}

.case-results__item {}

.case-results__number {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 300;
  color: var(--accent);
  margin-bottom: 8px;
  line-height: 1.2;
}

.case-results--small .case-results__number {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

.case-results__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 400;
}

/* Next Project */
.next-project {
  padding: 80px 0;
  border-top: 1px solid var(--divider);
  text-align: center;
}

.next-project__label {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.next-project__title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--text);
  transition: color 0.3s ease;
  display: inline-block;
}

.next-project a:hover .next-project__title {
  color: var(--accent);
}

/* ==========================================
   About Page
   ========================================== */

.about {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 120px;
}

.about__email-cta {
  margin-bottom: 60px;
}

.email-cta-btn {
  display: inline-block;
  padding: 14px 40px;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg);
  background-color: var(--accent);
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.email-cta-btn:hover {
  background-color: var(--text);
  color: var(--bg);
}

.about__photo {
  margin-bottom: 48px;
}

.about__photo-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
}

.about__intro {
  max-width: 800px;
  margin-bottom: 100px;
}

.about__intro h1 {
  margin-bottom: 32px;
}

.about__intro p {
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-secondary);
}

.about__section {
  margin-bottom: 80px;
}

.about__section-title {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--divider);
}

.experience-list {
  list-style: none;
}

.experience-item {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  padding: 24px 0;
  border-bottom: 1px solid var(--divider);
}

.experience-item__role {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
}

.experience-item__company {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.experience-item__desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.7;
}

/* Contact */
.contact-links {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-link {
  font-size: 1rem;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--accent);
}

/* ==========================================
   Footer
   ========================================== */

.footer {
  padding: 40px 0;
  border-top: 1px solid var(--divider);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__text {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__link {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.footer__link:hover {
  color: var(--accent);
}

/* ==========================================
   Approach / Process Section
   ========================================== */

.case-approach {
  padding: 80px 0;
  border-top: 1px solid var(--divider);
}

.case-approach__header {
  margin-bottom: 60px;
}

.case-approach__intro {
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 48px;
}

.case-approach__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  counter-reset: approach;
}

.case-approach__step {
  counter-increment: approach;
  position: relative;
  padding-top: 48px;
}

.case-approach__step::before {
  content: counter(approach, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--accent);
}

.case-approach__step-title {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 12px;
}

.case-approach__step-desc {
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Deliverables List */
.deliverables {
  padding: 80px 0;
}

.deliverables__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.deliverable-card {
  padding: 32px;
  background-color: var(--surface);
  border-left: 2px solid var(--divider);
  transition: border-color 0.3s ease;
}

.deliverable-card:hover {
  border-left-color: var(--accent);
}

.deliverable-card__title {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 8px;
}

.deliverable-card__desc {
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Wireframe embed */
.wireframe-embed {
  padding: 80px 0;
}

.wireframe-embed__frame {
  width: 100%;
  height: 600px;
  border: 1px solid var(--divider);
  border-radius: 4px;
  background-color: var(--surface);
}

.wireframe-embed__links {
  display: flex;
  gap: 24px;
  margin-top: 24px;
}

.wireframe-embed__link {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.wireframe-embed__link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.wireframe-embed__link--active {
  color: var(--text);
  border-bottom-color: var(--accent);
}

/* Video Showcase */
.video-showcase {
  padding: 80px 0;
}

.video-showcase__featured {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  background-color: var(--surface);
  border-radius: 2px;
  overflow: hidden;
}

.video-showcase__featured iframe,
.video-showcase__featured video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
}

/* Video Grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.video-grid__item {
  display: flex;
  flex-direction: column;
}

.video-grid__embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background-color: var(--surface);
  border-radius: 2px;
  overflow: hidden;
}

.video-grid__embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-grid__info {
  padding-top: 16px;
}

.video-grid__title {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 6px;
}

.video-grid__desc {
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Client Roster */
.client-roster {
  padding: 80px 0;
  border-top: 1px solid var(--divider);
}

.client-roster__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.client-roster__name {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-secondary);
  padding: 10px 20px;
  border: 1px solid var(--divider);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.client-roster__name:hover {
  border-color: var(--accent);
  color: var(--text);
}

.client-roster__intl {
  margin-top: 24px;
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--text-secondary);
  font-style: italic;
}

/* Email Metrics */
.email-metrics {
  padding: 80px 0;
}

.email-metrics__benchmarks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  margin-bottom: 48px;
}

.email-metrics__stat {
  background-color: var(--surface);
  padding: 32px;
  border-top: 2px solid var(--accent);
}

.email-metrics__stat-number {
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 300;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 8px;
}

.email-metrics__stat-label {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 8px;
}

.email-metrics__stat-detail {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.5;
}

.email-metrics__dashboards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.email-metrics__dashboard-item {
  background-color: var(--surface);
  border-radius: 2px;
  overflow: hidden;
}

.email-metrics__dashboard-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Strategy callout */
.strategy-callout {
  padding: 60px;
  background-color: var(--surface);
  border-left: 2px solid var(--accent);
  margin: 80px 0;
}

.strategy-callout__label {
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.strategy-callout__text {
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .case-approach__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .deliverables__grid {
    grid-template-columns: 1fr;
  }

  .strategy-callout {
    padding: 32px;
  }

  .wireframe-embed__frame {
    height: 400px;
  }

  .wireframe-embed__links {
    flex-wrap: wrap;
    gap: 16px;
  }

  .video-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .video-gallery,
  .video-gallery--three {
    grid-template-columns: 1fr;
  }

  .email-metrics__benchmarks {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .email-metrics__dashboards {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   Animations
   ========================================== */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ==========================================
   Responsive
   ========================================== */

@media (max-width: 1024px) {
  .container {
    padding: 0 24px;
  }

  .section {
    padding: 80px 0;
  }

  .nav__inner {
    padding: 0 24px;
  }

  .case-hero {
    height: 50vh;
  }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 16px 16px;
  }

  .hero-headline {
    padding: calc(var(--nav-height) + 40px) 0 24px;
  }

  .hero-headline__title {
    font-size: clamp(1rem, 4vw, 1.25rem);
  }

  .container {
    padding: 0 16px;
  }

  .section {
    padding: 60px 0;
  }

  .project-card--half,
  .project-card--third,
  .project-card--centered {
    grid-column: span 1;
  }

  .project-card--blank {
    display: none;
  }

  .project-card {
    aspect-ratio: 16 / 9;
  }

  .project-card__overlay {
    transform: translateY(0);
    opacity: 1;
    padding: 24px;
  }

  .before-after {
    padding: 40px 0;
  }

  .before-after__grid {
    grid-template-columns: 1fr;
  }

  .work-gallery {
    padding: 40px 0;
  }

  .work-gallery__grid,
  .work-gallery__grid--three {
    grid-template-columns: 1fr;
  }

  .case-brief {
    padding: 40px 0;
  }

  .case-overview {
    flex-direction: column;
    gap: 24px;
    padding: 40px 0;
  }

  .case-results {
    padding: 60px 0;
  }

  .case-approach {
    padding: 40px 0;
  }

  .next-project {
    padding: 40px 0;
  }

  .deliverables {
    padding: 40px 0;
  }

  .video-showcase {
    padding: 40px 0;
  }

  .wireframe-embed {
    padding: 40px 0;
  }

  .email-metrics {
    padding: 40px 0;
  }

  .client-roster {
    padding: 40px 0;
  }

  .experience-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .about {
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 60px;
  }

  .about__intro {
    margin-bottom: 60px;
  }

  .about__section {
    margin-bottom: 40px;
  }

  .footer__inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .contact-links {
    flex-direction: column;
    gap: 16px;
  }

  .case-hero--contain .case-hero__image {
    padding: 24px;
  }

  .case-hero {
    height: 40vh;
    min-height: 300px;
  }

  .deliverable-card {
    padding: 24px;
  }

  .work-gallery__item--contain {
    padding: 20px;
  }

  .nav__inner {
    padding: 0 16px;
  }
}
