/* ===========================================
   Maro Company — stylesheet (shared by every page)
   Look: warm neutral page, clean white card, calm modern text
   throughout — berry stays as a deliberate accent (buttons, links,
   the logo) rather than the color of every heading and paragraph.
   Fonts: Bebas Neue (h1) + Dancing Script (logo/name script)
          + Cormorant Garamond (h2)
          + Jost (body text and everything else)

   Fonts are SELF-HOSTED from /fonts (latin subset, woff2). Loading them
   from Google Fonts made the browser wait on a third-party stylesheet
   before it could paint anything. The three most important files are
   also preloaded in each page's <head>.

   Editing-mode styles (sign-in, edit outlines, card controls) live in
   admin.css, which only loads for the site owner — see content.js.
   =========================================== */

@font-face {
  font-family: "Bebas Neue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/bebas-neue-400.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/cormorant-garamond-600.woff2") format("woff2");
}
@font-face {
  font-family: "Dancing Script";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/dancing-script-600.woff2") format("woff2");
}
/* Variable font: one file covers every Jost weight used on the site (400-600). */
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/jost-var.woff2") format("woff2");
}

:root {
  --blush: #faf8f5;    /* page background (warm neutral, no pink cast) */
  --berry: #7a2e40;    /* accent only: buttons, links (hover), logo, stat numbers */
  --berry-dark: #5e2231;/* button hover */
  --rose: #d98a9c;     /* small decorative touches (underlines, dashed borders) */
  --card: #fffdfb;     /* content card */
  --text: #2c2420;     /* headings + body text — warm neutral ink, not pink-toned */
  --muted: #6f665e;    /* quieter text — neutral warm gray, WCAG AA contrast */
  --line: #e8e2db;     /* dividers — neutral warm gray */
  --sage: #000;        /* second accent, used on pill chips, tags, badges, labels */
  --sage-bg: #fbfae3;  /* light tint for chip/badge backgrounds */

  --font-display: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --font-script: "Dancing Script", "Brush Script MT", cursive;
  --font-serif: "Cormorant Garamond", Garamond, Georgia, serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--blush);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* The white "card" that holds each page */
.page {
  background: var(--card);
  max-width: 980px;
  margin: 3vw auto;
  padding: 2rem clamp(1.25rem, 5vw, 4.5rem) 3rem;
  border-radius: 6px;
  box-shadow: 0 1px 0 var(--line), 0 20px 50px -30px rgba(44, 36, 32, 0.3);
}

img { display: block; max-width: 100%; height: auto; border-radius: 4px; }
p { max-width: 62ch; }

/* ---------- Headings ---------- */

/* h1: tall all-caps titles (Bebas Neue only comes in one weight, 400) */
h1 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--text);
  line-height: 1;
  letter-spacing: 0.02em;
  margin: 0;
}

/* h2: elegant serif section headings */
h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0;
}

/* h3: small clean headings (project names, package names) */
h3 {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--text);
  line-height: 1.2;
  margin: 0;
}

a { color: var(--text); text-decoration-color: var(--rose); text-underline-offset: 4px; }
a:hover { color: var(--berry); text-decoration-color: var(--berry); }
a:focus-visible, .btn:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--berry);
  outline-offset: 3px;
}

/* ---------- Header + navigation ---------- */

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.logo {
  font-family: var(--font-script);
  font-weight: 600;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--berry);
  text-decoration: none;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}

.site-nav a {
  color: var(--text);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--berry); }

/* Marks the page you're on. Put aria-current="page" on that page's nav link. */
.site-nav a[aria-current="page"] { color: var(--berry); border-bottom-color: var(--berry); }

/* ---------- Buttons (only for calls to action) ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--card);
  background: var(--berry);
  padding: 0.8rem 1.8rem;
  border: 1.5px solid var(--berry);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn:hover { background: var(--berry-dark); border-color: var(--berry-dark); color: var(--card); }
.btn-quiet { background: transparent; color: var(--berry); }
.btn-quiet:hover { background: var(--blush); color: var(--berry); border-color: var(--berry); }

/* ---------- Sections ---------- */

section { margin-top: 4.5rem; }
section > h2 { font-size: 2rem; margin-bottom: 1.1rem; }

/* ---------- Hero (home page) ---------- */

.hero { margin-top: 3.5rem; }
.hero h1 {
  font-size: clamp(3.25rem, 9vw, 5.5rem);
}
.lede { font-size: 1.2rem; margin: 1.5rem 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero .hero-actions { margin-top: 2.5rem; }

/* Page title for inner pages */
.page-title { margin-top: 3rem; }
.page-title h1 { font-size: clamp(3rem, 8vw, 4.5rem); }
.page-title p { color: var(--muted); font-size: 1.15rem; margin-top: 0.75rem; }

/* ---------- Audience proof strip ---------- */

.proof {
  list-style: none;
  padding: 1.5rem 0;
  margin: 3.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 3rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.proof strong { font-variant-numeric: tabular-nums; display: block; font-size: 2rem; font-weight: 500; color: var(--berry); line-height: 1.2; }
.proof span { color: var(--muted); font-size: 0.95rem; }

/* ---------- Service pills ---------- */

.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pills li {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--sage);
  background: var(--sage-bg);
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
}

/* ---------- Work grid ---------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.25rem 1.5rem;
}
.work-item h3 { font-size: 1.2rem; margin: 1rem 0 0.3rem; }
.work-item p { margin: 0; color: var(--muted); }
.result { display: inline-block; margin-top: 0.6rem; font-weight: 500; color: var(--berry); }

/* Soft pink box shown where a photo/video should go. Swap for an <img> when ready. */
.placeholder {
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
  background: repeating-linear-gradient(45deg, #f5f2ee 0 10px, #ede7df 10px 20px);
  border: 1.5px dashed var(--muted);
  border-radius: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}
.placeholder.wide { aspect-ratio: 16 / 9; }
.placeholder.square { aspect-ratio: 1; }
.placeholder.vertical { aspect-ratio: 9 / 16; }

/* Real vertical videos, once you add them */
video { display: block; width: 100%; height: auto; border-radius: 4px; background: var(--blush); }
video.vertical { aspect-ratio: 9 / 16; object-fit: cover; }

/* Embedded videos (Vimeo, YouTube). The box keeps the right shape on any screen. */
.video-embed { aspect-ratio: 16 / 9; min-width: 0; background: var(--blush); border-radius: 4px; }
.video-embed.vertical { aspect-ratio: 9 / 16; max-width: 360px; }
.video-embed iframe { width: 100%; height: 100%; border: 0; border-radius: 4px; }

/* Brand collaborations: small vertical videos, same size as the "My own channel" ones */
.collab-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.75rem 1rem; }
.collab-grid h3 { font-size: 1rem; margin-top: 0.75rem; }
.collab-grid p, .collab-grid .result { font-size: 0.9rem; }

/* Home page: 3 videos side by side */
.home-reels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.reel { margin: 0; }
.reel .video-embed { max-width: none; }
.reel .reel-title { margin-top: 0.75rem; font-size: 1.05rem; font-weight: 600; line-height: 1.25; }
.reel .reel-text { margin: 0.3rem 0 0; font-size: 0.95rem; color: var(--muted); }
/* Empty title/paragraph take no space for visitors... */
.reel .reel-title:empty, .reel .reel-text:empty { display: none; }

/* ---------- Case studies (work page) ---------- */

.case {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 2.5rem;
  padding-top: 3rem;
  margin-top: 3rem;
  border-top: 1px solid var(--line);
}
.case h2 { font-size: 2rem; }
section > h2 + .case,
section > h3 + .case { border-top: 0; margin-top: 1rem; padding-top: 0; }
.section-intro { color: var(--muted); margin-top: -0.25rem; }
.case .client { color: var(--muted); margin: 0.35rem 0 1.25rem; }
.case dl { margin: 0; }
.case dt { font-weight: 600; color: var(--berry); margin-top: 1.1rem; }
.case dd { margin: 0.2rem 0 0; }
.case-media { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; align-content: start; }
.case-media .wide { grid-column: 1 / -1; }
.case-media.reels { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Brand collaboration galleries: one or two items sit in two columns,
   three or more go three across (content.js adds the "many" class). */
.case-media.many { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-item { min-width: 0; align-self: start; }
.gallery-item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.case-title { font-size: 1.5rem; margin-top: 0.75rem; }

/* Small label above each Work section, e.g. "01 · My own channel" */
.eyebrow {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 0.4rem;
}

/* "Concept project" label */
.tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--sage);
  background: var(--sage-bg);
  border: none;
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
}

/* ---------- Testimonials ---------- */

blockquote {
  margin: 0 0 2rem;
  padding: 0.25rem 0 0.25rem 1.5rem;
  border-left: 2px solid var(--rose);
}
blockquote p { font-size: 1.2rem; font-style: italic; margin: 0 0 0.5rem; }
blockquote footer { color: var(--muted); font-size: 0.95rem; }

/* ---------- Service packages ---------- */

.packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.package {
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.package.featured { background: var(--blush); border: 2px solid var(--berry); }
.featured-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sage);
  background: var(--sage-bg);
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}
.package h3 { font-size: 1.3rem; }
.price { font-size: 1.1rem; font-weight: 500; color: var(--berry); margin: 0.4rem 0 1rem; }
/* Feature lines: bold bullets. display: list-item keeps the bullet visible
   (the .feature-row editing style below makes these rows flex, which
   would otherwise hide it). */
.package ul { padding-left: 1.1rem; margin: 0 0 1rem; }
.package li { display: list-item; margin-bottom: 0.35rem; font-size: 1.15rem; font-weight: 600; }
.package li::marker { color: var(--rose); }
.package .note { font-size: 1rem; color: var(--muted); margin: 0; }

/* Process steps (these really are in order, so they're numbered) */
.steps { padding-left: 1.25rem; }
.steps li { margin-bottom: 0.75rem; }
.steps li::marker { color: var(--berry); font-weight: 600; }
.steps strong { font-weight: 600; }

/* FAQ */
dl dt strong { font-weight: 600; }
dl dd { margin: 0.25rem 0 1.25rem; }

/* ---------- About ---------- */

.about {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 3rem;
  align-items: start;
  margin-top: 3rem;
}
.about h1 { font-size: clamp(3rem, 7vw, 4.25rem); }
.about > img { width: 100%; height: auto; }

/* ---------- Contact form ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 3rem;
}
form { display: grid; gap: 1.1rem; }
label { font-weight: 500; display: grid; gap: 0.35rem; }
input, textarea, select {
  font: inherit;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
}
input:focus, textarea:focus, select:focus { border-color: var(--rose); }
textarea { min-height: 8rem; resize: vertical; }
form .btn { justify-self: start; }

/* ---------- Closing call to action + footer ---------- */

.cta-band {
  margin-top: 5rem;
  padding: 2.5rem;
  background: var(--blush);
  border-radius: 6px;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-script);
  font-weight: 600;
  color: var(--text);
  font-size: clamp(2.25rem, 6vw, 3.25rem);
  margin-bottom: 0.5rem;
}
.cta-band p { margin: 0 auto 1.5rem; color: var(--text); }

.site-footer {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--muted);
}
.site-footer p { margin: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.25rem; }
/* Tiny low-key link that opens the editor sign-in */
.site-footer .admin-link { font-size: 0.75rem; color: var(--muted); text-decoration: none; }
.site-footer .admin-link:hover, .site-footer .admin-link:focus-visible { color: var(--text); text-decoration: underline; }

/* ---------- Small screens ---------- */

@media (max-width: 900px) {
  .collab-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .page { margin: 0; border-radius: 0; box-shadow: none; }
  .collab-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Home videos become a sideways-swipe row on phones */
  .home-reels {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 70%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.5rem;
  }
  .reel { scroll-snap-align: start; }
  .case, .about, .contact-grid { grid-template-columns: 1fr; }
  .case-media.many { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  section { margin-top: 3.25rem; }
  .cta-band { padding: 2rem 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}
/* Photo / video slot on a card */
.media-slot { margin-bottom: 0.75rem; }
.media-slot img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
/* FAQ items are rendered one per data-list card instead of bare dt/dd */
.faq-item { margin-bottom: 0; }
.faq-item dd { margin: 0.25rem 0 1.25rem; }
/* ---------- Hero background photo (optional) ---------- */

.hero.has-bg-photo {
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  padding: clamp(2rem, 6vw, 3.5rem) clamp(1.25rem, 5vw, 3rem);
}
/* Lighter wash now lets the photo show through — this backs up legibility
   on busier photos without having to darken the whole image. */
.hero.has-bg-photo h1,
.hero.has-bg-photo .lede {
  text-shadow: 0 2px 20px rgba(250, 248, 245, 0.95), 0 1px 3px rgba(250, 248, 245, 0.95);
}
.hero.has-bg-photo .proof {
  background: rgba(250, 248, 245, 0.55);
  border-radius: 8px;
  padding: 1.5rem 1rem;
  border-top: none;
  border-bottom: none;
}
/* ---------- Live Calendly calendar (contact page) ---------- */

.calendly-embed .calendly-fallback {
  margin: 0;
  padding: 1.25rem;
  text-align: center;
}
.calendly-embed {
  height: 700px;
  background: var(--blush);
  border-radius: 6px;
  overflow: hidden;
}
@media (max-width: 700px) {
  .calendly-embed { height: 620px; }
}

/* ---------- Location badge (hero) ---------- */

.hero-location {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--berry);
  background: var(--blush);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin: 0.75rem 0 0;
}
.hero.has-bg-photo .hero-location { background: rgba(250, 248, 245, 0.75); }
