:root {
  --navy: #1c2b45;
  --navy-deep: #131e31;
  --gold: #b08d57;
  --gold-dark: #8f6f3f;
  --ink: #2a2d33;
  --muted: #5d6470;
  --bg: #faf8f4;
  --bg-alt: #f1ede5;
  --line: #e2dccf;
  --white: #ffffff;
  --error: #a23b2d;
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  --radius: 6px;
  --header-h: 72px;
}

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

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

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

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

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

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 700;
}
h1 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.9em;
}

.hidden { display: none; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.85em 1.6em;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.btn-small { padding: 0.5em 1.2em; font-size: 0.95rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.7; cursor: progress; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 248, 244, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; color: var(--navy); }
.brand-sub { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-dark); }
.header-actions { display: flex; align-items: center; gap: 24px; }
.header-phone { text-decoration: none; font-weight: 600; font-size: 0.98rem; color: var(--ink); }
.header-phone:hover { color: var(--gold-dark); }

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 0 96px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 72px;
  align-items: center;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 32em; margin-bottom: 2em; }

.list-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.6em;
}
.practice-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 560px;
  gap: 14px 24px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.practice-list li {
  position: relative;
  padding-left: 18px;
  font-weight: 600;
  color: var(--navy);
}
.practice-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: translateY(-50%) rotate(45deg);
}

.hero-photo { justify-self: center; display: flex; flex-direction: column; align-items: center; }
.photo-frame {
  position: relative;
  width: 240px;
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 8px;
  border: 2px solid var(--gold);
}
.photo-clip {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(28, 43, 69, 0.16);
}
.photo-clip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08); /* trims the photo's built-in white edge */
}
.badge {
  margin-top: -22px;
  position: relative;
  background: var(--navy);
  color: var(--white);
  border-bottom: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 10px 22px;
  text-align: center;
  line-height: 1.2;
}
.badge-number { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 700; }
.badge-label { display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: #d7dbe3; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
}
.scroll-cue svg { animation: nudge 2s ease-in-out infinite; color: var(--gold-dark); }
.scroll-cue:hover { color: var(--gold-dark); }
@keyframes nudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue svg { animation: none; }
  html { scroll-behavior: auto; }
}

/* Sections */
.section { padding: 96px 0; }

/* Contact */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; }
.contact-list li { padding: 16px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-dark); }
.contact-list a { font-size: 1.1rem; text-decoration: none; font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }

.contact-form, .form-success {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: 0 10px 30px rgba(28, 43, 69, 0.06);
}
.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; color: var(--navy); }
.optional { font-weight: 400; color: var(--muted); }
input, select, textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid #cfc8b8;
  border-radius: var(--radius);
  padding: 0.7em 0.85em;
}
textarea { resize: vertical; min-height: 120px; }
input:focus, select:focus, textarea:focus { border-color: var(--navy); background: var(--white); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--error); }
.error { display: block; color: var(--error); font-size: 0.88rem; margin-top: 4px; }
.form-send-error { color: var(--error); font-size: 0.92rem; margin: 12px 0 0; }
.form-note { font-size: 0.85rem; color: var(--muted); margin: 14px 0 0; }

.form-success { text-align: center; padding: 56px 36px; border-top: 4px solid var(--gold); }
.form-success p { color: var(--muted); margin: 0; }

/* Footer */
.site-footer { background: var(--navy); color: #c9cfda; padding: 40px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-end; }
.site-footer strong { color: var(--white); font-family: var(--serif); font-weight: 700; }
.site-footer p { margin: 0; }
.site-footer a { color: #c9cfda; }
.site-footer .small { font-size: 0.85rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { gap: 48px; }
  .practice-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  body { font-size: 17px; }
  .container { padding: 0 16px; }
  .header-phone { display: none; }

  .hero { padding: 32px 0 88px; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-photo { order: -1; }
  .photo-frame { width: 170px; }
  .badge { padding: 8px 18px; }
  .badge-number { font-size: 1.3rem; }

  .section { padding: 64px 0; }
  .contact-inner { grid-template-columns: 1fr; gap: 32px; }
  .contact-form, .form-success { padding: 24px; }
}

@media (max-width: 560px) {
  .practice-list { column-gap: 16px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}
