/* Warm editorial palette and compositions, sampled from the supplied references. */
html { scroll-padding-top: 12rem; }
a:focus-visible { outline-color: var(--deep); }

/* The registration link is the thin top band; the logo and social icon sit below. */
.masthead { top: 2.25rem; background: var(--soft); border-bottom: 0; }
.announcement { position: sticky; top: 0; z-index: 1001; background: #000000; color: var(--white); }
.announcement-link { display: flex; align-items: center; justify-content: center; gap: 1rem; min-height: 2.25rem; width: 100%; padding: .45rem 1rem; font-size: .71875rem; font-weight: 500; line-height: 1.6; letter-spacing: .16em; text-align: center; transition: background-color 200ms ease; }
.announcement-link:hover { background: var(--deep); }
.announcement-link:focus-visible { outline-color: var(--white); outline-offset: -4px; box-shadow: none; }
.masthead-inner { min-height: 5.75rem; padding-block: .65rem; background: var(--soft); }
.masthead-instagram { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; min-width: 2.75rem; min-height: 2.75rem; color: var(--deep); }
.masthead-instagram svg { width: 1.5rem; height: 1.5rem; }
.masthead-instagram:hover { color: var(--black); }
.masthead-scroll-cta { display: none; }
.cover { height: calc(100svh - 8rem); }

.intro-note { background: var(--soft); }
.project-invitation { border-color: var(--line); }
.registration-cta { background: var(--black); border-color: var(--black); color: var(--white); }
.registration-cta:hover { background: var(--deep); border-color: var(--deep); }
.feature { padding-top: 4rem; padding-bottom: 7.5rem; }
.feature-photo::before { background: var(--taupe); }
.free-details li { background: var(--soft); border-color: var(--taupe); }

/* Reuse the existing formal two-line lockup, keeping its FROM JAPAN line. */
.why-flow__lockup { position: relative; display: block; width: 11rem; max-width: 100%; aspect-ratio: 996 / 535; overflow: hidden; }
.why-flow__lockup img { position: absolute; top: -69%; left: -13.35%; width: 126%; max-width: none; height: auto; }


/* The lettering straddles the two flat background colours, without a box. */
.benefit-editorial { position: relative; padding-top: 0; background: var(--white); }
.benefit-editorial .section-title { position: relative; z-index: 1; transform: translateY(-50%); margin: 0 auto; }
.benefit-columns { margin-top: 1.5rem; }
.benefit-columns article { border-color: var(--line); }

.process-panel { position: relative; padding-top: 0; background: var(--blush); }
.process-layout { display: block; }
.process-heading .section-title { position: relative; z-index: 1; transform: translateY(-50%); text-align: center; font-size: clamp(2.5rem, 4.2vw, 3.8rem); }
.process-steps { max-width: 50rem; margin: 1.75rem auto 0; }
.step-number, .step-divider { color: var(--deep); }
.how-closing { margin-top: 3rem; border-color: var(--taupe); }

.editorial-beauty { background: var(--soft); }
.beauty-collage::before { background: #000000; }
.heritage { padding-top: 0; padding-bottom: 6.5rem; background: var(--white); border-top: 0; }
.heritage-intro .section-title { position: relative; z-index: 1; transform: translateY(-50%); margin-bottom: .75rem; }
.heritage-intro .body-copy { margin-top: .5rem; }
.heritage-numbers { background: var(--taupe); color: var(--black); }
.stats-grid p { border-color: rgba(17,17,17,.25); }
.trust-transition { margin-top: 3rem; }

/* The original Japanese-event gallery remains above the black final invitation. */
.join-panel { background: #000000; color: var(--white); }
.join-panel .registration-cta { background: transparent; border-color: var(--white); color: var(--white); }
.join-panel .registration-cta:hover { background: var(--deep); border-color: var(--taupe); }
.colophon { padding-top: 0; background: var(--soft); }
/* Operator details sit beneath the eight Japanese-event photographs. */
.story-operator { max-width: 52rem; margin: 3.5rem auto 0; padding-top: 3rem; border-top: 1px solid var(--line); text-align: center; }
.story-operator__prose { max-width: 44rem; margin-inline: auto; }
.story-operator h2 { margin-bottom: 1.2rem; font-family: var(--sans); font-size: .8125rem; font-weight: 500; line-height: 1.8; letter-spacing: .12em; }
.story-operator .operator-proof__links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .75rem; margin-top: 1.75rem; }
.story-operator .operator-proof__links a { display: flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: .8rem 1rem; border: 1px solid transparent; border-radius: 0; background: var(--soft); color: var(--black); text-align: center; }
.story-operator .operator-proof__links a:hover { background: var(--blush); text-decoration: none; }
.follow-panel { padding-block: 3rem; background: var(--soft); }
.follow-panel .operator-proof__follow { justify-content: center; min-height: 4.5rem; margin: 0; padding: 0; border: 0; }
.operator-proof__follow-account { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; max-width: 100%; }
.operator-proof__follow-account svg { flex: 0 0 auto; width: 1.125rem; height: 1.125rem; }
.operator-proof__links a:hover, .colophon-bottom nav a:hover, .operator-proof__follow:hover { text-decoration-color: var(--deep); }
.colophon-bottom { flex-direction: column; align-items: center; justify-content: center; gap: 1rem; margin-top: 0; padding-top: 1.5rem; border-top: 1px solid var(--line); text-align: center; }
.colophon-bottom nav { justify-content: center; }

@media (max-width:900px) {
  .benefit-columns { margin-top: .5rem; }
}
@media (max-width:740px) {
  html { scroll-padding-top: 6rem; }
  /* The black announcement scrolls away; the ivory logo row then sticks at top. */
  .announcement { position: static; }
  .masthead { top: 0; }
  .masthead.is-compact .masthead-instagram { display: none; }
  .masthead.is-compact .masthead-scroll-cta { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; min-height: 2.75rem; padding: .6rem .85rem; border: 1px solid var(--black); background: transparent; color: var(--black); font-size: .6875rem; font-weight: 500; line-height: 1.5; letter-spacing: .08em; white-space: nowrap; }
  .masthead-scroll-cta:hover { background: var(--blush); }

  .announcement-link { min-height: 2.75rem; padding-block: .5rem; font-size: .6875rem; letter-spacing: .14em; }
  .masthead-inner { min-height: 4.5rem; padding-block: .5rem; }
  .masthead-brand img { width: 8rem; }
  .cover { height: 78svh; }
  .feature { padding-top: 2.5rem; padding-bottom: 5.5rem; }
  .benefit-editorial { padding-top: 0; padding-bottom: 5.5rem; }
  .benefit-columns { margin-top: .25rem; }
  .process-panel { padding-top: 0; padding-bottom: 4.5rem; }
  .process-heading .section-title { font-size: clamp(2.25rem,9.2vw,3rem); }
  .process-steps { margin-top: 1rem; }
  .how-closing { margin-top: 2.5rem; }
  .editorial-beauty { padding-bottom: 6rem; }
  .heritage { padding-top: 0; padding-bottom: 4.5rem; }
  .heritage-intro .section-title { font-size: clamp(2rem,8.8vw,2.75rem); margin-bottom: .5rem; }
  .heritage-intro .body-copy { margin-top: .5rem; }
  .trust-transition { margin-top: 2.5rem; }
  .stats-grid strong { font-size: clamp(1.25rem,6.2vw,2.25rem); }
  .story-operator { margin-top: 2.5rem; padding-top: 2.5rem; }
  .story-operator h2 { font-size: .875rem; }
  .story-operator .operator-proof__links { grid-template-columns: minmax(0,1fr); gap: .75rem; margin-top: 1.5rem; }
  .follow-panel { padding-block: 2.5rem; }
  .colophon-bottom { margin-top: 0; }
}
