/* ============================================================
   Munn & Orth PLLC — Site Stylesheet
   Modern / Minimal — Navy, White, Gold
   ============================================================ */

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

/* ===== CSS Variables ===== */
:root {
  --navy:        #0A1B2D;
  --navy-mid:    #11223A;
  --navy-light:  #182E4A;
  --gold:        #b89a5a;
  --gold-light:  #d4b97a;
  --white:       #ffffff;
  --off-white:   #f7f6f3;
  --text:        #1a1a1a;
  --text-muted:  #6b6868;
  --border:      #dedad4;
  --font-serif:  'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:   'Montserrat', Arial, sans-serif;
  --max-width:   1160px;
  --nav-height:  80px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.1rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--font-sans); }
p  { font-size: 0.95rem; line-height: 1.85; color: var(--text-muted); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ===== Layout Helpers ===== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}
.section { padding: 6rem 0; }
.section--dark { background: var(--navy); }
.section--off { background: var(--off-white); }
.text-center { text-align: center; }
.divider {
  width: 48px; height: 1px;
  background: var(--gold);
  margin: 1.5rem 0;
}
.divider--center { margin: 1.5rem auto; }

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--navy);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.35); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.nav__logo img {
  height: 48px;
  width: auto;
  border-radius: 3px;
}
.nav__logo-text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.03em;
  line-height: 1.2;
}
.nav__logo-text span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 3px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav__links a,
.nav__dropdown > span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
  cursor: pointer;
}
.nav__links a:hover,
.nav__dropdown > span:hover { color: var(--gold-light); }
.nav__links a.active { color: var(--gold); }

/* Dropdown */
.nav__dropdown { position: relative; }
.nav__dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 1.2rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-top: 2px solid var(--gold);
  min-width: 220px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
  padding: 0.5rem 0;
}

/* Invisible bridge fills the gap so hover isn't lost */
.nav__dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -1rem;
  right: -1rem;
  height: 1.2rem;
}
.nav__dropdown:hover .nav__dropdown-menu { display: block; }
.nav__dropdown-menu a {
  display: block;
  padding: 0.75rem 1.4rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy) !important;
  transition: background 0.2s, color 0.2s;
}
.nav__dropdown-menu a:hover {
  background: var(--off-white);
  color: var(--gold) !important;
}

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  background: var(--navy);
  background-image: url('https://images.unsplash.com/photo-1746591948886-6812d011acdc?w=1600&q=80&fit=crop');
  background-size: cover;
  background-position: center 40%;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,27,45,0.88) 0%, rgba(17,34,58,0.80) 100%);
  z-index: 0;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 80% 50%, rgba(184,154,90,0.07) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(184,154,90,0.04) 0%, transparent 50%);
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 4rem 0;
}
.hero__content .eyebrow { margin-bottom: 1.5rem; }
.hero__content h1 {
  color: var(--white);
  font-weight: 300;
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}
.hero__content h1 em {
  font-style: normal;
  font-weight: 500;
  color: var(--gold-light);
}
.hero__content p {
  color: rgba(255,255,255,0.72);
  font-size: 1rem;
  max-width: 560px;
  margin-bottom: 2.5rem;
}
.hero__logo {
  margin-bottom: 3rem;
}
.hero__logo img {
  height: 120px;
  width: auto;
  border-radius: 4px;
  opacity: 0.92;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}
.btn--primary {
  background: var(--gold);
  color: var(--navy);
}
.btn--primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(184,154,90,0.35);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
}
.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}
.btn--outline-navy {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}
.btn--outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

/* ===== Intro Strip ===== */
.intro-strip {
  background: var(--gold);
  padding: 1.4rem 0;
}
.intro-strip p {
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  margin: 0;
}

/* ===== About Section (Home) ===== */
.about-home {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-home__image {
  position: relative;
}
.about-home__image img {
  width: 100%;
  border-radius: 2px;
}
.about-home__image::before {
  content: '';
  position: absolute;
  top: -20px; left: -20px;
  width: 100%; height: 100%;
  border: 1px solid var(--gold);
  border-radius: 2px;
  z-index: -1;
}
.about-home h2 { margin-bottom: 1rem; }
.about-home p  { margin-bottom: 1.2rem; }

/* ===== Practice Areas ===== */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 3.5rem;
}
.practice-card {
  background: var(--off-white);
  padding: 2.5rem 2rem;
  transition: background 0.25s, transform 0.25s;
  position: relative;
  overflow: hidden;
}
.practice-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.practice-card:hover { background: var(--white); transform: translateY(-3px); }
.practice-card:hover::before { transform: scaleX(1); }
.practice-card__num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--border);
  line-height: 1;
  margin-bottom: 1rem;
}
.practice-card h3 { font-size: 1.15rem; margin-bottom: 0.75rem; color: var(--navy); }
.practice-card p { font-size: 0.88rem; }

/* ===== Attorneys Section ===== */
.attorneys-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3.5rem;
}
.attorney-card {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  transition: all 0.2s;
}
.attorney-card__photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: var(--off-white);
  margin-bottom: 1.5rem;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.attorney-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.attorney-card__photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--off-white);
  margin-bottom: 1.5rem;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.attorney-card__photo-placeholder .initials {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  color: var(--border);
}
.attorney-card h3 { color: var(--navy); margin-bottom: 0.3rem; }
.attorney-card .title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.attorney-card p { font-size: 0.9rem; margin-bottom: 1.2rem; }
.attorney-card .btn { font-size: 0.65rem; padding: 0.7rem 1.6rem; }

/* ===== CTA Banner ===== */
.cta-banner {
  background: var(--navy);
  padding: 5rem 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.6); max-width: 500px; margin: 0 auto 2.5rem; }

/* ===== Page Banner ===== */
.page-banner {
  background: var(--navy);
  padding: 8rem 0 4rem;
  margin-top: var(--nav-height);
}
.page-banner .eyebrow { margin-bottom: 1rem; }
.page-banner h1 { color: var(--white); font-weight: 300; }
.page-banner .divider { background: var(--gold); margin: 1.5rem 0 0; }

/* ===== About Page ===== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}
.about-intro__logo img {
  width: 100%;
  max-width: 320px;
  border-radius: 3px;
}
.about-intro h2 { margin-bottom: 1rem; }
.about-intro p  { margin-bottom: 1.2rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}
.value-item { border-top: 1px solid var(--border); padding-top: 1.5rem; }
.value-item h4 { color: var(--navy); margin-bottom: 0.75rem; font-size: 0.78rem; }
.value-item p  { font-size: 0.88rem; }

/* ===== Attorney Bio Page ===== */
.bio-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 5rem;
  align-items: start;
}
.bio-sidebar__photo {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--off-white);
  border-radius: 2px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.bio-sidebar__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.bio-sidebar__photo .initials {
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--border);
}
.bio-sidebar h3 { color: var(--navy); margin-bottom: 0.3rem; }
.bio-sidebar .title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.bio-sidebar__contact {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  margin-top: 1.25rem;
}
.bio-sidebar__contact p {
  font-size: 0.82rem;
  margin-bottom: 0.4rem;
}
.bio-sidebar__contact a { color: var(--gold); font-weight: 500; }
.bio-body h2 { margin-bottom: 1.5rem; }
.bio-body p  { margin-bottom: 1.2rem; }
.bio-body h4 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.6rem;
  margin: 2.5rem 0 1rem;
}
.bio-body ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.2rem;
}
.bio-body ul li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.bio-body ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ===== Practice Areas Page ===== */
.practice-list { margin-top: 0; }
.practice-item {
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 2.5rem;
  align-items: start;
}
.practice-item:first-child { border-top: 1px solid var(--border); }
.practice-item__num {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--border);
  line-height: 1;
  padding-top: 0.2rem;
}
.practice-item h3 { color: var(--navy); margin-bottom: 0.75rem; }
.practice-item p  { font-size: 0.92rem; margin-bottom: 0.8rem; }

/* ===== Contact Page ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}
.contact-info h3 { color: var(--navy); margin-bottom: 1.5rem; }
.contact-info__item {
  margin-bottom: 1.75rem;
}
.contact-info__item .label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.contact-info__item p {
  font-size: 0.9rem;
  color: var(--text);
}
.contact-info__item a { color: var(--navy); transition: color 0.2s; }
.contact-info__item a:hover { color: var(--gold); }

.contact-form { }
.contact-form h3 { color: var(--navy); margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text);
  transition: border-color 0.2s;
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--navy); }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

/* ===== Footer ===== */
.footer {
  background: var(--navy);
  padding: 4rem 0 2rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__brand img {
  height: 56px;
  width: auto;
  border-radius: 3px;
  margin-bottom: 1.2rem;
  opacity: 0.85;
}
.footer__brand p {
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
  max-width: 280px;
}
.footer h5 {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.footer__links li { margin-bottom: 0.6rem; }
.footer__links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--white); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__bottom p {
  color: rgba(255,255,255,0.3);
  font-size: 0.72rem;
  margin: 0;
}
.footer__bottom a { color: rgba(255,255,255,0.3); transition: color 0.2s; }
.footer__bottom a:hover { color: var(--gold); }

/* ===== Scroll Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .about-home { grid-template-columns: 1fr; gap: 3rem; }
  .about-home__image { display: none; }
  .bio-layout { grid-template-columns: 240px 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  :root { --nav-height: 68px; }
  .nav__links { display: none; flex-direction: column; position: absolute; top: var(--nav-height); left: 0; right: 0; background: var(--navy); padding: 1.5rem 2rem; gap: 1.25rem; border-top: 1px solid rgba(255,255,255,0.1); }
  .nav__links.open { display: flex; }
  .nav__toggle { display: flex; }
  .nav__dropdown-menu { position: static; transform: none; box-shadow: none; border-top: none; border-left: 2px solid var(--gold); padding: 0.5rem 0 0.5rem 1rem; background: transparent; min-width: auto; display: none; }
  .nav__dropdown-menu a { color: rgba(255,255,255,0.7) !important; padding: 0.4rem 0; }
  .nav__dropdown-menu a:hover { background: transparent; color: var(--gold-light) !important; }
  .nav__dropdown.open .nav__dropdown-menu { display: block; }
  .nav__dropdown > span { display: flex; justify-content: space-between; align-items: center; }
  .practice-grid { grid-template-columns: 1fr; }
  .attorneys-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; gap: 2.5rem; }
  .bio-layout { grid-template-columns: 1fr; }
  .bio-sidebar { display: grid; grid-template-columns: 160px 1fr; gap: 1.5rem; align-items: start; }
  .bio-sidebar__photo { margin-bottom: 0; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .practice-item { grid-template-columns: 40px 1fr; gap: 1.5rem; }
  .hero__content h1 { font-size: clamp(2rem, 7vw, 3.2rem); }
}

@media (max-width: 480px) {
  .section { padding: 4rem 0; }
  .container { padding: 0 1.25rem; }
  .bio-sidebar { grid-template-columns: 1fr; }
}
