/* ============================================
   MoveLab Creations — design tokens
   ============================================ */
:root {
  --sand: #F2EFE4;
  --sand-deep: #E9E3D2;
  --ink: #262530;
  --ink-soft: #55545F;
  --gold: #C9840F;
  --gold-bright: #F5A623;
  --teal: #14A79D;
  --teal-deep: #0C7A72;
  --purple: #5B2C91;
  --purple-deep: #401F68;
  --pink: #E0397A;
  --line: rgba(38, 37, 48, 0.13);
  --paper-card: #FBFAF5;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-w: 1180px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

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

a { color: inherit; }

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.4em;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--ink-soft); max-width: 62ch; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--purple);
  margin-bottom: 0.9em;
  padding-bottom: 0.4em;
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--purple), var(--gold-bright), var(--teal)) 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(100deg, var(--purple) 0%, var(--purple) 55%, #7A3FB0 100%);
  color: var(--sand);
  box-shadow: 0 6px 16px rgba(91, 44, 145, 0.28);
}
.btn-primary:hover { background: var(--purple-deep); box-shadow: 0 8px 20px rgba(91, 44, 145, 0.36); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--sand); }

/* ---------- header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(242, 239, 228, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 0.95;
  text-decoration: none;
  color: var(--purple);
}
.logo-icon { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.logo span { color: var(--gold); }
.logo small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--teal);
  margin-top: 2px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1; white-space: nowrap; }
.logo--footer { font-size: 1.3rem; gap: 10px; }
.logo--footer .logo-icon { width: 32px; height: 32px; border-radius: 6px; }
.logo--footer small { font-size: 0.55rem; }
.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.nav-links a:hover { color: var(--ink); border-color: var(--gold); }
.nav-cta { display: none; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta { display: inline-flex; }
}

/* ---------- hero ---------- */
.hero {
  padding: 64px 0 88px;
  background:
    radial-gradient(ellipse 60% 50% at 15% 0%, rgba(91,44,145,0.10), transparent 60%),
    radial-gradient(ellipse 55% 45% at 100% 20%, rgba(245,166,35,0.14), transparent 60%);
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-copy p.lede {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 46ch;
}
.hero-cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-media {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}
.hero-media img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 4px;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 4px;
  pointer-events: none;
}
.hero-tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: var(--paper-card);
  padding: 10px 16px;
  border-radius: 3px;
  font-size: 0.85rem;
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(30,42,36,0.18);
}

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-media img { height: 320px; }
}

/* ---------- trust bar ---------- */
.trust-bar {
  background: linear-gradient(90deg, var(--purple-deep), var(--purple) 45%, var(--teal-deep));
  padding: 0;
}
.trust-bar .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 40px;
  padding: 20px 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--sand);
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}
.trust-item .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-bright);
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .trust-bar .wrap { gap: 10px 24px; justify-content: flex-start; }
  .trust-item { font-size: 0.85rem; }
}

/* ---------- section shell ---------- */
section { padding: 78px 0; }
.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}
.divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* ---------- category cards ---------- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.cat-card {
  background: var(--paper-card);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
}
.cat-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.cat-card-body { padding: 22px 22px 26px; }
.cat-card-body h3 { margin-bottom: 0.3em; }
.cat-card-body p { margin-bottom: 0.6em; font-size: 0.95rem; }
.cat-card-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--teal-deep);
}

@media (max-width: 860px) {
  .categories-grid { grid-template-columns: 1fr; }
}

/* ---------- featured products ---------- */
.products-band { background: var(--ink); color: var(--sand); }
.products-band p { color: rgba(242,239,228,0.75); }
.products-band .eyebrow { color: var(--gold-bright); border-image: linear-gradient(90deg, var(--gold-bright), var(--teal), var(--purple)) 1; }
.products-band h2 { color: var(--sand); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: rgba(242,239,228,0.05);
  border: 1px solid rgba(242,239,228,0.14);
  border-radius: 4px;
  overflow: hidden;
}
.product-card img { width: 100%; height: 260px; object-fit: cover; }
.product-card-body { padding: 18px 20px 22px; }
.product-card-body h3 { color: var(--sand); }
.product-card-body p { color: rgba(242,239,228,0.7); font-size: 0.92rem; margin-bottom: 0.9em; }
.badge {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--ink);
  background: var(--gold-bright);
  padding: 4px 10px;
  border-radius: 2px;
  font-weight: 700;
}
.price-line {
  color: var(--gold-bright) !important;
  font-family: var(--font-display);
  font-size: 1.1rem !important;
  font-weight: 600;
  margin: 8px 0 4px !important;
}

@media (max-width: 860px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* ---------- process ---------- */
.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  counter-reset: step;
}
.process-item { position: relative; padding-top: 8px; }
.process-item::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--teal-deep);
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 14px;
}
@media (max-width: 860px) {
  .process-list { grid-template-columns: 1fr; }
}

/* ---------- business benefits ---------- */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 44px;
}
.benefit-item {
  padding: 22px 22px 24px;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 4px;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--purple), var(--gold-bright), var(--teal)) 1;
}
.benefit-item h3 { margin-bottom: 0.4em; }
.benefit-item p { font-size: 0.95rem; margin-bottom: 0; }
@media (max-width: 860px) {
  .benefit-grid { grid-template-columns: 1fr; }
}

/* ---------- portfolio strip ---------- */
.portfolio-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 48px;
}
.portfolio-card {
  position: relative;
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 10px 26px rgba(38, 37, 48, 0.14);
  transition: box-shadow 0.2s ease;
}
.portfolio-card:hover { box-shadow: 0 14px 32px rgba(38, 37, 48, 0.22); }
.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.portfolio-card:hover img { transform: scale(1.05); }
.portfolio-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,16,28,0.82) 0%, rgba(20,16,28,0.25) 45%, transparent 70%);
  pointer-events: none;
}
.portfolio-card figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--sand);
  z-index: 1;
  line-height: 1.35;
}
@media (max-width: 860px) {
  .portfolio-strip { grid-template-columns: 1fr; gap: 16px; }
  .portfolio-card { aspect-ratio: 16 / 10; }
}

/* Modifier: show the full photo uncropped, letterboxed, caption in a solid bar */
.portfolio-card--contain {
  background: var(--paper-card);
  display: flex;
  flex-direction: column;
}
.portfolio-card--contain img {
  object-fit: contain;
  flex: 1;
  background: var(--paper-card);
}
.portfolio-card--contain::after { display: none; }
.portfolio-card--contain figcaption {
  position: static;
  background: var(--ink);
  color: var(--sand);
  padding: 14px 18px;
}

/* ---------- proof / case ---------- */
.case-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 36px;
}
.case-block img { border-radius: 3px; height: 320px; object-fit: cover; width: 100%; }
@media (max-width: 860px) {
  .case-block { grid-template-columns: 1fr; padding: 24px; }
  .case-block img { height: 240px; }
}

/* ---------- about ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ---------- newsletter / quote ---------- */
.quote-band {
  background: var(--teal-deep);
  color: var(--sand);
}
.quote-band h2 { color: var(--sand); }
.quote-band p { color: rgba(242,239,228,0.82); }
.quote-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 560px;
  margin-top: 26px;
}
.quote-form input, .quote-form select, .quote-form textarea {
  font-family: var(--font-body);
  padding: 12px 14px;
  border-radius: 3px;
  border: 1px solid rgba(242,239,228,0.4);
  background: rgba(242,239,228,0.08);
  color: var(--sand);
  flex: 1 1 220px;
}
.quote-form input::placeholder, .quote-form textarea::placeholder { color: rgba(242,239,228,0.55); }
.quote-file-field { display: flex; flex-direction: column; gap: 6px; }
.quote-file-field label { font-size: 0.85rem; color: rgba(242,239,228,0.8); }
.quote-form input[type="file"] {
  padding: 10px 12px;
  font-size: 0.9rem;
  cursor: pointer;
}
.quote-form input[type="file"]::file-selector-button {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink);
  background: var(--gold-bright);
  border: none;
  border-radius: 3px;
  padding: 7px 12px;
  margin-right: 12px;
  cursor: pointer;
}
.quote-form input[type="file"]::file-selector-button:hover { background: var(--sand); }
.quote-form .btn-primary { background: var(--gold-bright); color: var(--ink); flex: 0 0 auto; }
.quote-form .btn-primary:hover { background: var(--sand); }

/* ---------- footer ---------- */
footer {
  padding: 54px 0 40px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 36px;
}
.footer-grid h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--ink);
  margin-bottom: 12px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { text-decoration: none; color: var(--ink-soft); font-size: 0.92rem; }
.footer-grid a:hover { color: var(--teal-deep); }
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- promo popup ---------- */
.promo-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 28, 0.62);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
}
.promo-overlay.is-visible { display: flex; }
.promo-card {
  position: relative;
  background: var(--paper-card);
  border-radius: 6px;
  max-width: 420px;
  width: 100%;
  padding: 36px 32px 28px;
  box-shadow: 0 24px 60px rgba(20, 16, 28, 0.35);
  border-top: 4px solid transparent;
  border-image: linear-gradient(90deg, var(--purple), var(--gold-bright), var(--teal)) 1;
}
.promo-card h3 { margin-bottom: 0.5em; }
.promo-card p { font-size: 0.95rem; margin-bottom: 1.2em; }
.promo-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 4px;
}
.promo-close:hover { color: var(--ink); }
#promoForm {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
#promoForm input[type="email"] {
  flex: 1 1 200px;
  padding: 12px 14px;
  border-radius: 3px;
  border: 1px solid var(--line);
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font-body);
}
#promoForm .btn-primary { flex: 0 0 auto; }
.promo-status { font-size: 0.88rem; margin: 10px 0 0; }
.promo-fineprint { display: block; margin-top: 14px; font-size: 0.78rem; color: var(--ink-soft); }
