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

:root {
  --navy: #0f2a44;
  --navy-dark: #081a2d;
  --navy-light: #1d4568;
  --gold: #b08a4a;
  --gold-dark: #8e6d38;
  --ink: #1c2a3a;
  --text: #2a3644;
  --text-muted: #5a6775;
  --paper: #fbf9f5;
  --paper-alt: #f3efe7;
  --line: #dcd4c3;
  --white: #ffffff;
  --shadow-sm: 0 2px 10px rgba(15, 42, 68, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 42, 68, 0.10);
  --shadow-lg: 0 20px 60px rgba(15, 42, 68, 0.15);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .serif {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

a { color: var(--navy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }

img { max-width: 100%; display: block; }

/* ── TOP STRIP ── */
.top-strip {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.top-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.top-strip a { color: rgba(255,255,255,0.85); }
.top-strip a:hover { color: var(--gold); }
.top-strip-contact { display: flex; gap: 22px; flex-wrap: wrap; }

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s;
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  gap: 28px;
}
.nav-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-brand-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.nav-brand-title {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 3px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}
.nav-links a {
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 8px 0;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--navy); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links .btn-cv {
  background: var(--navy);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 2px;
  letter-spacing: 0.12em;
  transition: background .2s;
}
.nav-links .btn-cv::after { display: none; }
.nav-links .btn-cv:hover { background: var(--gold); }
.burger {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--navy);
  padding: 4px 8px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all .25s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-light:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

/* ── HERO ── */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 90px 28px 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(176, 138, 74, 0.15), transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(176, 138, 74, 0.08), transparent 50%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 70px;
  align-items: center;
  position: relative;
}
.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  font-weight: 600;
}
.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: 0;
}
.hero h1 .hero-accent {
  color: var(--gold);
  font-style: italic;
}
.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.75;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--navy-light);
  border: 1px solid rgba(176, 138, 74, 0.4);
}
.hero-photo::before {
  content: 'RM';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  color: rgba(176, 138, 74, 0.4);
  letter-spacing: 0.08em;
}
.hero-photo img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-photo::after {
  content: '';
  position: absolute;
  top: 18px;
  left: 18px;
  right: -18px;
  bottom: -18px;
  border: 1px solid var(--gold);
  z-index: -1;
}

/* ── PAGE HEADER (non-home) ── */
.page-header {
  background: var(--navy);
  color: var(--white);
  padding: 70px 28px 60px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center right, rgba(176, 138, 74, 0.12), transparent 60%);
}
.page-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.page-header-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  font-weight: 600;
}
.page-header h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  max-width: 800px;
}
.page-header p {
  color: rgba(255,255,255,0.75);
  max-width: 680px;
  margin-top: 18px;
  font-size: 1.05rem;
}
.breadcrumbs {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 22px;
}
.breadcrumbs a { color: rgba(255,255,255,0.85); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs span { margin: 0 10px; color: rgba(255,255,255,0.4); }

/* ── SECTIONS ── */
.section {
  padding: 100px 28px;
}
.section-alt {
  background: var(--paper-alt);
}
.section-dark {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.container {
  max-width: 1200px;
  margin: 0 auto;
}
.container-narrow {
  max-width: 880px;
  margin: 0 auto;
}
.section-eyebrow {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  font-weight: 600;
}
.section-title {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  margin-bottom: 20px;
}
.section-intro {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 680px;
  margin-bottom: 50px;
}
.section-center {
  text-align: center;
}
.section-center .section-intro {
  margin-left: auto;
  margin-right: auto;
}
.divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 0 0 22px;
}
.section-center .divider {
  margin-left: auto;
  margin-right: auto;
}

/* ── ABOUT / INTRO ── */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  align-items: center;
}
.intro-image {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--paper-alt);
  border: 1px solid var(--line);
}
.intro-image::before {
  content: 'RM';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  color: var(--line);
  letter-spacing: 0.08em;
}
.intro-image img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.intro-image::after {
  content: '';
  position: absolute;
  top: -18px;
  left: -18px;
  right: 18px;
  bottom: 18px;
  border: 1px solid var(--gold);
  z-index: -1;
}
.intro-text p {
  margin-bottom: 18px;
  color: var(--text);
}
.intro-text p.lead {
  font-size: 1.15rem;
  color: var(--ink);
  line-height: 1.6;
}
.sig-line {
  margin-top: 26px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--navy);
}

/* ── PRACTICE AREAS GRID ── */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
.practice-card {
  background: var(--paper);
  padding: 42px 32px;
  transition: background .3s ease, transform .3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.practice-card:hover {
  background: var(--white);
  transform: translateY(-2px);
}
.practice-card .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  color: var(--gold);
  letter-spacing: 0.2em;
  margin-bottom: 18px;
}
.practice-card h3 {
  font-size: 1.55rem;
  margin-bottom: 14px;
}
.practice-card p {
  color: var(--text-muted);
  font-size: 0.96rem;
  margin-bottom: 22px;
  flex-grow: 1;
}
.practice-link {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--navy);
  align-self: flex-start;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
}
.practice-link:hover {
  color: var(--gold);
}

/* ── PRACTICE PAGE DETAIL ── */
.practice-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 60px;
  align-items: start;
}
.practice-body h3 {
  font-size: 1.5rem;
  margin: 36px 0 14px;
}
.practice-body h3:first-child { margin-top: 0; }
.practice-body p { margin-bottom: 16px; }
.practice-body ul {
  list-style: none;
  margin-bottom: 22px;
}
.practice-body ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--text);
}
.practice-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 10px;
  height: 1px;
  background: var(--gold);
}
.practice-sidebar {
  background: var(--paper-alt);
  padding: 32px;
  border-top: 3px solid var(--gold);
  position: sticky;
  top: 100px;
}
/* Portrait in page header (service pages) */
.page-header-grid {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 50px;
  align-items: center;
}
.page-header-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(176, 138, 74, 0.6);
}
.page-header-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 16%;
  display: block;
}
.page-header-photo::after {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(176, 138, 74, 0.5);
  pointer-events: none;
}
@media (max-width: 820px) {
  .page-header-grid { grid-template-columns: 1fr; gap: 30px; }
  .page-header-photo { order: -1; max-width: 200px; margin: 0 auto; }
}
.practice-sidebar h4 {
  font-size: 1.1rem;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.practice-sidebar ul {
  list-style: none;
}
.practice-sidebar ul li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--text-muted);
}
.practice-sidebar ul li:last-child { border-bottom: none; }
.practice-sidebar ul li strong {
  color: var(--ink);
  font-weight: 600;
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.practice-sidebar a.btn {
  margin-top: 22px;
  display: block;
  text-align: center;
}

/* ── EXPERIENCE / TIMELINE ── */
.timeline {
  position: relative;
  padding-left: 40px;
  margin-top: 20px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}
.timeline-item {
  position: relative;
  padding-bottom: 44px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -36px;
  top: 8px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--gold);
}
.timeline-date {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.timeline-item h3 {
  font-size: 1.4rem;
  margin: 4px 0 4px;
}
.timeline-org {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.98rem;
  margin-bottom: 12px;
}
.timeline-item ul {
  list-style: none;
  margin-top: 10px;
}
.timeline-item ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 0.97rem;
}
.timeline-item ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 10px;
  height: 1px;
  background: var(--gold);
}

/* ── CREDENTIALS / TWO-COL ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.credentials-block h3 {
  font-size: 1.4rem;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.credentials-block ul {
  list-style: none;
}
.credentials-block ul li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: baseline;
}
.credentials-block ul li:last-child { border-bottom: none; }
.credentials-block ul li .label {
  color: var(--ink);
  font-weight: 600;
}
.credentials-block ul li .meta {
  color: var(--text-muted);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* ── NOTABLE CASES ── */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
.case-card {
  background: var(--paper);
  padding: 32px 28px;
}
.case-card .case-title {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.35;
}
.case-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* ── CTA STRIP ── */
.cta {
  background: var(--navy);
  color: var(--white);
  padding: 70px 28px;
  text-align: center;
}
.cta h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}
.cta p {
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin: 0 auto 28px;
}

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-info-list {
  list-style: none;
}
.contact-info-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.contact-info-list li:first-child { padding-top: 0; }
.contact-info-list li:last-child { border-bottom: none; }
.contact-info-list .label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
  font-weight: 600;
}
.contact-info-list .value {
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 500;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 600;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--white);
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  outline: none;
  border-radius: 2px;
  transition: border-color .2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--navy);
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.form-success {
  display: none;
  color: #2e6b3a;
  font-size: 0.9rem;
  font-weight: 500;
  padding-top: 8px;
}

/* ── FOOTER ── */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.65);
  padding: 60px 28px 30px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer h4 {
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
}
.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  color: var(--white);
  margin-bottom: 6px;
}
.footer-brand-title {
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer p { margin-bottom: 8px; font-size: 0.94rem; }
.footer a { color: rgba(255,255,255,0.75); }
.footer a:hover { color: var(--gold); }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; font-size: 0.94rem; }
.footer-bottom {
  max-width: 1200px;
  margin: 30px auto 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}

/* ── UTILS ── */
.text-center { text-align: center; }
.mt-lg { margin-top: 60px; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero-inner,
  .intro-grid,
  .two-col,
  .contact-grid,
  .practice-layout { grid-template-columns: 1fr; gap: 48px; }
  .hero-photo,
  .intro-image { max-width: 360px; margin: 0 auto; }
  .practice-sidebar { position: static; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .top-strip-inner { justify-content: center; font-size: 0.76rem; }
  .top-strip-contact { gap: 14px; }
  .nav-inner { padding: 14px 20px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 14px 20px; }
  .burger { display: block; }
  .section { padding: 70px 20px; }
  .hero { padding: 60px 20px 70px; }
  .page-header { padding: 50px 20px 50px; }
  .hero-buttons { justify-content: flex-start; }
  .practice-grid { grid-template-columns: 1fr; }
}
