/* ============================================================
   FLEMING ENTERTAINMENT LAW — SOHO Chic Redesign
   Display: Cormorant Garamond · UI/Body: DM Sans
   Palette: #2851CB blue · #0C1423 navy · #F6F4F0 ivory
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=DM+Sans:wght@300;400;500&display=swap');

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

:root {
  --blue:       #2851CB;
  --blue-mid:   #1C3899;
  --blue-pale:  #EBF0FA;
  --navy:       #0C1423;
  --ivory:      #F6F4F0;
  --stone:      #E0DCD6;
  --smoke:      #96928D;
  --charcoal:   #28282C;
  --body-text:  #46464C;
  --white:      #FFFFFF;
  --nav-h:      70px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', Arial, sans-serif;
  font-weight: 300;
  color: var(--charcoal);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  line-height: 1.75;
}

/* ── NAV ─────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  height: var(--nav-h);
  background: rgba(246, 244, 240, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  border-bottom: 1px solid var(--stone);
}

/* mix-blend-mode: multiply makes the logo's white bg
   invisible against the ivory nav background */
.nav-logo img {
  height: 44px;
  width: auto;
  display: block;
  mix-blend-mode: multiply;
  transition: opacity 0.2s;
}
.nav-logo img:hover { opacity: 0.75; }

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

.nav-links a {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--smoke);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--blue);
  transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--charcoal); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--charcoal); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--charcoal);
  transition: all 0.25s;
}

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
.label {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 18px;
}

.label-muted { color: var(--smoke); }

.rule {
  width: 28px;
  height: 1px;
  background: var(--stone);
  margin: 0 0 36px;
}

h2.display {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

h3.sub {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 44px 0 14px;
}

p.body {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.95;
  color: var(--body-text);
  margin-bottom: 22px;
}

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

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 38px;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
}

.btn-blue   { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-mid); }

.btn-outline-light {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.35);
}
.btn-outline-light:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255,255,255,0.06);
}

.btn-outline-dark {
  background: transparent;
  color: var(--charcoal);
  border: 1px solid var(--charcoal);
}
.btn-outline-dark:hover { background: var(--charcoal); color: var(--white); }

/* ── LAYOUT UTILITY ──────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 56px;
}

/* ── HOME HERO ───────────────────────────────────────────── */
.home-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.home-hero .hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.home-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(12,20,35,0.02) 0%,
    rgba(12,20,35,0.0)  35%,
    rgba(12,20,35,0.55) 68%,
    rgba(12,20,35,0.90) 100%
  );
}

.home-hero .hero-content {
  position: relative;
  z-index: 2;
  padding: 0 72px 80px;
}

.hero-eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

h1.hero-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(4.5rem, 10vw, 9rem);
  font-weight: 300;
  color: var(--white);
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}

.hero-tagline {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 44px;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── TAGLINE STRIP ───────────────────────────────────────── */
.tagline-strip {
  background: var(--blue);
  padding: 20px 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
}

.tagline-strip span {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

.tagline-strip .dot {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  flex-shrink: 0;
}

/* ── CARD GRID (Home) ────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--stone);
  gap: 1px;
}

.card {
  background: var(--ivory);
  padding: 56px 44px;
  transition: background 0.2s;
}

.card:hover { background: var(--white); }

.card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 14px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.card p {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--smoke);
  line-height: 1.85;
}

.card-link {
  display: inline-block;
  margin-top: 28px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.card-link:hover { border-bottom-color: var(--blue); }

/* ── DARK SECTION ────────────────────────────────────────── */
.dark-section {
  background: var(--navy);
  padding: 96px 56px;
}

.dark-section .label { color: rgba(255,255,255,0.35); }
.dark-section h2.display { color: var(--white); }
.dark-section p.body { color: rgba(255,255,255,0.55); }
.dark-section .rule { background: rgba(255,255,255,0.1); }
.dark-section h3.sub { color: rgba(255,255,255,0.35); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* ── PAGE INTRO (inner pages) ────────────────────────────── */
.page-intro {
  margin-top: var(--nav-h);
  padding: 88px 56px 76px;
  background: var(--ivory);
  border-bottom: 1px solid var(--stone);
}

h1.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300;
  color: var(--charcoal);
  letter-spacing: -0.025em;
  line-height: 0.95;
  margin-top: 8px;
}

/* ── BIO SPLIT LAYOUT ────────────────────────────────────── */
.bio-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.bio-photo-col {
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  overflow: hidden;
}

.bio-photo-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.bio-text-col {
  padding: 80px 72px;
  background: var(--ivory);
}

/* ── SERVICES LAYOUT ─────────────────────────────────────── */
.services-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 85vh;
}

.services-text-col {
  padding: 88px 72px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.services-photo-col {
  position: relative;
  overflow: hidden;
}

.services-photo-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.service-group { margin-bottom: 48px; }

.service-group-title {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--smoke);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--stone);
  margin-bottom: 6px;
}

.service-list {
  list-style: none;
}

.service-list li {
  font-size: 14px;
  font-weight: 300;
  color: var(--body-text);
  padding: 11px 0;
  border-bottom: 1px solid var(--stone);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: color 0.2s;
}

.service-list li:hover { color: var(--charcoal); }

.service-list li::before {
  content: '';
  display: block;
  width: 18px;
  height: 1px;
  background: var(--blue);
  flex-shrink: 0;
}

/* ── REPUTATION LAYOUT ───────────────────────────────────── */
.rep-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}

.rep-photo-col {
  position: relative;
  overflow: hidden;
}

.rep-photo-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.rep-text-col {
  padding: 88px 72px;
  background: var(--ivory);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pullquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.55;
  color: var(--charcoal);
  border-left: 2px solid var(--blue);
  padding-left: 28px;
  margin: 32px 0 40px;
}

/* ── CONTACT LAYOUT ──────────────────────────────────────── */
.contact-layout {
  margin-top: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  min-height: calc(100vh - var(--nav-h));
}

.contact-aside {
  background: var(--navy);
  padding: 80px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-aside .label { color: rgba(255,255,255,0.3); }
.contact-aside h2.display { color: var(--white); }
.contact-aside p.body { color: rgba(255,255,255,0.5); font-size: 14px; }
.contact-aside .rule { background: rgba(255,255,255,0.1); }

.contact-info-block { margin-top: 48px; }

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.contact-icon { color: var(--blue); flex-shrink: 0; width: 15px; margin-top: 3px; }

.contact-info-item a,
.contact-info-item span {
  font-size: 13.5px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
  line-height: 1.5;
}
.contact-info-item a:hover { color: var(--white); }

.contact-form-col {
  background: var(--white);
  padding: 80px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ── FORM ────────────────────────────────────────────────── */
.form-group { margin-bottom: 28px; }

.form-group label {
  display: block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--smoke);
  margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--stone);
  background: transparent;
  padding: 8px 0 12px;
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus { border-bottom-color: var(--blue); }

.form-group textarea { min-height: 130px; resize: vertical; }

.form-note {
  font-size: 10.5px;
  font-weight: 300;
  color: var(--smoke);
  margin-top: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
}
.form-note a { color: var(--blue); text-decoration: none; }
.form-note a:hover { text-decoration: underline; }

/* ── CTA SECTION ─────────────────────────────────────────── */
.cta-section {
  padding: 112px 56px;
  text-align: center;
  background: var(--ivory);
  border-top: 1px solid var(--stone);
}

.cta-section h2.display { margin-bottom: 32px; }

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  background: var(--navy);
  padding: 64px 56px 44px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* Both logos sit side-by-side in a flex row */
.footer-logos {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Logo on dark bg: wrap in ivory pill so it reads cleanly */
.footer-logo a {
  display: inline-flex;
  background: var(--ivory);
  padding: 8px 18px;
  transition: opacity 0.2s;
}

.footer-logo a:hover { opacity: 0.8; }

.footer-logo img {
  height: 36px;
  width: auto;
  display: block;
}

.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.75); }

.footer-copy {
  font-size: 10px;
  font-weight: 300;
  color: rgba(255,255,255,0.2);
  text-align: right;
  line-height: 1.8;
  letter-spacing: 0.02em;
}
.footer-copy a { color: rgba(255,255,255,0.3); text-decoration: none; }
.footer-copy a:hover { color: rgba(255,255,255,0.6); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 960px) {
  :root { --nav-h: 60px; }

  nav { padding: 0 24px; }
  .nav-toggle { display: flex; }

  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(246,244,240,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    border-bottom: 1px solid var(--stone);
  }
  .nav-links.open { max-height: 560px; }
  .nav-links a { display: block; padding: 15px 24px; border-bottom: 1px solid var(--stone); }
  .nav-links a::after { display: none; }

  .home-hero .hero-content { padding: 0 28px 64px; }
  h1.hero-name { font-size: clamp(3.2rem, 12vw, 5rem); }

  .tagline-strip { gap: 16px; padding: 18px 24px; }
  .dot { display: none; }

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

  .dark-section { padding: 64px 24px; }
  .dark-section .two-col { grid-template-columns: 1fr; gap: 32px; }

  .page-intro { padding: 64px 24px 56px; }

  .bio-split { grid-template-columns: 1fr; }
  .bio-photo-col {
    position: relative;
    top: 0;
    height: 65vw;
    min-height: 300px;
  }
  .bio-text-col { padding: 52px 24px; }

  .services-feature { grid-template-columns: 1fr; }
  .services-photo-col { order: -1; min-height: 60vw; }
  .services-text-col { padding: 52px 24px; justify-content: flex-start; }

  .rep-feature { grid-template-columns: 1fr; }
  .rep-photo-col { min-height: 60vw; }
  .rep-text-col { padding: 52px 24px; justify-content: flex-start; }

  .contact-layout { grid-template-columns: 1fr; min-height: auto; }
  .contact-aside { padding: 52px 24px; }
  .contact-form-col { padding: 52px 24px; }

  .cta-section { padding: 72px 24px; }

  .container { padding: 0 24px; }

  footer {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 52px 24px 36px;
    gap: 28px;
  }
  .footer-logos { justify-self: center; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
  .footer-copy { text-align: center; }
}
