/* Michelle Ramseth · one-page site
   Palette: committed electric violet on warm sand neutrals (see DESIGN.md) */

:root {
  --violet: #7e2fe3;
  --violet-deep: oklch(42% 0.21 296);
  --violet-tint: oklch(93% 0.05 296);
  --lavender: oklch(82% 0.11 296);
  --ink: oklch(24% 0.035 300);
  --ink-soft: oklch(38% 0.03 300);
  --paper: oklch(97.5% 0.008 75);
  --paper-warm: oklch(94.5% 0.025 65);
  --hairline: oklch(24% 0.035 300 / 0.16);
  --display: "Bricolage Grotesque", "Avenir Next", sans-serif;
  --body: "Hanken Grotesk", "Avenir Next", sans-serif;
  --pad-x: clamp(1.25rem, 5vw, 5rem);
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection { background: var(--violet); color: var(--paper); }

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

a { color: inherit; }

section { scroll-margin-top: 4.5rem; }

/* ---------- type helpers ---------- */

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet);
}

h2 {
  font-family: var(--display);
  font-size: clamp(2.3rem, 5.2vw, 4.2rem);
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -0.015em;
  max-width: 16ch;
  margin: 1.1rem 0 1.6rem;
  font-variation-settings: "opsz" 96;
}

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-weight: 500;
  color: var(--ink-soft);
  max-width: 52ch;
}

/* ---------- header ---------- */

.site-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: 0.9rem var(--pad-x);
  color: var(--paper);
  transition: background-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.site-head.scrolled {
  background: oklch(97.5% 0.008 75 / 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--hairline);
}

.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  margin-right: auto;
  white-space: nowrap;
}

.site-nav { display: flex; gap: clamp(0.9rem, 2vw, 1.8rem); }

.site-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.site-nav a:hover { opacity: 1; }

.btn {
  display: inline-block;
  background: var(--violet);
  color: var(--paper);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.6em 1.1em;
  border-radius: 10px;
  transition: background-color 0.25s ease, transform 0.25s ease;
}
.btn:hover { background: var(--violet-deep); transform: translateY(-1px); }

@media (max-width: 640px) {
  .site-nav { display: none; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: clip;
  color: var(--paper);
  /* poster doubles as the blocked-autoplay fallback behind the video */
  background: url("/media/hero-poster.jpg") center / cover no-repeat;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}

/* autoplay refused (Low Power Mode etc): hide the dead play glyph,
   let the poster background show until the first tap starts playback */
.hero-video.is-blocked { opacity: 0; }

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, oklch(20% 0.05 300 / 0.72), oklch(20% 0.05 300 / 0.12) 55%, oklch(20% 0.05 300 / 0.25)),
    linear-gradient(105deg, oklch(30% 0.1 296 / 0.25), transparent 45%);
}

.hero-content {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0 var(--pad-x) clamp(3.5rem, 8vh, 6rem);
  max-width: 70rem;
}

.hero-eyebrow { color: var(--paper); opacity: 0.92; }

.hero-title {
  font-family: var(--display);
  font-size: clamp(3rem, 9.5vw, 7.5rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.022em;
  margin: 0.9rem 0 1.2rem;
  font-variation-settings: "opsz" 96;
  text-shadow: 0 2px 40px oklch(20% 0.05 300 / 0.35);
}

/* pre-hidden only when JS is running; main.js reveals before animating */
.js .hero-title { visibility: hidden; }

.hero-sub {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 500;
  max-width: 44ch;
  opacity: 0.94;
}

.hero-scroll {
  position: absolute;
  right: var(--pad-x);
  bottom: clamp(3.5rem, 8vh, 6rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.85;
}

.hero-scroll i {
  width: 1px;
  height: 56px;
  background: oklch(97.5% 0.008 75 / 0.4);
  position: relative;
  overflow: hidden;
}

.hero-scroll i::after {
  content: "";
  position: absolute;
  left: 0; top: -100%;
  width: 100%; height: 100%;
  background: var(--paper);
  animation: scrollcue 2.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes scrollcue {
  0% { top: -100%; }
  55%, 100% { top: 100%; }
}

@media (max-width: 640px) {
  .hero-scroll { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll i::after { animation: none; }
}

/* ---------- manifesto ---------- */

.manifesto {
  background: var(--violet);
  color: var(--paper);
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: clip;
}

.manifesto::before {
  content: "";
  position: absolute;
  width: 60vmax; height: 60vmax;
  right: -25vmax; top: -25vmax;
  border-radius: 50%;
  background: radial-gradient(circle, oklch(60% 0.24 296 / 0.55), transparent 65%);
  pointer-events: none;
}

.manifesto-inner {
  padding: clamp(5rem, 12vh, 9rem) var(--pad-x);
  max-width: 68rem;
}

.manifesto-line {
  font-family: var(--display);
  font-size: clamp(2.1rem, 5.6vw, 4.6rem);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 96;
}

.manifesto-line + .manifesto-line { margin-top: clamp(1.2rem, 3vh, 2.2rem); }

/* ---------- bands ---------- */

.band { padding: clamp(5rem, 13vw, 10rem) var(--pad-x); }

.band-warm { background: var(--paper-warm); }

.band-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
  max-width: 78rem;
  margin: 0 auto;
}

.band-narrow { max-width: 78rem; margin: 0 auto; }

@media (max-width: 860px) {
  .band-grid { grid-template-columns: 1fr; }
}

/* link rows */

.link-rows { margin-top: 2.5rem; }

.link-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: baseline;
  gap: 1rem;
  padding: 1.3rem 0.9rem;
  text-decoration: none;
  border-top: 1px solid var(--hairline);
  isolation: isolate;
}

.link-row:last-child { border-bottom: 1px solid var(--hairline); }

.link-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--violet);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -1;
}

.link-row:hover::before, .link-row:focus-visible::before { transform: scaleX(1); }

.link-row:hover, .link-row:focus-visible { color: var(--paper); }

.link-row > * { transition: color 0.25s ease; }

.row-name {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-weight: 650;
  letter-spacing: -0.01em;
}

.row-meta { font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); }

.link-row:hover .row-meta, .link-row:focus-visible .row-meta { color: oklch(97.5% 0.008 75 / 0.75); }

.row-arrow {
  font-size: 1.3rem;
  color: var(--violet);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), color 0.25s ease;
}

.link-row:hover .row-arrow, .link-row:focus-visible .row-arrow {
  color: var(--paper);
  transform: translate(3px, -3px);
}

/* callout */

.callout {
  margin-top: 3rem;
  background: var(--violet-tint);
  border-radius: 12px;
  padding: 1.4rem 1.6rem;
  max-width: 40rem;
}

.callout-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 0.4rem;
}

.callout-text { font-weight: 500; font-size: 1.05rem; }

/* photos */

.photo {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}

.photo img, .photo video { width: 100%; height: 100%; object-fit: cover; }

.band-media { position: relative; padding-bottom: 18%; }

.photo-main { aspect-ratio: 4 / 5; }

.photo-main img { transform: scale(1.1); }

.photo-circle {
  position: absolute;
  width: 46%;
  aspect-ratio: 1;
  left: -10%;
  bottom: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--paper);
  box-shadow: 0 18px 50px oklch(24% 0.035 300 / 0.18);
}

@media (max-width: 860px) {
  .photo-circle { left: auto; right: 4%; width: 42%; }
}

.coaching-title { max-width: 13ch; }

/* about */

.about-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .photo-portrait { max-width: 26rem; }
}

.photo-portrait {
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  rotate: -1.5deg;
  box-shadow: 0 22px 60px oklch(24% 0.035 300 / 0.16);
}

.about-copy p { max-width: 58ch; }
.about-copy p + p { margin-top: 1.1rem; }

.im-list {
  list-style: none;
  margin-top: 2.4rem;
}

.im-list li {
  font-family: var(--display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 650;
  padding: 0.9rem 0;
  border-top: 1px solid var(--hairline);
  display: flex;
  gap: 0.8rem;
  align-items: baseline;
}

.im-list li::before {
  content: "\2726";
  color: var(--violet);
  font-size: 0.9em;
}

.im-list li:last-child { border-bottom: 1px solid var(--hairline); }

.about-strip {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 78rem;
  margin: clamp(3.5rem, 8vw, 6rem) auto 0;
}

@media (max-width: 860px) {
  .about-strip { grid-template-columns: 1fr; }
}

.about-strip .photo { aspect-ratio: 16 / 10; }

.about-strip figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: oklch(24% 0.035 300 / 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
}

/* ---------- footer ---------- */

.footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(5rem, 13vw, 9rem) var(--pad-x) 2rem;
}

.footer-eyebrow { color: var(--lavender); }

.footer-big {
  font-family: var(--display);
  font-size: clamp(3rem, 10vw, 8rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.022em;
  margin: 1.2rem 0 2rem;
  font-variation-settings: "opsz" 96;
  max-width: 12ch;
}

.footer-big em { font-style: normal; color: var(--lavender); }

.footer-line {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  max-width: 52ch;
  opacity: 0.85;
}

.footer-line a {
  color: var(--paper);
  text-decoration-color: var(--lavender);
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.footer-line a:hover { color: var(--lavender); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: clamp(4rem, 8vw, 6rem);
  padding-top: 1.4rem;
  border-top: 1px solid oklch(97.5% 0.008 75 / 0.15);
  font-size: 0.85rem;
  opacity: 0.6;
}

/* focus visibility */

a:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
}

.footer a:focus-visible { outline-color: var(--lavender); }
