/* Tokens: design brief §4. Art colors stay decorative; text uses dark ink. */
:root {
  --cream: #fff9ef;
  --ink: #443c35;
  --coral: #d97962;
  --sage: #789383;
  --mustard: #e5b95c;
  --primary: #a94d39;
  --line: #38664f;
  --white: #fff;
  --green: #edf2e9;
  --yellow: #fff2ce;
  --border: #e4d9c5;
  --font:
    "Hiragino Maru Gothic ProN", "BIZ UDPGothic", "Noto Sans JP", sans-serif;
  --width: 1120px;
  --page-gutter: 24px;
  --paper: url("/assets/storybook-paper.svg");
  --bouquet: url("/assets/storybook-bouquet.webp");
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper), var(--cream);
  font: 16px/1.8 var(--font);
  overflow-wrap: anywhere;
}
body.menu-open {
  overflow: hidden;
}
[hidden] {
  display: none !important;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
picture {
  display: block;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.6;
}
h1 {
  font-size: 50px;
  letter-spacing: 0.025em;
}
h2 {
  font-size: 34px;
  letter-spacing: 0.055em;
}
h3 {
  font-size: 20px;
}
p {
  margin-bottom: 1.2em;
}
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 5px;
}
.container {
  width: min(var(--width), calc(100% - var(--page-gutter) * 2));
  margin-inline: auto;
}
.section {
  position: relative;
  padding: 80px 0;
}
.section-heading {
  position: relative;
  max-width: 780px;
  margin: 0 auto 36px;
  text-align: center;
}
.section-heading h2 {
  position: relative;
  display: table;
  margin: 0 auto 18px;
  padding: 0 50px;
}
.section-heading h2::before,
.section-heading h2::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 34px;
  height: 62px;
  background: var(--bouquet) center/contain no-repeat;
  transform: translateY(-50%) rotate(-20deg);
}
.section-heading h2::before {
  left: 10px;
}
.section-heading h2::after {
  right: 10px;
  transform: translateY(-50%) scaleX(-1) rotate(-20deg);
}
.section-heading p {
  max-width: 650px;
  margin: 0 auto;
}
.eyebrow {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--line);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 54px;
  padding: 12px 25px;
  background: var(--primary);
  background-image: var(--paper);
  border: 1px solid transparent;
  border-radius: 40px;
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.65;
  text-align: center;
  box-shadow: 0 3px 0 #773727;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}
.button::after {
  content: "↗";
  font-size: 19px;
}
.button.internal::after {
  content: "›";
  font-size: 25px;
  line-height: 1;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 0 #773727;
}
.button.secondary {
  background: var(--paper), var(--cream);
  color: var(--ink);
  border-color: #ac9984;
  box-shadow: none;
}
.button.line {
  background: var(--paper), var(--line);
  color: white;
  box-shadow: 0 3px 0 #294b3a;
}
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 700;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100;
  background: white;
  padding: 12px;
}
.skip-link:focus {
  top: 10px;
}

/* Header and full-screen mobile navigation. The flower is an ornament, not a logo. */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper), var(--cream);
  border-bottom: 1px solid #e8ddcc;
}
.header-inner {
  max-width: 1440px;
  margin: auto;
  min-height: 86px;
  padding: 12px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  flex-shrink: 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.035em;
}
.brand-flower {
  width: 28px;
  height: 30px;
  flex: none;
  background: url("/assets/storybook-flower.svg") center/contain no-repeat;
  transform: rotate(-12deg);
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-left: auto;
}
.desktop-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
}
.header-social {
  display: flex;
  gap: 8px;
}
.header-social .button {
  min-height: 46px;
  padding: 8px 15px;
  font-size: 18px;
}
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  margin-left: auto;
  border: 0;
  background: none;
}
.menu-icon {
  position: relative;
  width: 22px;
  height: 16px;
  border-block: 2px solid var(--ink);
}
.menu-icon::after {
  content: "";
  position: absolute;
  inset: 5px 0 auto;
  border-top: 2px solid var(--ink);
}
dialog {
  border: 0;
  margin: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  padding: 24px;
  background: var(--paper), var(--cream);
  color: var(--ink);
}
dialog::backdrop {
  background: var(--cream);
}
.menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.menu-close {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: white;
  font-size: 26px;
}
.mobile-nav {
  display: grid;
  max-width: 500px;
  margin: 28px auto;
}
.mobile-nav a {
  padding: 14px 4px;
  border-bottom: 1px dashed #cabba5;
  text-decoration: none;
}
.menu-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 500px;
  margin: auto;
}

/* Scalloped paper edges give every spread a visible, gentle transition. */
.about::before,
.next::before,
.instagram::before,
.organizer::before,
.contact::before,
.footer::before {
  content: "";
  position: absolute;
  height: 20px;
  top: -19px;
  left: 0;
  right: 0;
  background: url("/assets/storybook-scallop.svg") left bottom/40px 20px
    repeat-x;
  pointer-events: none;
}
.about {
  background: var(--paper), var(--cream);
  padding-top: 56px;
}
.about-layout {
  position: relative;
  max-width: 1000px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  padding: 24px 64px;
}
.about-heading {
  align-self: center;
}
.about-heading h2 {
  font-size: 32px;
}
.about-heading .sprig {
  width: 75px;
  height: 88px;
  margin: 22px auto 0;
}
.about-copy p:last-child {
  margin-bottom: 0;
}
.about-flower {
  position: absolute;
  width: 75px;
  height: 150px;
  object-fit: contain;
  pointer-events: none;
}
.about-flower-left {
  bottom: 0;
  left: 0;
  transform: rotate(-15deg);
}
.about-flower-right {
  top: 0;
  right: 0;
  transform: scaleX(-1) rotate(-15deg);
}

/* Next post. Keep loading and loaded geometry equal; the empty card is a clear account guide. */
.next {
  background: var(--paper), #f5ecd9;
}
.next::before {
  background-image: url("/assets/storybook-scallop-sand.svg");
}
.next .container {
  position: relative;
}
.next-decoration {
  display: none;
}
.next-shell {
  position: relative;
  max-width: 940px;
  margin: auto;
  border: 1px solid #e8dbc4;
  border-radius: 24px 24px 28px 20px;
  overflow: hidden;
  background: var(--paper), #fffdf7;
  box-shadow: 0 5px 14px #75583708;
}
.next-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 460px;
}
.post-image {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: var(--feed-fit, contain);
  background: var(--green);
}
.next-card .post-image {
  height: 460px;
  aspect-ratio: auto;
}
.next-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  min-height: 460px;
  padding: 24px;
}
.post-label {
  position: relative;
  display: table;
  padding: 5px 13px;
  margin: 0 0 10px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 700;
  border-radius: 3px 12px 3px 7px;
}
.post-caption {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  white-space: pre-line;
  margin: 0 0 8px;
}
.next-body .post-caption {
  -webkit-line-clamp: 5;
  line-height: 1.65;
}
.post-date {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.65;
}
.next-body .button {
  width: 100%;
  margin-top: 8px;
  padding-inline: 10px;
}
.next-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}
.empty-state {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  min-height: 390px;
  padding: 34px;
  gap: 32px;
  position: relative;
}
.empty-art {
  width: 100%;
}
.empty-art img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  mix-blend-mode: multiply;
  border-radius: 48% 52% 45% 55%;
}
.empty-copy {
  position: relative;
  padding: 12px 0;
}
.empty-copy > p:not(.post-label) {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.8;
  margin-bottom: 22px;
}
.empty-state::after {
  content: "";
  position: absolute;
  bottom: 4px;
  right: 8px;
  width: 54px;
  height: 110px;
  background: var(--bouquet) center/contain no-repeat;
  transform: rotate(14deg);
  pointer-events: none;
}
.skeleton {
  background: #e7e8db;
  border-radius: 12px;
}
.loading-next {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 460px;
}
.loading-next > .skeleton {
  border-radius: 0;
}
.loading-lines {
  align-self: center;
  padding: 24px;
}
.loading-lines span {
  display: block;
  height: 18px;
  margin-bottom: 24px;
}
.loading-lines span:last-child {
  width: 70%;
}

/* Six little story cards, three columns on desktop and two on mobile. */
.events {
  background: var(--paper), var(--cream);
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.event-card {
  --card-color: #f9ebd6;
  position: relative;
  background: var(--paper), var(--card-color);
  border: 1px solid #e7d9bf;
  border-radius: 22px 28px 24px 18px;
  overflow: hidden;
}
.event-card:nth-child(2n) {
  --card-color: #edf1e4;
  border-radius: 28px 18px 26px 22px;
}
.event-card:nth-child(3n) {
  --card-color: #f7e6dc;
}
.event-card picture {
  display: block;
  width: 100%;
  padding: 0;
}
.event-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  mix-blend-mode: multiply;
}
.event-copy {
  position: relative;
  padding: 20px 24px 26px;
  border-top: 1px dashed #bba888;
}
.event-number {
  position: absolute;
  display: grid;
  place-items: center;
  top: -19px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #fff9ef;
  background: var(--card-color);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  transform: rotate(8deg);
}
.event-copy h3 {
  margin-bottom: 12px;
  padding-right: 8px;
}
.event-copy p {
  margin-bottom: 0;
  line-height: 1.85;
}
.events .section-heading::before {
  content: "";
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 auto 12px;
  background: url("/assets/storybook-flower.svg") center/contain no-repeat;
}

/* Journal spread: no invented post thumbnails in unavailable states. */
.instagram {
  background: var(--paper), var(--yellow);
}
.instagram::before {
  background-image: url("/assets/storybook-scallop-yellow.svg");
}
.feed-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.feed-card {
  display: block;
  background: #fffdf7;
  border: 1px solid #e8dbc4;
  border-radius: 15px 20px 15px 20px;
  overflow: hidden;
  text-decoration: none;
}
.feed-body {
  padding: 18px;
}
.feed-card .post-date {
  margin: 8px 0 0;
}
.feed-empty {
  grid-column: 1/-1;
  width: min(650px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 22px 32px;
  border: 1px dashed #c7b681;
  border-radius: 22px;
  background: var(--paper), #fff9efb3;
}
.feed-empty picture {
  width: 145px;
  flex: none;
}
.feed-empty img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  mix-blend-mode: multiply;
  border-radius: 50%;
}
.feed-empty p {
  margin: 0;
  font-weight: 700;
}
.feed-skeleton {
  aspect-ratio: 0.78;
}
.feed-actions {
  text-align: center;
  margin-top: 28px;
}
.voice {
  background: var(--paper), var(--yellow);
}
.voice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.voice-card {
  background: #fffdf7;
  border-radius: 24px;
  padding: 28px;
}
.voice-card footer {
  font-size: 14px;
}
.organizer {
  background: var(--paper), var(--cream);
}
.organizer-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  grid-template-areas: "art identity" "art copy";
  align-items: center;
  column-gap: 52px;
  row-gap: 14px;
  max-width: 900px;
  margin: auto;
  padding: 28px 36px;
  background: #fffdf7;
  border: 1px dashed #cdbfa6;
  border-radius: 20px;
}
.organizer-art {
  grid-area: art;
  position: relative;
  background: var(--yellow);
  border: 6px solid var(--cream);
  border-radius: 48% 52% 50% 44%;
  padding: 10px;
}
.organizer-art::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: -20px;
  width: 65px;
  height: 125px;
  background: var(--bouquet) center/contain no-repeat;
  transform: rotate(-20deg);
}
.organizer-art img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}
.organizer-identity {
  grid-area: identity;
  align-self: end;
}
.organizer-copy {
  grid-area: copy;
  align-self: start;
}
.organizer-role {
  font-size: 14px;
  margin-bottom: 4px;
}
.organizer-identity h3 {
  font-size: 25px;
  margin-bottom: 0;
}
.contact {
  background: var(--paper), #e3ebdc;
}
.contact::before {
  background-image: url("/assets/storybook-scallop-green.svg");
}
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-areas: "heading art" "copy art";
  column-gap: 36px;
  row-gap: 24px;
  align-items: center;
}
.contact-copy {
  grid-area: copy;
}
.contact-layout > h2 {
  grid-area: heading;
  align-self: end;
  margin: 0;
}
.contact-copy {
  align-self: start;
}
.contact-art {
  grid-area: art;
}
.contact-art img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.contact-copy .button {
  background-color: var(--line);
  box-shadow: 0 3px 0 #294b3a;
}
.contact-note {
  font-size: 14px;
}
.contact-secondary {
  margin: 18px 0 0;
}
.contact-secondary a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
}
.footer {
  position: relative;
  background: var(--paper), var(--cream);
  padding: 44px 0 28px;
  text-align: center;
}
.footer .brand {
  justify-content: center;
}
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 18px 0;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
}
.footer p,
.footer small {
  font-size: 14px;
}
.footer p {
  margin-bottom: 6px;
}
.sticky-cta {
  display: none;
}
.menu-open .sticky-cta {
  display: none;
}

@media (max-width: 1350px) {
  .desktop-nav {
    gap: 12px;
  }
  .header-inner {
    gap: 15px;
    padding-inline: 20px;
  }
  .brand {
    font-size: 17px;
  }
  .header-social .button {
    padding-inline: 12px;
  }
}
@media (max-width: 1199px) {
  .desktop-nav {
    display: none;
  }
  .header-social {
    margin-left: auto;
  }
  .menu-toggle {
    display: flex;
    margin-left: 0;
  }
  .header-inner {
    min-height: 72px;
  }
}
/* Tablet columns retain enough room for Japanese copy and card artwork. */
@media (min-width: 768px) and (max-width: 1023px) {
  .events-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .about-layout {
    gap: 32px;
    padding: 24px 32px;
  }
  .about-heading h2 {
    font-size: 27px;
  }
  .organizer-layout {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 32px;
    padding: 28px;
  }
  .contact-layout {
    gap: 28px;
  }
  .contact-layout > h2 {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  html {
    scroll-padding-top: 84px;
  }
  .container {
    width: calc(100% - 36px);
  }
  .section {
    padding: 56px 0 64px;
  }
  .header-inner {
    min-height: 64px;
    padding: 9px 18px;
  }
  .brand {
    gap: 8px;
    font-size: 17px;
  }
  .brand-flower {
    width: 25px;
    height: 27px;
  }
  .header-social {
    display: none;
  }
  .menu-toggle {
    margin-left: auto;
  }
  h2 {
    font-size: 26px;
  }
  .section-heading {
    margin-bottom: 26px;
  }
  .section-heading h2 {
    padding-inline: 36px;
    font-size: 21px;
    line-height: 1.6;
    margin-bottom: 17px;
    letter-spacing: 0.025em;
  }
  .section-heading h2::before,
  .section-heading h2::after {
    width: 22px;
    height: 48px;
  }
  .section-heading p {
    font-size: 16px;
    line-height: 1.8;
  }
  .about {
    padding-top: 35px;
  }
  .about-layout {
    display: block;
    padding: 0 14px;
  }
  .about-heading {
    text-align: center;
  }
  .about-heading h2 {
    font-size: 27px;
    line-height: 1.7;
  }
  .about-heading .sprig {
    display: none;
  }
  .about-copy {
    margin-top: 24px;
  }
  .about-copy p {
    margin-bottom: 18px;
  }
  /* Keep decorative flowers in their own row, outside the text area. */
  .about-flower-left {
    display: none;
  }
  .about-flower-right {
    position: static;
    display: block;
    width: 36px;
    height: 56px;
    margin: 0 auto 16px;
    transform: none;
  }
  .next-card,
  .loading-next {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .next-card .post-image,
  .loading-next > .skeleton {
    height: 230px;
    aspect-ratio: auto;
  }
  .next-body {
    min-height: 430px;
    padding: 20px;
  }
  .next-body .post-label {
    padding: 3px 8px;
    margin-bottom: 7px;
  }
  .next-body .post-date {
    margin-bottom: 7px;
  }
  .next-body .post-caption {
    line-height: 1.6;
    margin-bottom: 0;
  }
  .next-body .button {
    font-size: 18px;
    margin-top: 4px;
  }
  .loading-lines {
    min-height: 430px;
    padding: 48px 20px;
  }
  .empty-state {
    display: block;
    min-height: 0;
    padding: 20px 22px 30px;
    text-align: center;
  }
  .empty-art {
    width: 160px;
    margin: 0 auto 4px;
  }
  .empty-copy {
    padding: 0;
  }
  .empty-copy .post-label {
    margin: 0 auto 14px;
  }
  .empty-copy > p:not(.post-label) {
    font-size: 21px;
    line-height: 1.75;
    margin-bottom: 18px;
  }
  .empty-copy .button {
    width: 100%;
    padding-inline: 12px;
  }
  .empty-state::after {
    content: none;
  }
  .next-actions {
    margin-top: 12px;
  }
  .events-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 14px;
  }
  .event-card {
    border-radius: 16px 22px 16px 20px;
  }
  .event-card picture {
    padding: 0;
  }
  .event-card img {
    aspect-ratio: 1;
  }
  .event-copy {
    padding: 20px 14px 19px;
  }
  .event-copy h3 {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 10px;
    padding: 0;
  }
  .event-copy p {
    font-size: 16px;
    line-height: 1.8;
  }
  .event-number {
    width: 30px;
    height: 30px;
    top: -15px;
    right: 12px;
  }
  .feed-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .feed-body {
    padding: 12px;
  }
  .feed-body .post-caption {
    font-size: 14px;
  }
  .feed-empty {
    padding: 18px;
    gap: 14px;
  }
  .feed-empty picture {
    width: 95px;
  }
  .feed-empty p {
    font-size: 16px;
  }
  .feed-actions {
    margin-top: 22px;
  }
  .voice-grid {
    grid-template-columns: 1fr;
  }
  .organizer-layout {
    grid-template-columns: 1fr;
    grid-template-areas: "identity" "art" "copy";
    gap: 24px;
    padding: 26px 22px;
    border-radius: 20px;
  }
  .organizer-art {
    width: 165px;
    margin: auto;
  }
  .organizer-role,
  .organizer-identity h3 {
    text-align: center;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    grid-template-areas: "heading" "art" "copy";
    gap: 24px;
  }
  .contact-layout > h2 {
    font-size: 28px;
    text-align: center;
    line-height: 1.7;
  }
  .contact-copy .button {
    width: 100%;
  }
  .contact-art {
    max-width: 320px;
    width: 100%;
    margin: auto;
  }
  .contact-secondary {
    text-align: center;
  }
  .footer {
    padding-bottom: calc(102px + env(safe-area-inset-bottom));
  }
  .footer-links {
    gap: 0 20px;
  }
  .sticky-cta {
    display: flex;
    gap: 10px;
    position: fixed;
    inset: auto 0 0;
    z-index: 15;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--cream);
    border-top: 1px solid #baaa94;
  }
  .sticky-cta .button {
    flex: 1;
    min-width: 0;
    min-height: 56px;
    border: 0;
    border-radius: 40px;
    box-shadow: none;
    padding: 12px;
    font-size: 18px;
  }
  .sticky-cta .button::after {
    font-size: 16px;
  }
  /* Instagram design 2: two gradients behind both the icon and the label. */
  .sticky-cta .instagram-gradient {
    flex: 2;
    gap: 9px;
    color: #fff;
    background:
      linear-gradient(15deg, #ffdb2c, #f9764c 25%, transparent 50%),
      linear-gradient(135deg, #427eff, #f13f79 70%);
    text-shadow: 0 1px 2px #6c254b;
  }
  .sticky-cta .instagram-gradient::after {
    content: none;
  }
  .instagram-icon {
    flex: 0 0 26px;
  }
}
@media (max-width: 359px) {
  .container {
    width: calc(100% - 32px);
  }
  .brand {
    font-size: 16px;
    gap: 6px;
  }
  .brand-flower {
    width: 22px;
  }
  .header-inner {
    padding-inline: 16px;
  }
  .section-heading h2 {
    font-size: 20px;
    padding-inline: 34px;
  }
  .about-layout {
    padding-inline: 14px;
  }
  .about-heading h2 {
    font-size: 24px;
  }
  .events-grid {
    grid-template-columns: 1fr;
  }
  .event-card {
    display: block;
  }
  .event-copy {
    border: 0;
    padding: 18px 14px;
  }
  .event-number {
    position: static;
    display: inline-grid;
    margin-bottom: 8px;
  }
  .empty-state {
    padding-inline: 18px;
  }
  .empty-copy > p:not(.post-label) {
    font-size: 20px;
  }
  .feed-empty {
    display: block;
    text-align: center;
  }
  .feed-empty picture {
    margin: 0 auto 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Festival opening: a centered message surrounded by illustrated scenes. */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 62px 0 38px;
  background: var(--paper), #fff5df;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 28px;
  background: url("/assets/hero-bunting.svg") top center / 240px 28px repeat-x;
}
.hero-inner.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1120px;
  margin: auto;
  position: relative;
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 0 24px;
  text-align: center;
}
.hero-copy .eyebrow {
  display: table;
  margin: 0 auto 14px;
  padding: 4px 22px;
  border: 1px solid #c9d4bd;
  border-radius: 30px;
  background: #fffdf7;
  color: var(--line);
  font-size: 16px;
  letter-spacing: 0.1em;
}
.hero-copy h1 {
  margin: 0;
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.5;
  letter-spacing: 0.055em;
}
.hero-copy h1 span {
  display: block;
  white-space: nowrap;
}
.hero-copy h1 span:last-child {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: #efd080;
  text-decoration-thickness: 8px;
  text-underline-offset: 8px;
}
.hero-scene {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: min(100%, 960px);
  margin: 28px auto 0;
  padding: 0 20px;
}
.hero-art {
  display: block;
  width: 480px;
  max-width: 58%;
  border: 7px solid #fffdf7;
  border-radius: 48% 48% 24% 24% / 36% 36% 20% 20%;
  overflow: hidden;
  box-shadow: 0 5px 0 #e6d8b7;
}
.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.hero-vignette {
  position: absolute;
  width: 210px;
  border: 7px solid #fffdf7;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 5px 0 #e6d8b7;
}
.hero-vignette img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}
.hero-vignette-play {
  left: 22px;
  top: 35px;
  transform: rotate(-9deg);
  background: #f9ebd6;
}
.hero-vignette-shop {
  right: 22px;
  bottom: 20px;
  transform: rotate(8deg);
  background: #edf1e4;
}
.hero-vignette-shop img {
  object-position: 35% center;
}
.hero-action {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  padding: 0 24px;
}
.hero-action .button {
  min-width: 330px;
  min-height: 60px;
  font-size: 18px;
}
.hero-footnote {
  margin: 18px 20px 0;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.hero-sun {
  position: absolute;
  width: 82px;
  height: 82px;
  top: 68px;
  left: calc(50% + 330px);
  pointer-events: none;
}
.hero-branch {
  position: absolute;
  width: 80px;
  height: 160px;
  top: 38px;
  right: calc(50% + 350px);
  transform: rotate(-28deg);
  pointer-events: none;
}
@media (max-width: 1023px) {
  .hero-vignette {
    width: 21%;
    border-width: 5px;
  }
  .hero-sun {
    left: auto;
    right: 28px;
    width: 58px;
    height: 58px;
  }
  .hero-branch {
    right: auto;
    left: 24px;
    width: 50px;
    height: 110px;
  }
}
@media (max-width: 767px) {
  .hero {
    padding: 43px 0 30px;
  }
  .hero::before {
    height: 18px;
    background-size: 168px 20px;
  }
  .hero-copy {
    padding: 0 14px;
  }
  .hero-copy .eyebrow {
    font-size: 16px;
    padding: 3px 14px;
    margin-bottom: 14px;
    letter-spacing: 0.04em;
  }
  .hero-copy h1 {
    font-size: clamp(25px, 7.1vw, 34px);
    line-height: 1.55;
    letter-spacing: 0.01em;
  }
  .hero-copy h1 span:last-child {
    text-decoration-thickness: 5px;
    text-underline-offset: 5px;
  }
  .hero-scene {
    width: 100%;
    max-width: 520px;
    margin-top: 24px;
    padding: 0 20px 24px;
  }
  .hero-art {
    width: 100%;
    max-width: 100%;
    border-width: 5px;
    border-radius: 45% 45% 22% 22% / 28% 28% 18% 18%;
  }
  .hero-vignette {
    z-index: 1;
    width: 26%;
    max-width: 126px;
    border-width: 4px;
  }
  .hero-vignette-play {
    left: 10px;
    top: auto;
    bottom: 0;
  }
  .hero-vignette-shop {
    right: 10px;
    bottom: 0;
  }
  .hero-action {
    width: 100%;
    max-width: 430px;
    margin-top: 20px;
    padding: 0 24px;
  }
  .hero-action .button {
    width: 100%;
    min-width: 0;
    min-height: 56px;
    font-size: 18px;
  }
  .hero-footnote {
    margin-top: 17px;
    font-size: 13px;
    letter-spacing: 0;
  }
  .hero-sun {
    top: 36px;
    right: 8px;
    width: 34px;
    height: 34px;
  }
  .hero-branch {
    top: 29px;
    left: 6px;
    width: 26px;
    height: 57px;
  }
}
