/* /creators/ sections (ja, en, ko, zh). Shared chrome, buttons, phone, stage, tab viewer,
   CTA band and store badges come from site.css; this file lays out the creator sections in the
   same idiom as /business/ (square cards, hard offset shadows, Latin eyebrows). The hero panel
   and the place cards carry stock photos (Unsplash and Pexels licences, credited under the cards). */

/* No single word left alone on the last line of a paragraph (headings: site.css). */
main :is(p, li, dd) {
  text-wrap: pretty;
}

.text-link {
  align-items: center;
  border-bottom: 2px solid currentColor;
  color: var(--navy);
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  gap: 10px;
  padding: 4px 0;
}
.text-link:hover {
  color: var(--brand);
}
/* The demo-data note is a full sentence, so it gets 12px (site.css keeps the business 11px). */
.stage-caption {
  font-size: 12px;
}

/* Hero: copy on cream, the campaign-detail screen over a photo panel bleeding to the right edge */
.creator-hero {
  background: var(--cream);
  border-bottom: 7px solid var(--navy);
  overflow: hidden;
  position: relative;
}
.creator-hero::before {
  border: 25px solid rgba(7, 87, 181, 0.055);
  border-radius: 50%;
  bottom: -380px;
  content: "";
  height: 540px;
  left: -350px;
  position: absolute;
  width: 540px;
}
.creator-hero-grid {
  align-items: center;
  display: grid;
  grid-template-columns: 52% 48%;
  min-height: 680px;
  position: relative;
}
.creator-hero-content {
  padding: 52px 46px 65px 0;
  position: relative;
  z-index: 2;
}
.creator-kicker {
  align-items: center;
  background: #f7fbff;
  border: 1px solid #c9ddf3;
  border-radius: 999px;
  color: var(--navy);
  display: inline-flex;
  font:
    800 11px / 1.4 Arial,
    sans-serif;
  gap: 10px;
  letter-spacing: 0.12em;
  margin: 0;
  padding: 8px 14px;
}
.creator-kicker i {
  background: var(--brand);
  border-radius: 50%;
  flex: none;
  height: 7px;
  width: 7px;
}
.creator-hero h1 {
  font-size: clamp(36px, 3.9vw, 54px);
  font-weight: 900;
  letter-spacing: -0.09em;
  line-height: 1.25;
  margin: 31px 0 25px;
}
.creator-hero h1 em,
.places h2 em,
.terms .section-title em,
.passport .section-title em {
  color: var(--brand);
  font-style: normal;
}
.creator-hero-copy {
  color: #3d4a54;
  font-size: 16px;
  line-height: 2;
  margin: 0;
  max-width: 560px;
}
.creator-hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 32px;
}
.creator-hero-note {
  align-items: center;
  color: #5c6b78;
  display: flex;
  font-size: 12px;
  gap: 12px;
  margin: 36px 0 0;
}
.creator-hero-note::before {
  background: #a8a79f;
  content: "";
  flex: none;
  height: 1px;
  width: 38px;
}
.creator-hero-note [lang] {
  white-space: nowrap;
}
/* The panel bleeds to the viewport edge; its padding keeps the stage (and the caption chip)
   inside the content width. */
.creator-hero-visual {
  align-items: center;
  background: #082e63;
  display: flex;
  height: 100%;
  justify-content: center;
  margin-right: calc((min(1180px, 100vw - 48px) - 100vw) / 2);
  min-height: 680px;
  overflow: hidden;
  padding-right: calc((100vw - min(1180px, 100vw - 48px)) / 2);
  position: relative;
}
/* The photo fills the panel; the navy wash behind the phone fades out so the scene stays visible. */
.creator-hero-visual::before {
  background: linear-gradient(
    90deg,
    rgba(8, 46, 99, 0.82),
    rgba(8, 46, 99, 0.5) 38%,
    rgba(8, 46, 99, 0.08) 70%,
    transparent
  );
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}
.creator-hero-visual .stage {
  justify-content: flex-start;
  padding-left: 7%;
  width: 100%;
  z-index: 2;
}
.creator-hero-visual .stage::before,
.creator-hero-visual .stage::after {
  display: none;
}
.creator-hero-art {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: 50% 30%;
  position: absolute;
  width: 100%;
}
.creator-edition {
  background: var(--paper);
  box-shadow: 5px 5px 0 var(--brand);
  color: var(--navy);
  font:
    900 10px / 1.3 Arial,
    sans-serif;
  left: 40px;
  letter-spacing: 0.19em;
  padding: 8px 12px;
  position: absolute;
  top: 28px;
  z-index: 3;
}
.creator-vertical {
  background: rgba(8, 46, 99, 0.72);
  color: #cfe2f8;
  font:
    800 11px / 1 Arial,
    sans-serif;
  letter-spacing: 0.3em;
  padding: 14px 9px;
  position: absolute;
  right: 25px;
  top: 26px;
  writing-mode: vertical-rl;
  z-index: 3;
}

@media (min-width: 761px) {
  .creator-hero-visual .stage {
    padding-top: 48px;
  }
  .creator-hero-visual .stage-caption {
    left: calc(7% + 24px);
    right: auto;
  }
}
/* Narrow two columns: a smaller phone and the photo anchored left keep her own phone in view. */
@media (min-width: 761px) and (max-width: 1365px) {
  .creator-hero-art {
    object-position: 0% 30%;
  }
  .creator-hero-visual .stage {
    padding-left: 3%;
  }
  .creator-hero-visual .phone {
    height: 470px;
    width: 217px;
  }
  .creator-hero-visual .stage-caption {
    left: calc(3% + 10px);
    max-width: 197px;
  }
}
/* The longer English copy makes the hero taller, which scales the photo up and pushes her phone
   past the right edge; a slightly smaller lead keeps the panel near 700px. */
@media (min-width: 761px) and (max-width: 860px) {
  html:lang(en) .creator-hero-copy {
    font-size: 15px;
    line-height: 1.8;
  }
}

/* Where you'll go: EAT / STAY / EXPERIENCE photo cards; the scrim keeps the copy readable. */
.places {
  background: #e4efff;
  overflow: hidden;
  padding: 110px 0;
  position: relative;
}
.places::before {
  border: 55px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  content: "";
  height: 560px;
  pointer-events: none;
  position: absolute;
  right: -150px;
  top: -270px;
  width: 560px;
}
.places-head {
  align-items: end;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.65fr);
  margin-bottom: 42px;
  position: relative;
  z-index: 1;
}
.places h2 {
  color: var(--navy);
  font-size: clamp(34px, 4.6vw, 62px);
  letter-spacing: -0.085em;
  line-height: 1.22;
  margin: 13px 0 0;
}
.places-head > p {
  color: #405764;
  font-size: 14px;
  line-height: 2;
  margin: 0 0 5px;
}
.places-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  position: relative;
  z-index: 1;
}
.place {
  background: var(--navy);
  box-shadow: 8px 8px 0 rgba(8, 47, 104, 0.14);
  color: #fff;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  min-height: 480px;
  overflow: hidden;
  padding: 22px 26px 28px;
  position: relative;
}
.place::before {
  background: linear-gradient(transparent 40%, rgba(10, 24, 39, 0.5));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}
.place-media {
  filter: saturate(0.8);
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
  z-index: -2;
}
.place .index-tag {
  align-self: flex-start;
}
.place-body {
  margin-top: auto;
  padding-top: 24px;
  position: relative;
}
.place-body::before {
  background: linear-gradient(rgba(10, 24, 39, 0), rgba(10, 24, 39, 0.8) 72px);
  bottom: -28px;
  content: "";
  left: -26px;
  position: absolute;
  right: -26px;
  top: -48px;
  z-index: -1;
}
.place-category {
  align-items: center;
  color: #d9ecff;
  display: flex;
  font-size: 12px;
  font-weight: 900;
  gap: 10px;
  letter-spacing: 0.14em;
  margin: 0;
}
.place-category::before {
  background: currentColor;
  content: "";
  height: 1px;
  width: 23px;
}
.place h3 {
  font-size: clamp(21px, 2.1vw, 27px);
  letter-spacing: -0.06em;
  line-height: 1.42;
  margin: 10px 0 12px;
}
.place-body > p:last-child {
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  line-height: 1.9;
  margin: 0;
}
.places-note {
  color: #4a5f72;
  font-size: 12px;
  line-height: 1.8;
  margin: 26px 0 0;
  position: relative;
}

/* How it works: tab viewer on the navy band; tabs run across, each panel is copy + stage */
.how {
  --focus-ring: #fff;
  background: #082e63;
  color: #fff;
  overflow: hidden;
  padding: 110px 0 100px;
  position: relative;
}
.how::before {
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.095);
  color: transparent;
  content: "CREATORS";
  font:
    900 clamp(90px, 15vw, 215px) / 1 Arial,
    sans-serif;
  letter-spacing: -0.08em;
  pointer-events: none;
  position: absolute;
  right: -40px;
  top: 13px;
}
.how .wrap {
  position: relative;
  z-index: 1;
}
.how .section-label {
  color: #a8d2ff;
}
.how-head {
  align-items: end;
  display: flex;
  gap: 30px;
  justify-content: space-between;
}
.how-head .section-lead {
  color: #b8c5cf;
  margin: 0;
  max-width: 420px;
}
.how .viewer {
  display: block;
  margin-top: 50px;
}
.how .viewer-tabs {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.how-panel {
  align-items: center;
  display: grid;
  gap: 50px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  margin-top: 30px;
}
/* Copy paints above the stage disc and ring, which reach into its column on tablets. */
.how-copy,
.passport-copy {
  position: relative;
  z-index: 1;
}
/* The tab sublabel is the localized word, so it stays at 12px and visible on phones too. */
.how .viewer-tab small {
  display: block;
  font-size: 12px;
}
.how-no {
  -webkit-text-stroke: 1px rgba(168, 210, 255, 0.55);
  color: transparent;
  display: block;
  font:
    900 104px / 1 Arial,
    sans-serif;
  letter-spacing: -0.06em;
  margin-bottom: 18px;
}
.how-copy h3 {
  font-size: clamp(26px, 2.7vw, 36px);
  letter-spacing: -0.06em;
  line-height: 1.4;
  margin: 0 0 18px;
}
.how-copy p {
  color: #c3cfd9;
  font-size: 15px;
  line-height: 2;
  margin: 0;
  max-width: 440px;
}

/* Clear terms: what every campaign shows before you apply */
.terms {
  background: #fff;
  padding: 110px 0;
}
.terms-grid {
  align-items: start;
  display: grid;
  gap: 70px;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}
.terms .section-lead {
  margin: 18px 0 0;
}
.terms-callout {
  background: #f7fbff;
  border: 1px solid #d8e8fa;
  border-left: 5px solid var(--navy);
  box-shadow: 8px 8px 0 var(--brand);
  margin-top: 36px;
  max-width: 470px;
  padding: 24px 28px 26px;
}
.terms-callout p {
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.9;
  margin: 8px 0 0;
}
.terms-callout .terms-callout-label {
  color: var(--brand);
  font:
    800 11px Arial,
    sans-serif;
  letter-spacing: 0.15em;
  margin: 0;
}
.terms-list {
  border-bottom: 3px solid var(--navy);
  border-top: 3px solid var(--navy);
  list-style: none;
  margin: 0;
  padding: 0;
}
.terms-list li {
  column-gap: 18px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  padding: 17px 8px 18px;
}
.terms-list li + li {
  border-top: 1px solid #c7d9ee;
}
.terms-list li:nth-child(even) {
  background: #f7fbff;
}
.terms-no {
  color: var(--brand);
  font:
    800 12px / 1.9 Arial,
    sans-serif;
  grid-row: span 2;
  letter-spacing: 0.12em;
  padding-top: 2px;
}
.terms-list strong {
  color: var(--navy);
  font-size: 16px;
  line-height: 1.6;
}
.terms-list strong + span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
/* Campaign-terms screen as a third column; its demo-data chip sits under the phone */
.terms-grid:has(.terms-screen) {
  gap: 50px;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) 265px;
}
.terms-screen {
  justify-self: center;
}
.terms-screen .stage-caption {
  margin-top: 22px;
  position: static;
  width: fit-content;
}

/* Creator Passport */
.passport {
  --stage-disc: #d3e5fa;
  --stage-ring: rgba(7, 87, 181, 0.35);
  background: #eff5fd;
  overflow: hidden;
  padding: 100px 0;
}
.passport-grid {
  align-items: center;
  display: grid;
  gap: 70px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.passport-stage {
  order: -1;
}
.passport .section-lead {
  margin: 18px 0 0;
}
.passport-features {
  border-top: 1px solid #c7d9ee;
  margin: 28px 0 0;
}
.passport-features div {
  border-bottom: 1px solid #c7d9ee;
  column-gap: 20px;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  padding: 17px 0;
}
.passport-features dt {
  color: var(--brand);
  font:
    800 11px / 2 Arial,
    sans-serif;
  letter-spacing: 0.14em;
}
.passport-features dd {
  font-size: 14px;
  line-height: 1.9;
  margin: 0;
}
.passport-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  margin: 18px 0 0;
}

/* FAQ */
.faq {
  background: #fff;
  padding: 110px 0;
}
.faq-grid {
  align-items: start;
  display: grid;
  gap: 70px;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
}
.faq-more {
  margin-top: 26px;
}
.faq-list {
  border-top: 3px solid var(--navy);
}
.faq-item {
  border-bottom: 1px solid #c7d9ee;
}
.faq-item summary {
  align-items: start;
  color: var(--navy);
  column-gap: 14px;
  cursor: pointer;
  display: grid;
  font-size: 16px;
  font-weight: 800;
  grid-template-columns: 30px minmax(0, 1fr) 22px;
  line-height: 1.7;
  list-style: none;
  padding: 22px 4px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  color: var(--brand);
  content: "+";
  font:
    400 24px / 1.1 Arial,
    sans-serif;
  text-align: center;
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item summary:hover {
  color: var(--brand);
}
.faq-q {
  color: var(--brand);
  font:
    900 15px / 1.8 Arial,
    sans-serif;
}
.faq-answer {
  padding: 0 40px 26px 48px;
}
.faq-answer p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
  margin: 0 0 12px;
}
.faq-answer a {
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Closing CTA: the band and store grid are in site.css */
.cta p {
  max-width: 560px;
}

/* Latin and Hangul headings need less negative tracking than the Japanese-tuned values above
   (at -0.06em Hangul punctuation collides with the next syllable). */
html:lang(en) .creator-hero h1 {
  font-size: clamp(34px, 3.5vw, 48px);
  letter-spacing: -0.04em;
  line-height: 1.16;
}
html:lang(ko) .creator-hero h1 {
  letter-spacing: -0.045em;
}
html:lang(en) .places h2,
html:lang(en) .section-title,
html:lang(en) .how-copy h3,
html:lang(en) .place h3,
html:lang(en) .cta h2,
html:lang(ko) .places h2,
html:lang(ko) .section-title,
html:lang(ko) .how-copy h3,
html:lang(ko) .place h3,
html:lang(ko) .cta h2 {
  letter-spacing: -0.03em;
}

@media (max-width: 1100px) {
  .places-grid {
    gap: 14px;
  }
  .place {
    padding: 20px 20px 24px;
  }
}
@media (max-width: 980px) {
  .creator-hero-content {
    padding-right: 24px;
  }
  /* Keeps 「日本の店・宿・体験を、」 on one line in the narrower two-column hero. */
  .creator-hero h1 {
    font-size: clamp(32px, 3.9vw, 38px);
  }
  .creator-edition {
    left: 20px;
  }
  .creator-vertical {
    display: none;
  }
  /* Size the disc and ring to the narrower two-column stage (the phone values). */
  .how-panel .stage::before,
  .passport-stage::before {
    height: 420px;
    width: 420px;
  }
  .how-panel .stage::after,
  .passport-stage::after {
    height: 510px;
    width: 510px;
  }
  .how-panel,
  .terms-grid,
  .passport-grid,
  .faq-grid {
    gap: 40px;
  }
  .terms-grid,
  .terms-grid:has(.terms-screen),
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .places-grid {
    grid-template-columns: 1fr 1fr;
  }
  .place-experience {
    grid-column: span 2;
  }
  .place-experience .place-media {
    object-position: 50% 22%;
  }
}
@media (max-width: 760px) {
  .creator-hero-grid {
    display: block;
    min-height: 0;
  }
  .creator-hero-content {
    padding: 40px 0 34px;
  }
  .creator-kicker {
    font-size: 11px;
    letter-spacing: 0.08em;
  }
  .creator-hero h1 {
    font-size: clamp(26px, 8.2vw, 38px);
    line-height: 1.28;
    margin: 20px 0 16px;
  }
  .creator-hero-copy {
    font-size: 14px;
    line-height: 1.9;
  }
  .creator-hero-actions {
    margin-top: 24px;
  }
  .creator-hero-note {
    align-items: flex-start;
    margin-top: 20px;
  }
  .creator-hero-note::before {
    margin-top: 10px;
    width: 24px;
  }
  /* One column: the photo is a band above the centred phone; the phone starts where the band has
     faded to navy, so it sits below her hands and phone rather than on her. */
  .creator-hero-visual {
    margin: 0 -16px;
    min-height: 0;
    padding: 275px 0 36px;
  }
  .creator-hero-art {
    bottom: auto;
    height: 290px;
    object-position: 50% 36%;
  }
  .creator-hero-visual::before {
    background: linear-gradient(rgba(8, 46, 99, 0.1), rgba(8, 46, 99, 0.25) 150px, #082e63 290px);
  }
  .creator-hero-visual .stage {
    justify-content: center;
    padding-left: 0;
  }
  /* The band is too short for the label to clear the person. */
  .creator-edition {
    display: none;
  }
  .places,
  .how {
    padding: 75px 0;
  }
  .places-head {
    display: block;
    margin-bottom: 27px;
  }
  .places h2 {
    font-size: clamp(30px, 8vw, 44px);
  }
  .places-head > p {
    font-size: 13px;
    margin-top: 17px;
  }
  .places-grid {
    grid-template-columns: 1fr;
  }
  .place,
  .place-experience {
    grid-column: auto;
    min-height: 420px;
  }
  .how-head {
    display: block;
  }
  .how-head .section-lead {
    margin-top: 16px;
  }
  .how .viewer {
    margin-top: 33px;
  }
  .how .viewer-tabs {
    grid-template-columns: 1fr 1fr;
  }
  .how-panel {
    display: block;
    margin-top: 28px;
  }
  .how-no {
    font-size: 72px;
    margin-bottom: 10px;
  }
  .how-copy h3 {
    font-size: 24px;
  }
  .how-copy p {
    font-size: 14px;
  }
  .how-panel .stage {
    margin-top: 12px;
  }
  .terms,
  .passport,
  .faq {
    padding: 75px 0;
  }
  .terms-callout {
    margin-top: 28px;
    padding: 20px 22px 22px;
  }
  .terms-list li {
    grid-template-columns: 36px minmax(0, 1fr);
    padding: 15px 4px 16px;
  }
  .passport-grid {
    grid-template-columns: 1fr;
  }
  .passport-stage {
    order: 0;
  }
  .passport-features div {
    grid-template-columns: 1fr;
  }
  .faq-item summary {
    font-size: 15px;
    grid-template-columns: 26px minmax(0, 1fr) 20px;
  }
  .faq-answer {
    padding: 0 4px 22px 40px;
  }
}
/* Small phones: taller cards push the copy below the subjects (the STAY guest, the EAT nigiri). */
@media (max-width: 420px) {
  .place,
  .place-experience {
    min-height: 460px;
  }
}
