/* =========================================
   LEPETTA V2 — CREATIVE AGENCY STYLESHEET
   Mobile-first. Clean. Editorial.
   ========================================= */

/* 1. Variables & Reset
   ---------------------------------------- */
:root {
  --yellow:      #D9A521;
  --yellow-lt:   #E4B748;
  --yellow-dk:   #B8891C;
  --dark:        #181818;
  --dark-2:      #2A2A2A;
  --grey:        #424242;
  --grey-mid:    #6B6B6B;
  --grey-lt:     #9E9E9E;
  --warm:        #F7F4F0;
  --white:       #FFFFFF;
  --border:      #E5E0D9;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --nav-h: 68px;
  --container: 1200px;
  --radius: 12px;
  --radius-lg: 20px;

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

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* 2. Typography
   ---------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  font-weight: 700;
}

.display-xl {
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  letter-spacing: -0.03em;
}
.display-lg {
  font-size: clamp(2rem, 5vw, 3.75rem);
  letter-spacing: -0.02em;
}
.display-md {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  letter-spacing: -0.01em;
}
.display-sm {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}
.body-lg { font-size: clamp(1rem, 2vw, 1.2rem); line-height: 1.7; }
.body-md { font-size: 1rem; line-height: 1.65; }
.label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-body);
}

.text-yellow { color: var(--yellow); }
.text-white  { color: var(--white); }
.text-grey   { color: var(--grey-mid); }
.italic      { font-style: italic; }

/* 3. Layout Utilities
   ---------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 640px)  { .container { padding-inline: 2rem; } }
@media (min-width: 1024px) { .container { padding-inline: 3rem; } }

.section {
  padding-block: 5rem;
}
@media (min-width: 768px) {
  .section { padding-block: 7rem; }
}
@media (min-width: 1024px) {
  .section { padding-block: 9rem; }
}

.section--sm { padding-block: 3rem; }
@media (min-width: 768px) { .section--sm { padding-block: 5rem; } }

.section--dark  { background: var(--dark); }
.section--dark2 { background: var(--dark-2); }
.section--warm  { background: var(--warm); }
.section--yellow { background: var(--yellow); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px)  { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px)  { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.flex-center { display: flex; align-items: center; justify-content: center; }
.text-center { text-align: center; }

/* 4. Buttons
   ---------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.03em;
  border-radius: 6px;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
  min-height: 48px;
}
.btn--primary {
  background: var(--yellow);
  color: var(--dark);
}
.btn--primary:hover {
  background: var(--yellow-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(217, 165, 33, 0.35);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}
.btn--outline-dark {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--dark);
}
.btn--outline-dark:hover {
  background: var(--dark);
  color: var(--white);
}

/* 5. Navigation
   ---------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  background: var(--dark);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: box-shadow 0.3s var(--ease);
}
.nav.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.nav-inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 640px)  { .nav-inner { padding-inline: 2rem; } }
@media (min-width: 1024px) { .nav-inner { padding-inline: 3rem; } }

.nav-logo img {
  height: 40px;
  width: auto;
}
@media (min-width: 640px) {
  .nav-logo img { height: 44px; }
}

/* Desktop links */
.nav-links {
  display: none;
}
@media (min-width: 900px) {
  .nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }
  .nav-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0.875rem;
    border-radius: 6px;
    transition: all 0.2s var(--ease);
    white-space: nowrap;
  }
  .nav-links a:hover,
  .nav-links a.active {
    color: var(--yellow);
    background: rgba(217,165,33,0.1);
  }
}

/* Hamburger button */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background 0.2s var(--ease);
}
.nav-toggle:hover { background: rgba(255,255,255,0.08); }
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  transform-origin: center;
}

/* Hamburger → X animation */
.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
}

/* Mobile overlay menu */
.nav-overlay {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0; bottom: 0;
  background: var(--dark);
  z-index: 899;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  gap: 0.5rem;
  overflow-y: auto;
  /* Hidden state */
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.nav-open .nav-overlay {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.nav-overlay a {
  color: rgba(255,255,255,0.75);
  font-size: 1.25rem;
  font-weight: 500;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s var(--ease);
  display: block;
}
.nav-overlay a:last-child { border-bottom: none; }
.nav-overlay a:hover,
.nav-overlay a.active {
  color: var(--yellow);
}

@media (min-width: 900px) {
  .nav-overlay { display: none; }
}

/* Page body push */
body { padding-top: var(--nav-h); }

/* 6. Hero — Home
   ---------------------------------------- */
.hero-home {
  min-height: calc(100svh - var(--nav-h));
  background: var(--dark);
  display: flex;
  align-items: center;
  padding-block: 4rem 5rem;
  position: relative;
  overflow: hidden;
}
.hero-home::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%,
    rgba(217,165,33,0.12) 0%,
    transparent 70%);
  pointer-events: none;
}

@media (min-width: 768px) {
  .hero-home {
    min-height: calc(90svh - var(--nav-h));
  }
}

.hero-home .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (min-width: 768px) {
  .hero-home .container {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--yellow);
}
.hero-eyebrow span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
}

.hero-heading {
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero-heading em {
  font-style: italic;
  color: var(--yellow);
}

.hero-text {
  color: rgba(255,255,255,0.7);
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-img-wrap {
  position: relative;
}
.hero-img-wrap img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 4/3;
}
@media (min-width: 768px) {
  .hero-img-wrap img { aspect-ratio: auto; max-height: 520px; }
}
.hero-img-wrap::after {
  content: '';
  position: absolute;
  inset: -12px -12px 12px 12px;
  border: 2px solid rgba(217,165,33,0.3);
  border-radius: calc(var(--radius-lg) + 4px);
  z-index: -1;
}

/* 7. Hero — Inner Pages
   ---------------------------------------- */
.hero-page {
  background: var(--dark);
  padding-block: 5rem 4rem;
  position: relative;
  overflow: hidden;
}
.hero-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 90% 50%,
    rgba(217,165,33,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-page .container { position: relative; z-index: 2; }
.hero-page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.hero-page-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--yellow);
}
.hero-page-eyebrow span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
}
.hero-page h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}
.hero-page h1 .hl { color: var(--yellow); font-style: italic; }
.hero-page .page-lead {
  color: rgba(255,255,255,0.72);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  max-width: 640px;
  line-height: 1.7;
}

.hero-page-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) {
  .hero-page-split {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding-block: 6rem 5rem;
  }
}

/* 8. Stats Bar
   ---------------------------------------- */
.stats-bar {
  background: var(--yellow);
  padding-block: 2rem;
}
.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: center;
}
@media (min-width: 640px) {
  .stats-bar .container { grid-template-columns: repeat(4, 1fr); }
}
.stat-item .stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
}
.stat-item .stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(24,24,24,0.7);
  margin-top: 0.35rem;
}

/* 9. Section Headers
   ---------------------------------------- */
.section-header {
  margin-bottom: 3.5rem;
}
.section-header.centered { text-align: center; }
.section-header .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.section-header .eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--yellow);
}
.section-header.centered .eyebrow {
  flex-direction: row;
  justify-content: center;
}
.section-header .eyebrow span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
}
.section-header h2 { margin-bottom: 1rem; }
.section-header .sub {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--grey-mid);
  max-width: 600px;
  line-height: 1.7;
}
.section-header.centered .sub { margin-inline: auto; }

/* Dark section overrides */
.section--dark .section-header h2,
.section--dark2 .section-header h2 { color: var(--white); }
.section--dark .section-header .sub,
.section--dark2 .section-header .sub { color: rgba(255,255,255,0.6); }
.section--dark .section-header .eyebrow span,
.section--dark2 .section-header .eyebrow span { color: var(--yellow); }

/* Yellow section — eyebrow line goes dark so it's visible */
.section--yellow .section-header .eyebrow::before { background: var(--dark); }
.section--yellow .section-header .eyebrow span    { color: rgba(24,24,24,0.65); }

/* 10. Value Cards
   ---------------------------------------- */
.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
  border-color: var(--yellow);
}
.value-card .icon-wrap {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--yellow-lt), var(--yellow));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.value-card .icon-wrap img {
  width: 28px;
  height: 28px;
  filter: brightness(0);
}
.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.value-card p { color: var(--grey-mid); font-size: 0.95rem; line-height: 1.65; }

/* Dark card variant */
.value-card--dark {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
}
.value-card--dark h3 { color: var(--white); }
.value-card--dark p  { color: rgba(255,255,255,0.6); }
.value-card--dark:hover { border-color: var(--yellow); }

/* 11. Feature List (What We Do integration)
   ---------------------------------------- */
.feature-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.feature-item:last-child { border-bottom: none; }
.feature-item .fi-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--yellow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-item .fi-icon img {
  width: 24px;
  height: 24px;
  filter: brightness(0);
}
.feature-item h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.feature-item p { font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.6; }

/* Light variant */
.feature-item--light { border-bottom-color: var(--border); }
.feature-item--light h4 { color: var(--dark); }
.feature-item--light p { color: var(--grey-mid); }

/* 12. Service Categories (What We Do)
   ---------------------------------------- */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.service-card:hover {
  border-color: var(--yellow);
  transform: translateY(-3px);
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--dark);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--yellow);
}
.service-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.25rem;
  font-size: 0.95rem;
  color: var(--grey-mid);
  border-bottom: 1px solid var(--border);
}
.service-list li:last-child { border-bottom: none; }
.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--yellow-dk);
  font-weight: 700;
  font-size: 0.85rem;
}

/* 13. Process Pillars
   ---------------------------------------- */
.pillar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 1.75rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.pillar-card:hover::before { transform: scaleX(1); }
.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.pillar-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(217,165,33,0.15);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.pillar-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--yellow-lt), var(--yellow));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.pillar-icon img {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
}
.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.pillar-card p { font-size: 0.9rem; color: var(--grey-mid); line-height: 1.6; }

/* 14. Quote / Callout
   ---------------------------------------- */
.callout {
  padding: 2.5rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--yellow);
  background: var(--warm);
}
.callout blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-style: italic;
  color: var(--dark);
  line-height: 1.5;
}
.callout blockquote .hl { color: var(--yellow-dk); }

.callout--dark {
  background: rgba(255,255,255,0.05);
  border-color: var(--yellow);
}
.callout--dark blockquote { color: var(--white); }

/* 15. Image with Frame
   ---------------------------------------- */
.img-frame {
  position: relative;
}
.img-frame img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
}
.img-frame::after {
  content: '';
  position: absolute;
  inset: -10px -10px 10px 10px;
  border: 2px solid rgba(217,165,33,0.3);
  border-radius: calc(var(--radius-lg) + 4px);
  z-index: -1;
}

/* 16. Clients Carousel
   ---------------------------------------- */
.clients-section { overflow: hidden; }
.carousel-track-wrap {
  overflow: hidden;
  mask-image: linear-gradient(
    to right, transparent 0%, black 10%, black 90%, transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right, transparent 0%, black 10%, black 90%, transparent 100%
  );
}
.carousel-track {
  display: flex;
  gap: 2rem;
  animation: marquee 35s linear infinite;
  width: max-content;
}
.carousel-track:hover { animation-play-state: paused; }
.client-logo-wrap {
  flex: 0 0 auto;
  height: 64px;
  min-width: 110px;
  padding: 0.75rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.client-logo-wrap:hover {
  border-color: var(--yellow);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.client-logo-wrap img {
  max-height: 38px;
  max-width: 90px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.65);
  transition: filter 0.2s var(--ease);
}
.client-logo-wrap:hover img { filter: grayscale(0%) opacity(1); }

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

/* 17. Contact Cards
   ---------------------------------------- */
.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--yellow);
}
.contact-icon-circle {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--yellow-lt), var(--yellow));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 20px rgba(217,165,33,0.3);
}
.contact-icon-circle img {
  width: 36px;
  height: 36px;
  filter: brightness(0);
}
.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--dark);
  margin-bottom: 1rem;
}
.contact-card .person-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
}
.contact-card .person-role {
  font-size: 0.875rem;
  color: var(--grey-lt);
  margin-bottom: 0.75rem;
}
.contact-email {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--yellow-dk);
  padding: 0.5rem 1rem;
  background: rgba(217,165,33,0.1);
  border-radius: 6px;
  transition: all 0.2s var(--ease);
  margin-bottom: 1rem;
}
.contact-email:hover {
  background: var(--yellow);
  color: var(--dark);
}
.contact-card .contact-msg {
  font-size: 0.9rem;
  color: var(--grey-mid);
  line-height: 1.65;
}

/* 18. Map Container
   ---------------------------------------- */
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.map-wrap iframe {
  width: 100%;
  height: 380px;
  display: block;
  border: 0;
}
@media (min-width: 768px) {
  .map-wrap iframe { height: 440px; }
}

/* 19. Focus Cards (Our Difference)
   ---------------------------------------- */
.focus-card {
  background: var(--warm);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.focus-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.focus-card .card-accent {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}
.focus-card:hover .card-accent { transform: scaleX(1); }
.focus-card .fc-icon {
  width: 52px;
  height: 52px;
  background: var(--yellow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.focus-card .fc-icon img {
  width: 26px;
  height: 26px;
  filter: brightness(0);
}
.focus-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.focus-card p { font-size: 0.9rem; color: var(--grey-mid); line-height: 1.65; }

/* 20. Agency Structure Diagram
   ---------------------------------------- */
.structure-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  position: relative;
}
@media (min-width: 768px) {
  .structure-grid { grid-template-columns: repeat(4, 1fr); }
}
.dept-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.dept-card:hover {
  border-color: var(--yellow);
  background: rgba(217,165,33,0.08);
}
.dept-card .dept-icon {
  width: 56px;
  height: 56px;
  background: var(--yellow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.dept-card .dept-icon img {
  width: 28px;
  height: 28px;
  filter: brightness(0);
}
.dept-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.35rem;
}
.dept-card p { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.5; }

.structure-outcome {
  margin-top: 2.5rem;
  text-align: center;
}
.structure-outcome p {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-style: italic;
  color: rgba(255,255,255,0.85);
  max-width: 700px;
  margin-inline: auto;
  line-height: 1.5;
}
.structure-outcome .hl { color: var(--yellow); font-style: normal; }

/* 21. Principles (numbered)
   ---------------------------------------- */
.principle-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}
.principle-item:last-child { border-bottom: none; }
.principle-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
  min-width: 2.5rem;
}
.principle-item h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 0.35rem;
}
.principle-item p { font-size: 0.9rem; color: var(--grey-mid); line-height: 1.6; }

/* Dark variant */
.principle-item--dark { border-bottom-color: rgba(255,255,255,0.1); }
.principle-item--dark h4 { color: var(--white); }
.principle-item--dark p  { color: rgba(255,255,255,0.55); }

/* Principle Cards (3-col)  */
.principle-card {
  background: var(--warm);
  border-radius: var(--radius);
  padding: 2rem;
  border-top: 3px solid var(--yellow);
}
.principle-card .p-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(217,165,33,0.25);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.principle-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.principle-card p { font-size: 0.9rem; color: var(--grey-mid); line-height: 1.65; }

/* 22. Intelligence / Blueprint
   ---------------------------------------- */
.question-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: border-color 0.2s var(--ease);
}
.question-card:hover { border-color: var(--yellow); }
.qc-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--yellow);
}
.qc-header .qc-icon {
  width: 48px;
  height: 48px;
  background: var(--yellow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.qc-header .qc-icon img {
  width: 24px;
  height: 24px;
  filter: brightness(0);
}
.qc-header h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--dark);
}
.question-item {
  display: flex;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.question-item:last-child { border-bottom: none; }
.q-num {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--yellow);
  min-width: 2rem;
  line-height: 1.4;
}
.question-item p { font-size: 0.9rem; color: var(--grey-mid); line-height: 1.6; }

/* Blueprint grid */
.blueprint-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .blueprint-grid { grid-template-columns: repeat(3, 1fr); }
}
.blueprint-step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--border);
  display: flex;
  gap: 1rem;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.blueprint-step:hover {
  border-color: var(--yellow);
  transform: translateY(-3px);
}
.bp-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
  min-width: 2rem;
}
.blueprint-step h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 0.35rem;
}
.blueprint-step p { font-size: 0.85rem; color: var(--grey-mid); line-height: 1.55; }

/* Activity cards (Strategic Immersion) */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .activity-grid { grid-template-columns: repeat(3, 1fr); }
}
.activity-card {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: border-color 0.2s var(--ease);
}
.activity-card:hover { border-color: var(--yellow); }
.activity-card .ac-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--yellow);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.activity-card .ac-icon img {
  width: 22px;
  height: 22px;
  filter: brightness(0);
}
.activity-card h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.activity-card p { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.5; }

/* 23. Team — Values Carousel
   ---------------------------------------- */
.team-values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .team-values-grid { grid-template-columns: repeat(3, 1fr); }
}

/* 24. Director Benefits
   ---------------------------------------- */
.director-benefit {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius);
  transition: transform 0.2s var(--ease);
}
.director-benefit:hover { transform: translateX(6px); }
.db-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--yellow);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.db-icon img {
  width: 22px;
  height: 22px;
  filter: brightness(0);
}
.director-benefit h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 0.2rem;
}
.director-benefit p { font-size: 0.85rem; color: var(--grey-mid); line-height: 1.5; }

/* 25. Office Gallery
   ---------------------------------------- */
.office-gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .office-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .office-gallery-grid .gallery-main {
    grid-column: 1 / -1;
  }
}
@media (min-width: 1024px) {
  .office-gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
  }
  .office-gallery-grid .gallery-main {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
  }
}
.gallery-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.gallery-img:hover {
  transform: scale(1.02);
  opacity: 0.92;
}
.gallery-main .gallery-img {
  height: 300px;
}
@media (min-width: 1024px) {
  .gallery-main .gallery-img {
    height: 100%;
    min-height: 460px;
  }
}

/* 26. Portfolio (Creative Design)
   ---------------------------------------- */
.portfolio-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.tab-btn {
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--grey-mid);
  background: var(--warm);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  min-height: 44px;
}
.tab-btn:hover,
.tab-btn.active {
  background: var(--yellow);
  color: var(--dark);
  border-color: var(--yellow);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }

.work-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}
.work-media {
  position: relative;
  background: var(--dark);
  overflow: hidden;
  min-height: 200px;
}
.work-media img, .work-media video {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s var(--ease);
}
.work-card:hover .work-media img,
.work-card:hover .work-media video {
  transform: scale(1.04);
}
.work-media video { background: #000; }
.work-overlay-content h4 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}
.work-overlay-content p { color: rgba(255,255,255,0.7); font-size: 0.8rem; }
.work-label {
  padding: 1rem 1.25rem;
  background: var(--white);
}
.work-label h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 0.25rem;
}
.work-label p { font-size: 0.8rem; color: var(--grey-lt); }

/* Audio card */
.audio-card .work-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  min-height: 160px;
  background: var(--dark-2);
}
.audio-card .media-icon { font-size: 2.5rem; }
.audio-card .audio-title { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.audio-card audio {
  width: 100%;
  border-radius: 6px;
}

/* PDF card */
.pdf-card .work-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
  min-height: 160px;
  background: var(--warm);
}
.pdf-card .pdf-icon { font-size: 2.5rem; }
.pdf-card .pdf-title { color: var(--grey-mid); font-size: 0.9rem; }
.view-pdf {
  display: inline-block;
  padding: 0.4rem 0.875rem;
  background: var(--yellow);
  color: var(--dark);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 5px;
  transition: background 0.2s var(--ease);
}
.view-pdf:hover { background: var(--yellow-dk); }

.portfolio-disclaimer {
  background: var(--warm);
  border-left: 4px solid var(--yellow);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: var(--grey-mid);
  line-height: 1.6;
  font-style: italic;
}

/* Campaign Thinking Diagram */
.brand-system-visual {
  background: var(--dark-2);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.brand-center {
  width: 100px;
  height: 100px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
  text-align: center;
  line-height: 1.3;
}
.brand-elements {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.brand-el {
  padding: 0.5rem 1rem;
  background: rgba(217,165,33,0.15);
  border: 1px solid rgba(217,165,33,0.3);
  border-radius: 6px;
  color: var(--yellow);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Philosophy cards - design page */
.philosophy-card {
  background: var(--warm);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  border-top: 3px solid var(--yellow);
  transition: transform 0.2s var(--ease);
}
.philosophy-card:hover { transform: translateY(-4px); }
.philosophy-card .ph-icon {
  width: 56px;
  height: 56px;
  background: var(--yellow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.philosophy-card .ph-icon img {
  width: 28px;
  height: 28px;
  filter: brightness(0);
}
.philosophy-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.philosophy-card p { font-size: 0.9rem; color: var(--grey-mid); line-height: 1.65; }

/* 27. Portfolio "More than Expected" closer
   ---------------------------------------- */
.portfolio-more-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) {
  .portfolio-more-wrap {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}
.portfolio-more-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.portfolio-more-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--yellow);
  flex-shrink: 0;
}
.portfolio-more-text h2 { margin-bottom: 1.25rem; }
.portfolio-more-body {
  color: rgba(255,255,255,0.65);
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  line-height: 1.75;
}
.portfolio-more-cta {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
}
.portfolio-more-prompt {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

/* 27b. Values Showcase (Our Difference Promise)
   ---------------------------------------- */
.values-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 3rem;
}
@media (min-width: 640px) {
  .values-showcase { grid-template-columns: repeat(3, 1fr); }
}
.value-showcase-card {
  background: var(--warm);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.value-showcase-card:hover {
  border-color: var(--yellow);
  transform: translateY(-3px);
}
.value-showcase-card .vs-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--yellow-lt), var(--yellow));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.value-showcase-card .vs-icon img {
  width: 30px;
  height: 30px;
  filter: brightness(0);
}
.value-showcase-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.value-showcase-card p { font-size: 0.9rem; color: var(--grey-mid); line-height: 1.6; }

/* 28. Footer
   ---------------------------------------- */
.footer {
  background: var(--dark);
  color: var(--white);
  padding-top: 4rem;
  padding-bottom: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 4rem; }
}
.footer-logo { height: 48px; width: auto; margin-bottom: 1rem; }
.footer-tagline { color: rgba(255,255,255,0.5); font-size: 0.9rem; line-height: 1.6; }
.footer-section h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1rem;
}
.footer-section ul li { margin-bottom: 0.5rem; }
.footer-section ul li a {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  transition: color 0.2s var(--ease);
}
.footer-section ul li a:hover { color: var(--yellow); }
.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
}

/* 29. Animations (scroll reveal)
   ---------------------------------------- */
.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);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* 30. Utility overrides
   ---------------------------------------- */
.mb-sm { margin-bottom: 1.5rem; }
.mb-md { margin-bottom: 2.5rem; }
.mb-lg { margin-bottom: 4rem; }

/* Prevent body scroll when nav is open on mobile */
.nav-open body { overflow: hidden; }

/* Ensure all interactive elements have sufficient touch target */
a, button {
  min-height: 44px;
  min-width: 44px;
}
a:not(.btn):not(.nav-links a):not(.footer-section a):not(.contact-email):not(.view-pdf):not(.nav-overlay a):not(.nav-logo) {
  min-height: unset;
  min-width: unset;
}

/* 31. Mobile centering (everything single-column)
   ---------------------------------------- */
@media (max-width: 767px) {

  /* Home hero — text side */
  .hero-home .container { text-align: center; }
  .hero-eyebrow         { justify-content: center; }
  .hero-text            { margin-inline: auto; }
  .hero-cta             { justify-content: center; }

  /* Inner page heroes — full-width (no split) */
  .hero-page .container { text-align: center; }
  .hero-page-eyebrow    { justify-content: center; }
  .hero-page .page-lead { margin-inline: auto; }

  /* Hero split layout — center text column content */
  .hero-page-split > div:first-child {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Button/chip rows inside hero sections */
  .hero-btns { justify-content: center; }

  /* Section headers — center when not already .centered */
  .section-header { text-align: center; }
  .section-header .eyebrow { justify-content: center; }
  .section-header .sub     { margin-inline: auto; }

  /* Callouts */
  .callout { text-align: center; }

  /* Portfolio "more than expected" section */
  .portfolio-more-text { text-align: center; }
  .portfolio-more-eyebrow { justify-content: center; }

  /* Principle numbered items — keep content readable but center label */
  .principle-item { text-align: left; }

  /* Feature items — keep left-aligned for scannability */
  .feature-item { text-align: left; }
}
