/* =========================================================
   The MFH Studios — style.css
   Light, professional theme: warm beige + charcoal + soft tan.
   Change brand colours here 👇
   ========================================================= */
:root {
  --bg: #f7f4ee;          /* light beige */
  --bg-2: #efe9df;        /* deeper beige for alternate sections */
  --card: #ffffff;
  --line: rgba(28, 25, 23, 0.10);
  --text: #1c1917;        /* charcoal */
  --muted: #6b645c;
  --accent: #1c1917;      /* buttons */
  --accent-ink: #ffffff;
  --tan: #a0825f;         /* soft highlight colour */
  --tan-soft: rgba(160, 130, 95, 0.12);
  --radius: 18px;
  --shadow: 0 1px 2px rgba(28,25,23,.04), 0 12px 32px -12px rgba(28,25,23,.12);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--tan); color: #fff; }
main { overflow-x: clip; }

.container { width: min(1200px, 90%); margin-inline: auto; }
.section { padding: 110px 0; position: relative; }
.section.alt { background: var(--bg-2); }

/* ---------- Typography ---------- */
.h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.1; font-weight: 700; letter-spacing: -0.025em; }
.h2.big { font-size: clamp(2.2rem, 4.8vw, 3.8rem); }
.label { color: var(--tan); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.accent-word { color: var(--tan); font-style: normal; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 100px; font-weight: 600; font-size: .95rem; transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s, border-color .3s; }
.btn span { transition: transform .3s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -12px rgba(28,25,23,.5); }
.btn-ghost { border: 1px solid rgba(28,25,23,.18); background: transparent; }
.btn-ghost:hover { border-color: var(--text); background: #fff; transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: .88rem; }
.btn.full { width: 100%; }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 100; padding: 14px 0; transition: padding .3s, background .3s, box-shadow .3s; }
.header.scrolled { padding: 8px 0; background: rgba(247,244,238,.9); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; }
.logo img { height: 58px; width: auto; transition: height .3s; }
.header.scrolled .logo img { height: 48px; }
.nav-links { display: flex; align-items: center; gap: 30px; font-weight: 500; font-size: .93rem; }
.nav-links a:not(.btn) { color: var(--muted); transition: color .25s; position: relative; }
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 1.5px; width: 0; background: var(--tan); transition: width .3s var(--ease); }
.nav-links a:not(.btn):hover::after { width: 100%; }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--text); transition: .3s; }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger.open span:first-child { top: 21px; transform: rotate(45deg); }
.burger.open span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 150px 0 90px; position: relative; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: .85rem; font-weight: 500; background: #fff; border: 1px solid var(--line); padding: 7px 14px; border-radius: 100px; }
.dot, .live { width: 8px; height: 8px; border-radius: 50%; background: #22a06b; flex: none; }
.hero-title { font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.05; font-weight: 800; letter-spacing: -.035em; margin: 22px 0 20px; }
.hero-sub { color: var(--muted); font-size: 1.12rem; max-width: 480px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-cards { display: flex; gap: 32px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.mini-card { display: flex; flex-direction: column; }
.mini-num { font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; }
.mini-label { color: var(--muted); font-size: .85rem; }

.hero-media { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; height: 560px; }
.hm-main, .hm-small { border-radius: var(--radius); overflow: hidden; background: #e4ddd1; box-shadow: var(--shadow); }
.hm-side { display: grid; grid-template-rows: 1fr 1fr; gap: 14px; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hm-badge { position: absolute; left: -18px; bottom: 28px; background: #fff; border-radius: 100px; padding: 10px 18px; font-size: .85rem; font-weight: 600; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow); }

/* ---------- Ticker (calm) ---------- */
.ticker { border-block: 1px solid var(--line); background: #fff; overflow: hidden; padding: 18px 0; }
.ticker-track { display: flex; gap: 28px; width: max-content; animation: marquee 40s linear infinite; font-weight: 600; font-size: 1.05rem; color: var(--muted); white-space: nowrap; }
.ticker-track i { font-style: normal; color: var(--tan); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Industries ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.chips span { background: #fff; border: 1px solid var(--line); padding: 10px 18px; border-radius: 100px; font-size: .9rem; font-weight: 500; color: var(--text); transition: .25s; }
.chips span:hover { border-color: var(--tan); color: var(--tan); }

/* ---------- Section head ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 50px; flex-wrap: wrap; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: transform .35s var(--ease), box-shadow .35s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.s-num { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--tan-soft); color: var(--tan); font-weight: 700; font-size: .9rem; margin-bottom: 22px; }
.service h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 6px; letter-spacing: -.01em; }
.service p { color: var(--muted); font-size: .93rem; }

/* ---------- Creators / reels ---------- */
.reels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.reel { position: relative; aspect-ratio: 9/14; border-radius: var(--radius); overflow: hidden; background: #e4ddd1; }
.reel video { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.reel:hover video { transform: scale(1.04); }
.reel span { position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.92); color: var(--text); font-size: .8rem; font-weight: 600; padding: 6px 12px; border-radius: 100px; }

/* ---------- Gallery marquee ---------- */
.gallery { overflow: hidden; padding: 10px 0 0; }
.gallery-track { display: flex; gap: 14px; width: max-content; animation: marquee 60s linear infinite; }
.gallery-track img { height: 260px; width: 208px; object-fit: cover; border-radius: var(--radius); background: #e4ddd1; }
.gallery:hover .gallery-track { animation-play-state: paused; }

/* ---------- Work ---------- */
.filters, .toggle { display: flex; gap: 4px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); padding: 5px; border-radius: 100px; }
.filters button, .toggle button { padding: 9px 18px; border-radius: 100px; color: var(--muted); font-weight: 600; font-size: .88rem; transition: .25s; }
.filters button.active, .toggle button.active { background: var(--accent); color: var(--accent-ink); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.work-card.hide { display: none; }
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.work-img { aspect-ratio: 4/3; overflow: hidden; background: #e4ddd1; }
.work-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.work-card:hover .work-img img { transform: scale(1.05); }
.work-meta { padding: 20px 22px 24px; }
.tag { font-size: .75rem; color: var(--tan); letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.work-meta h3 { font-size: 1.2rem; font-weight: 700; margin: 4px 0 8px; }
.view { color: var(--muted); font-size: .88rem; font-weight: 500; }
.work-card:hover .view { color: var(--text); }

/* ---------- Process ---------- */
.process { background: var(--bg-2); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.step span { font-size: .85rem; font-weight: 700; color: var(--tan); }
.step h4 { font-size: 1.15rem; font-weight: 700; margin: 8px 0 6px; }
.step p { color: var(--muted); font-size: .93rem; }

/* ---------- Plans ---------- */
.plan-set { display: none; }
.plan-set.active { display: grid; animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.pricing-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; position: relative; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card.featured { border-color: var(--tan); box-shadow: 0 0 0 1px var(--tan), var(--shadow); }
.badge { position: absolute; top: -12px; left: 28px; background: var(--tan); color: #fff; font-size: .75rem; font-weight: 700; padding: 5px 12px; border-radius: 100px; }
.price-card h3 { font-size: 1.3rem; font-weight: 700; }
.p-desc { color: var(--muted); font-size: .93rem; margin: 6px 0 20px; }
.price-talk { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .85rem; color: var(--tan); background: var(--tan-soft); padding: 7px 14px; border-radius: 100px; margin-bottom: 24px; align-self: flex-start; }
.price-talk .live { background: var(--tan); }
.price-card ul { list-style: none; display: grid; gap: 11px; margin-bottom: 30px; flex: 1; }
.price-card li { padding-left: 26px; position: relative; font-size: .94rem; }
.price-card li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--tan); font-weight: 700; }
.price-note { color: var(--muted); font-size: .95rem; margin-top: 26px; text-align: center; }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.why-list { margin-top: 36px; }
.why-item { display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.why-item b { color: var(--tan); font-size: .9rem; padding-top: 3px; }
.why-item h4 { font-size: 1.1rem; font-weight: 700; }
.why-item p { color: var(--muted); font-size: .93rem; }
.why-visual { position: relative; }
.why-visual img { border-radius: 24px; aspect-ratio: 4/5; object-fit: cover; width: 100%; background: #e4ddd1; }
.float-stat { position: absolute; background: #fff; border-radius: 14px; padding: 14px 20px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.fs1 { left: -24px; bottom: 50px; }
.fs1 span { font-size: 1.8rem; font-weight: 800; }
.fs1 small { color: var(--muted); }
.fs2 { right: -18px; top: 36px; flex-direction: row; align-items: center; gap: 10px; font-weight: 600; font-size: .9rem; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 80px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.stat span { font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 800; letter-spacing: -.03em; }
.stat p { color: var(--muted); font-size: .93rem; }

/* ---------- Founder ---------- */
.founder { background: var(--bg-2); }
.founder-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.founder-img { position: relative; }
.founder-photo { aspect-ratio: 4/5; border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; background: #1c1917; }
.founder-photo > img:not(.founder-logo) { width: 100%; height: 100%; object-fit: cover; }
.founder-logo { width: 46%; height: auto; }
.initials { font-weight: 600; color: rgba(255,255,255,.8); }
.founder-tag { position: absolute; bottom: 20px; left: 20px; background: #fff; color: var(--text); font-weight: 600; padding: 7px 16px; border-radius: 100px; font-size: .85rem; }
.founder-role { color: var(--tan); font-weight: 600; margin: 6px 0 24px; }
.founder blockquote { font-size: clamp(1.2rem, 1.9vw, 1.5rem); line-height: 1.45; font-weight: 500; border-left: 3px solid var(--tan); padding-left: 22px; margin-bottom: 28px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; margin-bottom: 10px; }
.faq summary { list-style: none; cursor: pointer; font-size: 1.05rem; font-weight: 600; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--tan); font-size: 1.4rem; line-height: 1; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); margin-top: 10px; }

/* ---------- Contact ---------- */
.contact-box { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 56px; box-shadow: var(--shadow); }
.contact-sub { color: var(--muted); margin: 18px 0 30px; max-width: 420px; }
.contact-info { display: grid; gap: 16px; margin-bottom: 28px; }
.contact-info > * { display: flex; flex-direction: column; font-weight: 600; }
.contact-info small { color: var(--muted); font-weight: 500; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-info a:hover { color: var(--tan); }
.contact-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.contact-form { display: grid; gap: 16px; align-content: start; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: grid; gap: 7px; font-size: .86rem; color: var(--muted); font-weight: 600; }
.contact-form input, .contact-form textarea { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; color: var(--text); font: inherit; font-size: .96rem; transition: border-color .25s, background .25s; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--tan); background: #fff; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills span { border: 1px solid var(--line); background: var(--bg); border-radius: 100px; padding: 7px 13px; font-size: .84rem; font-weight: 500; cursor: pointer; color: var(--text); transition: .2s; user-select: none; }
.pills span.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.form-note { font-size: .9rem; color: var(--tan); min-height: 1.2em; }

/* ---------- Social icons ---------- */
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--text); background: #fff; transition: .25s var(--ease); }
.socials a svg { width: 17px; height: 17px; }
.socials a:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-2px); }
.socials.big { margin-top: 20px; }

/* ---------- Footer (dark for contrast) ---------- */
.footer { background: #1c1917; color: #e7e2d9; padding: 70px 0 34px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.footer-logo { height: 100px; width: auto; }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.footer .socials a { background: transparent; border-color: rgba(255,255,255,.15); color: #e7e2d9; }
.footer .socials a:hover { background: #fff; color: #1c1917; }
.footer-tag { color: #a8a29e; text-align: right; font-size: .93rem; line-height: 1.8; }
.footer-tag a:hover { color: #fff; }
.footer-big { font-weight: 800; font-size: clamp(2.4rem, 9vw, 8rem); letter-spacing: -.05em; line-height: 1; margin-top: 46px; white-space: nowrap; color: rgba(255,255,255,.06); }
.footer-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: #a8a29e; font-size: .88rem; }
.footer-row nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-row a:hover { color: #fff; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .nav-links { position: fixed; inset: 0; background: rgba(247,244,238,.98); flex-direction: column; justify-content: center; gap: 26px; font-size: 1.3rem; opacity: 0; pointer-events: none; transition: opacity .3s; }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .burger { display: block; z-index: 101; }
  .logo img { height: 50px; }
  .hero { padding-top: 120px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { height: 420px; }
  .hm-badge { left: 12px; }
  .reels { grid-template-columns: repeat(2, 1fr); }
  .work-grid, .pricing-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .why-grid, .founder-grid, .faq-wrap, .contact-box { grid-template-columns: 1fr; gap: 44px; }
  .contact-box { padding: 36px 24px; }
  .fs1 { left: 12px; } .fs2 { right: 12px; }
  .footer-right { align-items: flex-start; }
  .footer-tag { text-align: left; }
}
@media (max-width: 600px) {
  .services-grid, .work-grid, .pricing-grid, .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 20px 16px; }
  .contact-form .row { grid-template-columns: 1fr; }
  .hero-media { height: 340px; gap: 10px; }
  .hm-side { gap: 10px; }
  .hero-cards { gap: 22px; }
  .mini-num { font-size: 1.5rem; }
  .reels { gap: 10px; }
  .gallery-track img { height: 190px; width: 152px; }
  .section-head { margin-bottom: 34px; }
  .footer-logo { height: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
