/* ==========================================================================
   MAMUJU — stylesheet
   Their drawing. Made to wear.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --cream:        #F4EFE5;
  --cream-deep:    #ECE4D4;
  --cream-card:    #FBF8F2;
  --ink:           #221F1B;
  --ink-soft:      #55504A;
  --line:          #DCD2BF;
  --line-soft:     #E7DFCE;
  --accent-badge:  #E8DCC4;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1240px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { overflow-x: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

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

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

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

button { font-family: inherit; cursor: pointer; }

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* -------------------------------------------------- typography helpers */

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  margin: 0;
  color: var(--ink);
}

p { margin: 0; }

/* -------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: var(--cream);
}
.btn-primary:hover { transform: translateY(-2px); }

.btn-secondary {
  background: transparent;
  color: var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: var(--cream); }

/* -------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 239, 229, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
}

.logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.main-nav {
  display: flex;
  gap: 40px;
}

.main-nav a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle svg { width: 26px; height: 26px; }

/* -------------------------------------------------- language toggle */

.lang-toggle {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.lang-toggle button {
  border: none;
  background: transparent;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-toggle button.is-active {
  background: var(--ink);
  color: var(--cream);
}
.lang-toggle button:not(.is-active):hover {
  color: var(--ink);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* -------------------------------------------------- hero */

.hero {
  padding: 64px 0 96px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.hero-copy p {
  margin-top: 22px;
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 38ch;
}

.hero-copy .btn { margin-top: 32px; }

.hero-features {
  display: flex;
  gap: 34px;
  margin-top: 52px;
}

.hero-feature {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 110px;
}
.hero-feature svg { width: 26px; height: 26px; }
.hero-feature span {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.35;
}

.hero-visual {
  position: relative;
}

.hero-photo-main {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
}

.hero-photo-taped {
  position: absolute;
  top: -6%;
  right: -8%;
  width: 34%;
  aspect-ratio: 4 / 5;
  transform: rotate(4deg);
  filter: drop-shadow(0 14px 24px rgba(34, 31, 27, 0.18));
}

/* -------------------------------------------------- placeholder photo blocks */

.ph {
  position: relative;
  width: 100%;
  background: var(--cream-deep);
  border: 1px dashed #B9AC90;
  border-radius: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ph-inner {
  text-align: center;
  padding: 16px;
  color: #8B7F68;
}
.ph-inner svg { width: 28px; height: 28px; margin: 0 auto 8px; opacity: 0.7; }
.ph-inner .ph-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.ph-inner .ph-file {
  display: block;
  margin-top: 4px;
  font-family: monospace;
  font-size: 10.5px;
  opacity: 0.85;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.ph img.actual { display: none; }

/* -------------------------------------------------- section: how it works */

.how {
  padding: 30px 0 90px;
  text-align: center;
}

.how .eyebrow {
  display: block;
  margin-bottom: 46px;
  font-size: 13px;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.how-step {
  padding: 0 18px;
  border-left: 1px solid var(--line);
}
.how-step:first-child { border-left: none; }

.how-step svg {
  width: 34px;
  height: 34px;
  margin-bottom: 20px;
}

.how-step h3 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.how-step h3 .num {
  color: var(--ink-soft);
  font-weight: 600;
  margin-right: 6px;
}

.how-step p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* -------------------------------------------------- product showcase */

.showcase {
  background: var(--cream-deep);
  padding: 90px 0;
}

.showcase .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 70px;
  align-items: center;
}

.product-column { display: flex; flex-direction: column; }

.product-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}

.product-card { min-width: 0; }

.product-card {
  background: var(--cream-card);
  border-radius: var(--radius-md);
  padding: 18px 18px 26px;
}

.product-card .ph {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
}

.product-card .p-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-card .p-price {
  font-size: 15px;
  font-weight: 600;
  margin-top: 4px;
}

.badge-black {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-badge);
  border-radius: 999px;
  padding: 10px 18px;
  margin-top: 20px;
  flex-shrink: 0;
}
.badge-black .dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--ink);
  flex-shrink: 0;
}
.badge-black strong { font-size: 12.5px; letter-spacing: 0.04em; }
.badge-black span { display: block; font-size: 12px; color: var(--ink-soft); }

.showcase-copy h2 {
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.1;
}

.showcase-copy > p {
  margin-top: 18px;
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 40ch;
}

.family-row {
  display: flex;
  gap: 30px;
  margin-top: 34px;
}
.family-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.family-member svg { width: 46px; height: 46px; }
.family-member span { font-size: 12.5px; color: var(--ink-soft); }

.addon-box {
  margin-top: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--cream-card);
}
.addon-box svg { width: 30px; height: 30px; flex-shrink: 0; }
.addon-box strong {
  display: block;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.addon-box .addon-desc {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 3px;
}
.addon-box .addon-price {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  white-space: nowrap;
}

/* -------------------------------------------------- feature bar */

.feature-bar {
  padding: 70px 0;
}
.feature-bar .wrap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}
.feature-item { display: flex; gap: 16px; align-items: flex-start; }
.feature-item svg { width: 28px; height: 28px; flex-shrink: 0; margin-top: 2px; }
.feature-item h3 {
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 700;
}
.feature-item p {
  margin-top: 5px;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* -------------------------------------------------- bottom CTA */

.bottom-cta {
  background: var(--cream-deep);
  border-radius: var(--radius-lg);
  margin: 0 auto 90px;
  max-width: calc(var(--max-width) + 0px);
  overflow: hidden;
}

.bottom-cta .wrap { padding: 0; max-width: none; }

.bottom-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr) minmax(0, 0.85fr);
  align-items: center;
}

.bottom-cta .ph {
  aspect-ratio: 1 / 1;
  border-radius: 0;
  border: none;
}
.bottom-cta-left .ph { border-top-left-radius: var(--radius-lg); border-bottom-left-radius: var(--radius-lg); }
.bottom-cta-right .ph { border-top-right-radius: var(--radius-lg); border-bottom-right-radius: var(--radius-lg); }

.bottom-cta-center {
  text-align: center;
  padding: 40px 30px;
}
.bottom-cta-center h2 {
  font-size: clamp(26px, 2.8vw, 34px);
  line-height: 1.15;
}
.bottom-cta-center p {
  margin-top: 14px;
  font-size: 15px;
  color: var(--ink-soft);
}
.bottom-cta-center .btn { margin-top: 26px; }

/* -------------------------------------------------- footer */

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 60px 0 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
}

.footer-brand .logo { display: block; margin-bottom: 10px; }
.footer-brand p {
  font-size: 13.5px;
  color: var(--ink-soft);
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; }
.footer-col a:hover { text-decoration: underline; }

.social-row { display: flex; gap: 14px; }
.social-row a {
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.social-row svg { width: 16px; height: 16px; }

.footer-bottom {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 12.5px; color: var(--ink-soft); }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { font-size: 12.5px; color: var(--ink-soft); }
.footer-legal a:hover { color: var(--ink); }

/* -------------------------------------------------- responsive */

@media (max-width: 1080px) {
  .wrap { padding: 0 28px; }
  .how-steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .how-step { border-left: none; padding: 0; }
  .showcase .wrap { grid-template-columns: 1fr; gap: 50px; }
  .feature-bar .wrap { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .bottom-cta-grid { grid-template-columns: 1fr; }
  .bottom-cta .ph { aspect-ratio: 16 / 9; border-radius: 0 !important; }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 36px; }
}

@media (max-width: 760px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .header-actions { gap: 10px; }
  .header-actions .btn { display: none; }
  .lang-toggle button { padding: 5px 10px; font-size: 11px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 40px 0 60px; }
  .hero-photo-taped { display: none; }
  .hero-features { flex-wrap: wrap; row-gap: 24px; }
  .how-steps { grid-template-columns: 1fr; row-gap: 34px; text-align: left; }
  .how { text-align: left; padding: 20px 0 60px; }
  .how .eyebrow { text-align: center; }
  .product-cards { grid-template-columns: 1fr 1fr; }
  .family-row { flex-wrap: wrap; }
  .addon-box { flex-direction: column; align-items: flex-start; }
  .addon-box .addon-price { margin-left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
