/* Mommy & Daddy Tuning – static rebuild
   Colors taken from the logo (light blue / grey) and the studio's poster (navy / yellow). */
:root {
  --blue: #8bb8e3;
  --blue-dark: #4f8cc9;
  --navy: #1c2b3a;
  --navy-2: #24384c;
  --yellow: #f7b134;
  --grey: #5d5d5d;
  --text: #2b2f33;
  --muted: #6b737b;
  --bg-alt: #f3f7fb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(28, 43, 58, .10);
  --header-h: 84px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Avenir Next Condensed", "Arial Narrow", "Roboto Condensed", var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; font-family: var(--font); color: var(--text); line-height: 1.65; background: #fff; }
img { max-width: 100%; display: block; }
a { color: var(--blue-dark); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; color: var(--navy); }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); text-transform: uppercase; letter-spacing: .02em; }
h3 { font-size: 1.3rem; }
.container { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }
.container.narrow { width: min(860px, 100% - 2.5rem); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-block; padding: .85em 1.7em; border-radius: 999px; border: 2px solid var(--blue-dark);
  background: var(--blue-dark); color: #fff; font-weight: 700; text-decoration: none; letter-spacing: .02em;
  transition: transform .2s, background .2s, color .2s, border-color .2s; cursor: pointer; font-size: 1rem;
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); background: var(--navy); border-color: var(--navy); }
.btn-ghost { background: transparent; border-color: #fff; }
.btn-ghost:hover, .btn-ghost:focus-visible { background: #fff; color: var(--navy); border-color: #fff; }
.btn-accent { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.btn-accent:hover, .btn-accent:focus-visible { background: #fff; border-color: #fff; color: var(--navy); }
.btn-small { padding: .5em 1.2em; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .97); box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
  transition: height .25s, box-shadow .25s;
}
.site-header.scrolled { --header-h: 66px; height: 66px; box-shadow: var(--shadow); }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand img { height: calc(var(--header-h) - 18px); width: auto; transition: height .25s; }
.site-header.scrolled .brand img { height: 52px; }
.main-nav { display: flex; align-items: center; gap: 1.8rem; }
.main-nav a:not(.btn) {
  color: var(--grey); text-decoration: none; font-weight: 600; font-size: .95rem; text-transform: uppercase;
  letter-spacing: .05em; position: relative; padding: .3em 0;
}
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue);
  transform: scaleX(0); transition: transform .25s;
}
.main-nav a:not(.btn):hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--navy); }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle .bar { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .25s; }

/* Hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: center;
  background: url("../images/hero.jpg") center / cover no-repeat fixed; color: #fff; padding-top: var(--header-h);
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(28, 43, 58, .92) 0%, rgba(28, 43, 58, .65) 55%, rgba(28, 43, 58, .25) 100%); }
.hero-content { position: relative; max-width: 1140px; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 8vw, 5.2rem); text-transform: uppercase; letter-spacing: .01em; }
.hero h1 span { color: var(--blue); }
.hero .lead { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 36ch; opacity: .92; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-weight: 700; font-size: .85rem; color: var(--yellow); margin: 0 0 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.scroll-hint {
  position: absolute; left: 50%; bottom: 2rem; width: 26px; height: 42px; margin-left: -13px;
  border: 2px solid rgba(255, 255, 255, .8); border-radius: 14px;
}
.scroll-hint::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  background: #fff; border-radius: 2px; animation: scroll 1.8s infinite;
}
@keyframes scroll { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }

/* Sections */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy); color: #dfe8f1; }
.section-dark h2 { color: #fff; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.section-head h2::after { content: ""; display: block; width: 60px; height: 4px; margin: .6em auto 0; background: var(--blue); border-radius: 2px; }
.section-head p { color: var(--muted); margin: 0; font-size: 1.1rem; }
.section-dark .section-head p { color: #b8c7d6; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.card { background: #fff; border-radius: var(--radius); padding: 2.4rem 2rem; text-align: center; box-shadow: var(--shadow); transition: transform .25s; }
.card:hover { transform: translateY(-6px); }
.card img { margin: 0 auto 1.2rem; height: 70px; width: auto; }
.card p { color: var(--muted); margin: 0; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.checks { list-style: none; padding: 0; margin: 1.5rem 0 2rem; }
.checks li { padding-left: 2rem; position: relative; margin-bottom: .6rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3' d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* Video */
.video-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.video-frame video { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; }

/* Team */
.team { display: flex; justify-content: center; flex-wrap: wrap; gap: 2rem; }
.member { width: min(340px, 100%); background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-align: center; padding-bottom: 1.8rem; }
.member img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: top; margin-bottom: 1.4rem; }
.member h3, .member p { padding-inline: 1.6rem; }
.member h3 { margin-bottom: .1em; }
.member .role { color: var(--blue-dark); font-weight: 700; margin: 0 0 .8rem; font-size: .95rem; }
.member p:last-child { color: var(--muted); margin: 0; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery a { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 1 / 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery a:hover img, .gallery a:focus-visible img { transform: scale(1.07); }

/* Ribbon */
.ribbon { background: linear-gradient(rgba(28, 43, 58, .88), rgba(28, 43, 58, .88)), url("../images/g-band.jpg") center / cover fixed; padding: 4.5rem 0; }
.ribbon-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.ribbon h2 { color: #fff; margin: 0; }
.ribbon .eyebrow { margin-bottom: .5rem; }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.quote { margin: 0; background: var(--bg-alt); border-radius: var(--radius); padding: 2.2rem; position: relative; }
.quote::before { content: "“"; position: absolute; top: -.1em; left: 1.2rem; font-size: 5rem; color: var(--blue); font-family: Georgia, serif; line-height: 1; }
.quote blockquote { margin: 0 0 1.4rem; font-size: 1.1rem; font-style: italic; padding-top: 1rem; }
.quote figcaption { display: flex; align-items: center; gap: .9rem; }
.quote figcaption img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.quote figcaption span { display: flex; flex-direction: column; line-height: 1.3; color: var(--muted); font-size: .9rem; }
.quote figcaption strong { color: var(--navy); font-size: 1rem; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; }
.contact-info { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.6rem; }
.contact-info .label { display: block; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--yellow); margin-bottom: .2rem; }
.contact-info a { color: #fff; }
.contact-form { display: grid; gap: 1.1rem; background: var(--navy-2); padding: 2rem; border-radius: var(--radius); }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; font-size: .92rem; }
.field input, .field textarea {
  width: 100%; padding: .8rem 1rem; border-radius: 8px; border: 2px solid transparent; font: inherit;
  background: #fff; color: var(--text);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.field.invalid input, .field.invalid textarea { border-color: #e5624d; }
.contact-form .btn { justify-self: start; }
.form-status { margin: 0; min-height: 1.5em; font-size: .95rem; }

/* Footer */
.site-footer { background: #142030; color: #93a4b6; padding: 1.6rem 0; font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; gap: 1.5rem; }
.site-footer a { color: #c9d6e3; text-decoration: none; }
.site-footer a:hover { color: #fff; }

/* Simple subpages */
.page { padding: calc(var(--header-h) + 4rem) 0 5rem; min-height: 70vh; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10, 16, 24, .92); display: grid; place-items: center; padding: 2rem; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 88vh; width: auto; border-radius: 8px; }
.lightbox-close { position: absolute; top: 1rem; right: 1.4rem; font-size: 2.6rem; line-height: 1; color: #fff; background: none; border: 0; cursor: pointer; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .split, .contact { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .hero, .ribbon { background-attachment: scroll; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff;
    box-shadow: var(--shadow); padding: .5rem 0 1.2rem; display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a:not(.btn) { padding: .9rem 0; width: 100%; text-align: center; }
  .main-nav .btn { margin-top: .6rem; }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateY(-8px) rotate(-45deg); }
  .ribbon-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
