@font-face { font-family: 'Fredoka'; font-weight: 400; font-display: swap; src: url("fonts/fredoka-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Fredoka'; font-weight: 500; font-display: swap; src: url("fonts/fredoka-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Fredoka'; font-weight: 600; font-display: swap; src: url("fonts/fredoka-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Gaegu'; font-weight: 700; font-display: swap; src: url("fonts/gaegu-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Bagel Fat One'; font-weight: 400; font-display: swap; src: url("fonts/bagel-fat-one-latin-400-normal.woff2") format("woff2"); }

:root {
  /* Keep the brochure colors even when the phone is in dark mode. */
  color-scheme: only light;
  --cream: #fdf9ee;
  --grid: #f1e6c4;
  --ink: #3b2f2f;
  --pink: #e86f9c;
  --pink-soft: #f6a9c3;
  --green: #4f9a5e;
  --green-soft: #bfe2c6;
  --orange: #c9531f;
  --peach: #fbd0c4;
  --peach-line: #f7b9a6;
  --yellow: #fff4d6;
  --fb: #1877f2;
  --fb-dark: #0d5bc4;
  --body-font: 'Fredoka', system-ui, sans-serif;
  --hand-font: 'Gaegu', 'Comic Sans MS', cursive;
  --title-font: 'Bagel Fat One', 'Fredoka', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background-color: var(--cream);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.45;
}

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

ul { list-style: none; margin: 0; padding: 0; }

h1, h2, p { margin: 0; }

.page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 24px 16px 32px;
  text-align: center;
}

/* ---------- Top ---------- */

/* Phone order: logo, photo, then words. hero-text is "contents" so its
   children can sit around the photo. On computers it becomes a column again. */
.hero { display: grid; justify-items: center; }
.hero-text { display: contents; }
.logo-wrap { order: 1; }
.hero-photo { order: 2; }
.soon, .lead, .btn, .small { order: 3; }

.logo-wrap { width: min(300px, 86vw); }
.logo { width: 100%; }

.hero-photo { position: relative; margin: 18px 0 4px; }

.daisy {
  width: 190px;
  aspect-ratio: 190 / 260;
  object-fit: cover;
  border-radius: 999px 999px 22px 22px;
  border: 5px solid var(--pink-soft);
  box-shadow: 7px 7px 0 var(--green-soft);
}

.doodle { position: absolute; line-height: 1; }
.doodle.star { top: -10px; right: -30px; font-size: 30px; color: #f5c84c; transform: rotate(14deg); }
.doodle.flower { bottom: 18px; left: -34px; font-size: 30px; color: var(--pink-soft); }

.soon {
  font-family: var(--hand-font);
  font-size: 36px;
  color: var(--pink);
  line-height: 1;
  transform: rotate(-3deg);
  margin-top: 18px;
}

.lead { max-width: 330px; margin-top: 10px; font-size: 16px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--fb);
  color: #fff;
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
  box-shadow: 0 4px 0 var(--fb-dark);
  max-width: 100%;
}
.btn:hover { background: #166fe0; }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--fb-dark); }
.btn:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.btn-icon { width: 22px; height: 22px; fill: currentColor; flex: none; }

.small { margin-top: 10px; font-size: 13px; color: #6b5a52; }

/* ---------- Sections ---------- */

h2 {
  font-family: var(--title-font);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.15;
  color: var(--green);
}

.events, .souvenirs { margin-top: 36px; }

.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin-top: 10px;
}
.tags li {
  background: #fff;
  border: 2px solid var(--peach-line);
  color: var(--orange);
  border-radius: 9px;
  padding: 3px 10px;
  font-size: 14px;
  font-weight: 500;
}

.sub { margin-top: 6px; font-size: 14px; color: #6b5a52; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.grid li {
  background: #fff;
  border-radius: 14px;
  padding: 5px 5px 7px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
}
.grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 9px;
}
.grid .tile {
  aspect-ratio: 1;
  border-radius: 9px;
  background: var(--peach);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--title-font);
  font-size: 15px;
  line-height: 1.05;
  color: #8a5cc2;
}

/* ---------- Coffee cart ---------- */

.cart {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 36px auto 0;
  max-width: 560px;
  padding: 12px;
  text-align: left;
  background: var(--yellow);
  border: 2px dashed #f2a23a;
  border-radius: 18px;
}
.cart img {
  flex: 0 0 104px;
  width: 104px;
  height: 128px;
  object-fit: cover;
  object-position: 50% 78%;
  border-radius: 12px;
}
.cart h2 { color: var(--orange); font-size: 20px; }
.cart p { margin-top: 5px; font-size: 14px; }

/* ---------- Footer ---------- */

.foot { margin-top: 36px; font-size: 13px; color: #6b5a52; }
.social { display: flex; justify-content: center; gap: 18px; margin-bottom: 6px; }
.social a { color: var(--ink); font-weight: 600; text-decoration-color: var(--pink-soft); text-underline-offset: 3px; }
.social a:hover { color: var(--pink); }

/* ---------- Computer ---------- */

@media (min-width: 800px) {
  .page { padding: 48px 32px 40px; }

  .hero { display: flex; flex-direction: row; justify-content: center; gap: 56px; }
  .hero-text { display: flex; flex-direction: column; order: 2; align-items: flex-start; text-align: left; max-width: 420px; }
  .hero-photo { order: 1; margin: 0; }
  .logo-wrap, .soon, .lead, .btn, .small { order: 0; }
  .logo-wrap { width: 380px; margin-left: -6px; }
  .daisy { width: 250px; }
  .soon { font-size: 40px; margin-top: 16px; }
  .lead { max-width: none; font-size: 18px; }

  h2 { font-size: 28px; }
  .events, .souvenirs { margin-top: 52px; }
  .grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .cart { margin-top: 48px; padding: 16px; }
  .cart img { flex-basis: 130px; width: 130px; height: 160px; }
}
