/* ==========================================================================
   MVMT MEDIA — SHARED STYLESHEET
   Brand: Playfair Display (headings) / DM Sans (body) / DM Mono (labels)
   Palette pulled directly from the MVMT Media doc template.

   HOW TO RE-THEME: every color used anywhere on the site is a variable
   below. Change a value here and it updates everywhere.
   ========================================================================== */

:root {
  --ink: #1c2b2d;
  --deep-teal: #2e5f75;
  --teal: #5b8fa8;
  --light-teal: #a8c5d6;
  --muted: #8a9a9c;
  --pale: #f8fbfc;
  --white: #ffffff;
  --border: #dbe6ea;

  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "DM Mono", "Courier New", monospace;

  --max-width: 1120px;
  --radius: 4px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--deep-teal);
  line-height: 1.15;
  margin: 0 0 16px;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--ink); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }

p { margin: 0 0 16px; }

.lede {
  font-size: 1.15rem;
  color: var(--ink);
  max-width: 640px;
}

.muted { color: var(--muted); }
.text-center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--deep-teal); color: var(--white); }
.btn-primary:hover { background: var(--ink); }

.btn-outline { background: transparent; color: var(--deep-teal); border-color: var(--deep-teal); }
.btn-outline:hover { background: var(--deep-teal); color: var(--white); }

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }

/* ---------- Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}
.logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--deep-teal);
  display: flex;
  align-items: center;
}
.logo span { color: var(--teal); font-style: italic; font-weight: 400; }
.logo-img { height: 34px; width: auto; display: block; }
.footer-logo-img { height: 30px; width: auto; display: block; margin: 0 auto 16px; opacity: 0.9; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-links a { color: var(--ink); padding: 4px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { border-bottom-color: var(--teal); color: var(--deep-teal); }
.nav-cta { font-family: var(--font-body) !important; text-transform: none !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--deep-teal);
  cursor: pointer;
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav-links.open { display: flex; }
}

/* ---------- Section rhythm ---------- */
section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.divider {
  border: none;
  border-top: 1px solid var(--light-teal);
  margin: 0;
}
.bg-pale { background: var(--pale); }
.bg-deep { background: var(--deep-teal); color: var(--white); }
.bg-deep h2, .bg-deep h3 { color: var(--white); }

/* ---------- Movement motif ----------
   A subtle diagonal-sweep + contour-line accent used behind hero/section
   headers to nod to skiing/sailing/athletic movement without being literal.
*/
.motion-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.motion-lines svg { position: absolute; opacity: 0.5; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 140px 0 80px;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(160deg, var(--light-teal), var(--teal));
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 43, 45, 0.35) 0%, rgba(28, 43, 45, 0.62) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.hero-content h1 { color: var(--white); }
.hero-content .lede { color: var(--white); margin: 0 auto; }
.hero-content .btn-row { justify-content: center; }
.hero-content .btn-outline { border-color: var(--white); color: var(--white); }
.hero-content .btn-outline:hover { background: var(--white); color: var(--deep-teal); }
.hero-photo-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(160deg, var(--light-teal), var(--teal));
}
.photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.5;
}
.photo-placeholder strong { display: block; font-family: var(--font-body); font-size: 0.95rem; margin-bottom: 6px; }

/* Real photos dropped into any frame/card fill it and crop to cover — no stretching. */
.hero-photo-frame img,
.about-photo-frame img,
.case-study-media img,
.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
}
.about-photo-frame {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(160deg, var(--deep-teal), var(--ink));
}

/* ---------- Services grid (grows without redesign) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.card:hover { border-color: var(--teal); transform: translateY(-2px); }
.card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  color: var(--teal);
}
.card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}
.card li { margin-bottom: 6px; }

/* ---------- Stat tiles ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 32px 0;
}
.stat-tile {
  background: var(--white);
  padding: 28px 20px;
  text-align: center;
}
.stat-number {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.1rem;
  color: var(--deep-teal);
  display: block;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
  display: block;
}
.bg-deep .stat-tile { background: var(--deep-teal); }
.bg-deep .stat-number { color: var(--white); }
.bg-deep .stat-label { color: var(--light-teal); }

/* ---------- Testimonial / pull-quote ---------- */
.pull-quote {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--ink);
  max-width: 760px;
  margin: 0 auto 20px;
  position: relative;
  padding: 0 8px;
}
.quote-attribution {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- Case study block (duplicate this whole component to add another client) ---------- */
.case-study {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 40px;
}
.case-study-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}
@media (max-width: 860px) {
  .case-study-grid { grid-template-columns: 1fr; }
}
.case-study-media {
  background: linear-gradient(160deg, var(--teal), var(--deep-teal));
  min-height: 280px;
}
.case-study-body { padding: 40px; }
.case-study-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--deep-teal);
  background: var(--pale);
  border: 1px solid var(--light-teal);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 14px;
}
.case-study-empty {
  border: 1px dashed var(--light-teal);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  color: var(--muted);
}

/* ---------- Blog cards ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 40px;
}
.blog-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.blog-card-media {
  aspect-ratio: 16/10;
  background: linear-gradient(160deg, var(--light-teal), var(--teal));
}
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 10px;
}
.blog-card h3 { margin-bottom: 10px; }
.blog-card p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.read-link {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--deep-teal);
  font-weight: 700;
  margin-top: 12px;
}

/* ---------- Blog post page ---------- */
.post-header { max-width: 720px; margin: 0 auto; text-align: center; }
.post-body { max-width: 700px; margin: 0 auto; }
.post-body h2 { margin-top: 40px; }
.post-body ul, .post-body ol { padding-left: 22px; }
.tldr-box {
  background: var(--pale);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 32px 0;
}
.tldr-box p:last-child { margin-bottom: 0; }

/* ---------- Contact form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}
form.contact-form { display: grid; gap: 16px; }
.contact-form label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 6px;
  display: block;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--teal);
}
.contact-direct { font-family: var(--font-mono); font-size: 0.95rem; }
.contact-direct a { color: var(--deep-teal); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { padding: 48px 0; text-align: center; }
.footer-meta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
}
.footer-tagline {
  font-family: var(--font-head);
  font-style: italic;
  color: var(--teal);
  margin-top: 10px;
  font-size: 1rem;
}
.footer-links { margin-top: 14px; font-family: var(--font-mono); font-size: 0.78rem; }
.footer-links a { color: var(--muted); margin: 0 8px; }
.footer-links a:hover { color: var(--deep-teal); }

@media (max-width: 600px) {
  section { padding: 64px 0; }
}
