/* ---------------------------------------------------------------
   The Mint Box Studio — mintbox.hk
   Brand: minty blue (#C9F5F6) yarn-ball logo, candy yarn accents.
   Tone: playful, photo-led, grown-up enough that parents can book
   for kids without rolling their eyes.
   --------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }

:root {
  --mint:        #c9f5f6;
  --mint-soft:   #e6fafa;
  --mint-deep:   #6cc8cb;
  --mint-ink:    #0f4a4d;

  --cream:       #fffefb;
  --paper:       #fff9ee;
  --ink:         #182022;
  --ink-soft:    #4d585a;
  --mute:        #8a9396;
  --line:        #ece7dc;

  --coral:       #ff8aa3;
  --blush:       #ffd6dc;
  --butter:      #ffd97a;
  --lavender:    #c8a8f0;
  --sage:        #b9d8c4;
  --tomato:      #ee5a47;

  --max:    1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --r-md:   18px;
  --r-lg:   28px;
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-weight: 400;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}
em.italic, h1 em, h2 em, h3 em { font-style: italic; font-weight: 300; }

p { margin: 0 0 1em; }

/* ---------- layout primitives ---------- */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 2;
}
main, header, footer { position: relative; z-index: 2; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--gutter);
  background: rgba(255,254,251,.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .35s ease, padding .35s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 42px; height: 42px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: url('images/logo.png') center/cover no-repeat;
}

.nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
  letter-spacing: 0.02em;
  align-items: center;
}
.nav a {
  color: var(--ink-soft);
  position: relative;
  padding: 6px 2px;
  transition: color .25s ease;
}
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 8px;
  background: var(--mint);
  border-radius: 999px;
  z-index: -1;
  transform: translateY(2px);
}

.book-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  transition: transform .2s ease, background .25s ease;
}
.book-btn:hover { transform: translateY(-2px); background: var(--mint-ink); }

.nav-toggle {
  display: none;
  background: var(--mint);
  border: 0;
  width: 44px; height: 44px;
  border-radius: 999px;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: 4px auto;
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .book-btn.desktop { display: none; }
  .nav {
    position: fixed;
    inset: 70px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    padding: 18px var(--gutter) 32px;
    border-bottom: 3px solid var(--mint);
    transform: translateY(-110%);
    transition: transform .4s cubic-bezier(.4,.0,.2,1);
    font-size: 22px;
    font-family: Georgia, 'Times New Roman', serif;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 14px 0; border-bottom: 1px dashed var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .nav a.active::after { display: none; }
  .nav a.active { color: var(--mint-ink); font-style: italic; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), background .25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); background: var(--mint-ink); border-color: var(--mint-ink); }
.btn.mint { background: var(--mint); color: var(--ink); border-color: var(--ink); }
.btn.mint:hover { background: var(--mint-deep); color: var(--cream); }
.btn.coral { background: var(--coral); color: var(--cream); border-color: var(--coral); }
.btn.coral:hover { background: var(--tomato); border-color: var(--tomato); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--cream); }
.btn .arr { transition: transform .3s ease; }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- sticker badges ---------- */
.sticker {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  background: var(--mint);
  color: var(--mint-ink);
  border: 1.5px solid var(--ink);
  transform: rotate(-2deg);
  white-space: nowrap;
}
.sticker.coral { background: var(--coral); color: #fff; }
.sticker.butter { background: var(--butter); color: #5a4500; }
.sticker.lavender { background: var(--lavender); color: #3a1d6b; }
.sticker.blush { background: var(--blush); color: #7a253c; }
.sticker.ink { background: var(--ink); color: var(--cream); }
.sticker.tilt-r { transform: rotate(3deg); }

/* ---------- hero ---------- */
.hero {
  padding: clamp(40px, 8vw, 90px) 0 clamp(50px, 9vw, 110px);
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mint-ink);
  font-weight: 500;
  margin-bottom: 22px;
}
.eyebrow-dot {
  width: 28px; height: 8px;
  border-radius: 999px;
  background: var(--mint);
}

.hero h1 {
  font-size: clamp(42px, 7.2vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}
.hero h1 .underline {
  display: inline-block;
  position: relative;
  font-style: italic;
  font-weight: 300;
}
.hero h1 .underline::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%;
  bottom: 4%;
  height: 24%;
  background: var(--mint);
  z-index: -1;
  border-radius: 999px;
  transform: rotate(-1deg);
}
.hero p.lead {
  font-size: clamp(16px, 1.5vw, 19.5px);
  color: var(--ink-soft);
  max-width: 30em;
  margin-bottom: 32px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.cta-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-soft);
}
.cta-meta::before {
  content: "✦";
  color: var(--coral);
  font-size: 18px;
}

/* hero photo collage */
.hero-collage {
  position: relative;
  aspect-ratio: 1 / 1.05;
  width: 100%;
}
.collage-card {
  position: absolute;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: 0 24px 50px -22px rgba(20, 30, 35, 0.28);
  background: var(--paper);
  transition: transform .5s cubic-bezier(.34,1.56,.64,1);
}
.collage-card img { width: 100%; height: 100%; object-fit: cover; }
.collage-card.c1 { inset: 0% 28% 30% 0%;   transform: rotate(-3deg); z-index: 3; }
.collage-card.c2 { inset: 6% 0% 38% 38%;   transform: rotate(4deg);  z-index: 2; }
.collage-card.c3 { inset: 38% 38% 0% 0%;   transform: rotate(2deg);  z-index: 4; }
.collage-card.c4 { inset: 44% 0% 4% 44%;   transform: rotate(-5deg); z-index: 5; }
.hero-collage:hover .collage-card.c1 { transform: rotate(-5deg) translateY(-4px); }
.hero-collage:hover .collage-card.c2 { transform: rotate(6deg) translateY(-4px); }
.hero-collage:hover .collage-card.c3 { transform: rotate(0deg) translateY(-4px); }
.hero-collage:hover .collage-card.c4 { transform: rotate(-7deg) translateY(-4px); }

.collage-pin {
  position: absolute;
  z-index: 10;
  background: var(--butter);
  color: #5a4500;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 14px;
  padding: 14px 18px;
  border-radius: 14px;
  box-shadow: 0 14px 30px -16px rgba(0,0,0,.3);
  transform: rotate(-6deg);
  border: 2px solid var(--ink);
  max-width: 180px;
  line-height: 1.25;
}
.collage-pin.tr { top: 6%; right: -6%; background: var(--coral); color: #fff; transform: rotate(8deg); }
.collage-pin.bl { bottom: 4%; left: -8%; background: var(--mint); color: var(--mint-ink); }
@media (max-width: 540px) {
  .collage-pin { font-size: 13px; padding: 10px 14px; }
  .collage-pin.tr { right: 0%; }
  .collage-pin.bl { left: 0%; }
}

/* ---------- wavy section divider ---------- */
.wave {
  display: block;
  width: 100%;
  height: 56px;
  pointer-events: none;
}
.wave svg { width: 100%; height: 100%; display: block; }

/* ---------- generic section ---------- */
section.block {
  padding: clamp(70px, 9vw, 120px) 0;
  position: relative;
}
section.block.mint { background: var(--mint-soft); }
section.block.paper { background: var(--paper); }
section.block.dark { background: var(--ink); color: var(--cream); }
section.block.dark h2, section.block.dark h3, section.block.dark h4 { color: var(--cream); }
section.block.dark p { color: #c8d2d4; }
section.block.dark .eyebrow { color: var(--mint); }
section.block.dark .eyebrow-dot { background: var(--mint); }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: clamp(36px, 5vw, 56px);
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 14em;
}
.section-head h2 .underline {
  display: inline-block;
  position: relative;
  font-style: italic;
  font-weight: 300;
}
.section-head h2 .underline::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%;
  bottom: 6%;
  height: 22%;
  background: var(--mint);
  z-index: -1;
  border-radius: 999px;
  transform: rotate(-1deg);
}
.section-head .side {
  max-width: 26em;
  color: var(--ink-soft);
  font-size: 16px;
}
section.block.dark .section-head .side { color: #c8d2d4; }

/* ---------- about teaser ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }

.about-portrait {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--mint);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.25);
  transform: rotate(-2deg);
}
.about-portrait img { width: 100%; height: 100%; object-fit: cover; }
.about-portrait .pin {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: var(--cream);
  padding: 10px 16px;
  border-radius: 999px;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 14px;
  border: 2px solid var(--ink);
  transform: rotate(3deg);
}

.about-text h2 {
  font-size: clamp(30px, 4vw, 50px);
  margin-bottom: 22px;
  line-height: 1.08;
}
.about-text .stat-row {
  display: flex;
  gap: 28px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.stat {
  background: var(--mint-soft);
  border: 2px solid var(--ink);
  border-radius: var(--r-md);
  padding: 16px 20px;
  min-width: 130px;
  transform: rotate(var(--rot, -2deg));
}
.stat:nth-child(2) { background: var(--blush); --rot: 1.5deg; }
.stat:nth-child(3) { background: var(--butter); --rot: -1deg; }
.stat .n {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 38px;
  color: var(--ink);
  display: block;
  line-height: 1;
}
.stat .l {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 6px;
  display: block;
  font-weight: 500;
}

/* ---------- workshop carousel / cards ---------- */
.ws-rail {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
@media (max-width: 720px) {
  .ws-rail {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 4px 4px 24px;
    margin: 0 calc(var(--gutter) * -1);
    padding-left: var(--gutter);
    padding-right: var(--gutter);
    scrollbar-width: none;
  }
  .ws-rail::-webkit-scrollbar { display: none; }
  .ws-rail > * {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }
}

.ws-card {
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease;
  position: relative;
}
.ws-card:hover {
  transform: translateY(-5px) rotate(-0.5deg);
  box-shadow: 0 28px 50px -28px rgba(20, 30, 35, 0.25);
}
.ws-card .img {
  aspect-ratio: 4/3;
  background: var(--mint);
  overflow: hidden;
  position: relative;
}
.ws-card .img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.34,1.56,.64,1);
}
.ws-card:hover .img img { transform: scale(1.06); }
.ws-card .img .sticker {
  position: absolute;
  top: 14px; left: 14px;
}
.ws-card .body {
  padding: 18px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ws-card .name {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 22px;
  line-height: 1.18;
  color: var(--ink);
}
.ws-card .meta {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1.5px dashed var(--line);
  color: var(--ink-soft);
  font-size: 14px;
}
.ws-card .price {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 22px;
  color: var(--ink);
}

/* ---------- workshops by level (page) ---------- */
.ws-group { margin-bottom: 56px; }
.ws-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 14px;
  margin-bottom: 22px;
  gap: 16px;
}
.ws-group-head h3 { font-size: clamp(28px, 3.5vw, 38px); }
.ws-group-head .count { color: var(--mute); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }

/* compact tile (text-only) for full workshop list */
.ws-tile {
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: var(--r-md);
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease, background .3s ease;
}
.ws-tile:hover {
  transform: translateY(-3px) rotate(-0.5deg);
  background: var(--mint-soft);
  box-shadow: 0 18px 30px -22px rgba(20, 30, 35, 0.25);
}
.ws-tile .name {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 19px;
  line-height: 1.2;
}
.ws-tile .meta {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-top: auto;
  padding-top: 10px;
  font-size: 13px;
  color: var(--ink-soft);
}
.ws-tile .price {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 18px;
  color: var(--ink);
}

/* in-card Book Now / Buy buttons */
.bk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  padding: 10px 16px;
  background: var(--mint);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  align-self: flex-start;
}
.bk:hover {
  background: var(--mint-soft);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -10px rgba(20, 30, 35, 0.3);
}
.bk .arr { transition: transform .25s ease; }
.bk:hover .arr { transform: translateX(3px); }

/* ---------- showcase: dense IG-style grid with click-to-enlarge ---------- */
.sh-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
}
.sh-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 6px;
  background: var(--mint);
  border: 1px solid rgba(20,30,35,.08);
  cursor: zoom-in;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform .25s ease, box-shadow .25s ease;
}
.sh-tile img,
.sh-tile video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.sh-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -12px rgba(20,30,35,.25);
  z-index: 1;
}
.sh-tile .sh-vid {
  position: absolute;
  top: 6px; right: 6px;
  width: 22px; height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20,30,35,.7);
  color: var(--cream);
  border-radius: 50%;
  font-size: 10px;
  padding-left: 1px;
  pointer-events: none;
}
@media (max-width: 1100px) { .sh-grid { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 720px)  { .sh-grid { grid-template-columns: repeat(4, 1fr); gap: 4px; } }
@media (max-width: 480px)  { .sh-grid { grid-template-columns: repeat(3, 1fr); gap: 4px; } }

/* lightbox */
.sh-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15,22,26,.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 24px;
  opacity: 0;
  transition: opacity .25s ease, background .2s ease;
  cursor: zoom-out;
}
.sh-lightbox.open {
  display: flex;
  opacity: 1;
}
/* don't dim the screen behind HDR-capable videos — keep the surroundings
   bright so the OS doesn't tone-map / lower brightness */
.sh-lightbox.video {
  background: rgba(255, 254, 251, 0.88);
}
.sh-lightbox.video .sh-close {
  background: rgba(20, 30, 35, 0.18);
  color: var(--ink);
}
.sh-lightbox.video .sh-close:hover { background: rgba(20, 30, 35, 0.32); }
.sh-lightbox img,
.sh-lightbox video {
  max-width: min(96vw, 1400px);
  max-height: 92vh;
  width: auto;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
  background: #000;
}
.sh-lightbox .sh-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: var(--cream);
  border: 0;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, transform .2s ease;
}
.sh-lightbox .sh-close:hover { background: rgba(255,255,255,.22); transform: scale(1.05); }
@media (max-width: 720px) {
  .sh-lightbox { padding: 0; }
  .sh-lightbox img,
  .sh-lightbox video {
    max-width: 100vw;
    max-height: 100vh;
    width: 100vw;
    border-radius: 0;
  }
  .sh-lightbox .sh-close {
    top: 12px; right: 12px;
    width: 38px; height: 38px;
  }
}
body.sh-locked { overflow: hidden; }

/* ---------- showcase mosaic (legacy) ---------- */
.mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.mosaic .tile {
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  background: var(--mint);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
  border: 2px solid var(--ink);
}
.mosaic .tile:hover { transform: translateY(-4px) rotate(-0.4deg); }
.mosaic .tile img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
.mosaic .tile .cap {
  position: absolute;
  left: 14px; bottom: 14px;
  background: var(--cream);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 14px;
  border: 2px solid var(--ink);
  color: var(--ink);
}

.mosaic .tile.t1 { grid-column: span 7; aspect-ratio: 16/11; }
.mosaic .tile.t2 { grid-column: span 5; aspect-ratio: 4/4; }
.mosaic .tile.t3 { grid-column: span 4; aspect-ratio: 4/4; }
.mosaic .tile.t4 { grid-column: span 4; aspect-ratio: 4/4; }
.mosaic .tile.t5 { grid-column: span 4; aspect-ratio: 4/4; }
.mosaic .tile.t6 { grid-column: span 6; aspect-ratio: 16/11; }
.mosaic .tile.t7 { grid-column: span 6; aspect-ratio: 16/11; }
@media (max-width: 760px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .mosaic .tile { grid-column: span 1 !important; aspect-ratio: 1 / 1 !important; }
  .mosaic .tile.t1 { grid-column: span 2 !important; aspect-ratio: 4/3 !important; }
}

/* ---------- brand strip (marquee on mobile) ---------- */
.brand-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}
.brand-rail .b {
  background: var(--cream);
  border: 2px solid var(--ink);
  padding: 10px 22px;
  border-radius: 999px;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 17px;
  color: var(--ink);
  transform: rotate(var(--rot, 0deg));
}
.brand-rail .b:nth-child(2n) { background: var(--mint); --rot: -2deg; }
.brand-rail .b:nth-child(3n) { background: var(--blush); --rot: 1.5deg; }
.brand-rail .b:nth-child(5n) { background: var(--butter); --rot: -1deg; }
.brand-rail .b:nth-child(7n) { background: var(--lavender); --rot: 2deg; }

/* ---------- quote band ---------- */
.quote {
  text-align: center;
  max-width: 28em;
  margin: 0 auto;
}
.quote blockquote {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.3;
  margin: 0 0 22px;
  color: inherit;
}
.quote cite {
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.7;
}

/* ---------- shop cards ---------- */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.shop-card {
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1);
  display: flex;
  flex-direction: column;
}
.shop-card:hover { transform: translateY(-4px) rotate(-0.4deg); }
.shop-card .img {
  aspect-ratio: 4/3;
  background: var(--mint);
  position: relative;
  overflow: hidden;
}
.shop-card .img img { width: 100%; height: 100%; object-fit: cover; }
.shop-card .img .sticker { position: absolute; top: 14px; right: 14px; transform: rotate(6deg); }
.shop-card .body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.shop-card h3 { font-size: 24px; }
.shop-card .from { color: var(--mint-ink); font-size: 13px; letter-spacing: 0.06em; font-weight: 500; }
.shop-card ul { padding-left: 18px; color: var(--ink-soft); font-size: 14.5px; margin: 8px 0 0; }
.shop-card ul li { margin-bottom: 4px; }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 60px);
}
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 14px 28px;
  margin: 0;
  font-size: 15.5px;
}
.contact-info dt {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  align-self: center;
  font-weight: 500;
}
.contact-info dd { margin: 0; }
.contact-info dd a:hover { color: var(--mint-deep); }

.contact-form {
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 36px);
}
.field { display: flex; flex-direction: column; margin-bottom: 18px; }
.field label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
  font-weight: 500;
}
.field input,
.field textarea,
.field select {
  font: inherit;
  padding: 14px 16px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: var(--cream);
  color: var(--ink);
  transition: border-color .25s ease, background .25s ease;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--mint-soft);
}
.field textarea { resize: vertical; min-height: 130px; }

/* ---------- mobile sticky CTA ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 60;
}
.mobile-cta a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.45);
}
.mobile-cta a::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--mint);
}
@media (max-width: 720px) { .mobile-cta { display: block; } }

/* ---------- footer ---------- */
/* ---------- press list ---------- */
.press-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.press-list a {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 100px 1fr;
  align-items: baseline;
  gap: 22px;
  padding: 18px 22px;
  background: var(--cream);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-md);
  text-decoration: none;
  color: var(--ink);
  transition: transform .2s ease, background .25s ease, box-shadow .25s ease;
}
.press-list a:hover {
  transform: translateY(-2px);
  background: var(--mint-soft);
  box-shadow: 0 14px 28px -20px rgba(20,30,35,.3);
}
.press-list .press-pub {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--mint-ink);
}
.press-list .press-date {
  font-size: 13px;
  color: var(--ink-soft);
}
.press-list .press-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 17px;
  line-height: 1.35;
  color: var(--ink);
}
@media (max-width: 720px) {
  .press-list a {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 18px;
  }
}

.site-footer {
  background: var(--ink);
  color: #c8d2d4;
  padding: 60px var(--gutter) 30px;
  margin-top: 0;
}
.foot-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid #303a3c;
  margin-bottom: 22px;
}
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

.foot-grid h4 {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 14px;
  font-weight: 500;
}
.foot-grid ul { list-style: none; padding: 0; margin: 0; font-size: 14.5px; }
.foot-grid li { margin-bottom: 8px; }
.foot-grid a:hover { color: var(--mint); }
.foot-brand .brand { color: var(--cream); margin-bottom: 18px; }
.foot-brand .brand-mark { background: url('images/logo.png') center/cover no-repeat var(--mint); }
.foot-brand p { color: #98a3a5; font-size: 14.5px; max-width: 28em; }

.foot-bottom {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: #6c787b;
  padding-bottom: 80px;
}
@media (max-width: 720px) { .foot-bottom { padding-bottom: 100px; } }

/* ---------- inner page hero ---------- */
.page-hero {
  padding: clamp(50px, 8vw, 100px) 0 clamp(36px, 5vw, 60px);
  position: relative;
}
.page-hero h1 {
  font-size: clamp(38px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  max-width: 14em;
  margin-bottom: 22px;
}
.page-hero h1 .underline { position: relative; font-style: italic; font-weight: 300; }
.page-hero h1 .underline::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%;
  bottom: 4%;
  height: 24%;
  background: var(--mint);
  z-index: -1;
  border-radius: 999px;
}
.page-hero .lead { color: var(--ink-soft); max-width: 36em; font-size: clamp(16px, 1.3vw, 18px); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ambient .ball { animation: none !important; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- legal page ---------- */
.legal { max-width: 720px; margin: 0 auto; }
.legal h2 { font-size: 22px; margin: 32px 0 12px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }

/* utility */
.center { text-align: center; }
.mt-l { margin-top: 36px; }
