/* MaM marketing site — cream paper, script, calm type. No trackers. */

:root {
  --paper: #fff8ec;
  --ink: #2c2926;
  --ink-soft: #5f5f5f;
  --ink-mute: #696969;
  --rule: rgba(44, 41, 38, 0.12);
  --link: #6b5b7a;
  --max-legal: 38rem;
  --max: 44rem;
  --max-wide: 68rem;
  --peach: #ffb8a8;
  --lavender: #b8a8ff;
  --spring-wash: linear-gradient(145deg, #f4fff8 0%, #e8f5f0 55%, #e8f0ff 100%);
  --summer-wash: linear-gradient(145deg, #fff5e6 0%, #f5e8f0 55%, #e8f0ff 100%);
  --autumn-wash: linear-gradient(145deg, #fff4e8 0%, #f5e8dc 55%, #f0e8e0 100%);
  --winter-wash: linear-gradient(145deg, #f2f5f8 0%, #e8ecf2 55%, #e4e8f0 100%);
  --spring-accent: #7bc4a8;
  --summer-accent: #b8a8ff;
  --autumn-accent: #e89a5c;
  --winter-accent: #8aa8c4;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--link);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--ink);
}

/* —— Header —— */
.site-header {
  position: relative;
  z-index: 2;
  padding: 1.35rem 1.5rem 0;
}

.site-header__inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "Dancing Script", Georgia, serif;
  font-size: 1.85rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.2;
}

.site-mark img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.site-mark:hover {
  color: var(--ink);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
}

.site-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
}

/* —— Landing —— */
.landing {
  flex: 1;
  width: 100%;
  overflow-x: clip;
}

.landing__wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 8% 0%, rgba(255, 184, 168, 0.35), transparent 60%),
    radial-gradient(ellipse 55% 50% at 92% 8%, rgba(184, 168, 255, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(168, 216, 196, 0.18), transparent 60%);
  opacity: 0.95;
}

.hero {
  position: relative;
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    padding: 3.25rem 1.75rem 4.5rem;
    gap: 3rem;
  }
}

.hero__brand {
  margin: 0 0 0.65rem;
  font-family: "Dancing Script", Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 2.6rem);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.hero__title {
  margin: 0 0 1rem;
  font-family: "Dancing Script", Georgia, serif;
  font-size: clamp(2.75rem, 9vw, 4.1rem);
  font-weight: 500;
  line-height: 1.08;
  color: var(--ink);
}

.hero__sub {
  margin: 0 0 1.75rem;
  max-width: 32rem;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(105deg, var(--peach), var(--lavender));
  color: #fff;
  font-family: Poppins, Inter, sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(122, 104, 166, 0.22);
  cursor: default;
}

.hero__cta:hover {
  color: #fff;
}

.hero__art {
  position: relative;
  min-height: 320px;
  display: grid;
  place-items: center;
}

.polaroid {
  background: #fff;
  padding: 0.7rem 0.7rem 2.1rem;
  box-shadow: 0 14px 36px rgba(122, 104, 166, 0.16);
}

.polaroid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #f0ebe3;
}

.polaroid__caption {
  margin-top: 0.55rem;
  font-family: "Dancing Script", Georgia, serif;
  font-size: 1.15rem;
  text-align: center;
  color: #6b6b6b;
}

.hero-stack {
  position: relative;
  width: min(100%, 340px);
  height: 380px;
}

.hero-stack .polaroid {
  position: absolute;
  width: 58%;
}

.hero-stack .polaroid--a {
  left: 6%;
  top: 8%;
  transform: rotate(-7deg);
  z-index: 1;
  animation: settle-a 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-stack .polaroid--b {
  right: 4%;
  top: 18%;
  width: 62%;
  transform: rotate(5deg);
  z-index: 2;
  animation: settle-b 1.2s 0.08s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-stack .polaroid--c {
  left: 22%;
  bottom: 0;
  width: 56%;
  transform: rotate(-2deg);
  z-index: 3;
  animation: settle-c 1.15s 0.14s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes settle-a {
  from { opacity: 0; transform: rotate(-7deg) translateY(28px) scale(0.96); }
  to { opacity: 1; transform: rotate(-7deg) translateY(0) scale(1); }
}

@keyframes settle-b {
  from { opacity: 0; transform: rotate(5deg) translateY(32px) scale(0.96); }
  to { opacity: 1; transform: rotate(5deg) translateY(0) scale(1); }
}

@keyframes settle-c {
  from { opacity: 0; transform: rotate(-2deg) translateY(36px) scale(0.96); }
  to { opacity: 1; transform: rotate(-2deg) translateY(0) scale(1); }
}

.section {
  position: relative;
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 3.25rem 1.5rem;
}

.section--tight {
  max-width: var(--max);
}

.section__eyebrow {
  margin: 0 0 0.5rem;
  font-family: Poppins, Inter, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.section__title {
  margin: 0 0 0.85rem;
  font-family: "Dancing Script", Georgia, serif;
  font-size: clamp(2.1rem, 5.5vw, 2.85rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
}

.section__body {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.0625rem;
  max-width: 36rem;
}

.feel-grid {
  margin-top: 2rem;
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 760px) {
  .feel-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
  }
}

.feel-card {
  padding: 1.35rem 1.25rem 1.5rem;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(44, 41, 38, 0.06);
}

.feel-card h3 {
  margin: 0 0 0.45rem;
  font-family: "Dancing Script", Georgia, serif;
  font-size: 1.65rem;
  font-weight: 500;
  color: var(--ink);
}

.feel-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.55;
}

.season-swatches {
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

@media (min-width: 700px) {
  .season-swatches {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.swatch {
  border-radius: 1.1rem;
  overflow: hidden;
  min-height: 7.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(44, 41, 38, 0.06);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.swatch:hover {
  transform: translateY(-3px);
}

.swatch span {
  font-family: "Dancing Script", Georgia, serif;
  font-size: 1.35rem;
  color: var(--ink);
}

.swatch--spring { background: var(--spring-wash); box-shadow: inset 0 0 0 1px rgba(123, 196, 168, 0.2); }
.swatch--summer { background: var(--summer-wash); box-shadow: inset 0 0 0 1px rgba(184, 168, 255, 0.22); }
.swatch--autumn { background: var(--autumn-wash); box-shadow: inset 0 0 0 1px rgba(232, 154, 92, 0.22); }
.swatch--winter { background: var(--winter-wash); box-shadow: inset 0 0 0 1px rgba(138, 168, 196, 0.25); }

.shoebox {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 820px) {
  .shoebox {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 2.75rem;
  }
}

.shoebox__art {
  border-radius: 1.25rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 16px 40px rgba(122, 104, 166, 0.12);
}

.shoebox__art img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.premium-band {
  position: relative;
  margin: 1rem 0 0;
  padding: 3.5rem 1.5rem;
  background:
    radial-gradient(ellipse 80% 80% at 20% 30%, rgba(255, 184, 168, 0.28), transparent 55%),
    radial-gradient(ellipse 70% 70% at 85% 70%, rgba(184, 168, 255, 0.24), transparent 50%),
    #fff6ea;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.premium-band__inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.premium-band .section__title {
  margin-bottom: 0.75rem;
}

.premium-band .section__body {
  margin: 0 auto;
  font-size: 1.15rem;
}

.teaser {
  text-align: center;
  padding-bottom: 2rem;
}

.teaser .section__body {
  margin: 0 auto;
}

.shots {
  padding-bottom: 4rem;
}

.shots-grid {
  margin-top: 2rem;
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .shots-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: end;
  }
}

.device {
  margin: 0 auto;
  width: min(100%, 240px);
}

.device__bezel {
  background: #1c1a18;
  border-radius: 1.65rem;
  padding: 0.55rem;
  box-shadow: 0 18px 42px rgba(44, 41, 38, 0.18);
}

.device__screen {
  background: var(--paper);
  border-radius: 1.25rem;
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
  position: relative;
}

.device__label {
  margin-top: 0.85rem;
  text-align: center;
  font-family: "Dancing Script", Georgia, serif;
  font-size: 1.3rem;
  color: var(--ink);
}

.screen-home {
  padding: 1.1rem 0.75rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  height: 100%;
  background:
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(255, 184, 168, 0.25), transparent 70%),
    var(--paper);
}

.screen-home__title {
  font-family: "Dancing Script", Georgia, serif;
  font-size: 1.35rem;
  text-align: center;
  color: var(--ink);
  margin: 0 0 0.25rem;
}

.screen-home .polaroid {
  width: 78%;
  margin: 0 auto;
  padding: 0.4rem 0.4rem 1.2rem;
  box-shadow: 0 8px 18px rgba(122, 104, 166, 0.14);
}

.screen-home .polaroid:nth-child(2) { transform: rotate(-3deg); }
.screen-home .polaroid:nth-child(3) { transform: rotate(2.5deg); margin-top: -0.35rem; }
.screen-home .polaroid:nth-child(4) { transform: rotate(-1.5deg); margin-top: -0.25rem; }

.screen-home .polaroid img {
  aspect-ratio: 4 / 5;
}

.screen-home .polaroid__caption {
  font-size: 0.85rem;
  margin-top: 0.3rem;
}

.screen-albums {
  padding: 1rem 0.7rem;
  height: 100%;
  background: var(--summer-wash);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.screen-albums__title {
  font-family: "Dancing Script", Georgia, serif;
  font-size: 1.25rem;
  text-align: center;
  margin: 0;
}

.shelf {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.shelf figure {
  margin: 0;
  background: #fff;
  padding: 0.28rem 0.28rem 0.7rem;
  box-shadow: 0 6px 14px rgba(122, 104, 166, 0.12);
}

.shelf figure img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.shelf figcaption {
  margin-top: 0.25rem;
  font-family: "Dancing Script", Georgia, serif;
  font-size: 0.78rem;
  text-align: center;
  color: #6b6b6b;
}

.screen-shoebox {
  height: 100%;
  display: grid;
  place-items: center;
  padding: 0.75rem;
  background: var(--autumn-wash);
}

.screen-shoebox img {
  width: 100%;
  border-radius: 0.65rem;
  box-shadow: 0 10px 24px rgba(122, 104, 166, 0.14);
}

/* —— Legal —— */
.legal {
  flex: 1;
  width: 100%;
  max-width: var(--max-legal);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
}

.legal__title {
  margin: 0 0 1rem;
  font-family: "Dancing Script", Georgia, serif;
  font-size: clamp(2.5rem, 8vw, 3.25rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.legal__lede {
  margin: 0 0 2.25rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.legal section {
  margin: 0 0 1.75rem;
}

.legal h2 {
  margin: 0 0 0.5rem;
  font-family: Poppins, Inter, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

.legal p {
  margin: 0 0 0.75rem;
  color: var(--ink-soft);
}

.legal p:last-child {
  margin-bottom: 0;
}

.legal a {
  font-weight: 500;
}

/* —— Footer —— */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--rule);
  padding: 1.35rem 1.5rem 2rem;
}

.site-footer__inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.65rem;
  font-size: 0.875rem;
  color: var(--ink-mute);
  text-align: center;
}

.site-footer__inner a {
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-footer__inner a:hover,
.site-footer__inner a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
}

.site-footer__sep {
  opacity: 0.55;
  user-select: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-stack .polaroid--a,
  .hero-stack .polaroid--b,
  .hero-stack .polaroid--c {
    animation: none;
  }

  .swatch {
    transition: none;
  }
}
