/* ============================================
   Premium Athleisure Theme (Alo-style vibes)
   NOTE: add this to your <head>:
   <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Marcellus&family=Dream+Her&display=swap" rel="stylesheet">
   ============================================ */

/* ===== Design Tokens ===== */
:root {
  --max: 1120px;

  /* Refined palette */
  --ink: #1e1b16;
  --sand: #f6f3ef;
  --parchment: #fffdf9;
  --saddle: #7a5132;
  --rust: #b86b3c;
  --gold: #d4b48c;
  --turquoise: #1f9ca8;
  --sage: #6d7c5f;
  --denim: #2f4f6b;
  --silver: #c9c6be;

  --border: #e8e3dc;
  --ring: rgba(212,180,140,.28);
  --shadow: 0 8px 24px rgba(30, 27, 22, .08);

  --radius: 14px;

  /* Phone width used by embedded frames */
  --phone-width: 240px;
}

/* ===== Global / Base ===== */
* { box-sizing: border-box; transition: all .25s ease; }
html, body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  margin: 0;
  font: 16px/1.65 "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: 0.01em;
  color: var(--ink);
  background:
    linear-gradient(0deg, rgba(0,0,0,.012), rgba(0,0,0,.012)),
    radial-gradient(1000px 600px at 10% -20%, rgba(184,107,60,.05), transparent 60%),
    radial-gradient(700px 400px at 110% 10%, rgba(47,79,107,.06), transparent 60%),
    var(--sand);
}
img { max-width: 100%; height: auto; display: block; }

/* ===== Typography ===== */
h1, h2, h3 {
  margin: .5rem 0;
  font-family: "Marcellus", Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: .4px;
  color: var(--ink);
}

/* Dream Her for the hero/title — with balanced icon spacing */
h1 {
  margin: 0;
  font-family: "Dream Her", "Marcellus", Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 2.2vw + 1rem, 3rem);
  display: flex;
  align-items: center;
  gap: 0.75rem;              /* spacing between title & logo */
  letter-spacing: 0.02em;
}

/* small circular logo beside the title */
.header-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  vertical-align: middle;
  margin-top: 2px;           /* baseline alignment tweak */
}

/* soft divider line after the title */
h1::after {
  content: "";
  display: inline-block;
  width: 60px;
  height: 1px;
  background: var(--saddle);
  opacity: 0.5;
  margin-left: 0.75rem;
}

h2 { font-size: clamp(1.5rem, 1.2vw + 1rem, 2.1rem); line-height: 1.18; }
h3 { font-size: 1.12rem; line-height: 1.22; }

/* underline accent for section headings (not the H1) */
h2 { position: relative; }
h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 1.5px;
  margin-top: .45rem;
  background: linear-gradient(90deg, color-mix(in srgb, var(--gold) 85%, #fff 15%), var(--saddle));
  border-radius: 2px;
  opacity: .85;
}

p { margin: 0 0 1rem; }

/* Optional utility to apply Dream Her on accents */
.brand-script {
  font-family: "Dream Her", "Marcellus", Georgia, "Times New Roman", serif;
  letter-spacing: .02em;
}

/* ===== Layout ===== */
.container { max-width: var(--max); margin: 0 auto; padding: 0 1rem; }
main { padding: 2.25rem 0; }

/* ===== Header / Nav ===== */
header {
  background: var(--parchment);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;               /* a touch more breathing room */
  padding: .95rem 0;
  position: sticky; top: 0; z-index: 10;
  box-shadow: 0 2px 0 rgba(0,0,0,.02);
}
nav a {
  margin-left: 1rem;
  text-decoration: none;
  color: var(--denim);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: .2rem;
}
nav a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: currentColor;
  transition: width .22s ease;
  opacity: .7;
}
nav a:hover { color: color-mix(in srgb, var(--denim) 75%, var(--saddle) 25%); }
nav a:hover::after { width: 100%; }

/* Back link */
.back {
  text-decoration: none;
  color: var(--denim);
  font-weight: 600;
  letter-spacing: .02em;
}
.back:hover { color: color-mix(in srgb, var(--denim) 70%, var(--saddle) 30%); }

/* ===== Cards / Grids ===== */
.card-grid {
  list-style: none; padding: 0; margin: 1rem 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem;
}
.card {
  background: var(--parchment);
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--gold) 26%, var(--border));
  box-shadow: 0 16px 28px rgba(30,27,22,.12);
}

/* ===== Forms & Buttons ===== */
label { display: block; margin: .55rem 0; font-weight: 600; letter-spacing: .02em; }
input, textarea, button {
  width: 100%;
  padding: .68rem .9rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 500;
  background: #fff;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease, transform .02s ease;
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--ring);
}

button {
  cursor: pointer; border: none;
  color: #1e1b16; font-weight: 600; letter-spacing: .03em;
  background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 88%, #fff 12%), color-mix(in srgb, var(--saddle) 70%, #000 30%));
  border-radius: 999px;
  padding: .78rem 1.05rem;
  box-shadow: 0 6px 14px rgba(212,180,140,.22);
}
button:hover { filter: brightness(1.05); transform: translateY(-1px); }
button:active { transform: translateY(0); box-shadow: inset 0 2px 4px rgba(0,0,0,.14); }

button.secondary {
  color: #fff;
  background: linear-gradient(180deg, color-mix(in srgb, var(--denim) 88%, #fff 12%), #213446);
  box-shadow: 0 6px 14px rgba(47,79,107,.2);
}

/* ===== Links ===== */
a { color: var(--rust); }
a:hover { color: color-mix(in srgb, var(--rust) 75%, var(--gold) 25%); }

/* ===== Footer ===== */
footer { padding: 2rem 0; color: #766a5f; }

/* ===== UGC STILLS (uniform tiles + warm filter) ===== */
#stills { margin-top: 1.5rem; }
#stills h2 {
  font-family: "Marcellus", serif;
  margin-bottom: .75rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.stills-surface {
  background: var(--soft-bg, #fafafa);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1rem;
}

.stills-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  grid-auto-flow: dense;
  align-items: start;
}

/* Uniform tile size with tasteful crop */
.stills-grid figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--card-border);
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
  aspect-ratio: 4 / 5;              /* default tile shape */
  display: grid;
}

/* Wider tile for true landscape items (add .landscape in HTML) */
@media (min-width: 860px) {
  .stills-grid .landscape {
    grid-column: span 2;
    aspect-ratio: 16 / 10;
  }
}

/* Subtle cohesive look: warm/brownish + slightly darker */
.stills-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter:
    sepia(.18)
    saturate(.9)
    contrast(1.06)
    brightness(.96)
    hue-rotate(-5deg);
  transition: filter .2s ease, transform .2s ease;
}

/* Ease off the filter a bit on hover for pop */
.stills-grid figure:hover img {
  filter:
    sepia(.12)
    saturate(1)
    contrast(1.08)
    brightness(1)
    hue-rotate(0deg);
  transform: scale(1.01);
}

.stills-grid figcaption {
  padding: .5rem .75rem;
  font-size: .9rem;
  color: #555;
}

/* On small screens, let tiles be a touch taller */
@media (max-width: 520px) {
  .stills-grid figure { aspect-ratio: 3 / 4; }
}

/* ===== ABOUT (no photo, centered quote) ===== */
#about { margin-top: 2rem; }
#about h2 { font-family: "Marcellus", serif; }
.about-text {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

.about-photo {
  flex: 0 0 260px;
  max-width: 100%;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

/* “Speech bubble” turned into a centered quote card */
.about-quote {
  position: relative;
  display: block;
  margin: 1.25rem auto 1.75rem;
  max-width: 760px;
  text-align: center;
  background: #fff;
  color: #111;
  border: 2px solid var(--card-border);
  border-radius: 20px;
  padding: 1.2rem 1.6rem;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.45;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  white-space: normal;
  font-family: "Dream Her", "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

/* ===== Reviews ===== */
#reviews { margin-top: 2rem; }
.reviews-surface {
  background: var(--soft-bg, #fafafa);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.5rem;
}
.reviews-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.review-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 1rem 1.2rem;
}
.review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .4rem;
}
.review-brand { font-weight: 700; }
.review-date { font-size: .9rem; color: #777; }
.stars { color: #ffb700; font-size: 1rem; margin-bottom: .3rem; }
blockquote { margin: 0; font-style: italic; color: #333; line-height: 1.5; }

/* ===== Video Grid / Phone Frames ===== */
.video-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 1rem;
  grid-auto-rows: auto;
}
.video-card {
  background: #fff;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  min-height: 120px;
}
.video-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-family: "Marcellus", Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: .3px;
}

.phone-frame {
  width: min(var(--phone-width), 100%) !important;
  aspect-ratio: 9 / 19.5 !important;
  position: relative;
  border-radius: 48px;
  padding: 10px;
  background: linear-gradient(145deg, #1a1a1a, #2b2b2b);
  box-shadow:
    0 10px 24px rgba(0,0,0,0.28),
    inset 0 1px 1px rgba(255,255,255,0.18),
    inset 0 -1px 2px rgba(0,0,0,0.55);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  margin: 0 auto;
  display: flex !important; align-items: center !important; justify-content: center !important;
}
.phone-frame::after {
  content: "";
  position: absolute; inset: 0; border-radius: 48px;
  background: linear-gradient(135deg, rgba(255,255,255,0.10), rgba(0,0,0,0.22));
  pointer-events: none;
}
.phone-frame::before {
  content: "";
  position: absolute;
  top: 6px; left: 50%; transform: translateX(-50%);
  width: 56px; height: 6px;
  background: #222; border-radius: 3px; z-index: 2;
}
.phone-screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 36px; overflow: hidden; background: #000; z-index: 1;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
}
.phone-screen iframe {
  width: 100%; height: 100%; border: 0; display: block; border-radius: 36px; background: #000;
}
.poster-btn {
  position: absolute; inset: 0; border: 0; background: transparent; cursor: pointer; display: block;
}
.poster-btn img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 36px !important;
}

/* Fallback links under frames */
.fallback-link { text-align: center; margin-top: 0.5rem; font-size: 0.9rem; }

/* ===== Social (Find Me Online) ===== */
.social-links {
  margin-top: 2rem;
  background: var(--soft-bg, #fafafa);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
}
.social-links h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 700;
}
.social-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  justify-items: center;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.social-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
}
.social img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  background: #fff;
  padding: 6px;
  border: 1px solid var(--border);
  box-shadow: 0 3px 8px rgba(0,0,0,.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.social img:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(212,180,140,.25);
}
.social span {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 600;
  letter-spacing: .02em;
  font-size: 0.9rem;
  color: var(--ink);
}
@media (max-width: 500px) {
  .social img { width: 42px; height: 42px; padding: 5px; }
  .social span { font-size: 0.85rem; }
}

/* ===== Visibility Hardening ===== */
.video-grid .video-card,
.video-grid > * {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.video-grid > .video-card:nth-child(4),
.video-grid > :nth-child(4) {
  display: block !important;
}
.video-grid .video-card:last-child {
  display: block !important;
}
