/* ============================================================
   MovClp Digital — stylesheet
   Naming: semantic kebab-case with short cryptic prefixes
   Layout engine: CSS Grid (with flex for nav)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Newsreader:ital,opsz,wght@0,6..72,300;0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,400&display=swap');

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

img, svg { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

/* ---------- Tokens ---------- */
:root {
  --paper: #f6f4ee;
  --paper-2: #fbfaf6;
  --mist: #ececf3;
  --mist-2: #e4e4ec;
  --line: #dcd9d1;
  --ink: #2c2b32;
  --ink-soft: #5b5862;
  --ink-faint: #8b8894;
  --sage: #7f987d;
  --sage-deep: #5f7a5c;
  --sage-tint: #dde5d7;
  --lav: #a39fd6;
  --lav-tint: #d9d7f0;
  --rose: #d5a9b0;
  --rose-tint: #f1dfe1;

  --font-body: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;

  --step-05: clamp(0.95rem, 0.92rem + 0.16vw, 1.05rem);
  --step-1:  clamp(1.06rem, 1.0rem + 0.28vw, 1.24rem);
  --step-15: clamp(1.2rem, 1.08rem + 0.5vw, 1.55rem);
  --step-2:  clamp(1.45rem, 1.24rem + 0.9vw, 2.15rem);
  --step-3:  clamp(2rem, 1.4rem + 2.6vw, 3.4rem);
  --step-4:  clamp(2.7rem, 1.7rem + 4.6vw, 5.2rem);

  --space-1: clamp(0.5rem, 0.42rem + 0.25vw, 0.75rem);
  --space-2: clamp(0.85rem, 0.7rem + 0.6vw, 1.25rem);
  --space-3: clamp(1.4rem, 1.1rem + 1.2vw, 2.2rem);
  --space-4: clamp(2.2rem, 1.6rem + 2.6vw, 3.8rem);
  --space-5: clamp(3.2rem, 2.2rem + 4.6vw, 5.6rem);
  --space-6: clamp(4.4rem, 3rem + 6.5vw, 7.6rem);

  --radius-s: 8px;
  --radius-m: 16px;
  --radius-l: 26px;
  --radius-xl: 38px;
  --radius-full: 999px;

  --sh-1: 0 1px 2px rgba(44,43,50,0.05), 0 4px 14px rgba(44,43,50,0.06);
  --sh-2: 0 10px 34px rgba(44,43,50,0.10), 0 2px 6px rgba(44,43,50,0.05);
  --sh-3: 0 28px 70px rgba(44,43,50,0.16);

  --wrap: 1220px;
  --gutter: clamp(1.25rem, 3.2vw, 3rem);
}

/* ---------- Base ---------- */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-05);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--lav-tint); color: var(--ink); }

/* ---------- Container (mandatory pattern) ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ---------- Typographic primitives ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}

p { text-wrap: pretty; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--sage-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--sage);
  display: inline-block;
}

.lead {
  font-size: var(--step-15);
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 46ch;
}

.section-head {
  display: grid;
  gap: var(--space-2);
  max-width: 640px;
  margin-bottom: var(--space-4);
}
.section-head h2 { font-size: var(--step-3); }

/* ---------- Links & buttons ---------- */
.link-quiet {
  color: var(--sage-deep);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.3s ease, color 0.3s ease;
}
.link-quiet:hover { gap: 0.7rem; color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-full);
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
  will-change: transform;
}
.btn svg { transition: transform 0.3s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--ink);
  color: #fbfaf6;
  box-shadow: var(--sh-1);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-2);
  background: #3a3842;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px var(--ink);
}

/* ---------- Header / nav ---------- */
.site-head {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding-block: clamp(0.7rem, 1.6vw, 1.3rem);
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
.site-head.is-solid {
  background: rgba(251,250,246,0.86);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(44,43,50,0.06);
}

.head-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand-mark {
  width: 34px; height: 34px;
  flex-shrink: 0;
  border-radius: var(--radius-s);
  overflow: hidden;
  box-shadow: var(--sh-1);
}
.brand-mark svg { width: 100%; height: 100%; }
.brand em {
  font-style: normal;
  color: var(--sage-deep);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 1.6vw, 1.6rem);
}
.nav a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding-block: 0.35rem;
  transition: color 0.3s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after,
.nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--ink); }

.head-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  background: var(--sage-tint);
  color: var(--sage-deep);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.head-cta:hover { transform: translateY(-2px); background: var(--sage); color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-s);
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.25s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Sections (standard pattern) ---------- */
.section {
  padding-block: var(--space-6);
  position: relative;
}
.section-tint { background: var(--mist); }
.section-paper { background: var(--paper-2); }

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(8rem, 12vw + 2rem, 11rem);
  padding-bottom: var(--space-6);
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(163,159,214,0.22), transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(127,152,125,0.16), transparent 60%),
    var(--paper);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-4);
  align-items: center;
}
.hero-copy { display: grid; gap: var(--space-3); }
.hero-copy h1 {
  font-size: var(--step-4);
  font-weight: 400;
  line-height: 1.02;
}
.hero-copy h1 .soft { color: var(--sage-deep); font-style: italic; }
.hero-sub {
  font-size: var(--step-1);
  color: var(--ink-soft);
  max-width: 44ch;
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-1);
}
.hero-meta span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-faint);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-meta span::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sage);
}

/* hero visual */
.hero-visual { position: relative; min-height: 340px; }
.hero-card {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--sh-3);
  background: var(--lav-tint);
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-chip {
  position: absolute;
  left: -22px; bottom: 30px;
  background: var(--paper-2);
  border-radius: var(--radius-l);
  padding: 1rem 1.3rem;
  box-shadow: var(--sh-2);
  display: grid;
  gap: 0.35rem;
  max-width: 200px;
}
.hero-chip strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--sage-deep);
  font-weight: 500;
}
.hero-chip small { color: var(--ink-soft); font-size: 0.82rem; line-height: 1.4; }

/* ---------- Marquee / principles strip ---------- */
.principles { background: var(--ink); color: var(--paper-2); padding-block: var(--space-3); }
.principles-track {
  display: flex;
  gap: 3rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.principles-track > div {
  display: flex;
  gap: 3rem;
  flex-shrink: 0;
  animation: drift 34s linear infinite;
}
.principles-track span {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  font-weight: 400;
  font-style: italic;
  white-space: nowrap;
  color: rgba(251,250,246,0.9);
  display: inline-flex;
  align-items: center;
  gap: 3rem;
}
.principles-track span::after {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lav);
}
@keyframes drift { to { transform: translateX(-100%); } }

/* ---------- Feature / card grid ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: var(--space-3);
  display: grid;
  gap: var(--space-2);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.4s ease, border-color 0.4s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-2);
  border-color: transparent;
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-m);
  display: grid;
  place-items: center;
  background: var(--sage-tint);
  color: var(--sage-deep);
}
.card:nth-child(2) .card-icon { background: var(--lav-tint); color: var(--lav); }
.card:nth-child(3) .card-icon { background: var(--rose-tint); color: var(--rose); }
.card h3 { font-size: var(--step-2); font-weight: 500; }
.card p { color: var(--ink-soft); font-size: var(--step-05); }

/* ---------- Stats row ---------- */
.stats {
  background: var(--mist);
  border-radius: var(--radius-xl);
  padding: var(--space-4);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}
.stat { display: grid; gap: 0.4rem; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.4vw, 3.8rem);
  font-weight: 400;
  color: var(--sage-deep);
  line-height: 1;
}
.stat-label { color: var(--ink-soft); font-size: 0.92rem; max-width: 20ch; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--sage);
  color: #fbfaf6;
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-4);
  align-items: center;
  box-shadow: var(--sh-2);
}
.cta-band h2 { color: #fbfaf6; font-size: var(--step-3); }
.cta-band p { color: rgba(251,250,246,0.85); margin-top: var(--space-2); max-width: 42ch; }
.cta-band .btn-primary { background: #fbfaf6; color: var(--sage-deep); }
.cta-band .btn-primary:hover { background: #fff; }
.cta-side { display: grid; gap: var(--space-2); justify-items: end; text-align: right; }
.cta-side .link-quiet { color: #fbfaf6; }
.cta-side .link-quiet:hover { color: #fff; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 0.9rem; max-width: 760px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--paper-2);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-item.is-open { border-color: var(--sage); box-shadow: var(--sh-1); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: var(--space-2) var(--space-3);
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--step-15);
  font-weight: 500;
  color: var(--ink);
}
.faq-q .plus {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--mist);
  color: var(--sage-deep);
  transition: transform 0.35s ease, background 0.3s ease;
}
.faq-item.is-open .plus { transform: rotate(45deg); background: var(--sage); color: #fff; }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div {
  overflow: hidden;
  color: var(--ink-soft);
  padding: 0 var(--space-3);
}
.faq-item.is-open .faq-a > div { padding-bottom: var(--space-3); }

/* ---------- Forms ---------- */
.form-field { display: grid; gap: 0.45rem; }
.form-field label { font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); }
.form-field input,
.form-field textarea {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 0.8rem 1rem;
  font-size: var(--step-05);
  color: var(--ink);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(127,152,125,0.18);
}
.form-field textarea { resize: vertical; min-height: 120px; }

/* ---------- Footer ---------- */
.site-foot {
  background: var(--ink);
  color: var(--paper-2);
  padding-top: var(--space-5);
  margin-top: var(--space-6);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: var(--space-4);
  padding-bottom: var(--space-4);
}
.foot-brand .brand { color: var(--paper-2); }
.foot-brand .brand em { color: var(--lav); }
.foot-brand p { color: rgba(251,250,246,0.65); margin-top: var(--space-2); max-width: 30ch; }
.foot-social { display: flex; gap: 0.7rem; margin-top: var(--space-3); }
.foot-social a {
  width: 40px; height: 40px;
  border-radius: var(--radius-s);
  display: grid;
  place-items: center;
  background: rgba(251,250,246,0.08);
  color: var(--paper-2);
  transition: background 0.3s ease, transform 0.3s ease;
}
.foot-social a:hover { background: var(--sage); transform: translateY(-3px); }

.foot-col h4 {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(251,250,246,0.5);
  margin-bottom: var(--space-2);
}
.foot-col li { margin-bottom: 0.7rem; }
.foot-col a {
  color: rgba(251,250,246,0.8);
  font-size: 0.92rem;
  transition: color 0.3s ease;
}
.foot-col a:hover { color: var(--lav); }

.foot-news { display: grid; gap: 0.7rem; }
.foot-news p { color: rgba(251,250,246,0.65); font-size: 0.9rem; }
.foot-news form { display: flex; gap: 0.5rem; }
.foot-news input {
  flex: 1;
  background: rgba(251,250,246,0.08);
  border: 1px solid rgba(251,250,246,0.14);
  border-radius: var(--radius-full);
  padding: 0.65rem 1rem;
  color: var(--paper-2);
  font-size: 0.9rem;
}
.foot-news input::placeholder { color: rgba(251,250,246,0.45); }
.foot-news input:focus { outline: none; border-color: var(--lav); }
.foot-news button {
  background: var(--sage);
  color: #fff;
  border-radius: var(--radius-full);
  padding: 0 1.1rem;
  font-weight: 600;
  transition: background 0.3s ease;
}
.foot-news button:hover { background: var(--sage-deep); }

.foot-base {
  border-top: 1px solid rgba(251,250,246,0.12);
  padding-block: var(--space-3);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(251,250,246,0.5);
  font-size: 0.85rem;
}
.foot-base a { color: inherit; }
.foot-base a:hover { color: var(--lav); }

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.22,1,0.36,1),
              transform 0.9s cubic-bezier(0.22,1,0.36,1);
}
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 300px; max-width: 560px; }
  .card-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cta-band { grid-template-columns: 1fr; }
  .cta-side { justify-items: start; text-align: left; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .head-cta { display: none; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper-2);
    box-shadow: var(--sh-2);
    border-radius: 0 0 var(--radius-l) var(--radius-l);
    padding: var(--space-2) var(--gutter) var(--space-3);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { width: 100%; padding-block: 0.7rem; font-size: 1rem; }
  .nav a::after { display: none; }
  .stats { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-chip { left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
body{margin:0}
img,svg,video{max-width:100%;height:auto}
html{-webkit-text-size-adjust:100%}
*{box-sizing:border-box}
