/* Advocate Rakesh B C — static profile site */
:root {
  --navy-950: #070f1a;
  --navy-900: #0c1a2e;
  --navy-800: #13233d;
  --navy-700: #1a3052;
  --charcoal: #1e2430;
  --gold-400: #d4a84b;
  --gold-300: #e4bf6e;
  --gold-200: #f0d9a0;
  --cream: #f7f3ea;
  --cream-dim: #ebe5d8;
  --ink: #1a1f2a;
  --muted: #5c6575;
  --line: rgba(212, 168, 75, 0.28);
  --white: #ffffff;
  --focus: #e4bf6e;
  --radius: 12px;
  --shadow: 0 18px 50px rgba(7, 15, 26, 0.18);
  --font-serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --header-h: 4.25rem;
  --max: 1100px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--navy-800);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--navy-950);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  padding: 0.65rem 1rem;
  background: var(--gold-400);
  color: var(--navy-950);
  font-weight: 600;
  border-radius: 6px;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 26, 46, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 168, 75, 0.2);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--cream);
  text-decoration: none;
  min-width: 0;
}

.brand:hover {
  color: var(--gold-200);
}

.brand-mark {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--gold-400);
  border-radius: 50%;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--gold-300);
}

.brand-mark-sm {
  width: 2.15rem;
  height: 2.15rem;
  font-size: 0.8rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-sub {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-300);
  opacity: 0.9;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.55rem;
  border: 1px solid rgba(212, 168, 75, 0.35);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--gold-300);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem 1.35rem;
}

.site-nav a {
  color: rgba(247, 243, 234, 0.88);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="true"] {
  color: var(--gold-200);
  border-bottom-color: var(--gold-400);
}

.site-nav .nav-cta {
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--gold-400);
  border-radius: 999px;
  border-bottom-width: 1px;
  color: var(--gold-300);
}

.site-nav .nav-cta:hover {
  background: var(--gold-400);
  color: var(--navy-950);
  border-bottom-color: var(--gold-400);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  color: var(--cream);
  padding: 4.5rem 1.25rem 5rem;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(30deg, transparent 48%, rgba(212, 168, 75, 0.45) 49%, rgba(212, 168, 75, 0.45) 51%, transparent 52%),
    linear-gradient(-30deg, transparent 48%, rgba(212, 168, 75, 0.25) 49%, rgba(212, 168, 75, 0.25) 51%, transparent 52%);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
}

.hero-eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-300);
}

.hero h1 {
  margin: 0 0 0.65rem;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.hero-tagline {
  margin: 0 0 1.25rem;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-style: italic;
  color: var(--gold-200);
}

.hero-lead {
  margin: 0 0 1.75rem;
  max-width: 38rem;
  font-size: 1.1rem;
  color: rgba(247, 243, 234, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero-meta {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(247, 243, 234, 0.55);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--gold-400);
  color: var(--navy-950);
  border-color: var(--gold-400);
}

.btn-primary:hover {
  background: var(--gold-300);
  color: var(--navy-950);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(247, 243, 234, 0.45);
}

.btn-ghost:hover {
  border-color: var(--gold-300);
  color: var(--gold-200);
}

.contact-panel .btn-ghost {
  color: var(--navy-800);
  border-color: rgba(26, 48, 82, 0.3);
}

.contact-panel .btn-ghost:hover {
  border-color: var(--navy-800);
  color: var(--navy-950);
  background: rgba(12, 26, 46, 0.04);
}

.btn-block {
  width: 100%;
}

/* Sections */
.section {
  padding: 4.25rem 1.25rem;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-header {
  margin-bottom: 2.25rem;
  max-width: 40rem;
}

.section-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.section-header h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.5vw, 2.45rem);
  font-weight: 650;
  line-height: 1.15;
  color: var(--navy-900);
}

.section-intro {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* About */
.about {
  background: var(--cream);
}

.about-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 820px) {
  .about-grid {
    grid-template-columns: 1.35fr 1fr;
    gap: 2.5rem;
    align-items: start;
  }
}

.about-copy p {
  margin: 0 0 1.1rem;
}

.about-note {
  padding: 0.95rem 1.05rem;
  background: var(--cream-dim);
  border-left: 3px solid var(--gold-400);
  border-radius: 0 8px 8px 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.about-card {
  background: var(--navy-900);
  color: var(--cream);
  padding: 1.65rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(212, 168, 75, 0.25);
}

.about-card-title {
  margin: 0 0 1.1rem;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--gold-300);
}

.fact-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.fact-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 0.2rem;
}

.fact-value {
  display: block;
  font-size: 0.98rem;
  color: rgba(247, 243, 234, 0.92);
}

.about-card .text-link {
  color: var(--gold-300);
}

.about-card .text-link:hover {
  color: var(--gold-200);
}

.text-link {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.text-link:hover {
  border-bottom-color: transparent;
}

/* Practice */
.practice {
  background: linear-gradient(180deg, var(--cream-dim) 0%, var(--cream) 100%);
}

.practice-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .practice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 920px) {
  .practice-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.practice-card {
  background: var(--white);
  border: 1px solid rgba(26, 48, 82, 0.08);
  border-radius: var(--radius);
  padding: 1.45rem 1.3rem 1.5rem;
  box-shadow: 0 8px 24px rgba(7, 15, 26, 0.05);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.practice-card:hover {
  border-color: rgba(212, 168, 75, 0.55);
  transform: translateY(-2px);
}

.practice-card-accent {
  background: linear-gradient(165deg, #fffefb 0%, #f8f1e3 100%);
  border-color: rgba(212, 168, 75, 0.28);
}

.practice-icon {
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.9rem;
  color: var(--navy-800);
}

.practice-icon svg {
  width: 100%;
  height: 100%;
}

.practice-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--navy-900);
}

.practice-card p {
  margin: 0;
  font-size: 0.96rem;
  color: var(--muted);
}

/* Experience */
.experience {
  background: var(--cream);
}

.timeline-card {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 1.75rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(26, 48, 82, 0.1);
  box-shadow: 0 10px 30px rgba(7, 15, 26, 0.06);
  border-left: 4px solid var(--gold-400);
}

@media (min-width: 640px) {
  .timeline-card {
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    padding: 2rem 2rem 2rem 1.75rem;
  }
}

.timeline-mark {
  width: 0.85rem;
  height: 0.85rem;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 0 6px rgba(212, 168, 75, 0.2);
}

.timeline-period {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.timeline-body h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: var(--navy-900);
}

.timeline-location {
  margin: 0 0 1rem;
  color: var(--muted);
  font-weight: 500;
}

.timeline-body p {
  margin: 0 0 0.85rem;
}

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

/* Contact */
.contact {
  background: var(--navy-900);
  color: var(--cream);
}

.contact .section-header h2 {
  color: var(--cream);
}

.contact .section-intro {
  color: rgba(247, 243, 234, 0.75);
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .contact-grid {
    grid-template-columns: 1.2fr 0.9fr;
    gap: 2.5rem;
    align-items: start;
  }
}

.contact-block {
  margin: 0 0 1.5rem;
  font-style: normal;
}

.contact-block:last-child {
  margin-bottom: 0;
}

.contact-block-title {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-300);
}

.contact-block p,
.contact-block a {
  color: rgba(247, 243, 234, 0.92);
}

.contact-block a {
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 168, 75, 0.45);
}

.contact-block a:hover {
  color: var(--gold-200);
  border-bottom-color: var(--gold-200);
}

.contact-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.hours-list {
  list-style: none;
  margin: 0 0 0.65rem;
  padding: 0;
  display: grid;
  gap: 0.4rem;
  max-width: 26rem;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(247, 243, 234, 0.12);
  font-size: 0.98rem;
}

.hours-note {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(247, 243, 234, 0.65);
}

.contact-panel {
  background: var(--cream);
  color: var(--ink);
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(212, 168, 75, 0.35);
}

.contact-panel-title {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--navy-900);
}

.contact-actions {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.contact-panel-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: rgba(247, 243, 234, 0.75);
  padding: 2.25rem 1.25rem 2.5rem;
  border-top: 1px solid rgba(212, 168, 75, 0.2);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-name {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--cream);
}

.footer-tag {
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
  color: var(--gold-300);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.35rem;
}

.footer-nav a {
  color: rgba(247, 243, 234, 0.8);
  text-decoration: none;
  font-weight: 500;
}

.footer-nav a:hover {
  color: var(--gold-200);
}

.footer-disclaimer {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(247, 243, 234, 0.5);
  max-width: 42rem;
}

/* Mobile nav */
@media (max-width: 760px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--navy-900);
    border-bottom: 1px solid rgba(212, 168, 75, 0.25);
    padding: 0.75rem 1.25rem 1.15rem;
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }

  .site-nav a {
    display: block;
    padding: 0.7rem 0.35rem;
    border-bottom: none;
  }

  .site-nav .nav-cta {
    text-align: center;
    margin-top: 0.35rem;
  }

  .brand-name {
    font-size: 1.02rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .practice-card,
  .nav-toggle-bar {
    transition: none;
  }
}
