/* ==========================================================================
   Eli Pruett — Personal Site
   Brand style guide: black / yellow / white primaries, coral + purple
   secondaries, Lilita One display, Libre Franklin body, Montserrat UI.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Lilita+One&family=Libre+Franklin:wght@400;900&family=Montserrat:wght@500;600;700&display=swap');

:root {
  /* ---- Primary palette ---- */
  --yellow: #FFC700;
  --black: #000000;
  --white: #FFFFFF;

  /* ---- Secondary palette ---- */
  --coral: #EA4F55;
  --purple: #7D70F7;

  /* ---- Neutral UI ---- */
  --gray-800: #333333;
  --gray-600: #888888;
  --gray-500: #999999;
  --gray-400: #AAAAAA;
  --gray-300: #E0E0E0;
  --gray-200: #F0F0F0;
  --gray-100: #F8F8F8;

  /* ---- Opacity variants (on dark / colored surfaces) ---- */
  --white-85: rgba(255, 255, 255, 0.85);
  --white-65: rgba(255, 255, 255, 0.65);
  --white-60: rgba(255, 255, 255, 0.60);
  --white-40: rgba(255, 255, 255, 0.40);
  --white-35: rgba(255, 255, 255, 0.35);
  --black-70: rgba(0, 0, 0, 0.70);
  --black-50: rgba(0, 0, 0, 0.50);

  /* ---- Fonts ---- */
  --font-display: 'Lilita One', cursive;
  --font-heavy: 'Libre Franklin', sans-serif;   /* weight 900, uppercase */
  --font-body: 'Libre Franklin', sans-serif;
  --font-ui: 'Montserrat', sans-serif;

  /* ---- Layout tokens ---- */
  --radius-sm: 4px;
  --radius-md: 6px;
  --space-header: 48px;
  --space-section: 40px;
  --space-card: 20px;
  --space-logo-block: 24px 28px;

  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 16px);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

section {
  padding: 96px 0;
}

.section-label {
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 28px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--black);
  margin-bottom: var(--space-section);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  background: var(--yellow);
  color: var(--black);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  background: #ffd633;
  transform: translateY(-2px);
  box-shadow: 4px 4px 0 var(--black);
}

.btn-secondary {
  background: var(--black);
  color: var(--white);
}

.btn-secondary:hover {
  background: #1a1a1a;
  box-shadow: 4px 4px 0 var(--yellow);
}

.btn-coral {
  background: var(--coral);
  color: var(--white);
}

.btn-coral:hover {
  background: #ef6a6f;
  box-shadow: 4px 4px 0 var(--black);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--black);
  color: var(--black);
  padding: 10px 22px;
}

.btn-outline:hover {
  background: var(--black);
  color: var(--white);
  box-shadow: none;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  border: 2px solid var(--yellow);
  color: var(--black);
  padding: 10px 22px;
}

.btn-ghost:hover {
  background: var(--yellow);
  box-shadow: none;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Nav — Primary Surface (black bg, yellow headline, white body/labels)
   -------------------------------------------------------------------------- */

.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-height);
  z-index: 100;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-heavy);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: var(--white);
}

.nav-logo span {
  color: var(--yellow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white-65);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--yellow);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle .bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* --------------------------------------------------------------------------
   Hero — Primary Surface
   -------------------------------------------------------------------------- */

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 48px) 0 64px;
  position: relative;
  background: radial-gradient(
      ellipse 80% 55% at 70% 20%,
      rgba(255, 199, 0, 0.14),
      transparent 60%
    ),
    radial-gradient(
      ellipse 60% 45% at 15% 85%,
      rgba(125, 112, 247, 0.12),
      transparent 60%
    ),
    var(--black);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}

.hero-photo {
  flex-shrink: 0;
}

.hero-photo img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  display: block;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.5));
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.1;
  color: var(--yellow);
  margin-bottom: 24px;
}

.hero .tagline {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  line-height: 1.6;
  color: var(--white-65);
  max-width: 640px;
  margin-bottom: 14px;
}

.hero-support {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--white-60);
  max-width: 620px;
  margin-bottom: 40px;
}

@media (min-width: 900px) {
  .hero-inner {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 64px;
  }

  .hero-photo img {
    width: 320px;
    height: 320px;
  }

  .hero-content {
    align-items: flex-start;
  }
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.about {
  background: var(--gray-100);
}

/* Center the whole About column (label, title, body) in the container so the
   narrative sits balanced rather than hugging the left edge. */
.about .section-label,
.about .section-title,
.about-body {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.about .section-label {
  display: block;
}

.about-body p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--gray-800);
  margin-bottom: 18px;
}

.about-body p strong {
  color: var(--black);
}

.about-figure {
  max-width: 360px;
  margin: 8px auto 32px;
}

.about-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-300);
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 28px 0;
}

.stat {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  padding: var(--space-card);
}

.stat .stat-number {
  display: block;
  font-family: var(--font-heavy);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  font-size: 1.45rem;
  color: var(--coral);
}

.stat:nth-child(even) .stat-number {
  color: var(--purple);
}

.stat .stat-desc {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--gray-600);
}

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-card);
  margin-top: 40px;
}

.services-support {
  font-family: var(--font-body);
  color: var(--gray-600);
  margin-top: -22px;
  margin-bottom: 20px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  padding: var(--space-logo-block);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 4px 4px 0 var(--black);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: var(--yellow);
  color: var(--black);
}

.service-card:nth-child(2) .service-icon {
  background: var(--purple);
  color: var(--white);
}

.service-card:nth-child(3) .service-icon {
  background: var(--coral);
  color: var(--white);
}

.service-card:nth-child(4) .service-icon {
  background: var(--black);
  color: var(--yellow);
}

.service-card:nth-child(5) .service-icon {
  background: var(--yellow);
  color: var(--black);
}

.service-card:nth-child(6) .service-icon {
  background: var(--purple);
  color: var(--white);
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  font-family: var(--font-heavy);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  font-size: 18px;
  color: var(--black);
  margin-bottom: 10px;
}

.service-card p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--gray-800);
}

/* --------------------------------------------------------------------------
   Selected Work
   -------------------------------------------------------------------------- */

.work {
  background: var(--gray-100);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.project-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 6px 6px 0 var(--black);
}

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

.project-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .card-image img {
  transform: scale(1.04);
}

/* Icon-card variant: for projects with no photography of Eli's own to show
   (e.g. video-only projects sourced from client/stock footage). */
.card-image--icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--purple);
  color: var(--white);
}

.card-image--icon svg {
  width: 25%;
  height: 25%;
  transition: transform 0.4s ease;
}

.project-card:hover .card-image--icon svg {
  transform: scale(1.08);
}

.project-card .card-body {
  padding: var(--space-logo-block);
}

.project-status {
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 8px;
}

.project-status--hero {
  display: block;
  color: var(--white-65);
  margin-bottom: 12px;
}

.project-card h3 {
  font-family: var(--font-heavy);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  font-size: 20px;
  color: var(--black);
  margin-bottom: 8px;
}

.project-card p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--gray-800);
  margin-bottom: 14px;
}

.card-link {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--coral);
  transition: color 0.2s ease;
}

.project-card:hover .card-link {
  color: var(--black);
}

/* --------------------------------------------------------------------------
   How I Work — CTA Surface (yellow bg, black headline/body/label)
   -------------------------------------------------------------------------- */

.how-i-work {
  background: var(--yellow);
}

.how-i-work .section-label {
  color: var(--black-50);
}

.how-i-work .usp {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: var(--black-70);
  max-width: 860px;
}

.project-cta {
  background: var(--yellow);
}

.project-cta .section-label {
  color: var(--black-50);
}

.project-cta .section-title {
  max-width: 680px;
  margin-bottom: 28px;
}

.work-in-progress {
  background: var(--white);
}

.progress-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-card);
}

.progress-item {
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  border-left: 4px solid var(--purple);
  border-radius: var(--radius-md);
  padding: var(--space-logo-block);
}

.progress-item h3 {
  font-family: var(--font-heavy);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 16px;
  margin-bottom: 8px;
}

.progress-item p {
  color: var(--gray-800);
}

.results-pending .stat-hero-number {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  white-space: normal;
}

@media (min-width: 720px) {
  .progress-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact {
  background: var(--gray-100);
}

.contact .lede {
  font-family: var(--font-body);
  color: var(--gray-800);
  margin-bottom: 36px;
  max-width: 560px;
}

.contact-form {
  max-width: 640px;
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.contact-form label {
  display: block;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--black);
  font-family: var(--font-body);
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255, 199, 0, 0.35);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

/* Success = CTA Surface (yellow bg, black body); Error = Alert Surface (coral bg, white body) */
.form-note {
  display: none;
  font-family: var(--font-body);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 16px;
}

.form-note.visible {
  display: block;
  background: var(--yellow);
  color: var(--black-70);
}

.form-note.visible.error {
  background: var(--coral);
  color: var(--white-85);
}

.calendly-line {
  font-family: var(--font-body);
  color: var(--gray-800);
  margin-top: 28px;
}

.calendly-line a {
  color: var(--coral);
  font-weight: 500;
}

.calendly-line a:hover {
  color: var(--black);
}

/* --------------------------------------------------------------------------
   Footer — Primary Surface
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--black);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  text-align: center;
}

.footer-inner .copyright {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--white-65);
}

.social-links {
  display: flex;
  gap: 18px;
  list-style: none;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--white-35);
  color: var(--white-65);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.social-links a:hover {
  color: var(--yellow);
  border-color: var(--yellow);
}

.social-links svg {
  width: 18px;
  height: 18px;
}

.footer-small {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--white-40);
}

/* --------------------------------------------------------------------------
   Project page
   -------------------------------------------------------------------------- */

.project-hero {
  padding: calc(var(--nav-height) + 72px) 0 72px;
  background: radial-gradient(
      ellipse 75% 60% at 75% 10%,
      rgba(255, 199, 0, 0.14),
      transparent 60%
    ),
    var(--black);
}

.back-link {
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white-65);
  margin-bottom: 28px;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--yellow);
}

.project-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  line-height: 1.1;
  color: var(--yellow);
  margin-bottom: 10px;
}

.project-dates {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 26px;
}

.project-overview {
  font-family: var(--font-body);
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
  color: var(--white-65);
  max-width: 760px;
  margin-bottom: 44px;
}

.project-overview a {
  color: var(--yellow);
}

.project-overview a:hover {
  color: var(--white);
  text-decoration: underline;
}

.project-hero-image img {
  border-radius: var(--radius-md);
  border: 1px solid var(--white-35);
  width: 100%;
}

.services-provided {
  background: var(--gray-100);
}

.case-study-section {
  background: var(--white);
}

.case-study-section .container {
  max-width: 860px;
}

.case-study-section h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.1;
  margin-bottom: 24px;
}

.case-study-section h3 {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--coral);
  margin: 26px 0 8px;
}

.case-study-section p,
.case-study-section li {
  font-family: var(--font-body);
  color: var(--gray-800);
}

.case-study-section p {
  max-width: 760px;
}

.case-study-section ul {
  list-style: none;
  display: grid;
  gap: 16px;
  max-width: 800px;
}

.case-study-section li {
  padding-left: 22px;
  position: relative;
}

.case-study-section li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--coral);
  font-weight: 900;
}

.case-study-section li strong {
  color: var(--black);
}

.project-client {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white-65);
  margin-bottom: 14px;
}

/* Results — CTA Surface (yellow bg, black headline/label), reuses the
   .stats/.stat component from the homepage About section. */
.results {
  background: var(--yellow);
}

.results .section-label {
  color: var(--black-50);
}

.stat-hero {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  padding: 28px var(--space-card);
  margin-bottom: 20px;
}

.stat-hero-number {
  font-family: var(--font-heavy);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  font-size: 2.25rem;
  color: var(--black);
}

.stat-hero-desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gray-600);
  max-width: 560px;
}

@media (min-width: 640px) {
  .stat-hero {
    flex-direction: row;
    align-items: center;
    gap: 24px;
    padding: 32px var(--space-logo-block);
  }

  .stat-hero-number {
    font-size: 3rem;
    white-space: nowrap;
  }
}

/* Flex (not fixed grid) so a project with only 1–2 service buckets lays out
   naturally instead of leaving empty grid columns. */
.buckets-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-card);
  margin-top: 40px;
}

.bucket {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  padding: var(--space-logo-block);
  flex: 1 1 220px;
  max-width: 320px;
}

.bucket h3 {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 14px;
}

.bucket ul {
  list-style: none;
}

.bucket li {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--gray-800);
  padding: 5px 0 5px 20px;
  position: relative;
}

.bucket li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 2px;
  background: var(--yellow);
  border-radius: 2px;
}

/* Additional credits + inline notes */

.credits {
  margin-top: 36px;
  max-width: 720px;
}

.credits h3 {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 14px;
}

.credits ul {
  list-style: none;
}

.credits li {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--gray-800);
  padding: 4px 0;
}

.credits li strong {
  color: var(--black);
  font-weight: 600;
}

.credits a {
  color: var(--coral);
  font-weight: 600;
}

.credits a:hover {
  color: var(--black);
}

.section-note {
  font-family: var(--font-body);
  font-size: 14px;
  font-style: italic;
  color: var(--gray-600);
  max-width: 720px;
  margin-top: 8px;
}

/* Media grid */

.media-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-card);
  margin-top: 40px;
}

.media-item {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-300);
  aspect-ratio: 4 / 3;
  background: var(--gray-200);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.media-item:hover {
  transform: translateY(-3px);
  box-shadow: 4px 4px 0 var(--black);
}

.media-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Video embeds */

.videos {
  background: var(--gray-100);
}

/* Mobile-first: single column, each video at its own natural aspect ratio.
   On desktop the grid becomes a flex row where every video shares one fixed
   HEIGHT and takes the width its aspect ratio implies — so mixed vertical /
   horizontal / square videos line up in clean rows without staggering, and
   verticals are shown full-frame rather than pillarboxed. Each .video-embed
   carries its own `aspect-ratio` inline (from the real Vimeo dimensions). */
.video-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
}

.video-embed {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 16 / 9; /* fallback; overridden inline per video */
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-300);
  background: var(--black);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (min-width: 720px) {
  .video-grid {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .video-embed {
    width: auto;
    max-width: 100%;
    height: 300px;
  }
}

/* --------------------------------------------------------------------------
   Lightbox (project page media grids)
   -------------------------------------------------------------------------- */

body.lightbox-locked {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 90vw;
}

.lightbox-image {
  max-width: 90vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox-caption {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white-65);
  text-align: center;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--white-35);
  border-radius: 50%;
  color: var(--white);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  color: var(--yellow);
  border-color: var(--yellow);
}

.lightbox-close {
  top: 20px;
  right: 20px;
}

.lightbox-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 640px) {
  .lightbox-close,
  .lightbox-prev,
  .lightbox-next {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
  }

  .lightbox-prev {
    left: 12px;
  }

  .lightbox-next {
    right: 12px;
  }
}

/* --------------------------------------------------------------------------
   Fade-in reveal
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Responsive: tablet and up
   -------------------------------------------------------------------------- */

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .media-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .nav-logo {
    font-size: 20px;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* --------------------------------------------------------------------------
   Responsive: mobile nav
   -------------------------------------------------------------------------- */

@media (max-width: 767px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(0, 0, 0, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 0 16px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  }

  .nav-links.open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 14px 6%;
    font-size: 13px;
  }

  .nav-toggle[aria-expanded="true"] .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}


/* ==========================================================================
   Homepage refresh — October 2026
   Personal positioning, audit-led offer ladder, anonymized proof.
   ========================================================================== */
.hero { min-height: min(780px, 100svh); }
.hero-eyebrow { color: var(--yellow); font: 700 11px/1.5 var(--font-ui); letter-spacing: 1.6px; text-transform: uppercase; margin-bottom: 18px; }
.hero h1 { margin-bottom: 8px; }
.hero .tagline { color: var(--white); font-weight: 900; font-size: clamp(1.65rem, 3.8vw, 2.7rem); line-height: 1.15; letter-spacing: -0.04em; margin: 0 0 18px; }
.hero-support { color: var(--white-85); font-size: 16px; max-width: 560px; margin-bottom: 28px; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.text-link { color: var(--white); font: 700 12px/1.5 var(--font-ui); letter-spacing: .8px; text-transform: uppercase; border-bottom: 1px solid var(--white-40); padding-bottom: 5px; }
.text-link:hover { color: var(--yellow); border-color: var(--yellow); }
.hero-bottom-note { position: absolute; bottom: 24px; left: 4%; right: 4%; display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--white-60); font: 600 10px/1.4 var(--font-ui); letter-spacing: 1.2px; text-transform: uppercase; text-align: center; }
.hero-note-line { width: 32px; height: 1px; background: var(--yellow); }
.problem-section { background: var(--gray-100); }
.problem-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 7vw, 100px); align-items: start; }
.problem-layout .section-title, .audit-heading .section-title, .experience-intro .section-title, .about-copy .section-title, .process-section .section-title, .contact-intro .section-title { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; margin-bottom: 0; }
.problem-copy { max-width: 620px; color: var(--gray-800); font-size: 17px; }
.problem-copy p + p { margin-top: 18px; }
.audit-section { background: var(--yellow); }
.audit-section .section-label { color: #4f4000; }
.audit-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 8vw, 120px); align-items: center; }
.audit-heading .section-title { margin-bottom: 20px; }
.audit-intro { max-width: 460px; font-size: 18px; margin-bottom: 28px; }
.audit-section .btn-secondary { background: var(--black); color: var(--white); }
.audit-section .btn-secondary:hover { box-shadow: 4px 4px 0 var(--white); }
.audit-details { background: rgba(255,255,255,.72); padding: clamp(24px, 4vw, 42px); border: 1px solid rgba(0,0,0,.14); border-radius: var(--radius-md); }
.audit-label { font: 700 12px/1.5 var(--font-ui); letter-spacing: 1.4px; text-transform: uppercase; margin-bottom: 18px; }
.check-list { list-style: none; }
.check-list li { position: relative; padding: 0 0 14px 26px; color: var(--gray-800); }
.check-list li::before { content: '✓'; position: absolute; left: 0; top: 0; font-weight: 900; }
.audit-boundary { border-top: 1px solid var(--gray-300); margin-top: 8px; padding-top: 16px; font-size: 13px; color: var(--gray-800); }
.services { background: var(--white); }
.services .section-title { max-width: 720px; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; margin-bottom: 18px; }
.services-support { margin: 0; max-width: 600px; color: var(--gray-600); }
.offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; margin-top: 38px; }
.offer-card { border: 1px solid var(--gray-300); border-radius: var(--radius-md); padding: clamp(22px, 3vw, 32px); min-height: 290px; display: flex; flex-direction: column; align-items: flex-start; background: var(--white); transition: transform .2s ease, box-shadow .2s ease; }
.offer-card:hover { transform: translateY(-3px); box-shadow: 5px 5px 0 var(--yellow); }
.offer-number { display: inline-block; font: 900 11px/1 var(--font-ui); color: var(--coral); letter-spacing: 1px; margin-bottom: 24px; }
.offer-card h3 { font: 400 clamp(1.35rem, 2vw, 1.7rem)/1.15 var(--font-display); margin-bottom: 14px; }
.offer-card p { color: var(--gray-800); font-size: 14px; }
.offer-card .offer-meta { color: var(--gray-600); font-size: 12px; margin-top: 14px; }
.offer-link { margin-top: auto; padding-top: 24px; font: 700 11px/1.5 var(--font-ui); letter-spacing: .6px; text-transform: uppercase; }
.offer-link:hover { color: #8b2d31; }
.experience-section { background: var(--black); color: var(--white); }
.experience-section .section-label { color: var(--yellow); }
.experience-section .section-title { color: var(--white); max-width: 700px; margin-bottom: 20px; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; }
.experience-intro > p { max-width: 690px; color: var(--white-65); }
.proof-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-top: 42px; }
.proof-card { padding: 24px 20px; border: 1px solid var(--white-35); border-radius: var(--radius-md); min-height: 150px; }
.proof-value { display: block; font: 900 clamp(1.55rem, 2.5vw, 2.2rem)/1.1 var(--font-heavy); color: var(--yellow); letter-spacing: -.04em; margin-bottom: 14px; }
.proof-label { display: block; font-size: 12px; line-height: 1.5; color: var(--white-65); }
.proof-note { color: var(--white-40); font-size: 11px; max-width: 760px; margin-top: 20px; }
.about-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(36px, 8vw, 110px); align-items: center; }
.about-photo img { width: min(100%, 320px); height: auto; aspect-ratio: 1 / 1; object-fit: contain; object-position: center; border-radius: var(--radius-md); }
.about-copy .section-title { margin-bottom: 22px; }
.about-copy p { color: var(--gray-800); margin-top: 14px; max-width: 650px; }
.process-section { background: var(--gray-100); }
.process-section .section-title { margin-bottom: 36px; font-size: clamp(2rem, 4vw, 3.2rem); }
.process-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.process-step { border-top: 2px solid var(--black); padding-top: 22px; }
.process-step > span { color: var(--coral); font: 900 12px/1 var(--font-ui); }
.process-step h3 { font: 400 1.45rem/1.2 var(--font-display); margin: 16px 0 10px; }
.process-step p { color: var(--gray-600); font-size: 14px; max-width: 300px; }
.contact { background: var(--white); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 100px); align-items: start; }
.contact-intro .section-title { margin-bottom: 22px; }
.contact .lede { color: var(--gray-600); max-width: 520px; }
.direct-email { margin-top: 22px; font-size: 14px; }
.direct-email a { text-decoration: underline; text-underline-offset: 3px; }
.contact-form { margin-top: 0; }
.footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
.footer-email, .back-to-top { color: var(--white-65); font-size: 12px; }
.footer-email:hover, .back-to-top:hover { color: var(--yellow); }
@media (max-width: 760px) {
  section { padding: 72px 0; }
  .hero { min-height: auto; padding: calc(var(--nav-height) + 46px) 0 100px; }
  .hero-photo img { width: 170px; height: 170px; }
  .hero-actions { justify-content: center; }
  .hero-bottom-note { bottom: 26px; font-size: 9px; }
  .problem-layout, .audit-layout, .about-layout, .contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .offer-grid { grid-template-columns: 1fr; }
  .offer-card { min-height: 0; }
  .proof-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .about-photo { display: flex; justify-content: center; }
  .about-photo img { max-width: 220px; }
  .process-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
@media (min-width: 761px) and (max-width: 980px) {
  .proof-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero-photo img { width: 260px; height: 260px; }
}
