/* ============================================================
   Dr Estelle Laughton — "Apricus" warm palette
   apricus (Latin): warmed by the sun
   ============================================================ */

:root {
  --clay:    #C75D3C;  /* terracotta — primary accent / buttons   */
  --clay-dk: #A84A2E;  /* darker clay for hover                   */
  --apricot: #E8956B;  /* warm secondary                          */
  --gold:    #E8B04B;  /* highlights                              */
  --sand:    #F5E9DC;  /* section backgrounds                     */
  --cream:   #FCF7F0;  /* page background                         */
  --ink:     #3A2A22;  /* warm dark-brown body text               */
  --ink-soft:#6B564B;  /* muted text                              */
  --sage:    #8A9A7B;  /* calm secondary accent                   */
  --white:   #ffffff;

  --maxw: 1080px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px -22px rgba(58, 42, 34, 0.45);
  --shadow-sm: 0 8px 20px -14px rgba(58, 42, 34, 0.5);

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

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

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

.container {
  width: min(100% - 2.5rem, var(--maxw));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 1rem;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--clay);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--clay-dk); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--clay);
  border-color: var(--apricot);
}
.btn-ghost:hover { background: var(--sand); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 247, 240, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(199, 93, 60, 0.12);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
}
.brand-mark { color: var(--gold); display: inline-flex; }
.site-nav { display: flex; gap: 1.5rem; }
.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--clay); border-color: var(--apricot); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(120% 120% at 85% -10%, rgba(232, 176, 75, 0.28), transparent 55%),
    radial-gradient(100% 100% at 0% 0%, rgba(232, 149, 107, 0.22), transparent 50%),
    var(--cream);
  padding: clamp(3rem, 7vw, 6rem) 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--clay);
  margin: 0 0 1rem;
}
.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  margin-bottom: 1rem;
}
.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 0 2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-portrait {
  position: relative;
  justify-self: center;
}
.hero-portrait img {
  width: min(360px, 80vw);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 8px solid var(--white);
  box-shadow: var(--shadow);
}

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  margin-bottom: 1.5rem;
}
.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 0.6rem;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--clay), var(--gold));
}

/* ---------- About ---------- */
.about { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
.about-main p { margin: 0 0 1.2rem; font-size: 1.05rem; }
.about-credentials {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 90px;
}
.about-credentials h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: var(--clay-dk);
}
.about-credentials ul { list-style: none; margin: 0; padding: 0; }
.about-credentials li {
  padding: 0.55rem 0 0.55rem 1.5rem;
  position: relative;
  border-bottom: 1px solid rgba(199, 93, 60, 0.12);
  font-size: 0.97rem;
}
.about-credentials li:last-child { border-bottom: none; }
.about-credentials li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- Expertise ---------- */
.expertise { background: var(--sand); }
.tag-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1rem;
}
.tag-grid li {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--apricot);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.tag-grid li:hover { transform: translateY(-3px); border-left-color: var(--clay); }

/* ---------- Contact ---------- */
.contact {
  background:
    radial-gradient(100% 120% at 50% 0%, rgba(232, 149, 107, 0.18), transparent 60%),
    var(--cream);
  text-align: center;
}
.contact-inner { max-width: 640px; margin-inline: auto; }
.contact-lede { font-size: 1.1rem; color: var(--ink-soft); margin: 0 0 1.8rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--sand);
  padding: 2rem 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}
.footer-inner p { margin: 0; }
.footer-meta { color: var(--apricot); }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { order: 2; }
  .hero-portrait { order: 1; }
  .lede { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .about-grid { grid-template-columns: 1fr; }
  .about-credentials { position: static; }
}

@media (max-width: 560px) {
  .site-nav { gap: 1rem; font-size: 0.95rem; }
  .brand-text { display: none; }
}

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