/* ==========================================================================
   Dr. Katherine O'Connell — celestial design system (light / daybreak theme)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Nunito+Sans:ital,opsz,wght@0,6..12,400;0,6..12,600;0,6..12,700;1,6..12,400&display=swap');

:root {
  --paper: #fdfcf8;            /* page background */
  --paper-warm: #f6f3ea;       /* raised warm surface */
  --sky: #eef1fa;              /* pale sky tint */
  --ink: #232a4d;              /* headings, deep navy */
  --text: #3a4160;             /* body text */
  --text-dim: #6d7390;         /* secondary text */
  --gold: #a5842e;             /* accent (deep gold, readable on light) */
  --gold-soft: #d9b96a;        /* buttons, decorative */
  --gold-bright: #c9a84c;
  --gold-ink: #241c07;         /* text on gold */
  --line: rgba(165, 132, 46, 0.28);
  --line-soft: rgba(35, 42, 77, 0.12);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Nunito Sans', -apple-system, 'Segoe UI', sans-serif;
  --w-content: 1120px;
  --w-prose: 720px;
  --radius: 18px;
  --shadow: 0 14px 40px rgba(35, 42, 77, 0.1);
  --header-h: 76px;
}

* { box-sizing: border-box; margin: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--paper);
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(165, 132, 46, 0.4) 50%, transparent 51%),
    radial-gradient(1px 1px at 68% 8%,  rgba(35, 42, 77, 0.25) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 42% 62%, rgba(165, 132, 46, 0.3) 50%, transparent 51%),
    radial-gradient(1px 1px at 86% 46%, rgba(35, 42, 77, 0.2) 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 84%, rgba(165, 132, 46, 0.25) 50%, transparent 51%),
    radial-gradient(ellipse 90% 40% at 50% -5%, rgba(214, 222, 245, 0.7), transparent),
    linear-gradient(180deg, var(--sky) 0%, var(--paper) 45%, var(--paper) 100%);
  background-size:
    1100px 900px, 900px 700px, 1300px 1000px, 1000px 800px, 1200px 950px,
    100% 900px, 100% 100%;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17.5px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

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

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 252, 248, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--w-content);
  margin: 0 auto;
  padding: 0 28px;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  margin-right: auto;
}

.brand img {
  width: 44px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.brand .brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1.15;
}

.brand .brand-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

nav.primary { display: flex; align-items: center; gap: 4px; }

nav.primary > .nav-item { position: relative; }

nav.primary a {
  display: block;
  padding: 10px 13px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-radius: 8px;
  white-space: nowrap;
}

nav.primary a:hover { color: var(--gold); background: rgba(165, 132, 46, 0.08); }

nav.primary a.active { color: var(--gold); }

.has-sub > a::after {
  content: '▾';
  font-size: 0.7em;
  margin-left: 6px;
  color: var(--gold);
}

.sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  padding: 8px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: none;
}

.has-sub:hover .sub,
.has-sub:focus-within .sub { display: block; }

.sub a { padding: 9px 12px; font-weight: 400; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--gold);
  font: inherit;
  font-size: 0.9rem;
  padding: 8px 14px;
  cursor: pointer;
}

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

  nav.primary {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 22px;
    background: rgba(253, 252, 248, 0.98);
    border-bottom: 1px solid var(--line);
  }

  body.nav-open nav.primary { display: flex; }

  nav.primary a { padding: 13px 10px; font-size: 1.05rem; }

  .sub {
    display: block;
    position: static;
    min-width: 0;
    padding: 0 0 0 18px;
    background: none;
    border: 0;
    box-shadow: none;
  }

  .sub a { font-size: 0.95rem; color: var(--text-dim); }

  .has-sub > a::after { content: ''; }
}

/* --------------------------------------------------------------------------
   Hero (photo stays dark; page fades to light below it)
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center 30%;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(7, 10, 30, 0.1), rgba(7, 10, 30, 0.55)),
    linear-gradient(180deg, rgba(238, 241, 250, 0.25), rgba(10, 15, 46, 0) 30%, var(--paper) 99.5%);
}

.hero-inner { position: relative; z-index: 1; padding: 90px 28px; max-width: 880px; }

.kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}

.hero .kicker { color: #f1d79b; }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.9rem, 7.5vw, 5.2rem);
  line-height: 1.05;
  color: #ffffff;
  text-shadow: 0 3px 30px rgba(3, 5, 20, 0.65);
}

.hero .tagline {
  margin: 26px auto 0;
  max-width: 560px;
  font-size: 1.12rem;
  color: #eceef8;
  text-shadow: 0 1px 14px rgba(3, 5, 20, 0.6);
}

/* --------------------------------------------------------------------------
   Page hero (inner pages)
   -------------------------------------------------------------------------- */

.page-hero { padding: 84px 28px 30px; text-align: center; }

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  line-height: 1.12;
  color: var(--ink);
  max-width: 880px;
  margin: 0 auto;
}

.page-hero .kicker { margin-bottom: 16px; }

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 26px auto 0;
  color: var(--gold);
  font-size: 0.85rem;
}

.ornament::before,
.ornament::after {
  content: '';
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.ornament::after { background: linear-gradient(90deg, var(--gold), transparent); }

/* --------------------------------------------------------------------------
   Sections & typography
   -------------------------------------------------------------------------- */

main { display: block; }

section.band { padding: 72px 0; }

section.band + section.band { border-top: 1px solid var(--line-soft); }

h2.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  color: var(--ink);
  text-align: center;
  margin-bottom: 14px;
}

.section-sub { text-align: center; color: var(--text-dim); max-width: 560px; margin: 0 auto 44px; }

.prose h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.9rem;
  color: var(--ink);
  margin: 2.4em 0 0.6em;
}

.prose h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--ink);
  margin: 1.8em 0 0.5em;
}

.prose p { margin: 1.25em 0; }

.prose p:first-child { margin-top: 0; }

.prose .drop::first-letter,
.bio-prose > p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 3.4em;
  font-weight: 600;
  color: var(--gold);
  float: left;
  line-height: 0.82;
  padding: 6px 10px 0 0;
}

/* CMS-edited bio: last paragraph is the social-links line */
.bio-prose > p:last-of-type { text-align: center; }

.prose ul { padding-left: 1.3em; margin: 1.25em 0; }
.prose li { margin: 0.45em 0; }
.prose li::marker { color: var(--gold); }

.center { text-align: center; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  padding: 15px 34px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold-bright));
  color: var(--gold-ink);
  border: 0;
  box-shadow: 0 8px 22px rgba(165, 132, 46, 0.3);
}

.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(165, 132, 46, 0.4); color: var(--gold-ink); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(35, 42, 77, 0.4);
}

.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* ghost button sits on the dark hero photo on the home page */
.hero .btn-ghost { color: #ffffff; border-color: rgba(255, 255, 255, 0.6); }
.hero .btn-ghost:hover { border-color: #f1d79b; color: #f1d79b; }

.btn-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 38px; }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */

.card {
  background: #ffffff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

a.card { text-decoration: none; color: inherit; display: block; }

.card:hover { transform: translateY(-4px); border-color: var(--line); box-shadow: var(--shadow); }

.card .media {
  aspect-ratio: 16 / 10;
  background: var(--paper-warm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card .media img { width: 100%; height: 100%; object-fit: contain; }

.card .card-body { padding: 22px 24px 26px; }

.card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 8px;
}

.card .price {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.card p { color: var(--text-dim); font-size: 0.95rem; }

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

@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Video embeds
   -------------------------------------------------------------------------- */

.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: #10173f;
  box-shadow: var(--shadow);
}

.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

form.site-form { max-width: 640px; margin: 0 auto; }

.panel {
  background: #ffffff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 40px 44px;
  box-shadow: var(--shadow);
}

@media (max-width: 640px) { .panel { padding: 28px 22px; } }

.field { margin-bottom: 20px; }

.field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.field .req { color: var(--text-dim); font-weight: 400; letter-spacing: 0.05em; text-transform: none; }

.field .hint { font-size: 0.88rem; color: var(--text-dim); margin: -2px 0 10px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

@media (max-width: 560px) { .two-col { grid-template-columns: 1fr; } }

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid rgba(35, 42, 77, 0.22);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(165, 132, 46, 0.18);
}

select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 21px) 50%, calc(100% - 15px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }

textarea { min-height: 120px; resize: vertical; }

.hidden-field { position: absolute; left: -9999px; }

fieldset {
  border: 0;
  border-top: 1px solid var(--line);
  padding: 26px 0 4px;
  margin: 30px 0 0;
}

fieldset legend {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  padding-right: 16px;
}

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */

.masonry { columns: 3 300px; column-gap: 28px; }

.masonry .figure {
  break-inside: avoid;
  margin-bottom: 28px;
  background: #ffffff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(35, 42, 77, 0.07);
}

.masonry img { width: 100%; }

.masonry figcaption {
  padding: 16px 20px 18px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
  text-align: center;
}

/* --------------------------------------------------------------------------
   Link list
   -------------------------------------------------------------------------- */

.link-cards { display: grid; gap: 20px; max-width: 760px; margin: 0 auto; }

.link-cards .card { padding: 26px 30px; }

.link-cards h3 { margin-bottom: 4px; }

.link-cards h3 a { color: var(--ink); text-decoration: none; }

.link-cards h3 a::after { content: ' ↗'; color: var(--gold); font-size: 0.8em; }

.link-cards h3 a:hover { color: var(--gold); }

/* --------------------------------------------------------------------------
   Notice / info blocks
   -------------------------------------------------------------------------- */

.notice {
  border-left: 3px solid var(--gold);
  background: rgba(165, 132, 46, 0.07);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 26px 30px;
  margin: 40px 0;
  font-size: 0.98rem;
}

.notice p { margin: 0.8em 0; }
.notice p:first-child { margin-top: 0; }
.notice p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Imagery
   -------------------------------------------------------------------------- */

.framed { border-radius: var(--radius); border: 1px solid var(--line-soft); box-shadow: var(--shadow); }

.center-image { display: flex; justify-content: center; margin: 36px 0; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: var(--paper-warm);
  padding: 60px 0 40px;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 44px;
}

@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }

.site-footer h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin: 7px 0; }
.site-footer a { color: var(--text-dim); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer .blurb { color: var(--text-dim); max-width: 340px; }

.footer-bottom {
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  text-align: center;
  color: var(--text-dim);
  font-size: 0.82rem;
}
