/* Upscale minimalist silver theme CSS from earlier answer */
:root {
  --color-bg: #050609;
  --color-bg-elevated: #10131a;
  --color-light: #f7f7f9;
  --color-muted: #b8bfcc;
  --color-accent: #c5ccd8;
  --color-accent-strong: #dde3ef;
  --color-text: #161821;
  --color-text-on-dark: #f5f5f7;
  --border-subtle: rgba(197, 204, 216, 0.4);
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.25);
  --max-width: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background-color: #f1f2f5;
}

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

a {
  color: inherit;
}

a:hover {
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section-light {
  background-color: #f5f6fa;
}

.section-dark {
  background: radial-gradient(circle at top left, #1a1f2b 0, #050609 55%);
  color: var(--color-text-on-dark);
}

.section-cta {
  border-top: 1px solid rgba(197, 204, 216, 0.4);
  border-bottom: 1px solid rgba(197, 204, 216, 0.4);
}

.section-heading {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.section-heading h2 {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 1.4rem;
}

.section-heading p {
  color: var(--color-muted);
  margin-top: 0.75rem;
}

.top-bar {
  background-color: #050609;
  color: var(--color-accent);
  font-size: 0.85rem;
}

.top-bar-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 2.25rem;
}

.top-bar a {
  color: var(--color-accent);
  text-decoration: none;
}

.top-bar a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(5, 6, 9, 0.96), rgba(5, 6, 9, 0.8));
  color: var(--color-text-on-dark);
  border-bottom: 1px solid rgba(197, 204, 216, 0.38);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, var(--color-accent-strong), var(--color-bg-elevated));
  box-shadow: 0 0 0 1px rgba(197, 204, 216, 0.7);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-name {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-tagline {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-muted);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 999px;
}

.nav-toggle-line + .nav-toggle-line {
  margin-top: 5px;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  border: 1px solid transparent;
}

.main-nav a:hover {
  border-color: rgba(197, 204, 216, 0.4);
  background-color: rgba(197, 204, 216, 0.08);
}

.nav-item-active a {
  border-color: rgba(197, 204, 216, 0.9);
  background: radial-gradient(circle at top left, rgba(221, 227, 239, 0.22), rgba(197, 204, 216, 0.09));
  color: #ffffff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.8fr);
  min-height: 420px;
  background-color: #050609;
  color: var(--color-text-on-dark);
}

.hero-media {
  position: relative;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at top left, rgba(221, 227, 239, 0.15), transparent 56%),
    linear-gradient(to bottom right, rgba(5, 6, 9, 0.2), rgba(5, 6, 9, 0.7));
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  color: var(--color-accent);
  margin: 0 0 0.9rem;
}

.hero h1 {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin: 0 0 1.1rem;
}

.hero-text {
  max-width: 36rem;
  color: var(--color-accent-strong);
  line-height: 1.7;
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(to right, var(--color-accent-strong), var(--color-accent));
  color: #050609;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-ghost {
  border-color: rgba(197, 204, 216, 0.7);
  color: var(--color-accent-strong);
  background-color: rgba(5, 6, 9, 0.3);
}

.btn-ghost:hover {
  background-color: rgba(197, 204, 216, 0.14);
}

.card.subtle {
  padding: 1.5rem 1.75rem;
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(197, 204, 216, 0.6);
  box-shadow: 0 18px 45px rgba(18, 24, 38, 0.08);
  line-height: 1.7;
}

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 2.5rem;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.75rem;
}

.practice-card {
  background-color: rgba(5, 6, 9, 0.85);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(197, 204, 216, 0.28);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.practice-media {
  height: 120px;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(197, 204, 216, 0.35);
}

.practice-body {
  padding: 1.3rem 1.3rem 1.4rem;
}

.practice-body h3 {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 1.05rem;
  margin-top: 0;
  margin-bottom: 0.7rem;
}

.practice-body p {
  margin: 0;
  color: var(--color-muted);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.pillar-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(197, 204, 216, 0.7);
  padding: 1.4rem 1.5rem;
}

.pillar-card h3 {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.pillar-card p {
  margin: 0;
  color: #4e5663;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-inner h2 {
  font-family: "Playfair Display", "Times New Roman", serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 1.1rem;
}

.cta-inner p {
  margin-top: 0.6rem;
  color: var(--color-accent-strong);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-hero {
  padding: 3.25rem 0 2.75rem;
  background: linear-gradient(to bottom, #050609, #111420);
  color: var(--color-text-on-dark);
  border-bottom: 1px solid rgba(197, 204, 216, 0.3);
}

.page-hero h1 {
  font-family: "Playfair Display", "Times New Roman", serif;
  margin-top: 0.6rem;
  margin-bottom: 0.6rem;
  font-size: clamp(1.7rem, 2.2vw, 2rem);
}

.page-intro {
  max-width: 42rem;
  color: var(--color-accent-strong);
}

.bio-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.8fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.bio-photo-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(197, 204, 216, 0.7);
  box-shadow: var(--shadow-soft);
  background: radial-gradient(circle at top left, rgba(197, 204, 216, 0.4), #10131a);
}

.bio-photo {
  width: 100%;
  height: auto;
  display: block;
}

.bio-content h2 {
  font-family: "Playfair Display", "Times New Roman", serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 1rem;
}

.bio-content p {
  line-height: 1.8;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(197, 204, 216, 0.7);
  background: #ffffff;
  padding: 2.25rem 2rem;
}

.clients-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.clients-grid li {
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(197, 204, 216, 0.5);
  font-size: 0.95rem;
}

.clients-grid li:last-child {
  border-bottom: none;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr);
  gap: 2.5rem;
}

.contact-details h2,
.contact-form-wrap h2 {
  font-family: "Playfair Display", "Times New Roman", serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 1rem;
}

.contact-form {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(197, 204, 216, 0.8);
  padding: 2rem 2.25rem;
  box-shadow: 0 18px 45px rgba(18, 24, 38, 0.06);
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(197, 204, 216, 0.9);
  font-family: inherit;
  font-size: 0.95rem;
  background-color: #fbfbfd;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: #8794ae;
  box-shadow: 0 0 0 2px rgba(135, 148, 174, 0.3);
}

.form-disclaimer {
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 0.3rem;
  margin-bottom: 1rem;
}

.site-footer {
  background-color: #050609;
  color: var(--color-accent);
  padding: 2.5rem 0 2rem;
  border-top: 1px solid rgba(197, 204, 216, 0.4);
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  align-items: flex-start;
}

.footer-block h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer-block p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-accent);
}

.footer-block a {
  color: var(--color-accent-strong);
  text-decoration: none;
}

.footer-block a:hover {
  text-decoration: underline;
}

.footer-meta {
  text-align: right;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-media {
    min-height: 220px;
  }
  .grid-2,
  .practice-grid,
  .pillars-grid,
  .bio-layout,
  .clients-grid,
  .contact-layout,
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .clients-grid {
    padding: 1.75rem 1.5rem;
  }
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-meta {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }
  .main-nav {
    position: absolute;
    inset-inline: 0;
    top: 6.5rem;
    background: rgba(5, 6, 9, 0.98);
    border-top: 1px solid rgba(197, 204, 216, 0.4);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
  }
  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .main-nav ul {
    flex-direction: column;
    padding: 0.75rem 1.5rem 1.25rem;
  }
  .nav-container {
    position: relative;
  }
  .hero-content {
    padding-top: 2.5rem;
    padding-bottom: 2.75rem;
  }
  .section {
    padding: 3rem 0;
  }
}

@media (max-width: 520px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .contact-form {
    padding: 1.5rem 1.4rem;
  }
}
