/* ============================================================
   FLOW REVELATION — styles.css
   Mobile-first. CSS custom properties. Semantic HTML.
   Bold, psychedelic, flow arts aesthetic.
   ============================================================ */


/* ------------------------------------------------------------
   DESIGN TOKENS (CSS Custom Properties)
   Think of these like your brand's color palette and spacing
   rules. Change a value here and it updates everywhere.
   ------------------------------------------------------------ */
:root {
  /* Core colors */
  --color-bg:         #08080d;   /* Near-black background */
  --color-bg-2:       #0e0e1a;   /* Slightly lighter background for alternating sections */
  --color-bg-3:       #131320;   /* Card backgrounds */
  --color-pink:       #ff2d78;   /* Hot pink — primary accent */
  --color-green:      #00e87a;   /* Vivid green — secondary accent */
  --color-purple:     #7b2fff;   /* Deep purple — tertiary accent */
  --color-gold:       #ffd166;   /* Gold — used in the lotus center */
  --color-text:       #f0f0f5;   /* Main text color */
  --color-muted:      #8888a0;   /* Subdued text (captions, secondary copy) */
  --color-border:     rgba(255, 255, 255, 0.08); /* Very subtle border */

  /* Semi-transparent tints of accent colors (used for backgrounds) */
  --color-pink-dim:   rgba(255, 45, 120, 0.12);
  --color-green-dim:  rgba(0, 232, 122, 0.10);

  /* Fonts */
  --font-display:  'Bebas Neue', sans-serif;   /* Giant display/hero text */
  --font-heading:  'Space Grotesk', sans-serif; /* Section headings, labels, UI */
  --font-body:     'Inter', sans-serif;         /* Body copy */

  /* Spacing scale */
  --space-xs: 0.5rem;   /*  8px */
  --space-sm: 1rem;     /* 16px */
  --space-md: 2rem;     /* 32px */
  --space-lg: 4rem;     /* 64px */
  --space-xl: 7rem;     /* 112px */

  /* Border radii */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-pill: 999px; /* Full pill shape */

  /* Transition shorthand */
  --transition: 0.3s ease;

  /* Glow box-shadows for neon effects */
  --glow-pink:  0 0 18px rgba(255, 45, 120, 0.45), 0 0 55px rgba(255, 45, 120, 0.18);
  --glow-green: 0 0 18px rgba(0, 232, 122, 0.45),  0 0 55px rgba(0, 232, 122, 0.18);
}


/* ------------------------------------------------------------
   RESET & BASE STYLES
   Removes browser defaults and sets a consistent foundation.
   ------------------------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden; /* Prevent horizontal scroll from animations */
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}


/* ------------------------------------------------------------
   UTILITY CLASSES
   Small reusable helpers used throughout the page.
   ------------------------------------------------------------ */

/* Accent color text */
.accent-pink   { color: var(--color-pink); }
.accent-green  { color: var(--color-green); }
.accent-purple { color: var(--color-purple); }
.accent-gold   { color: var(--color-gold); }

/* Centered content wrapper with max-width */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Consistent vertical padding for all main sections */
.section {
  padding: var(--space-xl) 0;
}


/* ------------------------------------------------------------
   SCROLL REVEAL ANIMATION
   Elements with .reveal start invisible and slightly below
   their final position. When script.js adds .visible (via
   IntersectionObserver), they fade in and slide up.
   --delay is a CSS variable set inline on each element to
   stagger animations in a group.
   ------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity  0.75s ease,
    transform 0.75s ease;
  transition-delay: var(--delay, 0ms);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ------------------------------------------------------------
   BUTTONS
   Two sizes (normal, large, small), three visual styles
   (pink filled, green filled, ghost/outline).
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  transition:
    transform     var(--transition),
    box-shadow    var(--transition),
    background    var(--transition),
    border-color  var(--transition);
}

.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--large {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.btn--small {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

/* Filled pink — primary CTA */
.btn--pink {
  background-color: var(--color-pink);
  color: #fff;
  box-shadow: var(--glow-pink);
}
.btn--pink:hover {
  box-shadow: 0 0 28px rgba(255, 45, 120, 0.7), 0 0 70px rgba(255, 45, 120, 0.25);
}

/* Filled green — secondary CTA */
.btn--green {
  background-color: var(--color-green);
  color: #08080d; /* Dark text on light green for contrast */
  box-shadow: var(--glow-green);
}
.btn--green:hover {
  box-shadow: 0 0 28px rgba(0, 232, 122, 0.7), 0 0 70px rgba(0, 232, 122, 0.25);
}

/* Ghost / outline — tertiary option */
.btn--ghost {
  background-color: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background-color: rgba(255, 255, 255, 0.04);
}


/* ============================================================
   NAVIGATION
   Fixed to the top. Transparent at first, gains a blur
   background after the user scrolls (via JS .scrolled class).
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  /* Smooth transition for when .scrolled is added */
  transition:
    background-color var(--transition),
    border-color     var(--transition),
    backdrop-filter  var(--transition);
  border-bottom: 1px solid transparent;
}

/* JS adds this class when user scrolls > 80px */
.nav.scrolled {
  background-color: rgba(8, 8, 13, 0.8);
  backdrop-filter: blur(14px);        /* Frosted glass effect */
  -webkit-backdrop-filter: blur(14px); /* Safari support */
  border-bottom-color: var(--color-border);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav__logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  margin-right: auto; /* Push everything else to the right */
}

/* Desktop nav links — hidden on mobile */
.nav__links {
  display: none;
  align-items: center;
  gap: var(--space-md);
}

.nav__link {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-muted);
  transition: color var(--transition);
}
.nav__link:hover { color: var(--color-text); }

/* Desktop CTA button — hidden on mobile */
.nav__cta {
  display: none;
}

/* Hamburger toggle — only shows on mobile */
.nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Animate the 3 lines into an X when menu is open */
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile dropdown menu */
.nav__mobile {
  display: none;
  padding: var(--space-sm) var(--space-md) var(--space-md);
  background-color: rgba(8, 8, 13, 0.97);
  border-bottom: 1px solid var(--color-border);
}

.nav__mobile.open { display: block; }

.nav__mobile ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.nav__mobile .nav__link {
  font-size: 1.05rem;
  color: var(--color-text);
}

/* On desktop, show the links and CTA, hide the hamburger */
@media (min-width: 768px) {
  .nav__links,
  .nav__cta    { display: flex; }
  .nav__toggle { display: none; }
}


/* ============================================================
   HERO SECTION
   Full-viewport opening. Layered: canvas → CSS orbs → content.
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh; /* svh = "small viewport height" — better on mobile browsers */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px var(--space-md) var(--space-xl);
  text-align: center;
}

/* Canvas fills the entire hero behind everything */
#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Soft, blurry color orbs — pure CSS, no images needed.
   They drift slowly via CSS animation for a living feel. */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
}

.hero__orb--pink {
  width: 55vw;
  height: 55vw;
  max-width: 600px;
  max-height: 600px;
  top: -15%;
  right: -10%;
  background: radial-gradient(circle, var(--color-pink), transparent 65%);
  animation: orbDrift 14s ease-in-out infinite alternate;
}

.hero__orb--green {
  width: 45vw;
  height: 45vw;
  max-width: 480px;
  max-height: 480px;
  bottom: -10%;
  left: -8%;
  background: radial-gradient(circle, var(--color-green), transparent 65%);
  animation: orbDrift 18s ease-in-out infinite alternate-reverse;
}

/* Slow drift animation for the orbs */
@keyframes orbDrift {
  from { transform: translate(0, 0)     scale(1);   }
  to   { transform: translate(30px, 25px) scale(1.08); }
}

/* All hero text/buttons sit above the canvas and orbs */
.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  max-width: 900px;
}

/* --- Lotus symbol --- */
.lotus-wrap {
  width: 90px;
  height: 90px;
  animation:
    lotusSpin  22s linear       infinite,          /* Slow continuous rotation */
    lotusPulse  4s ease-in-out  infinite;           /* Glow pulse between pink and green */
  filter: drop-shadow(0 0 14px rgba(255, 45, 120, 0.5));
}

@keyframes lotusSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes lotusPulse {
  0%,  100% { filter: drop-shadow(0 0 14px rgba(255, 45, 120, 0.55)); }
  50%        { filter: drop-shadow(0 0 28px rgba(0, 232, 122, 0.65)); }
}

/* Small eyebrow label above the title */
.hero__label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
  border: 1px solid var(--color-border);
  padding: 0.3rem 1rem;
  border-radius: var(--radius-pill);
}

/* The giant FLOW REVELATION title */
.hero__title {
  font-family: var(--font-display);
  /* clamp(min, preferred, max) — scales fluidly with viewport */
  font-size: clamp(4.5rem, 13vw, 9.5rem);
  line-height: 0.88;
  letter-spacing: 0.03em;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__title-flow {
  color: var(--color-text);
  /* Subtle stroke outline for depth */
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
}

.hero__title-revelation {
  /* Gradient from pink → purple → green across the word */
  background: linear-gradient(
    135deg,
    var(--color-pink)   0%,
    #b44fff             50%,
    var(--color-green)  100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* Drop shadow since text-shadow doesn't work on gradient text */
  filter: drop-shadow(0 0 28px rgba(255, 45, 120, 0.35));
}

.hero__tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 3vw, 1.55rem);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.hero__sub {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--color-muted);
  max-width: 580px;
  line-height: 1.75;
}

.hero__sub strong {
  color: var(--color-text);
  font-weight: 600;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: 0.4rem;
}

/* Animated scroll hint at the bottom of the hero */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
  animation: scrollBounce 2.2s ease-in-out infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 38px;
  /* Fades from muted to transparent to look like it flows downward */
  background: linear-gradient(to bottom, var(--color-muted), transparent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0);   }
  50%       { transform: translateX(-50%) translateY(7px); }
}


/* ============================================================
   SECTION TITLE & SUBTITLE
   Shared styles used across multiple sections.
   ============================================================ */
.section__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

/* Center variant used in pillars and blog sections */
.section__title--center {
  text-align: center;
}

.section__sub {
  color: var(--color-muted);
  font-size: 1.05rem;
  margin-bottom: var(--space-lg);
  max-width: 580px;
}


/* ============================================================
   MISSION SECTION
   ============================================================ */
.mission {
  background-color: var(--color-bg-2);
  position: relative;
  overflow: hidden;
}

/* Decorative gradient line across the top of the section */
.mission::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--color-pink),
    var(--color-green),
    transparent
  );
}

.mission__inner {
  max-width: 760px;
  margin: 0 auto;
}

/* "Public Commitment · Signed" badge */
.mission__badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-pink);
  border: 1px solid rgba(255, 45, 120, 0.3);
  background-color: var(--color-pink-dim);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-sm);
}

.mission__body {
  font-size: 1.05rem;
  color: var(--color-muted);
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

.mission__body strong {
  color: var(--color-text);
  font-weight: 600;
}

/* The founder signature */
.mission__founder {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--color-muted);
  font-style: italic;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

/* "Screenshot this. Hold us accountable." callout box */
.mission__callout {
  margin-top: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background-color: var(--color-pink-dim);
  border: 1px solid rgba(255, 45, 120, 0.22);
  border-left: 3px solid var(--color-pink); /* Bold left accent like a blockquote */
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-pink);
}


/* ============================================================
   PILLARS SECTION
   Five principle cards in a responsive grid.
   ============================================================ */
.pillars {
  background-color: var(--color-bg);
}

.pillars .section__title {
  margin-bottom: var(--space-lg);
}

/* Mobile: single column stack */
.pillars__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

/* Tablet: 2 columns */
@media (min-width: 640px) {
  .pillars__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop: use a 6-column base grid so we can center
   the 5th card in the second row precisely */
@media (min-width: 1024px) {
  .pillars__grid {
    grid-template-columns: repeat(6, 1fr);
  }
  /* First row: 3 cards across 2 columns each */
  .pillar:nth-child(1) { grid-column: 1 / 3; }
  .pillar:nth-child(2) { grid-column: 3 / 5; }
  .pillar:nth-child(3) { grid-column: 5 / 7; }
  /* Second row: 2 cards centered */
  .pillar:nth-child(4) { grid-column: 2 / 4; }
  .pillar:nth-child(5) { grid-column: 4 / 6; }
}

.pillar {
  background-color: var(--color-bg-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  transition:
    border-color var(--transition),
    transform    var(--transition),
    box-shadow   var(--transition);
}

.pillar:hover {
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-5px);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.4);
}

/* The decorative diamond icon */
.pillar__icon {
  font-size: 1.6rem;
  color: var(--color-purple);
  margin-bottom: var(--space-sm);
  display: block;
}

.pillar__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pillar__body {
  font-size: 0.93rem;
  color: var(--color-muted);
  line-height: 1.75;
}


/* ============================================================
   TOOLS CTA SECTION
   The main conversion moment. Go big, go bold.
   ============================================================ */
.tools {
  background-color: var(--color-bg-2);
  position: relative;
  overflow: hidden;
}

/* Giant ghosted "FREE" text behind the content for effect */
.tools::before {
  content: 'FREE';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 22vw;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.025);
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
  z-index: 0;
}

.tools__inner {
  position: relative;
  z-index: 1; /* Sit above the ghost text */
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

/* "Live Now" pill with a pulsing green dot */
.tools__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-green);
  border: 1px solid rgba(0, 232, 122, 0.3);
  background-color: var(--color-green-dim);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
}

/* The pulsing dot — a CSS-only "live" indicator */
.tools__badge::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--color-green);
  border-radius: 50%;
  flex-shrink: 0;
  animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
  0%,  100% { box-shadow: 0 0 0 0   rgba(0, 232, 122, 0.8); }
  50%        { box-shadow: 0 0 0 7px rgba(0, 232, 122, 0); }
}

.tools__title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.tools__sub {
  font-size: 1.15rem;
  color: var(--color-muted);
}

.tools__sub strong {
  color: var(--color-text);
}

.tools__cta {
  margin-top: 0.5rem;
}

.tools__note {
  font-size: 0.82rem;
  color: var(--color-muted);
}


/* ============================================================
   BLOG SECTION
   ============================================================ */
.blog {
  background-color: var(--color-bg);
}

.blog .section__title {
  margin-bottom: 0.4rem;
}

/* Blog grid: 1 column on mobile, 3 on desktop */
.blog__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

@media (min-width: 768px) {
  .blog__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Individual blog article card */
.blog-card {
  background-color: var(--color-bg-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition:
    border-color var(--transition),
    transform    var(--transition);
}

.blog-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-5px);
}

/* Category tag (e.g., "Technique", "Community") */
.blog-card__tag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-heading);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-green);
  background-color: var(--color-green-dim);
  border: 1px solid rgba(0, 232, 122, 0.2);
  padding: 0.22rem 0.7rem;
  border-radius: var(--radius-pill);
}

.blog-card__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.blog-card__excerpt {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.75;
  flex: 1; /* Pushes the link to the bottom of the card */
}

.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  align-self: flex-start;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-pink);
  transition: color var(--transition);
}

.blog-card__link:hover {
  color: var(--color-text);
}

/* Title link — inherits card heading style, underlines on hover */
.blog-card__title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

.blog-card__title-link:hover {
  color: var(--color-pink);
}


/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact {
  background-color: var(--color-bg-2);
  position: relative;
  overflow: hidden;
}

/* Gradient line at the bottom, mirroring the one at top of Mission */
.contact::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--color-green),
    var(--color-pink),
    transparent
  );
}

.contact__inner {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}

.contact__sub {
  font-size: 1.05rem;
  color: var(--color-muted);
  margin-top: var(--space-sm);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

/* Flex row of social link pills */
.contact__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

@media (min-width: 580px) {
  .contact__links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

.contact__link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-muted);
  border: 1px solid var(--color-border);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-pill);
  transition:
    color        var(--transition),
    border-color var(--transition),
    box-shadow   var(--transition);
}

.contact__link:hover {
  color: var(--color-text);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Email link gets a pink glow on hover */
.contact__link--email:hover {
  color: var(--color-pink);
  border-color: rgba(255, 45, 120, 0.3);
  box-shadow: 0 0 16px rgba(255, 45, 120, 0.12);
}

.contact__link-icon {
  font-size: 0.95rem;
  opacity: 0.65;
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background-color: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: flex-start;
  margin-bottom: var(--space-md);
}

@media (min-width: 600px) {
  .footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer__logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 0.35rem;
}

.footer__tagline {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer__nav a {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--color-muted);
  transition: color var(--transition);
}

.footer__nav a:hover { color: var(--color-text); }

.footer__bottom {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-sm);
}

.footer__bottom p {
  font-size: 0.78rem;
  color: var(--color-muted);
}
