/* =========================================================
   Keyona McCarthy — Holistic Guidance & Sound Healing
   Warm, earthy, minimal. Terracotta · Sage · Cream.
   ========================================================= */

/* Self-hosted variable fonts (no external dependencies) */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/Fraunces-var.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url("fonts/Fraunces-italic-var.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/NunitoSans-var.woff2") format("woff2");
}

:root {
  /* Palette (client-provided) */
  --clay:        #A44A3F;  /* Deep Clay — primary */
  --terracotta:  #C46A5A;  /* Warm Terracotta — accent */
  --sand:        #F4EDE4;  /* Soft Sand — background */
  --sage:        #8A9A8F;  /* Muted Sage — secondary */
  --olive:       #3F4A3C;  /* Deep Olive — text / contrast */
  --cream:       #FAF6F0;  /* Warm Cream — alt background */

  /* Derived tints */
  --clay-soft:   #b76a60;
  --sage-soft:   #a7b4aa;
  --sage-tint:   #e7ece8;
  --line:        #e4d9c9;

  --text:        var(--olive);
  --muted:       #6b6f63;

  --maxw: 1120px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 14px 40px -22px rgba(63,74,60,.45);
  --shadow-sm: 0 6px 20px -14px rgba(63,74,60,.5);

  --serif: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --sans: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 96px; }

::selection { background: var(--terracotta); color: #fff; }

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

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  color: var(--olive);
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); }

h1 em, h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--clay);
}

p { margin: 0 0 1.1em; }
a { color: var(--clay); text-decoration: none; }
a:hover { color: var(--terracotta); }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 22px;
}

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .74rem;
  font-weight: 700;
  color: var(--clay);
  margin-bottom: 1rem;
}

.lead { font-size: 1.18rem; color: var(--muted); }
.center { text-align: center; }
.narrow { max-width: 720px; margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: .01em;
  padding: 14px 30px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--clay); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--terracotta); color: #fff; }
.btn-ghost { background: transparent; color: var(--clay); border-color: var(--clay); }
.btn-ghost:hover { background: var(--clay); color: #fff; }
.btn-sage { background: var(--sage); color: #fff; }
.btn-sage:hover { background: var(--olive); color: #fff; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,246,240,.85);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 72px;
}
.brand {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--olive);
  letter-spacing: .01em;
}
.brand:hover { color: var(--clay); }
.brand small { display:block; font-family: var(--sans); font-size:.6rem; letter-spacing:.28em; text-transform:uppercase; color: var(--sage); font-weight:700; margin-top:2px;}

.nav { display: flex; align-items: center; gap: 6px; }
.nav > a, .dropbtn {
  font-family: var(--sans); font-weight: 600; font-size: .98rem;
  color: var(--olive); background: none; border: 0; cursor: pointer;
  padding: 10px 14px; border-radius: 999px;
}
.nav > a:hover, .dropbtn:hover { color: var(--clay); background: var(--sage-tint); }
.nav a.active, .dropbtn.active { color: var(--clay); }
.dropbtn .caret { display: inline-block; font-size: .7em; transition: transform .18s ease; margin-left: 2px; }
.dropdown:hover .caret, .dropdown:focus-within .caret { transform: rotate(180deg); }
.nav a.nav-book { background: var(--clay); color: #fff; padding: 10px 22px; }
.nav a.nav-book:hover { background: var(--terracotta); color: #fff; }

.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 6px); left: 0;
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  min-width: 260px; padding: 8px; display: none;
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block; padding: 10px 14px; border-radius: 9px;
  color: var(--olive); font-size: .95rem; font-weight: 600;
}
.dropdown-menu a:hover { background: var(--sage-tint); color: var(--clay); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; border-radius: 10px;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 24px; height: 2px; background: var(--olive);
  position: relative; transition: .2s; margin: 0 auto;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }

/* ---------- Sections ---------- */
section { padding: clamp(56px, 8vw, 100px) 0; }
.section-cream { background: var(--cream); }
.section-sand  { background: var(--sand); }
.section-sage  { background: var(--sage-tint); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(196,106,90,.16), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(138,154,143,.20), transparent 55%),
    var(--cream);
  padding: clamp(70px, 11vw, 140px) 0 clamp(60px, 9vw, 120px);
}
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero .lead { margin-bottom: 1.8em; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Decorative sun/rings motif for image slots */
.motif {
  aspect-ratio: 1 / 1; width: 100%;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 42%, #fff5, transparent 60%),
    linear-gradient(160deg, var(--terracotta), var(--clay) 70%);
  position: relative; overflow: hidden; box-shadow: var(--shadow);
  display: grid; place-items: center;
}
.motif.sage { background: linear-gradient(160deg, var(--sage-soft), var(--sage) 75%); }
.motif svg { width: 58%; height: 58%; opacity: .9; }

/* Inner keyline ring gives the motifs a finished, intentional feel */
.motif::before {
  content: ""; position: absolute; inset: 16px;
  border: 1px solid rgba(250,246,240,.45);
  border-radius: inherit; pointer-events: none;
}

/* Shape variations — arch (boho doorway), circle (full moon), soft square */
.shape-arch { aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius-lg) var(--radius-lg); }
.shape-circle { border-radius: 50%; }

/* Finished portrait art (stands in gracefully until real photos arrive) */
.portrait {
  position: relative; width: 100%; aspect-ratio: 4 / 5;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  background:
    radial-gradient(circle at 50% 30%, rgba(250,246,240,.28), transparent 58%),
    linear-gradient(170deg, var(--terracotta), var(--clay) 82%);
  box-shadow: var(--shadow); overflow: hidden;
  display: grid; place-items: center;
}
.portrait::before {
  content: ""; position: absolute; inset: 14px;
  border: 1px solid rgba(250,246,240,.5);
  border-radius: inherit; pointer-events: none;
}
.portrait svg { width: 46%; opacity: .95; }
.portrait-name {
  position: absolute; bottom: 24px; left: 0; right: 0; text-align: center;
  font-family: var(--sans); font-weight: 700; color: var(--cream);
  letter-spacing: .3em; text-transform: uppercase; font-size: .68rem;
}

/* Real photography, framed in the site's shape language */
.photo {
  position: relative; width: 100%; aspect-ratio: 4 / 5;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
}
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo::after {
  content: ""; position: absolute; inset: 14px;
  border: 1px solid rgba(250,246,240,.55);
  border-radius: inherit; pointer-events: none;
}
.photo.shape-soft { aspect-ratio: 1 / 1; border-radius: var(--radius-lg); }
.photo-wide {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 21 / 9;
}
.photo-wide img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Moon-phase ornament divider */
.ornament { display: flex; justify-content: center; gap: 10px; margin-bottom: 22px; color: var(--terracotta); }
.ornament svg { width: 112px; height: 12px; display: block; }
.cta-banner .ornament { color: rgba(250,246,240,.85); }

/* Scroll-reveal (disabled automatically for reduced-motion users) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Photo placeholder (swap for real photos) */
.photo-slot {
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--sand), var(--sage-tint));
  border: 1px dashed var(--sage-soft);
  min-height: 320px; display: grid; place-items: center; text-align: center;
  color: var(--sage); font-size: .9rem; padding: 20px;
}

/* ---------- Offering grid / cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sage-soft); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); flex: 1; }
.card .btn { align-self: flex-start; margin-top: 14px; }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 18px;
  background: var(--sage-tint); display: grid; place-items: center; color: var(--clay);
}
.card-icon svg { width: 24px; height: 24px; }

/* Alternating feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.feature:nth-child(even) .feature-media { order: 2; }
.feature + .feature { margin-top: clamp(48px, 7vw, 88px); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; max-width: 640px; }
.form label { font-weight: 700; font-size: .92rem; display: block; margin-bottom: 6px; color: var(--olive); }
.form input, .form select, .form textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--olive);
  padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  background: #fff; transition: border .15s ease, box-shadow .15s ease;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(138,154,143,.25);
}
.form textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); }

/* ---------- Book page service list ---------- */
.service-list { display: grid; gap: 16px; }
.service-row {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 26px;
}
.service-row h3 { margin: 0 0 4px; }
.service-row p { margin: 0; color: var(--muted); font-size: .95rem; }
.pill { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  padding: 5px 12px; border-radius: 999px; }
.pill-book { background: var(--sage-tint); color: var(--olive); }
.pill-inquire { background: #f1e2dc; color: var(--clay); }

/* ---------- CTA banner ---------- */
.cta-banner { background: linear-gradient(160deg, var(--clay), var(--terracotta)); color: #fff; text-align: center; }
.cta-banner h2, .cta-banner p { color: #fff; }
.cta-banner .btn-primary { background: #fff; color: var(--clay); }
.cta-banner .btn-primary:hover { background: var(--cream); }

/* ---------- Footer ---------- */
/* Light and airy per the brief: "Nothing too dark" — Deep Olive stays
   in its text/contrast role; Muted Sage carries the section. */
.site-footer { background: var(--sage-tint); color: var(--olive); padding: 64px 0 30px;
  border-top: 1px solid var(--sage-soft); }
.site-footer a { color: var(--olive); }
.site-footer a:hover { color: var(--clay); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: var(--sage); font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .18em; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-brand { font-family: var(--serif); font-size: 1.5rem; color: var(--olive); }
.footer-bottom { border-top: 1px solid var(--sage-soft); margin-top: 44px; padding-top: 22px;
  font-size: .82rem; color: var(--muted); display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap; }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: var(--sage-tint); padding: clamp(60px,8vw,96px) 0 clamp(44px,6vw,64px); }
.page-hero .lead { max-width: 620px; }

/* ---------- Utilities ---------- */
.mt-0{margin-top:0}.mb-0{margin-bottom:0}
.stack > * + * { margin-top: 1rem; }
.divider { height:1px; background: var(--line); border:0; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 380px; margin-inline: auto; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; gap: 24px; }
  .feature:nth-child(even) .feature-media { order: -1; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 12px 18px 20px; box-shadow: var(--shadow);
    display: none;
  }
  .nav.open { display: flex; }
  .nav > a, .dropbtn { padding: 14px 12px; border-radius: 10px; text-align: left; width: 100%; }
  .nav-book { text-align: center; }
  .dropdown { width: 100%; }
  .dropdown-menu { position: static; display: block; box-shadow: none; border: 0; background: transparent; padding: 0 0 6px 12px; min-width: 0; }
  .dropdown-menu a { padding: 10px 12px; }
  .service-row { flex-direction: column; align-items: flex-start; }
}
