/* MiranCoacht — shared styles */

:root {
  --bg: #F1ECF2;          /* warm lilac cream */
  --bg-deep: #E4DCE8;     /* deeper lilac */
  --bg-card: #FAF6FB;     /* paper with violet tint */
  --ink: #2A2330;         /* warm near-black with purple undertone */
  --ink-soft: #5A5063;    /* purple-gray text */
  --ink-mute: #8A8094;
  --rule: #D6CCDF;
  --sage: oklch(0.62 0.06 280);     /* dusty lavender (was sage) */
  --sage-deep: oklch(0.45 0.08 290);
  --terra: oklch(0.55 0.11 310);    /* primary purple accent */
  --terra-deep: oklch(0.40 0.12 305);
  --max: 1240px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, .serif {
  font-family: "Newsreader", "Source Serif 4", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(48px, 6.2vw, 92px); font-weight: 300; }
h2 { font-size: clamp(36px, 4.4vw, 60px); font-weight: 300; }
h3 { font-size: clamp(22px, 1.8vw, 28px); font-weight: 400; }
p  { margin: 0 0 1em; text-wrap: pretty; color: var(--ink-soft); }
em { font-style: italic; color: var(--ink); }
a  { color: inherit; }

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

.eyebrow {
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-deep);
  font-weight: 500;
}

/* ====== NAV ====== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in oklab, var(--rule) 60%, transparent);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand {
  font-family: "Newsreader", serif;
  font-size: 22px;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
  display: flex; align-items: baseline; gap: 8px;
}
.brand-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--terra);
  display: inline-block;
  transform: translateY(-2px);
}
.nav-links {
  display: flex; gap: 32px; align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 14px;
  letter-spacing: 0.02em;
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--terra);
}
.nav-links a.nav-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--ink);
  color: var(--bg-card) !important;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .2s, transform .2s;
}
.nav-cta:hover { background: var(--terra-deep); transform: translateY(-1px); }

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .25s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: var(--bg-card); }
.btn-primary:hover { background: var(--terra-deep); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg-card); }
.btn-sage  { background: var(--sage-deep); color: var(--bg-card); }
.btn-sage:hover { background: var(--sage); }

.btn .arrow {
  width: 14px; height: 14px;
  transition: transform .25s ease;
}
.btn:hover .arrow { transform: translateX(3px); }

/* ====== FOOTER ====== */
.footer {
  margin-top: 120px;
  border-top: 1px solid var(--rule);
  padding: 64px 0 48px;
  background: var(--bg-deep);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer h4 {
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer a { display: block; text-decoration: none; color: var(--ink-soft); font-size: 14px; padding: 4px 0; }
.footer a:hover { color: var(--ink); }
.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid color-mix(in oklab, var(--rule) 70%, transparent);
  display: flex; justify-content: space-between;
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}
.footer-mark {
  font-family: "Newsreader", serif;
  font-size: 56px;
  line-height: 1;
  color: var(--ink);
}

/* ====== UTILITIES ====== */
.section { padding: 120px 0; }
.section-tight { padding: 80px 0; }
.divider { height: 1px; background: var(--rule); margin: 0; border: 0; }
.grid { display: grid; }

/* image slots — gently striped placeholder look */
image-slot {
  background:
    repeating-linear-gradient(
      135deg,
      color-mix(in oklab, var(--bg-deep) 90%, var(--ink) 4%) 0 12px,
      color-mix(in oklab, var(--bg-deep) 95%, transparent) 12px 24px
    );
  color: var(--ink-mute);
  font-family: "JetBrains Mono", "Menlo", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Real photo wrapper */
.photo {
  position: relative;
  overflow: hidden;
  background: var(--bg-deep);
  border-radius: 16px;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92);
}
.photo.portrait { aspect-ratio: 4/5; }
.photo.square   { aspect-ratio: 1/1; }
.photo.tall     { aspect-ratio: 1/1.1; }
