/* =====================================================================
   Gary Brenner, Attorney at Law — Site Styles
   A clean, professional design system for a San Diego business law practice.
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Palette */
  --navy-900: #0d1f38;
  --navy-800: #12294a;
  --navy-700: #1b355c;
  --navy-600: #274870;
  --brass-500: #b08d57;
  --brass-400: #c4a373;
  --brass-300: #d8c19a;
  --ink: #1a2230;
  --slate: #4a5567;
  --slate-light: #6b7688;
  --paper: #ffffff;
  --paper-warm: #f8f7f4;
  --paper-warm-2: #f1efe9;
  --line: #e4e1d9;
  --line-dark: #2a4066;

  /* Typography */
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;

  /* Metrics */
  --wrap: 1180px;
  --wrap-narrow: 820px;
  --radius: 6px;
  --radius-lg: 14px;

  /* Tinted, layered shadows (navy-hued, single light source from top) */
  --shadow-sm: 0 1px 2px rgba(13, 31, 56, 0.06),
    0 4px 14px rgba(13, 31, 56, 0.07);
  --shadow-md: 0 6px 16px rgba(13, 31, 56, 0.08),
    0 18px 44px rgba(13, 31, 56, 0.12);
  --shadow-brass: 0 10px 30px rgba(176, 141, 87, 0.28);

  --transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);
  --spring: 420ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Subtle grain overlay (fractal noise) */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--navy-700);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--brass-500);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.12;
  color: var(--navy-900);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 5.4vw, 4rem);
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
}
h3 {
  font-size: 1.45rem;
  letter-spacing: -0.005em;
}

p {
  margin: 0 0 1.1em;
  text-wrap: pretty;
}

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.wrap--narrow {
  max-width: var(--wrap-narrow);
}

.section {
  padding-block: clamp(3.75rem, 8vw, 6.25rem) clamp(4.25rem, 9vw, 7rem);
}

.section--warm {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(176, 141, 87, 0.06), transparent 60%),
    var(--paper-warm);
}

.section--navy {
  position: relative;
  isolation: isolate;
  color: #dfe6f0;
  background: radial-gradient(
      110% 120% at 85% -10%,
      rgba(176, 141, 87, 0.16) 0%,
      transparent 45%
    ),
    linear-gradient(158deg, #0c1d35, var(--navy-900) 55%, #091630);
}

.section--navy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grain);
  background-size: 170px 170px;
  opacity: 0.06;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.section--navy h2,
.section--navy h3 {
  color: #fff;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-500);
  margin-bottom: 1rem;
}

.section--navy .eyebrow {
  color: var(--brass-400);
}

.lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--slate);
}

.section-head {
  max-width: 720px;
  margin-bottom: 3rem;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

/* Decorative divider under headings */
.rule {
  width: 56px;
  height: 3px;
  background: var(--brass-500);
  border: 0;
  margin: 1.25rem 0 1.5rem;
}

.section-head--center .rule {
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn--primary {
  background: var(--brass-500);
  color: #fff;
  border-color: var(--brass-500);
}

.btn--primary:hover {
  background: var(--brass-400);
  border-color: var(--brass-400);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(176, 141, 87, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--navy-800);
}

.btn--outline:hover {
  background: var(--navy-800);
  color: #fff;
}

.btn--light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn--light:hover {
  background: #fff;
  color: var(--navy-900);
  border-color: #fff;
}

/* Pressed feedback + keyboard focus for every button */
.btn:active {
  transform: translateY(1px) scale(0.985);
}

.btn:focus-visible {
  outline: 2px solid var(--brass-400);
  outline-offset: 3px;
}

/* Global keyboard focus ring */
:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 2px solid var(--brass-500);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--navy-900);
}

.brand:hover {
  color: var(--navy-900);
}

.brand__mark {
  flex: none;
  width: 48px;
  height: 48px;
  display: block;
  border-radius: 8px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand__sub {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--slate-light);
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy-800);
  padding: 0.4rem 0;
  position: relative;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--brass-500);
  transition: width var(--transition);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  width: 100%;
}

.nav__link[aria-current="page"] {
  color: var(--brass-500);
}

.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--navy-900);
  white-space: nowrap;
}

.nav__phone svg {
  width: 16px;
  height: 16px;
  color: var(--brass-500);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 26px;
  background: var(--navy-900);
  transition: transform var(--transition), opacity var(--transition);
}

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

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  color: #eef2f8;
  overflow: hidden;
  background: radial-gradient(
      115% 120% at 84% -10%,
      rgba(176, 141, 87, 0.22) 0%,
      rgba(176, 141, 87, 0) 46%
    ),
    radial-gradient(
      90% 110% at 8% 108%,
      rgba(39, 72, 112, 0.6) 0%,
      rgba(39, 72, 112, 0) 55%
    ),
    linear-gradient(158deg, #0c1d35 0%, var(--navy-900) 46%, #091630 100%);
}

/* grain overlay for depth */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grain);
  background-size: 170px 170px;
  opacity: 0.06;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* skyline silhouette grounding the base */
.hero__skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  height: clamp(110px, 16vw, 190px);
  background: linear-gradient(180deg, #060f22, #0a1730);
  -webkit-mask: url("../assets/skyline.svg") bottom center / cover no-repeat;
  mask: url("../assets/skyline.svg") bottom center / cover no-repeat;
  opacity: 0.9;
  pointer-events: none;
}

/* two asynchronous layers of window lights, clipped to the same skyline
   silhouette, gently pulsing to suggest a city at dusk */
.hero__skyline::before,
.hero__skyline::after {
  content: "";
  position: absolute;
  inset: 0;
  -webkit-mask: url("../assets/skyline.svg") bottom center / cover no-repeat;
  mask: url("../assets/skyline.svg") bottom center / cover no-repeat;
  background-image: radial-gradient(
    circle,
    rgba(216, 193, 154, 0.9) 0.9px,
    transparent 1.6px
  );
  pointer-events: none;
}

.hero__skyline::before {
  background-size: 17px 27px;
  background-position: 4px 8px;
  animation: skyline-twinkle 7.5s ease-in-out infinite;
}

.hero__skyline::after {
  background-size: 23px 35px;
  background-position: 13px 16px;
  animation: skyline-twinkle 9.5s ease-in-out infinite -3.2s;
}

@keyframes skyline-twinkle {
  0%,
  100% {
    opacity: 0.12;
  }
  50% {
    opacity: 0.6;
  }
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: clamp(3.5rem, 8vw, 6rem) clamp(6rem, 12vw, 9.5rem);
}

.hero h1 {
  color: #fff;
  margin-bottom: 0.35em;
}

.hero__tagline {
  font-size: clamp(1.1rem, 1.6vw, 1.32rem);
  color: #c6d2e4;
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 34em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.75rem;
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero__meta-item {
  display: flex;
  flex-direction: column;
}

.hero__meta-num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--brass-400);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.hero__meta-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9fadc2;
  margin-top: 0.5rem;
}

/* Hero visual — framed portrait with layered depth */
.hero__visual {
  position: relative;
  justify-self: center;
  width: min(100%, 400px);
  aspect-ratio: 4 / 5;
}

.hero__visual::before {
  /* offset brass keyline frame behind the photo */
  content: "";
  position: absolute;
  inset: 26px -24px -24px 26px;
  border: 1.5px solid var(--brass-500);
  border-radius: var(--radius-lg);
  z-index: 1;
}

.hero__portrait {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-md), 0 30px 60px rgba(4, 10, 22, 0.45);
}

.hero__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

/* glass name-plate over the photo */
.hero__nameplate {
  position: absolute;
  z-index: 3;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 0.85rem 1.05rem;
  border-radius: 10px;
  background: rgba(9, 19, 38, 0.55);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.hero__nameplate .np-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: #fff;
  line-height: 1.1;
}

.hero__nameplate .np-role {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-300);
  margin-top: 0.15rem;
}

/* Page hero (interior pages) */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #eef2f8;
  padding-block: clamp(3.25rem, 8vw, 5.5rem);
  background: radial-gradient(
      110% 130% at 88% -20%,
      rgba(176, 141, 87, 0.2) 0%,
      transparent 46%
    ),
    linear-gradient(158deg, #0c1d35 0%, var(--navy-900) 55%, #091630 100%);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grain);
  background-size: 170px 170px;
  opacity: 0.06;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 0.35em;
}

.page-hero p {
  color: #cdd7e6;
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0;
}

.breadcrumb {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brass-400);
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: #aab6c9;
}
.breadcrumb a:hover {
  color: #fff;
}

/* ---------- Cards / grids ---------- */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.15rem 1.95rem;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
}

/* brass accent line that grows on hover */
.card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--brass-500), var(--brass-300));
  transition: width var(--spring);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.card:hover::after {
  width: 100%;
}

.card__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--brass-500);
  margin-bottom: 1.25rem;
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(176, 141, 87, 0.14), rgba(176, 141, 87, 0.05));
  border: 1px solid rgba(176, 141, 87, 0.22);
}

.card__icon svg {
  width: 26px;
  height: 26px;
}

.card h3 {
  color: var(--navy-800);
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--slate);
  font-size: 0.98rem;
  margin: 0;
}

/* ---------- Steps (approach) ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step {
  position: relative;
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.9rem 2rem;
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--brass-300);
  color: var(--brass-500);
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  margin-bottom: 1.15rem;
}

.step h3 {
  color: var(--navy-800);
  margin-bottom: 0.4rem;
}

.step p {
  color: var(--slate);
  font-size: 0.98rem;
  margin: 0;
}

.approach-note {
  text-align: center;
  max-width: 44em;
  margin: 2.75rem auto 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.5;
  color: var(--navy-700);
}

/* Practice list (detailed) */
.practice-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.practice-item:last-child {
  border-bottom: 0;
}

.practice-item__num {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--brass-500);
  border: 1.5px solid var(--brass-300);
  border-radius: 50%;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
}

.practice-item h3 {
  color: var(--navy-800);
  margin-bottom: 0.35rem;
}

.practice-item p {
  color: var(--slate);
  margin: 0;
}

/* ---------- Feature / split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.value-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.value-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  color: var(--slate);
}

.value-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border: 2px solid var(--brass-500);
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg);
}

.value-list strong {
  color: var(--ink);
  font-weight: 600;
}

/* Quote / pull statement */
.quote {
  border-left: 3px solid var(--brass-500);
  padding-left: 1.75rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--navy-800);
  font-style: italic;
}

.section--navy .quote {
  color: #eaf0f8;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  isolation: isolate;
  color: #fff;
  text-align: center;
  background: radial-gradient(
      100% 140% at 50% -20%,
      rgba(176, 141, 87, 0.22) 0%,
      transparent 55%
    ),
    linear-gradient(158deg, #0c1d35, var(--navy-800) 55%, #0a1730);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grain);
  background-size: 170px 170px;
  opacity: 0.06;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: #cdd7e6;
  max-width: 560px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

/* ---------- Profile page ---------- */
.profile-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.profile-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 108px;
}

.profile-card__portrait {
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-600));
  display: grid;
  place-items: center;
  color: var(--brass-300);
  overflow: hidden;
}

.profile-card__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.profile-card__monogram {
  font-family: var(--font-serif);
  font-size: 4.5rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.profile-card__body {
  padding: 1.5rem;
}

.profile-card__name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--navy-900);
  margin: 0;
}

.profile-card__role {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass-500);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.fact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
}

.fact-list li {
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}

.fact-list li:first-child {
  border-top: 0;
}

.fact-list .fact-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin-bottom: 0.15rem;
}

.fact-list .fact-value {
  color: var(--ink);
  font-weight: 600;
}

.credentials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.cred {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.cred h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-500);
  margin: 0 0 0.6rem;
}

.cred p {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}

.cred p + p {
  margin-top: 0.35rem;
  font-weight: 400;
  color: var(--slate);
  font-size: 0.95rem;
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-block {
  margin-bottom: 2rem;
}

.contact-block__label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-500);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-block a,
.contact-block address {
  font-style: normal;
  font-size: 1.15rem;
  color: var(--ink);
  line-height: 1.6;
}

.contact-block a:hover {
  color: var(--brass-500);
}

.map-embed {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
  width: 100%;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Form */
.form-field {
  margin-bottom: 1.25rem;
}

.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--navy-800);
  margin-bottom: 0.4rem;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--brass-500);
  box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.15);
}

.form-field textarea {
  resize: vertical;
  min-height: 140px;
}

.form-note {
  font-size: 0.85rem;
  color: var(--slate-light);
  margin-top: 1rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: #b9c4d6;
  padding-block: 3.5rem 2rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand__name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: #9aa8bf;
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-400);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.6rem;
}

.footer-col a {
  color: #b9c4d6;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.75rem;
  font-size: 0.85rem;
  color: #8593a9;
}

.footer-disclaimer {
  max-width: 100%;
  color: #78859b;
  font-size: 0.8rem;
  line-height: 1.6;
  margin-top: 1.5rem;
}

/* ---------- Utilities ---------- */
.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brass-500);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 200;
  border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
  left: 0;
  color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }
  .profile-grid {
    grid-template-columns: 1fr;
  }
  .profile-card {
    position: static;
    max-width: 360px;
  }
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Hero stacks: text first, portrait below */
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero__content {
    max-width: 640px;
  }
  .hero__visual {
    justify-self: start;
    width: min(100%, 340px);
    margin-left: 24px;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: 84px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 0.5rem 1.5rem 1.5rem;
    transform: translateY(-120%);
    transition: transform var(--transition);
    max-height: calc(100vh - 84px);
    overflow-y: auto;
  }

  .nav[data-open="true"] {
    transform: translateY(0);
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .nav__link {
    display: block;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }

  .nav__link::after {
    display: none;
  }

  .nav__phone {
    padding-top: 1.1rem;
    font-size: 1.1rem;
  }

  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
  }

  .credentials {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .practice-item {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .hero__meta {
    gap: 1.25rem 2rem;
  }
  .hero__meta-num {
    font-size: 2rem;
  }
  .hero__visual {
    width: min(100%, 300px);
    margin-left: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
