/* ===== Design tokens ===== */
:root {
  --cream: #f6f1e7;
  --cream-deep: #efe6d3;
  --charcoal: #2a2620;
  --ink: #33302a;
  --ink-soft: #5c574d;
  --gold: #b8863f;
  --gold-soft: #dcb877;
  --terracotta: #a35c3c;
  --line: #e2d8c2;
  --white: #fffdf9;

  --serif: "Fraunces", Georgia, "Iowan Old Style", serif;
  --sans: "Inter", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --max-w: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

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

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 4.5vw, 3.6rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 500; }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 0.9em;
}

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 62ch;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--charcoal);
  color: var(--white);
}
.btn-primary:hover { background: var(--terracotta); }

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.btn-outline:hover { background: var(--charcoal); color: var(--white); }

.btn-light {
  background: var(--white);
  color: var(--charcoal);
}
.btn-light:hover { background: var(--gold-soft); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 241, 231, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--charcoal);
  letter-spacing: 0.01em;
}
.brand span { color: var(--terracotta); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--ink);
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}
.nav-links a.active,
.nav-links a:hover { color: var(--terracotta); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  margin: 5px 0;
  transition: 0.2s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 100px;
  background: linear-gradient(160deg, var(--cream) 0%, var(--cream-deep) 100%);
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.5;
}
.hero-blob.b1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle at 30% 30%, var(--gold-soft), transparent 70%);
  top: -180px; right: -120px;
}
.hero-blob.b2 {
  width: 320px; height: 320px;
  background: radial-gradient(circle at 30% 30%, var(--terracotta), transparent 70%);
  bottom: -160px; left: -100px;
  opacity: 0.18;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

/* ===== Photo hero variant ===== */
.hero.photo-hero {
  background-size: cover;
  background-position: center;
  min-height: 560px;
  display: flex;
  align-items: center;
}
.hero.photo-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(30, 26, 20, 0.82) 0%, rgba(30, 26, 20, 0.45) 55%, rgba(30, 26, 20, 0.72) 100%);
  z-index: 1;
}
.hero.photo-hero .eyebrow { color: var(--gold-soft); }
.hero.photo-hero h1 { color: var(--white); }
.hero.photo-hero .lede { color: #e9e2d2; }
.hero.photo-hero .notice { background: rgba(246, 241, 231, 0.94); }
.hero.photo-hero .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}
.hero.photo-hero .btn-outline:hover {
  background: var(--white);
  color: var(--charcoal);
}

/* ===== Photo band (full-width image break) ===== */
.photo-band {
  height: 380px;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  margin: 48px 0;
}
@media (max-width: 700px) {
  .photo-band { height: 240px; border-radius: 14px; }
  .hero.photo-hero { min-height: 460px; }
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ===== Sections ===== */
section { padding: 78px 0; }
section.tight { padding: 56px 0; }

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.bg-deep { background: var(--cream-deep); }
.bg-charcoal { background: var(--charcoal); color: var(--cream); }
.bg-charcoal h2, .bg-charcoal h3 { color: var(--white); }
.bg-charcoal p { color: #d9d2c2; }

/* ===== Card grid ===== */
.grid {
  display: grid;
  gap: 28px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -22px rgba(42, 38, 32, 0.35);
}

.icon-badge {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--cream-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--terracotta);
}

/* ===== Quote / philosophy block ===== */
.quote-block {
  border-left: 3px solid var(--gold);
  padding-left: 28px;
  margin: 0;
}
.quote-block p {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--charcoal);
  font-style: italic;
  line-height: 1.45;
}
.quote-block cite {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.85rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ===== Placeholder / notice box ===== */
.notice {
  background: var(--cream-deep);
  border: 1px dashed var(--gold);
  border-radius: 14px;
  padding: 20px 24px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.notice strong { color: var(--charcoal); }

/* ===== Portrait placeholder (monogram) ===== */
.portrait {
  aspect-ratio: 4/5;
  border-radius: 22px;
  background: linear-gradient(150deg, var(--gold-soft), var(--terracotta));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.portrait span {
  font-family: var(--serif);
  font-size: 4.5rem;
  color: var(--white);
  opacity: 0.92;
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== About layout ===== */
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.credential-list, .edu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.credential-list li, .edu-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 14px;
}
.credential-list li:last-child, .edu-list li:last-child { border-bottom: none; }
.tag-dot {
  color: var(--gold);
  font-weight: 700;
}

/* ===== Tag pills ===== */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.pill {
  background: var(--cream-deep);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.85rem;
  color: var(--ink);
}

/* ===== Services detail sections ===== */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}
.service-block:last-child { border-bottom: none; }
.service-block.reverse .service-copy { order: 2; }
.service-block.reverse .service-visual { order: 1; }

.service-visual {
  aspect-ratio: 4/3;
  border-radius: 20px;
  background: linear-gradient(150deg, var(--cream-deep), var(--gold-soft) 140%);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.service-visual .glyph {
  position: absolute;
  bottom: 18px;
  left: 18px;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: rgba(30, 26, 20, 0.55);
  backdrop-filter: blur(4px);
}
.service-visual .glyph svg { width: 26px; height: 26px; }

/* ===== Contact page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.info-row {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.info-row:last-child { border-bottom: none; }
.info-row .label {
  font-family: var(--sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--terracotta);
  min-width: 120px;
}

form.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
  display: block;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 2px solid var(--gold-soft);
  outline-offset: 1px;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--charcoal);
  color: #cfc7b4;
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.site-footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.site-footer a { color: #cfc7b4; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: #a89f8c;
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .service-block { grid-template-columns: 1fr; padding: 40px 0; }
  .service-block.reverse .service-copy { order: 1; }
  .service-block.reverse .service-visual { order: 2; }
  .footer-grid { grid-template-columns: 1fr; }

  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 28px 24px;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; width: 100%; }
  .nav-toggle { display: block; }
}

/* Navigation accessibility and readable appointment buttons. */
.nav-links a.btn-primary { color: var(--white); }
.nav-links a.btn-primary:hover { color: var(--white); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 5px; }
.skip-link { position: fixed; top: 8px; left: 16px; z-index: 100; padding: 12px 20px; background: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
#main-content { scroll-margin-top: 100px; }
.contact-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-form button:disabled { cursor: not-allowed; opacity: .7; }
@media (max-width: 480px) { .info-row { flex-direction: column; gap: 6px; } .container { padding-left: 20px; padding-right: 20px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

/* In-page service navigation. */
.service-block[id] { scroll-margin-top: 100px; }
a.pill:hover { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); }
a.pill { text-decoration: underline; text-underline-offset: 3px; }
