/* ============================================
   Dr. Christiana Redeaux / Inner Solutions, LLC
   Design tokens
   ============================================ */
:root {
  --ink: #1F3A4D;
  --ink-soft: #3A5568;
  --blue: #5C7F9E;
  --blue-deep: #3E6180;
  --gold: #C7A233;
  --gold-soft: #DCC584;
  --ivory: #FAF7F1;
  --sand: #EDE6D6;
  --white: #FFFFFF;
  --line: rgba(31, 58, 77, 0.12);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

  --max: 1180px;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
}

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

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

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

a { color: inherit; }

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

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }

p { margin: 0 0 1em; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9em;
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 46em;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }

.bg-sand { background: var(--sand); }
.bg-ink { background: var(--ink); color: var(--ivory); }
.bg-ink h2, .bg-ink h3, .bg-ink h1 { color: var(--ivory); }
.bg-blue { background: var(--blue-deep); color: var(--ivory); }
.bg-blue h2, .bg-blue h3 { color: var(--ivory); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95em 1.9em;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn-primary {
  background: var(--ink);
  color: var(--ivory);
}
.btn-primary:hover { background: var(--gold); color: var(--ink); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--ivory); transform: translateY(-2px); }

.on-dark.btn-ghost { color: var(--ivory); border-color: var(--gold-soft); }
.on-dark.btn-ghost:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* ---------- Nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}
.wordmark {
  text-decoration: none;
  line-height: 1.1;
}
.wordmark .name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  display: block;
}
.wordmark .biz {
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-top: 0.15em;
}
.nav-links {
  display: flex;
  gap: 2.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  border-color: var(--gold);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ivory);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-links.open { max-height: 480px; }
  .nav-links li { border-top: 1px solid var(--line); }
  .nav-links a { display: block; padding: 1rem var(--pad); }
}

/* ---------- Breath line signature ---------- */
.breath-line { display: block; width: 100%; height: auto; overflow: visible; }
.breath-line path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 3;
  stroke-linecap: round;
  transform-box: fill-box;
  transform-origin: center;
  animation: breathe 6.5s ease-in-out infinite;
}
.breath-ambient path { stroke: var(--blue); stroke-width: 2.5; }
@keyframes breathe {
  0%, 100% { transform: scaleY(0.55); }
  50% { transform: scaleY(1.25); }
}
.breath-divider { max-width: 220px; margin: 0 auto; opacity: 0.8; }
.breath-divider.left { margin: 0; }

.breath-ambient {
  position: absolute;
  z-index: 0;
  opacity: 0.16;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .breath-line path { animation: none; transform: scaleY(0.9); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(3rem, 7vw, 5rem);
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}
.hero-copy { position: relative; z-index: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.8rem; }
.hero-figure {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: left; }
  .hero-figure { order: -1; max-width: 300px; margin: 0 auto 1.5rem; }
}

/* ---------- Gold frame device (recurring photo treatment) ---------- */
.photo-frame {
  position: relative;
  z-index: 2;
  max-width: 380px;
  margin: 0 auto;
}
.photo-frame::after {
  content: '';
  position: absolute;
  top: 18px;
  left: 18px;
  right: -18px;
  bottom: -18px;
  border: 1.5px solid var(--gold);
  z-index: -1;
}
.photo-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  display: block;
  box-shadow: 0 30px 60px -25px rgba(31, 58, 77, 0.45);
}
.photo-frame.wide { max-width: 460px; }

/* ---------- Cards / grids ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 780px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2.1rem 1.8rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  display: block;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 34px -22px rgba(31,58,77,0.35); }
.card .card-icon { color: var(--blue); margin-bottom: 1rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--ink-soft); margin-bottom: 0; font-size: 0.95rem; }
.card .card-link { display: inline-block; margin-top: 1rem; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); }

/* ---------- Photo strip ---------- */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.6rem;
}
.photo-strip img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 15%;
}
@media (max-width: 780px) {
  .photo-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .photo-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Definition-style lists ---------- */
.dl { display: flex; flex-direction: column; gap: 1.6rem; }
.dl dt { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; margin-bottom: 0.2rem; }
.dl dd { margin: 0; color: var(--ink-soft); }

.tag-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.tag {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.5em 1em;
  border: 1px solid var(--blue);
  color: var(--blue-deep);
  border-radius: 999px;
}

/* ---------- FAQ (details/summary) ---------- */
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.3rem 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding-bottom: 1.4rem; color: var(--ink-soft); max-width: 62em; }

/* ---------- Pull quote ---------- */
.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.5;
  max-width: 42em;
  color: var(--ink);
}
.pull-quote cite {
  display: block;
  margin-top: 0.9rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--ivory);
  padding: 3.5rem 0 2.2rem;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2.4rem;
}
.footer-top .wordmark .name { color: var(--ivory); }
.footer-top .wordmark .biz { color: var(--gold-soft); }
.footer-links { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.footer-col h4 {
  color: var(--gold-soft);
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.footer-col a, .footer-col p {
  display: block;
  text-decoration: none;
  color: var(--ivory);
  opacity: 0.85;
  font-size: 0.92rem;
  margin-bottom: 0.55rem;
}
.footer-col a:hover { opacity: 1; color: var(--gold-soft); }
.social-row { display: flex; gap: 0.9rem; margin-top: 0.4rem; }
.social-row a {
  width: 38px; height: 38px;
  border: 1px solid rgba(250,247,241,0.35);
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
}
.social-row a:hover { border-color: var(--gold); background: rgba(199,162,51,0.15); }
.footer-bottom {
  border-top: 1px solid rgba(250,247,241,0.15);
  padding-top: 1.6rem;
  font-size: 0.78rem;
  color: rgba(250,247,241,0.6);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding: clamp(2.8rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); position: relative; overflow: hidden; }
.page-hero h1 { max-width: 20em; }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.stack { display: flex; flex-direction: column; gap: 0.4rem; }
.divider { height: 1px; background: var(--line); border: none; margin: 2.5rem 0; }
