/* MaryGoesGlobal — Dark link-in-bio with video background */

:root {
  --cream: #FDF7EE;
  --cream-soft: #EFE3CC;
  --merlot: #5C2D3E;
  --merlot-deep: #3D1A28;
  --merlot-ink: #2A0F1A;
  --gold: #B8860B;
  --mustard: #C89938;
  --warm-gray: #8A7462;
  --text-dark: #2A0F1A;
  --ink: #FDF7EE;
  --edge-light: rgba(253, 247, 238, 0.18);
}

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

html, body {
  background: transparent;
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  overflow-x: hidden;
}

html { background: #1a0a12; }

/* ---------------- Background video layer ---------------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #1a0a12 url("/assets/images/bg-poster.jpg") center/cover no-repeat;
}

.bg__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* very soft tint — keep the photo visible */
.bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 70% at 50% 0%, transparent 0%, rgba(10, 3, 6, 0.25) 100%);
  z-index: 1;
  pointer-events: none;
}

/* minimal bottom darkening for readability — keep photo visible */
.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, transparent 45%, rgba(10, 3, 6, 0.35) 100%);
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }

.page {
  position: relative;
  max-width: 440px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
  z-index: 2;
}

/* ---------------- Header ---------------- */
.header {
  text-align: center;
  margin: 0.5rem 0 1.5rem;
  padding: 1.4rem 1.2rem 1.3rem;
  border-radius: 18px;
  background: rgba(110, 40, 56, 0.5);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  box-shadow: inset 0 0 0 1px rgba(253, 247, 238, 0.14);
}

.header__avatar {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 999px;
  margin: 0 auto 0.9rem;
  background: #2a0f1a url("/assets/images/hero.jpg") center/cover no-repeat;
  box-shadow: 0 4px 18px -6px rgba(0,0,0,0.55), inset 0 0 0 2px rgba(253, 247, 238, 0.25);
}

.header__handle {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 0.35rem;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.header__tagline {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(253, 247, 238, 0.88);
  max-width: 32ch;
  margin: 0 auto;
  font-weight: 400;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.socials {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.25rem 0 1.75rem;
}

.socials a {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(253, 247, 238, 0.18);
  box-shadow: inset 0 0 0 1px rgba(253, 247, 238, 0.3), 0 2px 10px rgba(0, 0, 0, 0.25);
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: background 180ms ease, transform 180ms ease;
}

.socials a:hover { background: rgba(253, 247, 238, 0.28); transform: translateY(-1px); }
.socials a:active { transform: scale(0.96); }
.socials a svg { width: 22px; height: 22px; }

/* ---------------- Section label ---------------- */
.section-label {
  font-family: 'monarcha', 'Inter', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
  color: #FDF7EE;
  text-align: center;
  margin: 1.8rem 0 0.8rem;
  letter-spacing: 0.01em;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.55),
    0 2px 14px rgba(0, 0, 0, 0.45);
}

.section-label span {
  display: inline;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

/* ---------------- New YouTube feature block ---------------- */
.yt-feature {
  margin: 0 0 1.5rem;
}

.yt-feature__headline {
  text-align: center;
  font-family: 'monarcha', 'Jost', serif;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #FDF7EE;
  max-width: 30ch;
  margin: 0 auto 0.85rem;
  padding: 0.75rem 1.1rem;
  border-radius: 14px;
  background: rgba(20, 7, 14, 0.72);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  box-shadow: inset 0 0 0 1px rgba(253, 247, 238, 0.1);
}

.yt-new-badge {
  display: inline-block;
  white-space: nowrap;
  font-family: 'Barlow Condensed', sans-serif;
  font-style: normal;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2A0F1A;
  background: #C89938;
  padding: 0.18em 0.55em;
  border-radius: 4px;
  vertical-align: middle;
  position: relative;
  top: -2px;
  margin-left: 0.35rem;
}

/* ---------------- Featured newsletter tile ---------------- */
.tile--featured {
  position: relative;
  display: block;
  padding: 1.4rem 1.3rem 1.3rem;
  border-radius: 16px;
  text-align: center;
  background: linear-gradient(135deg, #7a3b52 0%, #5C2D3E 55%, #3D1A28 100%);
  color: var(--ink);
  box-shadow:
    0 10px 24px -12px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(200, 153, 56, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin-bottom: 0.2rem;
  transition: transform 160ms ease, filter 160ms ease;
}
.tile--featured:hover { transform: translateY(-2px); filter: brightness(1.08); }
.tile--featured:active { transform: scale(0.99); }

.tile--featured .tile__title {
  font-family: 'monarcha', 'Jost', serif;
  font-size: 1.35rem;
  color: var(--mustard);
  line-height: 1.2;
}
.tile--featured .tile__sub {
  font-family: 'monarcha', 'Jost', serif;
  font-style: italic;
  color: rgba(253, 247, 238, 0.82);
  font-size: 0.92rem;
  margin-top: 0.3rem;
}

.tile__stamp {
  font-family: 'Barlow Condensed', sans-serif;
}

.tile__stamp--featured {
  position: static;
  display: inline-block;
  margin-bottom: 0.5rem;
  color: rgba(200, 153, 56, 0.9);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.28em;
}

/* ---------------- Tiles — solid text blocks, no icons ---------------- */
.tiles {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin: 0 0 1.5rem;
}

.tile {
  display: block;
  padding: 1.1rem 1.25rem;
  border-radius: 14px;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.tile:hover { transform: translateY(-2px); filter: brightness(1.05); }
.tile:active { transform: translateY(0) scale(0.99); }

.tile__title {
  font-family: 'monarcha', 'Jost', serif;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.2;
  letter-spacing: 0.005em;
}

.tile__sub {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: 0.85rem;
  line-height: 1.4;
  margin-top: 0.35rem;
  letter-spacing: 0;
  opacity: 0.85;
}

.tile--merlot {
  background: rgba(92, 45, 62, 0.92);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(253, 247, 238, 0.1);
}

.tile--mustard {
  background: rgba(200, 153, 56, 0.95);
  color: var(--text-dark);
}
.tile--mustard .tile__sub { color: rgba(42, 15, 26, 0.72); opacity: 1; }

.tile--cream {
  background: rgba(253, 247, 238, 0.94);
  color: var(--merlot-ink);
}
.tile--cream .tile__sub { color: var(--warm-gray); opacity: 1; }

.tile--ghost {
  background: rgba(253, 247, 238, 0.08);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--edge-light);
}

/* ---------------- IG embed block ---------------- */
.ig-block {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(253, 247, 238, 0.95);
  margin: 0 0 1.25rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.ig-block__header {
  padding: 0.7rem 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--merlot);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border-bottom: 1px solid rgba(42, 15, 26, 0.08);
}

.ig-block__body { padding: 0.5rem; }
.ig-block blockquote.instagram-media { margin: 0 !important; min-width: 0 !important; }

/* ---------------- About-me intro (subline under section label) ---------------- */
.about-intro {
  text-align: center;
  font-family: 'monarcha', 'Jost', serif;
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #FDF7EE;
  letter-spacing: 0.005em;
  max-width: 36ch;
  margin: 0 auto 1rem;
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  background: rgba(24, 10, 18, 0.55);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  box-shadow: inset 0 0 0 1px rgba(253, 247, 238, 0.1);
}

/* ---------------- Video cards — match tile width ---------------- */
.videos {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0 0 1rem;
}

.video-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #0a0306;
  box-shadow:
    inset 0 0 0 1px rgba(253, 247, 238, 0.18),
    0 8px 22px -10px rgba(0, 0, 0, 0.5);
}

.video-card--short {
  aspect-ratio: 9 / 16;
  max-width: 260px;
  margin: 0 auto;
}

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

/* ---------------- Newsletter CTA — simple button ---------------- */
.newsletter-cta {
  display: block;
  width: fit-content;
  margin: 1.75rem auto 0;
  padding: 0.7rem 1.3rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: transparent;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(253, 247, 238, 0.4);
  transition: background 160ms ease, transform 160ms ease;
  text-decoration: none;
}

.newsletter-cta:hover {
  background: rgba(253, 247, 238, 0.08);
  transform: translateY(-1px);
}

/* ---------------- MBTS intro + tile ---------------- */
.mbts-intro {
  margin: 1.75rem auto 0.7rem;
  text-align: center;
  font-family: 'monarcha', 'Jost', serif;
  font-style: italic;
  font-size: 1rem;
  line-height: 1.5;
  color: #FDF7EE;
  letter-spacing: 0.005em;
  max-width: 34ch;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.55),
    0 2px 14px rgba(0, 0, 0, 0.45);
}

.tile--mbts {
  position: relative;
  background: #0E0509;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(200, 153, 56, 0.55);
  text-align: left;
  padding: 1.25rem 1.25rem 1.2rem;
}

.tile--mbts .tile__title {
  color: var(--mustard);
  font-family: 'monarcha', 'Jost', serif;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
}

.tile--mbts .tile__sub {
  color: rgba(253, 247, 238, 0.72);
  font-size: 0.82rem;
}

.tile__stamp {
  position: absolute;
  top: 0.9rem;
  right: 1.1rem;
  font-family: 'monarcha', 'Inter', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 0.82rem;
  text-transform: none;
  letter-spacing: 0.01em;
  color: rgba(200, 153, 56, 0.85);
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.footer {
  text-align: center;
  margin-top: 1.25rem;
  color: rgba(253, 247, 238, 0.35);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer__links {
  margin-top: 0.5rem;
  letter-spacing: 0.08em;
}

.footer__links a {
  color: rgba(253, 247, 238, 0.55);
  text-decoration: none;
  margin: 0 0.3rem;
  transition: color 160ms ease;
}

.footer__links a:hover { color: rgba(253, 247, 238, 0.9); }

.footer__links span { color: rgba(253, 247, 238, 0.3); }

/* ---------------- Inner pages (landing + thanks) — light mode ---------------- */
.page--inner {
  background: var(--cream);
  color: var(--text-dark);
  max-width: 480px;
  padding: 2.25rem 1.25rem 3rem;
  min-height: 100dvh;
  border-radius: 0;
}

body.inner { background: var(--cream); }
body.inner .bg { display: none; }

.page--inner h1 {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--merlot-ink);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.page--inner h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--merlot-ink);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.page--inner p { color: var(--text-dark); font-size: 0.98rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 1.25rem;
  margin: 1rem 0;
  box-shadow: 0 1px 0 rgba(42, 15, 26, 0.08);
}

.btn {
  display: inline-block;
  background: var(--merlot);
  color: #fff;
  padding: 0.95rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 160ms ease, transform 160ms ease;
  text-align: center;
}

.btn:hover { background: var(--merlot-deep); transform: translateY(-1px); }
.btn:active { transform: scale(0.99); }
.btn--block { display: block; width: 100%; }

.preview-list { list-style: none; padding: 0; margin: 1rem 0; }
.preview-list li {
  padding: 0.55rem 0 0.55rem 1.5rem;
  position: relative;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(42, 15, 26, 0.08);
}
.preview-list li:last-child { border-bottom: none; }
.preview-list li::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 1rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--gold);
}

.formkit-form { background: transparent !important; border: none !important; padding: 0 !important; box-shadow: none !important; max-width: 100% !important; }

.formkit-field input,
.formkit-input {
  font-family: inherit !important;
  border: 1px solid rgba(42, 15, 26, 0.14) !important;
  background: #fff !important;
  color: var(--text-dark) !important;
  padding: 0.85rem 1rem !important;
  border-radius: 12px !important;
  font-size: 1rem !important;
  width: 100% !important;
  transition: border-color 160ms ease !important;
}
.formkit-field input:focus, .formkit-input:focus { outline: none !important; border-color: var(--merlot) !important; }

.formkit-submit, .formkit-submit span {
  background: var(--merlot) !important;
  color: #fff !important;
  font-family: inherit !important;
  font-weight: 600 !important;
  border-radius: 12px !important;
  padding: 0.95rem 1.5rem !important;
  border: none !important;
  box-shadow: none !important;
  font-size: 1rem !important;
}
.formkit-submit:hover { background: var(--merlot-deep) !important; }

@media (prefers-reduced-motion: reduce) {
  .tile, .socials a, .btn { transition: none; }
  .bg__media { display: none; }
}
