:root {
  --burgundy: #5B0E2D;
  --burgundy-deep: #3D0820;
  --burgundy-light: #7A1D44;
  --gold: #C9A24B;
  --gold-light: #E0C078;
  --gold-dark: #A8842F;
  --cream: #F7F1E6;
  --bone: #FFFDF8;
  --ink: #1A0B12;
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}
::selection { background: var(--burgundy); color: var(--cream); }

h1, h2, h3, h4, .display { font-family: 'Cormorant Garamond', Georgia, serif; letter-spacing: -0.02em; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Layout */
.container-x { max-width: 1180px; margin: 0 auto; padding: 0 24px; width: 100%; }
@media (min-width: 768px) { .container-x { padding: 0 40px; } }

.section { padding: 96px 0; }
@media (min-width: 768px) { .section { padding: 128px 0; } }

.section-tight { padding: 80px 0; }

/* Type */
.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold-dark);
  font-weight: 500;
  font-family: 'Manrope', sans-serif;
}
.display-h1 {
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1.02;
  margin: 0;
  font-weight: 600;
}
.display-h2 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.07;
  margin: 0;
  font-weight: 600;
}
.italic { font-style: italic; }
.text-burgundy { color: var(--burgundy); }
.text-gold { color: var(--gold); }
.text-gold-dark { color: var(--gold-dark); }
.text-cream { color: var(--cream); }
.text-muted { color: rgba(26, 11, 18, 0.7); }
.text-soft { color: rgba(26, 11, 18, 0.55); }

/* Backgrounds */
.bg-bone { background: var(--bone); }
.bg-cream { background: var(--cream); }
.bg-burgundy { background: var(--burgundy); }
.bg-burgundy-deep { background: var(--burgundy-deep); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Manrope', sans-serif;
  cursor: pointer;
  transition: all 300ms var(--ease-soft);
  border: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--ink);
}
.btn-primary:hover {
  background: var(--gold-light);
  box-shadow: 0 8px 30px -8px rgba(201,162,75,0.6);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--burgundy);
  border: 1px solid rgba(91, 14, 45, 0.3);
}
.btn-ghost:hover {
  background: var(--burgundy);
  color: var(--cream);
  border-color: var(--burgundy);
}
.btn-on-dark {
  background: #D9C5A0;
  color: #1A3622;
  padding: 14px 32px;
}
.btn-on-dark:hover {
  background: #e8d6b8;
  box-shadow: 0 10px 40px -10px rgba(217,197,160,0.6);
  transform: translateY(-1px);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 500ms var(--ease-soft);
  background: transparent;
}
.site-header .brand,
.site-header .nav a {
  color: rgba(255,255,255,0.85);
  transition: color 500ms var(--ease-soft);
}
.site-header .nav a:hover { color: var(--gold); }
.site-header .menu-toggle span { background: #fff; transition: background 500ms var(--ease-soft), transform 300ms, opacity 300ms; }

.site-header.scrolled {
  background: rgba(255,253,248,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(91,14,45,0.1);
}
.site-header.scrolled .brand { color: var(--burgundy); }
.site-header.scrolled .nav a { color: rgba(26,11,18,0.75); }
.site-header.scrolled .nav a:hover { color: var(--burgundy); }
.site-header.scrolled .menu-toggle span { background: var(--ink); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.brand {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--burgundy);
}
.nav { display: none; align-items: center; gap: 32px; }
@media (min-width: 880px) { .nav { display: flex; } }
.nav a {
  font-size: 14px;
  color: rgba(26,11,18,0.75);
  transition: color 200ms;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--burgundy); }

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
}
@media (min-width: 880px) { .menu-toggle, .header-cta-mobile { display: none; } }
.menu-toggle span { display: block; height: 2px; width: 24px; background: var(--ink); transition: transform 300ms, opacity 300ms; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-nav {
  display: none;
  background: var(--bone);
  border-top: 1px solid rgba(91,14,45,0.1);
}
.mobile-nav.open { display: block; }
.mobile-nav-inner { display: flex; flex-direction: column; gap: 16px; padding: 24px 0; }
.mobile-nav a { font-size: 16px; color: var(--ink); }

.header-cta-desktop { display: none; }
@media (min-width: 880px) { .header-cta-desktop { display: inline-flex; } }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bone);
  padding: 80px 0 96px;
}
@media (min-width: 768px) { .hero { padding: 112px 0 128px; } }
.hero-content { position: relative; }

/* Video Hero */
.hero--video {
  background: #000;
  padding: 0;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
}
@media (min-width: 768px) { .hero--video { padding: 0; } }

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}
@media (min-width: 768px) { .hero__video { object-position: center center; } }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0.15) 70%, transparent 100%);
}

.hero-content--video {
  position: relative;
  z-index: 2;
  padding-bottom: 64px;
}

.hero--video .btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero__scroll-pill {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 24px;
  height: 40px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.4);
  padding-top: 8px;
  transition: border-color 300ms;
}
.hero__scroll:hover .hero__scroll-pill { border-color: var(--gold); }
.hero__scroll-dot {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: scroll-bounce 1.5s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

.hero-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 7fr 5fr;
    gap: 64px;
  }
}

.hero h1 { margin-top: 24px; color: var(--burgundy); }
.hero p.lede {
  margin-top: 28px;
  max-width: 560px;
  font-size: clamp(17px, 1.3vw, 20px);
  color: rgba(26,11,18,0.75);
}
.hero-ctas { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px; }

.hero-portrait {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--burgundy-deep);
  aspect-ratio: 4 / 5;
  box-shadow: 0 30px 60px -30px rgba(91,14,45,0.35);
}
.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.hero-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201,162,75,0.25);
  border-radius: inherit;
  pointer-events: none;
}
.hero-portrait-tag {
  position: absolute;
  bottom: 20px; left: 20px;
  background: rgba(26,11,18,0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--cream);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.gold-rule {
  display: block;
  height: 1px;
  width: 48px;
  background: var(--gold);
  transform-origin: left center;
  transition: transform 500ms var(--ease-soft);
}

/* Press strip — auto-scrolling logo slider */
.press {
  background: var(--cream);
  border-top: 1px solid rgba(91,14,45,0.1);
  border-bottom: 1px solid rgba(91,14,45,0.1);
  padding: 72px 0;
}
.press .eyebrow { margin-bottom: 40px; }

.press-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  /* Soft fade on the left and right edges so logos slide in/out gracefully */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.press-track {
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  animation: press-scroll 35s linear infinite;
}
@media (min-width: 768px) {
  .press-track { gap: 112px; animation-duration: 45s; }
}
@keyframes press-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .press-track { animation: none; transform: none; }
  .press-marquee { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
}

.press-logo {
  flex-shrink: 0;
  height: 56px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  /* Multiply drops the cream/white background of each logo into the page,
     so the logo's original color pops without a square frame around it. */
  mix-blend-mode: multiply;
}
@media (min-width: 768px) { .press-logo { height: 72px; max-width: 260px; } }

/* HP Magazine ships as white text on a black square. Inverting flips it to
   black on white; multiply then drops the white into the cream bg. */
.press-logo.invert { filter: invert(1); }

/* Framework / cards */
.grid-3 { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.grid-cards { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-cards { grid-template-columns: repeat(3, 1fr); } }

.framework-step { border-top: 1px solid rgba(91,14,45,0.2); padding-top: 32px; }
.framework-step .num { font-family: 'Cormorant Garamond', Georgia, serif; color: var(--gold); font-size: 30px; }
.framework-step h3 { font-size: 28px; margin: 24px 0 16px; color: var(--burgundy); }
.framework-step p { color: rgba(26,11,18,0.7); margin: 0; }
.framework-step:hover .gold-rule { transform: scaleX(1.67); }

/* Service cards — restrained hover (no color swap) */
.service-card {
  display: block;
  height: 100%;
  background: var(--cream);
  border: 1px solid rgba(91,14,45,0.15);
  border-radius: 18px;
  padding: 32px;
  color: inherit;
  transition: transform 500ms var(--ease-soft),
              border-color 500ms var(--ease-soft),
              box-shadow 500ms var(--ease-soft);
}
.service-card:hover {
  transform: translateY(-2px);
  border-color: rgba(201,162,75,0.5);
  box-shadow: 0 12px 30px -18px rgba(91,14,45,0.18);
}
.service-card .num { font-family: 'Cormorant Garamond', Georgia, serif; color: var(--gold); font-size: 22px; }
.service-card .arrow {
  font-size: 22px;
  color: rgba(91,14,45,0.45);
  transition: color 300ms var(--ease-soft), transform 300ms var(--ease-soft);
}
.service-card:hover .arrow { color: var(--gold); transform: translateX(4px); }
.service-card .top { display: flex; justify-content: space-between; align-items: center; }
.service-card h3 { font-size: 26px; margin: 32px 0 8px; color: var(--burgundy); }
.service-card .tagline { font-size: 14px; font-style: italic; color: var(--gold-dark); margin: 0; }
.service-card .summary { margin-top: 20px; font-size: 14px; color: rgba(26,11,18,0.7); line-height: 1.65; }

/* Portrait — placeholder OR real photo */
.portrait {
  aspect-ratio: 4 / 5;
  width: 100%;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portrait.has-photo { background: var(--burgundy-deep); }
.portrait.has-photo.on-light { background: var(--cream); }
.portrait.has-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.portrait.has-photo::after {
  content: '';
  position: absolute; inset: 0;
  border: 1px solid rgba(201,162,75,0.25);
  border-radius: inherit;
  pointer-events: none;
}
.portrait.placeholder {
  background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light), var(--gold-dark));
}
.portrait.placeholder::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, #fff 0, transparent 40%);
  opacity: 0.3;
  mix-blend-mode: overlay;
}
.portrait .initials {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 96px;
  color: rgba(247,241,230,0.85);
  position: relative;
  z-index: 1;
}
.portrait .label {
  position: absolute; bottom: 20px; left: 20px; right: 20px;
  text-align: center;
  color: rgba(247,241,230,0.6);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  z-index: 1;
}

.about-grid { display: grid; gap: 48px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 768px) { .about-grid { grid-template-columns: 5fr 7fr; } }

/* Portrait gallery — used on About page */
.portrait-gallery {
  margin-top: 56px;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .portrait-gallery { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.portrait-gallery figure {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--burgundy-deep);
  aspect-ratio: 3 / 4;
}
.portrait-gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.portrait-gallery figcaption {
  position: absolute;
  bottom: 16px; left: 16px; right: 16px;
  background: rgba(26,11,18,0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--cream);
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
}
.portrait-gallery figure::after {
  content: '';
  position: absolute; inset: 0;
  border: 1px solid rgba(201,162,75,0.2);
  border-radius: inherit;
  pointer-events: none;
}

/* Testimonials */
.testimonial {
  height: 100%;
  background: var(--cream);
  border-radius: 18px;
  padding: 32px;
  border: 1px solid rgba(91,14,45,0.1);
  position: relative;
  margin: 0;
}
.testimonial::before {
  content: '“';
  position: absolute;
  top: -16px; left: 24px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 96px;
  color: var(--gold);
  line-height: 1;
  user-select: none;
}
.testimonial blockquote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(26,11,18,0.85);
  padding-top: 16px;
  margin: 0;
}
.testimonial figcaption {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(91,14,45,0.15);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold-dark);
}

/* CTA band */
.cta-band {
  background: var(--burgundy);
  position: relative;
}
.cta-band .content { position: relative; }
.cta-band h2 { color: var(--cream); margin-top: 16px; max-width: 720px; }

/* Footer */
.site-footer { background: #1A3622; color: #FDFBF7; }
.footer-grid {
  padding: 80px 0;
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 5fr 3fr 4fr; } }
.footer-grid h4 { color: #D9C5A0; font-size: 12px; text-transform: uppercase; letter-spacing: 0.22em; margin: 0 0 20px; font-family: 'Manrope', sans-serif; font-weight: 500; }
.footer-brand { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 26px; color: #FDFBF7; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-grid ul a { font-size: 14px; color: rgba(253,251,247,0.8); transition: color 200ms; }
.footer-grid ul a:hover, .footer-grid .email-link:hover { color: #D9C5A0; }
.email-link { font-size: 14px; color: rgba(253,251,247,0.8); }
.values-row { display: flex; gap: 24px; font-size: 14px; color: rgba(253,251,247,0.8); margin-top: 12px; }

.footer-bar {
  border-top: 1px solid rgba(253,251,247,0.15);
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(253,251,247,0.5);
  gap: 8px;
}
@media (min-width: 768px) { .footer-bar { flex-direction: row; } }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-soft), transform 700ms var(--ease-soft); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Service detail */
.service-hero { padding: 128px 0 80px; }
@media (min-width: 768px) { .service-hero { padding: 160px 0 112px; } }
.service-hero h1 { margin-top: 32px; max-width: 920px; }
.service-hero p { margin-top: 32px; max-width: 640px; font-size: clamp(17px, 1.4vw, 21px); color: rgba(26,11,18,0.75); }
.service-hero .ctas { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; }
.service-meta { display: flex; align-items: center; gap: 16px; }
.service-meta .num { font-family: 'Cormorant Garamond', Georgia, serif; color: var(--gold); font-size: 22px; }

.focus-list { list-style: none; padding: 0; margin: 56px 0 0; display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .focus-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .focus-list { grid-template-columns: repeat(3, 1fr); } }
.focus-item { border-top: 1px solid rgba(91,14,45,0.2); padding-top: 20px; }
.focus-item p { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 20px; color: var(--burgundy); margin: 16px 0 0; }
.focus-item:hover .gold-rule { width: 80px; }

/* Misc */
.center { text-align: center; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mt-10 { margin-top: 40px; }
.max-w-prose { max-width: 68ch; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.value-card { border-top: 1px solid rgba(91,14,45,0.2); padding-top: 16px; text-align: center; }
.value-card .gold-rule { margin: 0 auto; }
.value-card p { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 20px; color: var(--burgundy); margin: 12px 0 0; }

/* Calendly */
.calendly-wrap { border-radius: 18px; overflow: hidden; border: 1px solid rgba(91,14,45,0.15); background: var(--cream); }
.calendly-inline-widget { min-width: 320px; height: 720px; }

/* Notes (small dev text) */
.note { font-size: 12px; color: rgba(26,11,18,0.5); margin-top: 24px; text-align: center; }
.note code { background: rgba(91,14,45,0.08); padding: 2px 6px; border-radius: 4px; font-size: 11px; }

/* Non-home pages: dark header text on light hero */
.site-header.light-hero {
  background: rgba(255,253,248,1);
  border-bottom: 1px solid rgba(91,14,45,0.1);
}
.site-header.light-hero .brand { color: var(--burgundy); }
.site-header.light-hero .nav a { color: rgba(26,11,18,0.9); }
.site-header.light-hero .nav a:hover { color: var(--burgundy); }
.site-header.light-hero .menu-toggle span { background: var(--ink); }
