/* Loop de Loop landing page layout. Mobile first. Colours, spacing, radii and fonts come from tokens.css. */

@font-face { font-family: "Shantell Sans"; src: url("../fonts/ShantellSans-Variable.woff2?v=3c8f5f88") format("woff2");
  font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Patrick Hand"; src: url("../fonts/PatrickHand-Regular.woff2?v=ac5bc903") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body { margin: 0; background: var(--cream); color: var(--bark);
  font-family: var(--font-hand); font-size: 18px; line-height: 1.45; }
img { max-width: 100%; }
/* <picture> only picks the file; the <img> inside keeps the layout */
picture { display: contents; }
picture > source { display: none; }
h1, h2, h3, p, figure { margin: 0; }

a { color: var(--raspberry); }
a:hover { color: var(--raspberry-deep); }
a:focus-visible { outline: 3px solid var(--raspberry); outline-offset: 3px; border-radius: 4px; }

.page { max-width: 1280px; margin: 0 auto; overflow-x: clip; }

/* Shared type */
.lead { font-size: 20px; }
.h2 { font-size: clamp(34px, 2vw + 26px, 48px); line-height: 1.1; color: var(--raspberry); }
.section-head { display: flex; align-items: center; gap: var(--space-4); }
.ldl-badge.badge--lg { width: 52px; height: 52px; font-size: 28px; }

/* Buttons: real links styled as pills, 44px+ tall */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 12px 28px; border-radius: var(--radius-pill); font-size: 22px; line-height: 1.1;
  text-decoration: none; background: var(--badge-raspberry); color: var(--on-badge); }
.btn:hover { background: var(--raspberry-deep); color: var(--on-badge); }
.btn--outline { background: var(--cream); color: var(--grape); border: 3px solid var(--grape); padding: 9px 25px; }
.btn--outline:hover { background: var(--lilac); color: var(--grape); }
.btn--sm { font-size: 20px; min-height: 44px; padding: 10px 22px; }

/* Rounded section grounds */
.band { margin: var(--space-8) var(--space-4) 0; padding: var(--space-8) 20px; border-radius: 32px; }
.band--rose { background: var(--rose-mist); }
.band--lilac { background: var(--lilac); }
.band--honey { background: var(--honey); }
.plain { padding: 56px 20px var(--space-6); }

/* Two-column split used by hero, makers, order and goal sections */
.split { display: grid; gap: var(--space-8); align-items: center; }
.stack { display: flex; flex-direction: column; gap: 20px; }

/* Header */
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: var(--space-2) var(--space-6); padding: var(--space-4) var(--space-4) 0; }
.site-logo { display: block; }
.site-logo img { display: block; height: 72px; width: auto; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-2) 20px; font-size: 19px; }
.site-nav a:not(.btn) { color: var(--bark); text-decoration: none; padding: 10px 4px; }
.site-nav a:not(.btn):hover { color: var(--raspberry); text-decoration: underline; }
/* "Shop now!" goes to the same place, so the text link hides on small phones */
.site-nav .nav-stuff { display: none; }

/* Hero */
.hero { margin-top: var(--space-2); }
.hero__copy { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.hero__title { font-size: clamp(40px, 4vw + 26px, 68px); line-height: 1.02; color: var(--rose); }
.hero__copy .ldl-pill { font-size: 18px; }
.hero__copy .lead { max-width: 520px; }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }

/* Hero collage: a tidy 2 by 2 grid on phones, the scattered polaroids from 600px up */
.collage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6) var(--space-4);
  align-items: center; padding: var(--space-2) var(--space-1) 0; }
.collage .ldl-polaroid { margin: 0; }
.collage .ldl-polaroid img { aspect-ratio: 5 / 4; object-fit: cover; }
.collage__loopie { justify-self: center; width: auto; height: 150px; }
.collage__handbag { --ldl-tilt: -4deg; }
.collage__stash { --ldl-tilt: 4deg; }
.collage__coaster { --ldl-tilt: -3deg; }
.collage .ldl-aside { grid-column: 1 / -1; text-align: center; transform: rotate(-3deg); }

@media (min-width: 600px) {
  .collage { display: block; position: relative; width: 100%; max-width: 524px; margin: 0 auto;
    aspect-ratio: 524 / 550; padding: 0; }
  .collage > *, .collage__loopie { position: absolute; }
  .collage__handbag { left: 4%; top: 2%; width: 38%; --ldl-tilt: -6deg; }
  .collage__stash { right: 6%; top: 0; width: 36%; --ldl-tilt: 5deg; }
  .collage__coaster { right: 2%; top: 44%; width: 38%; }
  .collage__loopie { left: 3%; top: 43%; width: 43%; height: auto; }
  .collage .ldl-aside { left: 22%; top: 89%; text-align: left; transform: rotate(-4deg); }
}

/* Products */
.products { display: flex; flex-direction: column; gap: var(--space-6); }
.products .lead { max-width: 820px; }
.sparkle { height: 48px; width: auto; }
.product-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }

.card { --card-ink: var(--raspberry); background: var(--rose-mist); border-radius: 28px; padding: 20px 20px var(--space-6);
  display: flex; flex-direction: column; gap: var(--space-3); height: 100%; }
.card--sage { background: var(--sage-mist); --card-ink: var(--moss); }
.card--lilac { background: var(--lilac); --card-ink: var(--grape); }
.card--linen { background: var(--linen); --card-ink: var(--cocoa); }
.card--honey { background: var(--honey); --card-ink: var(--cocoa); }
.card--apricot { background: var(--apricot); }
.card__frame { background: var(--photo-frame); border-radius: 20px; aspect-ratio: 4 / 3; overflow: hidden; }
.card__frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card__title { font-size: clamp(26px, 1vw + 22px, 30px); line-height: 1.15; color: var(--card-ink); }
.card .ldl-pill { align-self: flex-start; font-size: 18px; margin-top: auto; }
.products > .ldl-aside { text-align: center; }

/* Meet the makers */
.makers .h2 { color: var(--grape); }
.goal .h2 { color: var(--cocoa); }
.makers .ldl-badge { --ldl-badge: var(--badge-grape); }
.age-note { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4);
  background: var(--cream); border-radius: var(--radius-lg); padding: var(--space-4) 20px; }
.age-note__big { flex: none; font-size: 28px; color: var(--rose); transform: rotate(-4deg); }
.age-note__text { flex: 1 1 200px; font-size: 18px; }
.makers__photo { align-self: center; width: 100%; max-width: 440px; margin: 0; padding: 12px 12px 16px; --ldl-tilt: 2deg; }
.makers__photo img { aspect-ratio: 5 / 3; object-fit: cover; }
.makers__photo figcaption { font-size: 20px; }
.makers__people { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; }
.makers__people .ldl-person { padding: var(--space-6); }
.makers__people .ldl-person__name { font-size: 30px; }
.makers__side { display: flex; flex-direction: column; gap: 28px; }

/* How to order */
.order-steps { gap: var(--space-4); font-size: 20px; }
.order-card { background: var(--rose-mist); border-radius: 32px; padding: 28px var(--space-6);
  display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.order-card__icon { height: 72px; width: auto; }
.order-card__title { font-size: clamp(28px, 1vw + 24px, 34px); line-height: 1.15; color: var(--raspberry); }
.order-card__email { font-size: 18px; overflow-wrap: anywhere; }
.order-card__email a { display: inline-block; padding: 10px 0; }
.order__aside { align-self: center; font-size: 26px; transform: rotate(-3deg); }
.order__side { display: flex; flex-direction: column; gap: var(--space-6); }

/* Our BIG goal */
.goal__icon { height: 56px; width: auto; }
.goal__flow { font-size: clamp(22px, 1vw + 18px, 26px); line-height: 1.35; color: var(--grape); }
.soon { background: var(--cream); border-radius: 32px; padding: 28px var(--space-6); display: flex; flex-direction: column; gap: var(--space-4); }
.soon__title { font-size: 30px; color: var(--moss); }
.soon .ldl-list { font-size: 20px; gap: var(--space-3); }

/* Footer */
.site-footer { display: flex; flex-direction: column; align-items: center; gap: 20px;
  padding: 56px 20px 48px; text-align: center; }
.site-footer__divider { width: min(420px, 100%); height: auto; }
.site-footer__tagline { font-size: clamp(30px, 2vw + 22px, 40px); color: var(--rose); }
.site-footer__small { font-size: 17px; color: var(--grape); }

/* Small tablets */
@media (min-width: 560px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); }
  .site-nav .nav-stuff { display: inline; }
}

/* Tablets */
@media (min-width: 768px) {
  body { font-size: 20px; }
  .lead { font-size: 23px; }
  .band { margin: 40px var(--space-8) 0; padding: 48px 40px; border-radius: 40px; }
  .plain { padding: 72px 40px 40px; }
  .site-header { padding: var(--space-6) 48px 0; }
  .site-logo img { height: 96px; }
  .site-nav { gap: var(--space-2) var(--space-8); font-size: 22px; }
  .sparkle { height: 56px; }
  .order-steps { font-size: 21px; }
  .order-card { padding: 36px; }
  .soon { padding: var(--space-8) 36px; }
  .soon .ldl-list { font-size: 21px; }
  .age-note { padding: var(--space-4) var(--space-6); }
  .age-note__big { font-size: 30px; }
  .age-note__text { font-size: 19px; }
  .site-footer { padding: 72px 64px 56px; }
}

/* Desktop: sections go side by side, products go four across */
@media (min-width: 1024px) {
  .site-header { justify-content: space-between; padding: var(--space-6) 64px 0; }
  .site-logo img { height: 104px; }
  .band { margin: 40px 40px 0; padding: 64px 56px; }
  .hero { margin-top: var(--space-2); padding: 56px 56px 64px; }
  .plain { padding: 88px 64px 40px; }
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
  .hero.split { gap: 40px; }
  .hero__copy { gap: var(--space-6); }
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .card__frame { aspect-ratio: 1; }
  .products { gap: var(--space-8); }
  .order.split { gap: 56px; align-items: start; }
  .order__side { padding-top: 72px; }
}
