/* =========================================================
   White Roses Entertainment — site styles
   Palette: near-black background, soft blush-pink accent
   Type:   Archivo (headings/grotesque) + Inter (body)
   ========================================================= */

:root {
  /* STAGING palette — Deep Wine & Blush */
  --bg:        #1b0d12;   /* deep wine / bordeaux */
  --bg-alt:    #22111a;
  --panel:     #2b1521;   /* review/card panel */
  --light:     #f4ece8;   /* warm ivory light section background */
  --ink:       #1e1216;   /* text on light */
  --white:     #ffffff;
  --muted:     #c3abb1;   /* muted mauve text on dark */
  --muted-lt:  #5c5652;   /* muted text on light */
  --rose:      #e9bcb2;   /* soft blush accent */
  --rose-deep: #c78791;   /* dusty rose (eyebrows/captions) */
  --border:    rgba(255,255,255,0.14);
  --border-lt: rgba(0,0,0,0.12);
  --maxw:      1180px;
  --gutter:    clamp(20px, 5vw, 64px);
  --radius:    14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

h1, h2, h3, h4 {
  font-family: "Archivo", "Inter", sans-serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1.1em; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.accent { color: var(--rose); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: "Archivo", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 15px 34px;
  border-radius: 999px;
  border: 1px solid var(--white);
  color: var(--white);
  background: transparent;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover { background: var(--white); color: var(--ink); }

.btn--solid { background: var(--white); color: var(--ink); }
.btn--solid:hover { background: var(--rose); border-color: var(--rose); color: var(--ink); }

.btn--dark { border-color: var(--ink); color: var(--ink); }
.btn--dark:hover { background: var(--ink); color: var(--white); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(27,13,18,0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 14px;
}
.brand img { height: 62px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 40px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 0.95rem;
  color: var(--muted);
  letter-spacing: 0.01em;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--white);
  border-color: var(--rose);
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--white);
  cursor: pointer;
  padding: 6px;
}
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- Section scaffolding ---------- */
section { position: relative; }
.section { padding-block: clamp(64px, 9vw, 130px); }
.section--light { background: var(--light); color: var(--ink); }
.section--alt { background: var(--bg-alt); }

.eyebrow {
  font-family: "Archivo", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  color: var(--rose-deep);
  margin-bottom: 18px;
}
.section--light .eyebrow { color: var(--rose-deep); }

.h-xl { font-size: clamp(2.6rem, 7vw, 5.4rem); }
.h-lg { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.h-md { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }

.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--muted); }
.section--light .lead { color: var(--muted-lt); }

.center { text-align: center; }
.measure { max-width: 720px; }
.measure.center { margin-inline: auto; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  padding-block: clamp(90px, 15vh, 190px) clamp(50px, 8vw, 96px);
  text-align: center;
}

/* ---------- Home hero ---------- */
.hero {
  min-height: 82vh;
  display: flex;
  align-items: center;
  padding-block: clamp(60px, 12vh, 140px);
}
.hero .container { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero-copy h1 { font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 400; line-height: 1.18; letter-spacing: -0.015em; }
.hero-copy h1 strong { font-weight: 600; }
.hero-media img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius);
}
.reviews-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rose);
  border-bottom: 1px solid var(--rose);
  padding-bottom: 2px;
  font-size: 0.95rem;
}
.reviews-link:hover { color: var(--white); border-color: var(--white); }

/* ---------- Prose block ---------- */
.prose p { color: var(--muted); }
.section--light .prose p { color: #3a3532; }
.prose strong { color: var(--white); font-weight: 600; }
.section--light .prose strong { color: var(--ink); }

/* ---------- Service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 44px);
  margin-top: 54px;
}
.card { text-align: center; }
.card__media {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 26px;
}
.card h3 { font-size: 1.5rem; margin-bottom: 12px; }
.card p { color: #46403c; font-size: 0.98rem; }
.card .btn { margin-top: 8px; }

/* ---------- Feature rows (alternating image/text) ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
}
.feature + .feature { margin-top: clamp(50px, 7vw, 100px); }
.feature img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: var(--radius); }
.feature img.portrait { aspect-ratio: 4/5; object-position: center 22%; }
.feature img.landscape { aspect-ratio: 16/9; }

/* YouTube performance videos (Our Work) */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.video-embed { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) { .video-grid { grid-template-columns: 1fr; } }

/* Wide featured banner image (e.g. top of Our Work) */
.feature-hero-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 620px) { .feature-hero-img { aspect-ratio: 4/3; } }
.feature--rev .feature__text { order: 2; }
.feature--rev .feature__media { order: 1; }

/* ---------- Detail blocks (services) ---------- */
.details { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 60px); margin-top: 50px; }
.detail h3 { font-size: 1.25rem; color: var(--rose); margin-bottom: 12px; }
.detail p { color: var(--muted); font-size: 0.98rem; }

/* ---------- Testimonials ---------- */
.reviews {
  columns: 3;
  column-gap: clamp(22px, 2.5vw, 34px);
  margin-top: 50px;
}
.review {
  break-inside: avoid;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  margin-bottom: clamp(22px, 2.5vw, 34px);
}
.review .stars { color: var(--rose); letter-spacing: 2px; font-size: 0.9rem; margin-bottom: 12px; }
.review p { color: var(--muted); font-size: 0.96rem; line-height: 1.65; }
.review cite { display: block; margin-top: 14px; font-style: normal; color: var(--white); font-size: 0.9rem; letter-spacing: 0.02em; }
.review-source { color: inherit; border-bottom: 1px solid currentColor; }
.review-source:hover { color: var(--rose); }

/* ---------- Featured testimonial ---------- */
.featured-review { max-width: 900px; margin: 0 auto; position: relative; }
.featured-review .fr-quote {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.6rem, 8vw, 6rem);
  line-height: 0.7;
  color: var(--rose);
  opacity: 0.5;
  margin-bottom: 8px;
}
.featured-review .stars { color: var(--rose); letter-spacing: 3px; font-size: 1.05rem; margin-bottom: 24px; }
.featured-review blockquote { margin: 0; }
.featured-review blockquote p {
  font-family: "Archivo", sans-serif;
  font-weight: 300;
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
  line-height: 1.62;
  letter-spacing: -0.005em;
  margin-bottom: 1em;
  color: var(--white);
}
.featured-review blockquote p:first-of-type {
  font-size: clamp(1.2rem, 1.85vw, 1.55rem);
  font-weight: 400;
  line-height: 1.5;
}
.section--light .featured-review blockquote p { color: #2c2825; }
.featured-review figcaption {
  margin-top: 22px;
  font-family: "Archivo", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
  color: var(--rose-deep);
}

/* ---------- Clients ---------- */
.clients { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(30px, 5vw, 72px); margin-top: 44px; }
.clients img {
  height: clamp(42px, 6vw, 66px);
  width: auto;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: 0.72;
  transition: opacity .25s ease;
}
.clients img:hover { opacity: 1; }

/* ---------- CTA band ---------- */
.cta { text-align: center; }
.cta h2 { margin-bottom: 26px; }

/* Row of buttons that wraps neatly on small screens */
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.btn-row.center { justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.contact-info a.email { color: var(--rose); font-weight: 600; }
.contact-info a.email:hover { color: var(--white); }
.socials { display: flex; gap: 16px; margin-top: 26px; }
.socials a {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--border); border-radius: 50%;
  color: var(--muted); transition: all .2s ease;
}
.socials a:hover { color: var(--ink); background: var(--rose); border-color: var(--rose); }
.socials svg { width: 20px; height: 20px; }

form .field { margin-bottom: 20px; }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { display: block; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
label .req { color: var(--rose-deep); }
input, textarea {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  font: inherit;
  font-size: 0.98rem;
  padding: 13px 15px;
  transition: border-color .2s ease;
}
input:focus, textarea:focus { outline: none; border-color: var(--rose); }
textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 14px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 56px;
  background: #150a0e;
}
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; align-items: center; }
.footer-grid img { height: 78px; width: auto; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; margin: 0; padding: 0; }
.footer-nav a { color: var(--muted); font-size: 0.92rem; }
.footer-nav a:hover { color: var(--rose); }
.footer-bottom { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: #6b6560; font-size: 0.82rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 8px var(--gutter) 18px;
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease;
  }
  .nav-links.open { max-height: 340px; }
  .nav-links a { display: block; width: 100%; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .hero .container { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media img { aspect-ratio: 16/10; }
  .cards { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .details { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; }
  .feature--rev .feature__text,
  .feature--rev .feature__media { order: initial; }
  .reviews { columns: 2; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .reviews { columns: 1; }
  form .row { grid-template-columns: 1fr; }
  .brand img { height: 50px; }
}
