/* ============================================================
   Carroch Communications — Global Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&family=Inter:wght@400;500;600;700&display=swap');

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #fff;
  color: #111;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- Tokens --- */
:root {
  --black:   #111111;
  --dark:    #1c1c1c;
  --g800:    #2d2d2d;
  --g700:    #3a3a3a;
  --g600:    #4f4f4f;
  --g400:    #8a8a8a;
  --g300:    #b0b0b0;
  --g200:    #d4d4d4;
  --g100:    #e8e8e8;
  --g50:     #f5f5f5;
  --white:   #ffffff;
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-full: 9999px;
  --shadow-card: 0 2px 8px rgba(0,0,0,0.07);
  --shadow-hover: 0 10px 30px rgba(0,0,0,0.14);
  --shadow-nav: 0 2px 16px rgba(0,0,0,0.18);
  --trans: 0.25s ease;
  --max-w: 1280px;
  --article-w: 860px;
}

/* --- Helpers --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--black);
  box-shadow: var(--shadow-nav);
}

.nav__bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  height: 70px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.43rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.nav__brand img {
  height: 55px;
  width: auto;
  object-fit: contain;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav__links > li { position: relative; }

.nav__links > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  color: var(--white);
  background: var(--black);
  border: 1.5px solid rgba(255,255,255,0.45);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  white-space: nowrap;
  transition: all var(--trans);
}

.nav__links > li > a:hover,
.nav__links > li.is-active > a {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
  color: var(--white);
}

/* Dropdown arrow */
.nav__has-drop > a {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav__has-drop > a svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--trans);
}

.nav__has-drop:hover > a svg { transform: rotate(180deg); }

.nav__drop {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--dark);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  min-width: 190px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--trans), visibility var(--trans), transform var(--trans);
  overflow: hidden;
}

.nav__has-drop:hover .nav__drop {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav__drop a {
  display: block;
  padding: 11px 20px;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color var(--trans), background var(--trans);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav__drop a:last-child { border-bottom: none; }

.nav__drop a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--trans);
}

.nav__toggle:hover { background: rgba(255,255,255,0.08); }

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--trans);
}

.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav action buttons (Contact Me + LinkedIn) */
.nav__actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav__btn {
  display: inline-flex;
  align-items: center;
  padding: 7px 15px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: all var(--trans);
}

.nav__btn--outline {
  background: var(--black);
  border: 1.5px solid rgba(255,255,255,0.45);
  color: var(--white);
}

.nav__btn--outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

.nav__btn--fill {
  background: var(--black);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.45);
}

.nav__btn--fill:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

/* Mobile menu */
.nav__mobile {
  display: none;
  flex-direction: column;
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.07);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.nav__mobile.is-open {
  display: flex;
  max-height: 600px;
}

.nav__mobile a {
  display: block;
  padding: 12px 24px;
  color: var(--g200);
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color var(--trans), background var(--trans);
}

.nav__mobile a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.05);
}

.nav__mobile-section {
  padding: 16px 24px 10px;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
}

.nav__mobile-actions {
  display: flex;
  gap: 12px;
  padding: 16px 24px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav__mobile-actions a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  border-bottom: none;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.45);
  transition: all var(--trans);
}

.nav__mobile-actions a:hover {
  background: rgba(255,255,255,0.18);
  border-color: var(--white);
}

.nav__mobile-actions a svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.nav__mobile-sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.nav__mobile-sub a {
  padding-left: 24px;
  font-size: 0.85rem;
  color: var(--white);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--black);
  color: var(--white);
  padding: 80px 0;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  align-items: center;
  gap: 64px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.hero__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.hero__name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 8px;
}

.hero__role {
  font-size: 1rem;
  font-weight: 400;
  color: var(--g400);
  letter-spacing: 0;
  margin-bottom: 24px;
  font-family: 'Inter', system-ui, sans-serif;
}

.hero__bio {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--g200);
  max-width: 580px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__photo {
  width: 280px;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  filter: grayscale(100%);
  opacity: 0.88;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: all var(--trans);
  cursor: pointer;
  font-family: 'Inter', system-ui, sans-serif;
  white-space: nowrap;
}

.btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

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

.btn--white:hover {
  background: var(--g200);
  border-color: var(--g200);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}

.btn--outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

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

.btn--black:hover { background: var(--g800); border-color: var(--g800); }

.btn--outline-black {
  background: transparent;
  color: var(--black);
  border-color: var(--g200);
}

.btn--outline-black:hover {
  border-color: var(--black);
}

/* ============================================================
   SECTION WRAPPER
   ============================================================ */
.section { padding: 72px 0; }
.section--alt { background: var(--g50); }
.section--dark { background: var(--black); color: var(--white); }
.section--tight { padding: 48px 0; }

.section__hd {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
}

.section__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  position: relative;
  padding-bottom: 14px;
}

.section__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: currentColor;
  border-radius: 2px;
}

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border-radius: 4px;
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--black);
  color: var(--white);
}

.badge--on-dark { background: rgba(255,255,255,0.18); color: var(--white); }
.badge--outline { background: transparent; color: var(--black); border: 1.5px solid var(--g200); }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow var(--trans), transform var(--trans);
}

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

.card__link { display: block; color: inherit; }

.card__img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--g100);
}

.card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
  filter: grayscale(25%);
}

.card:hover .card__img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.card__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
}

/* Badge inside card body (no image cards) */
.card__body .badge {
  position: static;
  display: inline-block;
  margin-bottom: 12px;
}

.card__body { padding: 18px 20px 20px; }

.card__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

/* Category card variant (on category pages) */
.card--category .card__body { padding: 20px 22px 24px; }

.card--category .card__title {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.card--category .card__desc {
  font-size: 0.875rem;
  color: var(--g600);
  line-height: 1.65;
  margin-top: 8px;
}

/* ============================================================
   CAROUSELS
   ============================================================ */
.carousel-wrap { position: relative; }

.carousel-controls {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--trans);
  flex-shrink: 0;
  border: 2px solid transparent;
}

.carousel-btn:hover { background: var(--g700); }

.carousel-btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.carousel-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section--dark .card__title { color: var(--black); }

/* Latest Work & Featured Work — fixed height card bodies, title centred vertically */
#latest-work .card__body,
#featured-work .card__body {
  min-height: 84px;
  display: flex;
  align-items: center;
  padding-top: 14px;
  padding-bottom: 14px;
}

/* Latest Work — light grey body to contrast white section background */
#latest-work .card__body { background: var(--g50); }

.section--dark .carousel-btn {
  background: rgba(255,255,255,0.88);
  border-color: transparent;
  color: var(--black);
}

.section--dark .carousel-btn:hover {
  background: var(--white);
}

.carousel-viewport {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-track .card {
  flex: 0 0 calc(25% - 15px);
  min-width: 0;
}

/* ============================================================
   PAGE HEADER (category pages)
   ============================================================ */
.page-hd {
  background: var(--black);
  color: var(--white);
  padding: 56px 0 52px;
}

.page-hd__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--g400);
  margin-bottom: 14px;
}

.page-hd__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.page-hd__desc {
  font-size: 1rem;
  color: var(--g300);
  max-width: 540px;
  line-height: 1.75;
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumb {
  padding: 20px 0;
  border-bottom: 1px solid var(--g100);
  margin-bottom: 40px;
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.82rem;
}

.breadcrumb__item { color: var(--g600); }
.breadcrumb__item a { color: var(--g600); transition: color var(--trans); }
.breadcrumb__item a:hover { color: var(--black); }
.breadcrumb__sep { color: var(--g200); }
.breadcrumb__item--current { color: var(--black); font-weight: 500; }

/* ============================================================
   ARTICLE PAGE
   ============================================================ */
.article-layout {
  max-width: var(--article-w);
  margin: 0 auto;
  padding: 0 24px 80px;
}

.article-header { margin-bottom: 36px; }

.article-header .badge { margin-bottom: 16px; }

.article-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.article-img-wrap {
  margin-bottom: 40px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.article-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

.article-body {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--g800);
}

.article-body p { margin-bottom: 24px; }
.article-body p:last-child { margin-bottom: 0; }

/* ============================================================
   AUDIO PLAYER
   ============================================================ */
.audio-block {
  margin-top: 48px;
  padding: 28px 32px;
  background: var(--g50);
  border: 1px solid var(--g100);
  border-radius: var(--radius-md);
}

.audio-block__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--g400);
  margin-bottom: 10px;
}

.audio-block__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.audio-block audio {
  width: 100%;
  border-radius: var(--radius-sm);
  accent-color: var(--black);
}

/* ============================================================
   CATEGORY GRID
   ============================================================ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* ============================================================
   WORK WITH ME CTA
   ============================================================ */
.cta-panel {
  color: var(--white);
}

.cta-panel__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--g400);
  margin-bottom: 12px;
}

.cta-panel__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.cta-panel__text {
  color: var(--g300);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 32px;
}

.cta-panel__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.cta-tag {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(255,255,255,0.09);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.12);
  transition: background var(--trans);
  font-family: 'Inter', system-ui, sans-serif;
  letter-spacing: 0.02em;
}

.cta-tag:hover { background: rgba(255,255,255,0.16); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-card {
  background: var(--g50);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  transition: box-shadow var(--trans);
  border: 1px solid var(--g100);
}

.contact-card:hover { box-shadow: var(--shadow-hover); }

.contact-icon {
  width: 52px;
  height: 52px;
  background: var(--black);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  stroke: white;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-card__detail {
  font-size: 0.9rem;
  color: var(--g600);
}

.contact-card__detail a {
  color: var(--g600);
  transition: color var(--trans);
}

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

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--g800);
  color: var(--white);
  padding: 56px 0 32px;
  border-top: 3px solid var(--white);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  color: var(--white);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer__brand img { height: 68px; width: auto; }

.footer__tagline {
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer__col-title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}

.footer__col-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer__col-links a {
  font-size: 0.875rem;
  color: var(--g200);
  transition: color var(--trans);
}

.footer__col-links a:hover { color: var(--white); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
}

/* ============================================================
   PLACEHOLDER IMAGES (for cards without photos)
   ============================================================ */
.ph--broadcast {
  background: linear-gradient(135deg, #1a1a1a 0%, #2e2e2e 100%);
}
.ph--comedy {
  background: linear-gradient(135deg, #222 0%, #3a3a3a 100%);
}
.ph--storytelling {
  background: linear-gradient(135deg, #2a2a2a 0%, #404040 100%);
}
.ph--in-print {
  background: linear-gradient(135deg, #1c1c1c 0%, #333 100%);
}
.ph--music {
  background: linear-gradient(135deg, #111 0%, #252525 100%);
}
.ph--legal {
  background: linear-gradient(135deg, #181818 0%, #2d2d2d 100%);
}
.ph--history {
  background: linear-gradient(135deg, #202020 0%, #383838 100%);
}

.ph__icon {
  opacity: 0.15;
  font-size: 3.5rem;
  user-select: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet ≤ 1024px */
@media (max-width: 1024px) {
  .carousel-track .card {
    flex: 0 0 calc(50% - 10px);
  }

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

  .hero__inner {
    grid-template-columns: 1fr 240px;
    gap: 40px;
  }

  .hero__photo {
    width: 240px;
    height: 290px;
  }

}


/* Mobile ≤ 768px */
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }

  .nav__actions { display: none; }

  /* Brand: show both logo + text, left-aligned, hamburger pinned right */
  .nav__bar {
    position: relative;
    justify-content: flex-start;
  }
  .nav__toggle {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
  }
  .nav__brand {
    font-size: 1rem;
    gap: 10px;
    align-items: center;
  }
  .nav__brand img {
    height: 28px;
  }
  .nav__brand span {
    display: block;
    line-height: 28px;
    height: 28px;
    font-size: 1.2rem;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero__photo-wrap { order: -1; text-align: center; }

  .hero__photo {
    width: 180px;
    height: 220px;
    margin: 0 auto;
  }

  .hero__bio { font-size: 0.95rem; }

  .carousel-track .card {
    flex: 0 0 calc(100% - 0px);
  }

  .cta-panel {
    padding: 36px 28px;
    border-radius: var(--radius-lg);
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .section__hd {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .page-hd { padding: 40px 0; }
}

@media (max-width: 480px) {
  .hero { padding: 48px 0; }
  .section { padding: 48px 0; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   MY CLIENTS SCROLLER
   ============================================================ */
.clients-scroller {
  overflow: hidden;
  margin-top: 40px;
}

.clients-scroller__track {
  display: flex;
  will-change: transform;
  animation: clients-marquee 17.5s linear infinite;
}

.clients-scroller__group {
  display: flex;
  flex-shrink: 0;
}

.clients-scroller__item {
  flex: 0 0 25vw;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 36px;
}

.clients-scroller__item img {
  max-height: 64px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

@keyframes clients-marquee {
  to { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .clients-scroller__track {
    animation-duration: 11.5s;
  }

  .clients-scroller__item {
    flex: 0 0 50vw;
    height: 90px;
    padding: 16px 24px;
  }

  .clients-scroller__item img {
    max-height: 44px;
  }
}
