/*
Theme Name: Local'Mans Theme
Theme URI: https://localmans.youvanna.com
Author: Youvanna
Author URI: https://youvanna.com
Description: Thème dédié pour Local'Mans, propreté et maintenance au Mans.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: Proprietary
Text Domain: localmans
*/

/* ===================================================================
   LOCAL'MANS - Design System
   Brand : navy #0F2A4D - brick red #C8362F - cream #F7F4EE
   Type  : Fraunces (display) + Manrope (body)
=================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;0,9..144,800;0,9..144,900;1,9..144,400&family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color .25s ease; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Tokens ---------- */
:root {
  --navy:        #0F2A4D;
  --navy-deep:   #081A33;
  --navy-soft:   #1D3A66;
  --brick:       #C8362F;
  --brick-soft:  #E04A42;
  --cream:       #F7F4EE;
  --cream-soft:  #FBF9F4;
  --ink:         #1A1A1A;
  --ink-muted:   #5C5C5C;
  --line:        #E5DFD2;
  --white:       #FFFFFF;

  --radius-sm:   8px;
  --radius:      16px;
  --radius-lg:   28px;
  --radius-xl:   40px;

  --shadow-sm:   0 2px 8px rgba(15,42,77,.06);
  --shadow:      0 12px 40px rgba(15,42,77,.08);
  --shadow-lg:   0 30px 80px rgba(15,42,77,.18);

  --container:   1240px;
  --gutter:      clamp(20px, 4vw, 48px);

  --ease-out:    cubic-bezier(.16,1,.3,1);
  --ease-in-out: cubic-bezier(.65,0,.35,1);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--navy);
}
h1 { font-size: clamp(2.5rem, 6vw, 5.25rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.15; }
h4 { font-size: 1.2rem; line-height: 1.3; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Manrope', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brick);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--brick);
}

.lead { font-size: clamp(1.1rem, 1.4vw, 1.3rem); color: var(--ink-muted); line-height: 1.55; max-width: 60ch; }

em.italic-fr { font-family: 'Fraunces', serif; font-style: italic; font-weight: 500; color: var(--brick); }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section   { padding: clamp(72px, 10vw, 140px) 0; position: relative; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  transition: all .35s var(--ease-out);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brick);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(15,42,77,.25);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-ghost:hover {
  background: var(--navy);
  color: var(--cream);
  transform: translateY(-2px);
}
.btn-light {
  background: var(--cream);
  color: var(--navy);
}
.btn-light:hover { background: var(--white); transform: translateY(-2px); }

.btn .arrow {
  display: inline-block;
  transition: transform .35s var(--ease-out);
}
.btn:hover .arrow { transform: translateX(4px); }

/* ===================================================================
   HEADER / NAV
=================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all .4s var(--ease-out);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(247, 244, 238, 0.0);
  backdrop-filter: blur(0px);
  transition: all .4s var(--ease-out);
  z-index: -1;
}
.site-header.scrolled::before {
  background: rgba(247, 244, 238, .85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--navy);
}
.nav-logo .logo-mark {
  width: 38px;
  height: 38px;
  position: relative;
}
.nav-logo .logo-mark svg { width: 100%; height: 100%; }
.nav-logo .accent { color: var(--brick); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  display: inline-block;
  padding: 10px 18px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--navy);
  border-radius: 100px;
  position: relative;
  transition: all .3s var(--ease-out);
}
.nav-links a:hover { background: rgba(15,42,77,.06); }
.nav-links li.current-menu-item > a,
.nav-links li.current_page_item > a,
.nav-links a.active {
  background: var(--navy);
  color: var(--cream);
}
.nav-cta { margin-left: 12px; }

.menu-toggle { display: none; }
.mobile-menu { display: none; }

@media (max-width: 1100px) {
  .nav-links { gap: 2px; }
  .nav-links a { padding: 8px 12px; font-size: .9rem; }
  .nav-cta { margin-left: 6px; padding: 12px 18px; font-size: .9rem; }
  .nav-logo { font-size: 1.25rem; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 44px; height: 44px;
    align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--navy);
  }
  .menu-toggle span {
    width: 18px; height: 2px;
    background: var(--cream);
    transition: all .3s ease;
  }
  .menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .mobile-menu {
    display: block;
    position: fixed;
    inset: 0;
    background: var(--navy);
    color: var(--cream);
    padding: 100px 32px 40px;
    transform: translateY(-100%);
    transition: transform .5s var(--ease-out);
    z-index: 90;
  }
  .mobile-menu.open { transform: translateY(0); }
  .mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
  .mobile-menu a {
    display: block;
    padding: 18px 0;
    font-family: 'Fraunces', serif;
    font-size: 2rem;
    color: var(--cream);
    border-bottom: 1px solid rgba(247,244,238,.15);
  }
  .mobile-menu a .num {
    font-family: 'Manrope', sans-serif;
    font-size: .8rem;
    color: var(--brick-soft);
    margin-right: 14px;
  }
}

/* ===================================================================
   HERO
=================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--cream);
}
.hero::before {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(200,54,47,.12) 0%, transparent 70%);
  pointer-events: none;
  animation: floatBlob 20s ease-in-out infinite;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -300px; left: -200px;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(15,42,77,.10) 0%, transparent 70%);
  pointer-events: none;
  animation: floatBlob 25s ease-in-out infinite reverse;
}
@keyframes floatBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -40px) scale(1.08); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}
.hero-content .eyebrow { margin-bottom: 24px; }
.hero h1 { margin-bottom: 28px; }
.hero h1 .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
.hero h1 .word > span {
  display: inline-block;
  transform: translateY(110%);
  animation: revealUp .9s var(--ease-out) forwards;
}
.hero h1 .underline-brick {
  position: relative;
  color: var(--brick);
  font-style: italic;
  font-weight: 500;
}
.hero h1 .underline-brick::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%;
  height: 6px;
  background: var(--brick);
  opacity: .25;
  border-radius: 4px;
  transform: scaleX(0);
  transform-origin: left;
  animation: drawLine 1.2s var(--ease-out) 1.2s forwards;
}
@keyframes drawLine { to { transform: scaleX(1); } }
@keyframes revealUp {
  from { transform: translateY(110%); }
  to   { transform: translateY(0); }
}

.hero-lead {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  color: var(--ink-muted);
  margin-bottom: 36px;
  max-width: 52ch;
  opacity: 0;
  animation: fadeUp .9s var(--ease-out) 1s forwards;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp .9s var(--ease-out) 1.15s forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  max-width: 520px;
  justify-self: end;
  width: 100%;
}
.hero-card {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  animation: cardEnter 1.2s var(--ease-out) forwards;
}
.hero-card-main {
  inset: 0;
  background: var(--navy);
  animation-delay: .4s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-card-main.has-photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-card-main.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,42,77,.05) 0%, rgba(15,42,77,.45) 100%);
  pointer-events: none;
}
.hero-card-main .pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.06) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(200,54,47,.30) 0%, transparent 40%);
}
.hero-card-main .big-mark {
  width: 70%;
  opacity: .9;
  animation: floatY 6s ease-in-out infinite;
}
@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-12px); }
}
.hero-stat {
  position: absolute;
  bottom: -30px; left: -30px;
  background: var(--cream);
  padding: 20px 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation-delay: 1s;
  border: 1px solid var(--line);
}
.hero-stat .num {
  font-family: 'Fraunces', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--brick);
  line-height: 1;
}
.hero-stat .lbl {
  font-size: .85rem;
  color: var(--ink-muted);
  font-weight: 500;
  margin-top: 4px;
}
.hero-pill {
  position: absolute;
  top: 30px; right: -30px;
  background: var(--brick);
  color: var(--cream);
  padding: 12px 22px;
  border-radius: 100px;
  font-weight: 600;
  font-size: .9rem;
  box-shadow: var(--shadow);
  animation-delay: 1.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-pill .dot {
  width: 8px; height: 8px;
  background: #4ADE80;
  border-radius: 50%;
  box-shadow: 0 0 10px #4ADE80;
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: .6; transform: scale(.85); }
}
@keyframes cardEnter {
  from { opacity: 0; transform: translateY(40px) scale(.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.marquee {
  background: var(--navy);
  color: var(--cream);
  padding: 22px 0;
  overflow: hidden;
  border-top: 1px solid rgba(247,244,238,.1);
  border-bottom: 1px solid rgba(247,244,238,.1);
}
.marquee-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 500;
  font-style: italic;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 60px; }
.marquee-track .star {
  display: inline-block;
  color: var(--brick-soft);
  font-style: normal;
  font-weight: 700;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ===================================================================
   SERVICES
=================================================================== */
.services-section {
  background: var(--cream);
  position: relative;
}
.services-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}
@media (max-width: 760px) { .services-head { grid-template-columns: 1fr; } }

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 760px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  position: relative;
  padding: 48px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: all .5s var(--ease-out);
  isolation: isolate;
  display: block;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  opacity: 0;
  transition: opacity .5s var(--ease-out);
  z-index: -1;
}
a.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
a.service-card:hover::before { opacity: 1; }
a.service-card:hover h3,
a.service-card:hover .service-list li,
a.service-card:hover .service-num,
a.service-card:hover .service-icon { color: var(--cream); }
a.service-card:hover .service-arrow { background: var(--brick); color: var(--cream); transform: rotate(-45deg); }
a.service-card:hover .service-list li::before { background: var(--brick-soft); }
a.service-card:hover .desc { color: rgba(247,244,238,.8); }

.service-num {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--brick);
  margin-bottom: 24px;
  display: block;
  letter-spacing: .04em;
  transition: color .3s ease;
}
.service-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 28px;
  color: var(--brick);
  transition: color .3s ease;
}
.service-card h3 { margin-bottom: 12px; transition: color .3s ease; }
.service-card .desc { color: var(--ink-muted); margin-bottom: 28px; }

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.service-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .95rem;
  color: var(--ink);
  transition: color .3s ease;
}
.service-list li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brick);
  flex-shrink: 0;
  transition: background .3s ease;
}

.service-arrow {
  position: absolute;
  bottom: 32px; right: 32px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .4s var(--ease-out);
}

/* ===================================================================
   ABOUT TEASER
=================================================================== */
.about-teaser {
  background: var(--navy);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.about-teaser::before {
  content: "LOCAL'MANS";
  position: absolute;
  bottom: -40px; left: 50%;
  transform: translateX(-50%);
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: clamp(8rem, 22vw, 22rem);
  color: rgba(255,255,255,.04);
  letter-spacing: -0.06em;
  pointer-events: none;
  white-space: nowrap;
}
.about-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 48px; } }

.about-portrait-stack {
  position: relative;
  aspect-ratio: 1/1.1;
}
.about-portrait {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-portrait img { width: 100%; height: 100%; object-fit: cover; }
.about-portrait-1 {
  top: 0; left: 0;
  width: 60%; height: 65%;
  z-index: 2;
}
.about-portrait-2 {
  bottom: 0; right: 0;
  width: 55%; height: 60%;
  border: 6px solid var(--navy);
}

.about-teaser h2 { color: var(--cream); margin-bottom: 28px; }
.about-teaser h2 em { color: var(--brick-soft); font-style: italic; font-weight: 500; }
.about-teaser .lead { color: rgba(247,244,238,.75); margin-bottom: 36px; }
.about-teaser .eyebrow { color: var(--brick-soft); }
.about-teaser .eyebrow::before { background: var(--brick-soft); }
.about-teaser .btn-light { margin-top: 8px; }

.values-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid rgba(247,244,238,.15);
}
@media (max-width: 600px) { .values-row { grid-template-columns: 1fr 1fr; } }
.value-item .v-num {
  font-family: 'Fraunces', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--brick-soft);
  display: block;
  line-height: 1;
}
.value-item .v-lbl {
  font-size: .9rem;
  color: rgba(247,244,238,.7);
  margin-top: 6px;
}

/* ===================================================================
   CLIENTS / PARTNERS MARQUEE
=================================================================== */
.clients-section {
  padding: 80px 0;
  background: var(--cream-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.clients-head {
  text-align: center;
  margin-bottom: 48px;
}
.clients-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); }

.partners-marquee {
  position: relative;
  overflow: hidden;
  padding: 24px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.partners-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: partnersScroll 35s linear infinite;
}
@keyframes partnersScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.partners-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
  padding: 0 clamp(20px, 3vw, 40px);
  margin: 0;
}
.partners-list li {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 96px;
}
.partners-list img {
  max-height: 80px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  opacity: .85;
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
}
.partners-marquee:hover .partners-track { animation-play-state: paused; }
.partners-list li:hover img { opacity: 1; transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) {
  .partners-track { animation: none; }
}

/* ===================================================================
   TESTIMONIALS
=================================================================== */
.testimonials { background: var(--cream); position: relative; }
.testi-head { text-align: center; margin-bottom: 64px; }
.testi-head h2 em { color: var(--brick); font-style: italic; font-weight: 500; }

.testi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 800px) { .testi-grid { grid-template-columns: 1fr; } }

.testi-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  position: relative;
  transition: all .4s var(--ease-out);
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.testi-quote-mark {
  font-family: 'Fraunces', serif;
  font-size: 5rem;
  line-height: .8;
  color: var(--brick);
  opacity: .25;
  margin-bottom: 8px;
}
.testi-card p { color: var(--ink); font-size: 1.02rem; line-height: 1.7; margin-bottom: 28px; }
.testi-author {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.testi-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-weight: 700;
}
.testi-author .name { font-weight: 700; color: var(--navy); }
.testi-author .role { font-size: .9rem; color: var(--ink-muted); }

/* ===================================================================
   CTA BANNER
=================================================================== */
.cta-banner {
  position: relative;
  padding: clamp(72px, 10vw, 120px) 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--cream);
  overflow: hidden;
  text-align: center;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(200,54,47,.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(200,54,47,.10) 0%, transparent 50%);
}
.cta-banner > .container { position: relative; z-index: 2; }
.cta-banner h2 { color: var(--cream); margin-bottom: 24px; }
.cta-banner h2 em { color: var(--brick-soft); font-style: italic; font-weight: 500; }
.cta-banner p {
  color: rgba(247,244,238,.8);
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto 36px;
}

/* ===================================================================
   FOOTER
=================================================================== */
.site-footer {
  background: var(--navy-deep);
  color: rgba(247,244,238,.75);
  padding: 80px 0 32px;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 64px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--cream);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand .accent { color: var(--brick-soft); }
.footer-tagline { color: rgba(247,244,238,.6); margin-bottom: 28px; max-width: 36ch; }

.footer-col h4 {
  font-family: 'Manrope', sans-serif;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brick-soft);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a:hover { color: var(--cream); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(247,244,238,.1);
  font-size: .85rem;
  color: rgba(247,244,238,.5);
  flex-wrap: wrap;
  gap: 16px;
}

/* ===================================================================
   PAGE HEADERS
=================================================================== */
.page-hero {
  padding: 180px 0 80px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  top: 50%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(200,54,47,.10) 0%, transparent 70%);
  transform: translateY(-50%);
  pointer-events: none;
}
.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  color: var(--ink-muted);
  margin-bottom: 24px;
}
.page-hero .breadcrumb a:hover { color: var(--brick); }
.page-hero h1 { max-width: 18ch; margin-bottom: 24px; }
.page-hero h1 em { color: var(--brick); font-style: italic; font-weight: 500; }
.page-hero .lead { max-width: 60ch; }

/* Service detail */
.service-detail { padding: clamp(72px, 10vw, 120px) 0; }
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 120px;
}
.service-detail-grid:nth-child(even) { direction: rtl; }
.service-detail-grid:nth-child(even) > * { direction: ltr; }
.service-detail-grid:last-child { margin-bottom: 0; }
@media (max-width: 800px) {
  .service-detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-detail-grid:nth-child(even) { direction: ltr; }
}
.service-detail-img {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background: var(--navy);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.service-detail-img .ill {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
}
.service-detail-img .ill svg { width: 60%; height: 60%; opacity: .9; }
.service-detail-img .number {
  position: absolute;
  top: 32px; left: 32px;
  font-family: 'Fraunces', serif;
  font-size: 4rem;
  font-weight: 800;
  color: var(--cream);
  line-height: 1;
  z-index: 3;
  text-shadow: 0 4px 24px rgba(0,0,0,.4);
}
.service-detail-img.has-photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.service-detail-img.has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,42,77,.10) 0%, rgba(15,42,77,.55) 100%);
  z-index: 1;
}
.service-detail-img.has-photo .ill { display: none; }
.service-detail-img:not(.has-photo)::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(200,54,47,.30) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,.06) 0%, transparent 50%);
}
.service-detail-content .eyebrow { margin-bottom: 20px; }
.service-detail-content h2 { margin-bottom: 24px; }
.service-detail-content p { color: var(--ink-muted); margin-bottom: 18px; line-height: 1.7; }
.service-detail-content .bullets {
  list-style: none;
  margin-top: 24px;
  display: grid;
  gap: 12px;
}
.service-detail-content .bullets li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: var(--cream-soft);
  border-radius: 12px;
  border-left: 3px solid var(--brick);
  font-weight: 500;
  color: var(--navy);
}
.service-detail-content .bullets li::before {
  content: "->";
  color: var(--brick);
  font-weight: 700;
}

/* About page */
.about-intro { padding: 120px 0; background: var(--cream); }
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) { .about-intro-grid { grid-template-columns: 1fr; } }
.about-intro-grid h2 { margin-bottom: 0; }
.about-intro-grid h2 em { color: var(--brick); font-style: italic; font-weight: 500; }
.about-intro-grid p { color: var(--ink-muted); line-height: 1.8; margin-bottom: 18px; }

.founders {
  padding: 120px 0;
  background: var(--cream-soft);
  border-top: 1px solid var(--line);
}
.founder-card {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 100px;
  background: var(--white);
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.founder-card:last-child { margin-bottom: 0; }
.founder-card.reverse { grid-template-columns: 1.3fr 1fr; }
.founder-card.reverse .founder-img { order: 2; }
@media (max-width: 800px) {
  .founder-card, .founder-card.reverse { grid-template-columns: 1fr; padding: 32px; gap: 32px; }
  .founder-card.reverse .founder-img { order: 0; }
}
.founder-img {
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
}
.founder-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.founder-info .role {
  display: inline-block;
  padding: 6px 16px;
  background: var(--brick);
  color: var(--cream);
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.founder-info h3 { font-size: clamp(1.8rem, 2.6vw, 2.6rem); margin-bottom: 24px; }
.founder-info p { color: var(--ink-muted); line-height: 1.75; margin-bottom: 16px; }
.founder-info p strong { color: var(--navy); font-weight: 700; }

.values-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}
@media (max-width: 900px) { .values-grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .values-grid-4 { grid-template-columns: 1fr; } }
.value-card-dark {
  padding: 32px;
  border: 1px solid rgba(247,244,238,.15);
  border-radius: 16px;
  background: rgba(247,244,238,.03);
}
.value-card-dark .num {
  font-family: 'Fraunces', serif;
  font-size: 2.5rem;
  color: var(--brick-soft);
  margin-bottom: 12px;
}
.value-card-dark h4 { color: var(--cream); margin-bottom: 8px; }
.value-card-dark p { color: rgba(247,244,238,.7); font-size: .95rem; line-height: 1.6; }

/* Contact */
.contact-section { padding: 80px 0 120px; background: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-card {
  background: var(--navy);
  color: var(--cream);
  padding: 48px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.contact-info-card::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(200,54,47,.30) 0%, transparent 70%);
}
.contact-info-card h3 { color: var(--cream); margin-bottom: 32px; position: relative; }
.contact-info-card h3 em { color: var(--brick-soft); font-style: italic; font-weight: 500; }

.contact-method {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(247,244,238,.1);
  position: relative;
}
.contact-method:last-of-type { border-bottom: none; }
.contact-method-icon {
  width: 48px; height: 48px;
  background: rgba(247,244,238,.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brick-soft);
  flex-shrink: 0;
  transition: all .3s ease;
}
.contact-method:hover .contact-method-icon {
  background: var(--brick);
  color: var(--cream);
}
.contact-method .label {
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(247,244,238,.5);
  margin-bottom: 4px;
}
.contact-method .value {
  color: var(--cream);
  font-size: 1.1rem;
  font-weight: 600;
}

.contact-form {
  background: var(--white);
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.contact-form h3 { margin-bottom: 8px; }
.contact-form .form-sub { color: var(--ink-muted); margin-bottom: 32px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--cream-soft);
  border: 1.5px solid transparent;
  border-radius: 12px;
  color: var(--ink);
  transition: all .25s ease;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--brick);
  background: var(--white);
}
.form-field textarea { resize: vertical; min-height: 130px; }

/* Jobs */
.jobs-intro { padding: 60px 0 30px; background: var(--cream); }
.jobs-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
@media (max-width: 700px) { .jobs-stats { grid-template-columns: 1fr 1fr; } }
.stat-item { text-align: center; }
.stat-item .num {
  font-family: 'Fraunces', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--brick);
  line-height: 1;
  display: block;
}
.stat-item .lbl { font-size: .9rem; color: var(--ink-muted); margin-top: 8px; }

.job-list-section { padding: 60px 0 120px; background: var(--cream); }
.job-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 24px;
  transition: all .35s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.job-card:hover { border-color: var(--brick); transform: translateY(-3px); box-shadow: var(--shadow); }
.job-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.job-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(200,54,47,.1);
  color: var(--brick);
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.job-card h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); margin-bottom: 8px; }
.job-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: .9rem;
  color: var(--ink-muted);
}
.job-meta span { display: flex; align-items: center; gap: 6px; }

.job-body {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}
@media (max-width: 800px) { .job-body { grid-template-columns: 1fr; } }
.job-body h4 {
  font-family: 'Manrope', sans-serif;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brick);
  margin-bottom: 14px;
}
.job-body ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.job-body ul li {
  font-size: .92rem;
  color: var(--ink);
  padding-left: 20px;
  position: relative;
}
.job-body ul li::before {
  content: ".";
  color: var(--brick);
  position: absolute;
  left: 6px;
  font-weight: 700;
  top: -8px;
  font-size: 1.4em;
}

.spontaneous-card {
  margin-top: 80px;
  text-align: center;
  padding: 64px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.spontaneous-card h3 {
  margin-top: 16px;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
}
.spontaneous-card p {
  color: var(--ink-muted);
  margin: 16px auto 32px;
  max-width: 540px;
}

/* ===================================================================
   ANIMATIONS
=================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal-stagger.in-view > *:nth-child(1) { transition-delay: .05s; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: .15s; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: .25s; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: .35s; }
.reveal-stagger.in-view > *:nth-child(5) { transition-delay: .45s; }
.reveal-stagger.in-view > *:nth-child(6) { transition-delay: .55s; }
.reveal-stagger.in-view > * {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}

/* ===================================================================
   WordPress overrides
=================================================================== */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.alignwide, .alignfull { max-width: 100%; }
