/* B01 · Dino Adventure: fonts (SIL Open Font License 1.1, self-hosted) */
@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/fredoka-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/fredoka-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/nunito-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/nunito-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/nunito-latin-800-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* sticker proportions (img/st-*.webp) */
:root { --ar-trex: 360 / 350; --ar-trike: 400 / 378; --ar-ptero: 300 / 129; --ar-brachio: 340 / 441; --ar-stego: 320 / 258; --ar-egg: 200 / 207; --ar-fossil: 300 / 162; --ar-rock: 240 / 195; --ar-palm: 340 / 303; }

/* B01 · Dino Adventure: jungle greens, warm orange and brown, stone tablets and wooden signs; the dinosaurs come from the mockup. */
:root {
  --bg: #f8f0dc; --bg2: #efe2c3; --ink: #5a3418; --muted: #7d5c3d; --accent: #e8741f; --accent2: #f7c75a;
  --line: rgb(90 52 24 / .16);
  --card: #fffaef; --card-line: rgb(140 100 50 / .2); --card-shadow: 0 5px 0 rgb(150 110 60 / .16), 0 12px 24px rgb(90 52 24 / .08); --radius: 20px;
  --btn-bg: linear-gradient(180deg, #f7953d, #e06a17); --btn-ink: #fff; --btn-shadow: 0 5px 0 #b4510f, 0 12px 20px rgb(180 80 15 / .28); --btn-font: "Fredoka", system-ui, sans-serif;
  --f-display: "Fredoka", system-ui, sans-serif; --f-body: "Nunito", system-ui, sans-serif; --f-head: "Fredoka", system-ui, sans-serif; --f-num: "Fredoka", system-ui, sans-serif;
  --name-size: 4.2rem; --name-color: #6b3a17;
  --name-shadow: 3px 0 0 #fff, -3px 0 0 #fff, 0 3px 0 #fff, 0 -3px 0 #fff, 2px 2px 0 #fff, -2px 2px 0 #fff, 2px -2px 0 #fff, -2px -2px 0 #fff, 0 7px 0 rgb(107 58 23 / .35);
  --head-size: 1.7rem; --head-color: #6b3a17; --head-ink: #6b3a17;
  --photo-radius: 26px; --photo-border: 6px solid #fff; --photo-shadow: 0 7px 0 rgb(80 50 20 / .16), 0 18px 34px rgb(30 40 10 / .32); --cover-ar: 1 / 1;
  --gate-bg: linear-gradient(180deg, rgb(255 255 255 / .1), rgb(40 70 20 / .15)), url(../img/bg.webp) center / cover, #6ea53c; --gate-ink: #5a3418;
  --guest-bg: #fffaef; --guest-line: rgb(140 100 50 / .25);
  --cd-title: #6b3a17; --cd-num: #5a3418; --cd-label: #7d5c3d;
  --cd-tile: radial-gradient(circle at 30% 22%, #f9f0dc 0, #e8d6b0 70%); --cd-tile-border: 2px solid #cdb27f; --cd-tile-radius: 16px 20px 15px 19px;
  --cd-tile-shadow: inset 0 -4px 0 rgb(140 100 50 / .18), 0 4px 0 #b49565;
  --dt-ic: #e8741f; --dt-label: #6b3a17; --av-bg: #f7c75a; --av-ink: #fff;
}
body { background: radial-gradient(ellipse at 0 30%, rgb(160 190 110 / .22), transparent 40%), radial-gradient(ellipse at 100% 70%, rgb(160 190 110 / .2), transparent 40%), #f8f0dc; }
.inv { background: transparent; }

/* Stone tablet behind the title, wooden plank for the kicker */
.ttl { position: relative; background: radial-gradient(circle at 26% 18%, #fbf3e0 0, #ecdcb8 62%, #e2cd9f 100%); border: 3px solid #c9ad79;
  border-radius: 38px 46px 34px 44px / 44px 36px 46px 38px; padding: 34px 16px 20px; margin: 30px 4px 0;
  box-shadow: inset 0 -7px 0 rgb(140 100 50 / .16), inset 0 3px 0 rgb(255 255 255 / .5), 0 8px 0 #a98a59, 0 20px 30px rgb(40 30 10 / .25); }
.ttl__kicker { position: absolute; top: -26px; left: 0; right: 0; }
.ttl__kicker span { font: 600 1.05rem/1.15 var(--f-display); letter-spacing: 0; text-transform: none; color: #fff7e6; padding: 9px 20px 10px; border-radius: 12px;
  background: linear-gradient(180deg, #b06d33, #7f461a); border: 2px solid #6a3812; box-shadow: inset 0 2px 0 rgb(255 255 255 / .22), 0 4px 0 #55290b; }
.ttl__theme { font: 700 2.6rem/.95 var(--f-display); margin-top: 2px; }
.ttl__theme b { display: block; text-shadow: 3px 0 0 #fff, -3px 0 0 #fff, 0 3px 0 #fff, 0 -3px 0 #fff, 2px 2px 0 #fff, -2px 2px 0 #fff, 2px -2px 0 #fff, -2px -2px 0 #fff, 0 6px 0 rgb(80 45 15 / .4); }
.ttl__theme b:first-child { color: #5aa32a; font-size: 1.12em; }
.ttl__theme b:last-child { color: #f07d1c; }
.ttl__pre { font: 600 1.15rem/1.25 var(--f-display); color: #6b3a17; margin-top: 6px; max-width: 16em; }
.ttl__name { margin: 2px 0 4px; }
.ttl__age span { font: 600 1.05rem/1.2 var(--f-display); color: #fff; background: linear-gradient(180deg, #6db33b, #4a8c22); padding: 7px 18px; box-shadow: 0 4px 0 #2f6414; }
.ttl .lead { color: #5a3418; font-weight: 700; font-size: .95rem; margin-top: 6px; }
.side__guest { display: inline-block; padding: 6px 16px; border-radius: 999px; background: rgb(255 250 239 / .85); color: #6b3a17; }
.gate__date, .side__date { display: inline-block; margin-top: 18px; padding: 6px 16px; border-radius: 999px; background: rgb(255 250 239 / .92); color: #6b3a17; box-shadow: 0 4px 0 rgb(80 50 20 / .2); }
.guest { box-shadow: 0 5px 0 rgb(80 50 20 / .16); }
.photo--cover, .photo--hero, .photo--side { position: relative; }

/* Section headings: Fredoka, orange rays either side */
.h-sec__t::before, .h-sec__t::after { content: ""; width: 24px; height: 24px; flex: none; background: url(../img/b01-rays.svg) center / contain no-repeat; }
.h-sec__t::after { transform: scaleX(-1); }
.h-sec__ic { color: #e8741f; }
.h-sec .orn--head-top { display: none; }
.h-sec__sub { color: #6b3a17; font-weight: 700; }

/* Hero: the jungle scene behind, fading into paper */
.sec--hero { background: linear-gradient(180deg, rgb(255 255 255 / .08), rgb(40 70 20 / .12)), url(../img/bg.webp) center / cover; padding-bottom: 80px; }
.sec--hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; z-index: 1; background: linear-gradient(rgb(248 240 220 / 0), #f8f0dc); }
.sec--hero .ttl { margin-top: 34px; }
.photo--hero { width: min(72vw, 300px); }

/* Countdown on stone */
.sec--countdown { padding-top: 34px; }
.cd__t { font-size: 1.4rem; }

/* Event details: one card, dashed rows */
.dts { gap: 0; background: var(--card); border: 2px solid rgb(140 100 50 / .18); border-radius: 22px; padding: 4px 16px; box-shadow: var(--card-shadow); }
.dt { background: none; border: 0; box-shadow: none; border-radius: 0; padding: 13px 2px; }
.dt + .dt { border-top: 2px dashed rgb(140 100 50 / .22); }
.dt__ic { background: #fdebd8; border-radius: 50%; }
.dt__v strong { color: #4a2a12; }
.btn--map { --map-ink: #3f7d1f; --map-line: #9cc77b; --map-bg: #f1f8e6; }
.link--map, .link--cal { color: #3f7d1f; }

/* Rundown on a wooden sign, good-to-know in a green banner */
.sec--rundown .h-sec__t { color: #fff7e6; background: linear-gradient(180deg, #f08b2c, #d0651a); padding: 9px 22px 10px; border-radius: 14px; border: 2px solid #b4510f;
  box-shadow: inset 0 2px 0 rgb(255 255 255 / .25), 0 5px 0 #a24a0e; font-size: 1.35rem; }
.sec--rundown .h-sec__t::before, .sec--rundown .h-sec__t::after { display: none; }
.sec--rundown .h-sec__ic { color: #fff7e6; }
.card--run { background: #fbf2de; border: 2px solid rgb(140 100 50 / .2); }
.run__i { grid-template-columns: 20px 92px 1fr; border-bottom: 0; padding: 7px 0; }
.run__i::before { content: ""; width: 18px; height: 18px; background: url(../img/b01-foot.svg) center / contain no-repeat; align-self: center; }
.run__t { color: #4a2a12; font-size: .9rem; }
.run__x { border-left: 2px solid rgb(140 100 50 / .3); padding-left: 10px; font-weight: 600; }
.sec--info { padding-top: 10px; }
.sec--info .h-sec__t { color: #2f6414; background: linear-gradient(180deg, #e3f1cd, #cfe6b1); padding: 8px 20px; border-radius: 999px; border: 2px solid #a9cf86; font-size: 1.25rem; }
.sec--info .h-sec__t::before, .sec--info .h-sec__t::after { display: none; }
.sec--info .h-sec__ic { color: #fff; background: #f2b632; border-radius: 50%; padding: 3px; width: 1.25em; height: 1.25em; }
.card--info { background: #f3f8e8; border: 2px solid #c4dea6; }
.infos__ic { background: #fff1db; color: #e8741f; }

/* Gallery, RSVP, wishes */
.gallery__item { border: 5px solid #fff; border-radius: 18px; box-shadow: 0 6px 0 rgb(150 110 60 / .16), 0 12px 22px rgb(60 40 15 / .14); }
.wish__av b { display: none; }
.wish__av .ic { display: block; }
.wish { box-shadow: 0 4px 0 rgb(150 110 60 / .12); }
.closing__t { color: #6b3a17; font-size: 1.85rem; }
.closing__name { font-size: 3rem; }

/* ---------- Dinosaurs and jungle cut from the mockup ---------- */
.o { filter: drop-shadow(0 6px 8px rgb(30 30 10 / .22)); }
/* cover and side panel: around the photo */
.gate__in .o1, .side__in .o1 { right: -14px; top: 168px; width: 136px; aspect-ratio: var(--ar-trike); background-image: url(../img/st-trike.webp); }
.gate__in .o2, .side__in .o2 { left: 6px; top: 6px; width: 104px; aspect-ratio: var(--ar-ptero); background-image: url(../img/st-ptero.webp); }
.gate__in .o3, .side__in .o3 { left: -6px; top: 236px; width: 74px; aspect-ratio: var(--ar-egg); background-image: url(../img/st-egg.webp); }
/* hero */
.sec--hero .deco { z-index: 3; }
.sec--hero .o1 { right: -10px; top: 205px; width: 40vw; max-width: 150px; aspect-ratio: var(--ar-trike); background-image: url(../img/st-trike.webp); }
.sec--hero .o2 { left: 6px; top: 252px; width: 20vw; max-width: 78px; aspect-ratio: var(--ar-egg); background-image: url(../img/st-egg.webp); }
.sec--hero .o3 { right: 8px; top: 8px; width: 28vw; max-width: 120px; aspect-ratio: var(--ar-ptero); background-image: url(../img/st-ptero.webp); }
/* countdown, rundown, info, closing */
.sec--countdown .o1 { left: -14px; bottom: -6px; width: 30vw; max-width: 130px; aspect-ratio: var(--ar-fossil); background-image: url(../img/st-fossil.webp); opacity: .95; }
.sec--countdown .o2 { right: -2px; bottom: 0; width: 18vw; max-width: 76px; aspect-ratio: var(--ar-egg); background-image: url(../img/st-egg.webp); }
.sec--rundown .o1 { left: -18px; top: 0; width: 30vw; max-width: 128px; aspect-ratio: var(--ar-stego); background-image: url(../img/st-stego.webp); }
.sec--info .o1 { right: -16px; top: -40px; width: 28vw; max-width: 120px; aspect-ratio: var(--ar-brachio); background-image: url(../img/st-brachio.webp); }
.sec--gallery .o1 { left: -20px; bottom: -10px; width: 36vw; max-width: 150px; aspect-ratio: var(--ar-palm); background-image: url(../img/st-palm.webp); transform: scaleX(-1); opacity: .9; }
.sec--closing .o1 { left: -18px; bottom: -8px; width: 38vw; max-width: 160px; aspect-ratio: var(--ar-palm); background-image: url(../img/st-palm.webp); transform: scaleX(-1); }
.sec--closing .o2 { right: -6px; bottom: -6px; width: 26vw; max-width: 110px; aspect-ratio: var(--ar-rock); background-image: url(../img/st-rock.webp); }
.sec--closing .o3 { right: -14px; top: 10px; width: 26vw; max-width: 110px; aspect-ratio: var(--ar-brachio); background-image: url(../img/st-brachio.webp); }
.sec--closing { padding-bottom: 130px; }

@media (min-width: 1024px) {
  #side .ttl { max-width: 420px; margin-inline: auto; }
  .side__in .o1 { right: 20px; } .side__in .o3 { left: 30px; }
}
