/* ==========================================================================
   Licensing — 24:51 → 24:60
   The last stretch of the hour: what the label licenses and makes (01 / 02),
   who it has worked with, the fan-creation policy set as a printed sheet
   (03), the collaboration flow as a timecode track (04), contact, press kit.
   ========================================================================== */

/* --- Hero (24:51) ---------------------------------------------------------- */
.lic-hero {
  position: relative;
  padding-top: calc(var(--bar-h) + clamp(24px, 4vh, 56px));
  padding-bottom: clamp(40px, 6vh, 72px);
  overflow: hidden;
}

.lic-hero__inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto auto auto minmax(clamp(24px, 4vh, 64px), 1fr) auto auto;
  column-gap: var(--col-gap);
  row-gap: clamp(20px, 3vh, 36px);
  min-height: calc(100svh - var(--bar-h) - clamp(24px, 4vh, 56px) - clamp(40px, 6vh, 72px));
}

.lic-hero__meta {
  grid-column: 1 / -1;
  grid-row: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.lic-hero__tc {
  display: inline-flex;
  gap: 1.2em;
  text-transform: uppercase;
}

.lic-hero__title {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: clamp(3.4rem, min(15.4vw, 25svh), 15rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-left: -0.045em;
}

/* One line, any language: a fixed line box with room for the descender of
   "g", clipped only for the rise. */
.lic-hero__title.display,
:lang(zh-Hans) .lic-hero__title.display,
:lang(ja-JP) .lic-hero__title.display {
  line-height: 0.9;
}

.lic-hero__line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.22em;
  margin-bottom: -0.16em;
}

.lic-hero__word {
  display: inline-block;
  will-change: transform;
}

/* The word rises when the intro clears (as on the home page) */
.js .lic-hero__word {
  translate: 0 108%;
  transition: translate 1300ms var(--ease-out);
}

html[data-fonts="ready"][data-site-intro="skip"] .lic-hero__word,
html[data-fonts="ready"][data-site-intro="done"] .lic-hero__word {
  translate: 0 0;
}

.lic-hero__clock {
  grid-column: 1 / span 4;
  grid-row: 5;
  align-self: end;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lic-hero__digits {
  font-size: clamp(3rem, 6.6vw, 7rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px var(--fg-2);
}

.lic-hero__digits .colon {
  color: var(--signal);
  -webkit-text-stroke: 0;
  animation: rec-blink 2s steps(1, end) infinite;
}

.lic-hero__span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--t-micro);
  letter-spacing: 0.14em;
  color: var(--fg-3);
}

.lic-hero__span-rule {
  display: inline-block;
  width: clamp(40px, 6vw, 96px);
  height: 1px;
  background: linear-gradient(90deg, var(--signal) 0 12%, var(--fg-4) 12%);
}

.lic-hero__subtitle {
  grid-column: 6 / span 7;
  grid-row: 3;
  margin-top: clamp(8px, 2vh, 28px);
  font-family: var(--f-serif);
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  line-height: 1.35;
  letter-spacing: 0.02em;
  max-width: 20em;
  text-wrap: balance;
}

:root[lang="en"] .lic-hero__subtitle {
  letter-spacing: -0.005em;
  line-height: 1.18;
}

.lic-hero__body {
  grid-column: 6 / span 5;
  grid-row: 5;
  align-self: end;
  color: var(--fg-2);
  max-width: 32em;
  padding-left: 18px;
  border-left: 1px solid var(--signal);
}

/* Cue list: ruled like a timeline, one tick per ten seconds */
.lic-hero__cues {
  grid-column: 1 / -1;
  grid-row: 6;
  margin-top: clamp(8px, 2vh, 24px);
}

.cues {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.cue {
  position: relative;
  padding-top: 12px;
  background:
    linear-gradient(var(--line-strong), var(--line-strong)) 0 0 / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, var(--fg-4) 0 1px, transparent 1px calc(100% / 6)) 0 0 / 100% 6px no-repeat;
}

.cue::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 12px;
  background: var(--fg-2);
}

.cue__link {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 44px;
  padding: 10px 14px 6px 0;
  color: var(--fg-2);
  transition: color var(--d-1);
}

.cue__link::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 2px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 420ms var(--ease-out);
}

.cue__tc {
  font-size: var(--t-micro);
  color: var(--fg-3);
  transition: color var(--d-1);
}

.cue__label {
  font-size: 0.875rem;
  line-height: 1.4;
}

.cue__link:hover,
.cue__link:focus-visible {
  color: var(--fg);
}

.cue__link:hover::before,
.cue__link:focus-visible::before {
  transform: scaleX(1);
  transform-origin: left;
}

.cue__link:hover .cue__tc,
.cue__link:focus-visible .cue__tc {
  color: var(--signal);
}

/* Cues and press rows arrive one after another */
.js [data-reveal="cues"] > li {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity 700ms var(--ease-out),
    transform 900ms var(--ease-out);
  transition-delay: calc(var(--reveal-delay, 0ms) + var(--i, 0) * 70ms);
}

.js [data-reveal="cues"].is-in > li {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .cues {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 8px;
  }
}

@media (max-width: 1100px) {
  .lic-hero__subtitle {
    grid-column: 4 / -1;
  }
  .lic-hero__body {
    grid-column: 6 / -1;
  }
}

@media (max-width: 900px) {
  .lic-hero__inner {
    grid-template-rows: none;
    min-height: 0;
  }
  .lic-hero__subtitle,
  .lic-hero__body,
  .lic-hero__clock,
  .lic-hero__cues {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .lic-hero__clock {
    order: 3;
    margin-top: 8px;
  }
  .lic-hero__subtitle {
    order: 4;
  }
  .lic-hero__body {
    order: 5;
  }
  .lic-hero__cues {
    order: 6;
  }
}

@media (max-width: 700px) {
  .lic-hero__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .cues {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* --- Chapter heads (h3 inside the services section) -------------------------- */
.chapter {
  padding-top: var(--section);
}

/* Anchor jumps (cue list, deep links) land on the heading, not on the
   section's top padding. html already adds scroll-padding for the bar. */
.chapter,
.lic-services,
.lic-cta,
.press {
  scroll-margin-top: calc(var(--section) * -1 + 8px);
}

.chapter-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 22px;
  align-items: end;
  margin-bottom: clamp(40px, 5.5vw, 88px);
}

.chapter-head__index {
  grid-column: 1 / span 3;
  grid-row: 1 / span 2;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.chapter-head__num {
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--fg);
}

.chapter-head__main {
  grid-column: 4 / span 9;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.chapter-head__title {
  font-size: clamp(2rem, 3.8vw, 3.75rem);
  --wdth: 112;
}

.chapter-head__note {
  font-size: var(--t-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.chapter-head__aside {
  grid-column: 4 / span 6;
  color: var(--fg-2);
  max-width: 36em;
}

/* Japanese: short copy breaks between phrases, never inside a katakana word
   (base.css covers headings, .display and .section-head__aside). The policy
   sheet is long-form and keeps ordinary justified-style breaking. */
:root[lang="ja-JP"] :is(
    .lic-hero__subtitle,
    .lic-hero__body,
    .cue__label,
    .chapter-head__note,
    .chapter-head__aside,
    .offer__body,
    .case__partner,
    .case__project,
    .case__usage,
    .flow__label,
    .lic-cta__text,
    .press__title,
    .press__copy,
    .press__brand-copy
  ) {
  word-break: auto-phrase;
}

@media (max-width: 900px) {
  .chapter-head__index,
  .chapter-head__main,
  .chapter-head__aside {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .chapter-head__index {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
  }
  .chapter-head__num {
    font-size: clamp(2.5rem, 12vw, 3.5rem);
  }
}

/* --- 01 / 02 service rows ------------------------------------------------------ */
.offers {
  border-bottom: 1px solid var(--line);
}

.offer {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 18px;
  align-items: start;
  padding: clamp(28px, 4vw, 64px) 0 clamp(32px, 4.4vw, 72px);
}

/* The rule above each row draws across like a tape head */
.offer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--fg-2);
  transform-origin: left;
  transform: scaleX(1);
}

.js .offer[data-reveal="rule"]::before {
  transform: scaleX(0);
  transition:
    transform 1200ms var(--ease-tape) var(--reveal-delay, 0ms),
    background-color var(--d-2);
}

.js .offer[data-reveal="rule"].is-in::before {
  transform: scaleX(1);
}

.offer__num {
  grid-column: 1 / span 3;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  transition: color var(--d-2);
}

.offer__title {
  grid-column: 4 / span 5;
  font-size: clamp(1.875rem, 3.4vw, 3.25rem);
  line-height: 1.02;
  --wdth: 108;
  padding-top: 0.12em;
}

.offer__text {
  grid-column: 9 / span 4;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 0.3em;
}

.offer__body {
  color: var(--fg-2);
}

.offer__tags {
  display: flex;
  flex-wrap: wrap;
}

.offer::before {
  transition: background-color var(--d-2);
}

@media (hover: hover) {
  .offer:hover::before {
    background: var(--signal);
  }
  .offer:hover .offer__num {
    color: var(--signal);
  }
}

@media (max-width: 1100px) {
  .offer__title {
    grid-column: 4 / span 9;
  }
  .offer__text {
    grid-column: 4 / span 9;
  }
}

@media (max-width: 900px) {
  .offer__num,
  .offer__title,
  .offer__text {
    grid-column: 1 / -1;
  }
  .offer__num {
    font-size: clamp(2.5rem, 12vw, 3.5rem);
  }
}

/* --- 24:53 Brand cases ------------------------------------------------------------ */
.cases__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 40px;
}

.case {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
}

.case::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 2px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 520ms var(--ease-out);
}

.case__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.case__index {
  font-size: var(--t-micro);
  letter-spacing: 0.12em;
  color: var(--fg-3);
}

.case__partner {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--fg);
  text-align: right;
}

.case__meta {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
}

.case__row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.case__row dt {
  font-family: var(--f-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.case__row dd {
  margin: 0;
}

.case__project {
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: 100%;
  font-variation-settings: "wdth" 100;
  font-size: var(--t-3);
  line-height: 1.18;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.case__usage {
  font-family: var(--f-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--fg-2);
}

.case__link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg);
}

.case__link span:first-child {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 2px;
}

.case__link:hover,
.case__link:focus-visible {
  color: var(--signal);
}

@media (hover: hover) {
  .case:hover::before {
    transform: scaleX(1);
    transform-origin: left;
  }
}

.case:focus-within::before {
  transform: scaleX(1);
  transform-origin: left;
}

.js [data-reveal="cases"] .case {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition:
    opacity 800ms var(--ease-out),
    transform 1000ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}

.js [data-reveal="cases"].is-in .case {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .cases__list {
    grid-template-columns: 1fr;
    row-gap: 0;
  }
  .case {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    padding: 20px 0 28px;
  }
}

/* --- 24:54 / 03 Fan-creation policy -------------------------------------------------- */
.policy__layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 32px;
  align-items: start;
}

.policy__rail {
  grid-column: 1 / span 3;
  position: sticky;
  top: calc(var(--bar-h) + 24px);
  max-height: calc(100vh - var(--bar-h) - 48px);
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}

/* On short screens only the contents list scrolls; tabs and download stay put */
.policy__toc {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* The scroller clips at its padding box, so it gets room on every side for
   the 4px focus ring (and the current-entry dot on the left); the negative
   margins keep the list where it was. The closing rule moves onto the last
   entry so it stays flush with it. */
.policy__toc .toc {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
  padding: 6px 6px 6px 16px;
  margin: 6px -6px -6px -16px;
  scroll-padding-block: 6px;
  border-bottom: 0;
}

.policy__toc .toc li:last-child .toc__link {
  border-bottom: 1px solid var(--line);
}

.policy__control {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.policy__label {
  font-size: var(--t-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.policy__tabs {
  display: inline-flex;
  align-self: flex-start;
  max-width: 100%;
  padding: 3px;
  gap: 2px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

.policy__tab {
  min-height: 44px;
  min-width: 44px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.8125rem;
  color: var(--fg-2);
  white-space: nowrap;
  transition: color var(--d-1), background-color var(--d-2) var(--ease-out);
}

/* Hover only where a pointer can hover (no sticky hover after a tap); the
   pressed tab keeps its colours either way. */
@media (hover: hover) {
  .policy__tab:not([aria-pressed="true"]):hover {
    color: var(--fg);
  }
}

.policy__tab[aria-pressed="true"] {
  background: var(--fg);
  color: var(--bg);
}

.policy__tab:focus-visible {
  border-radius: 999px;
}

/* Contents: generated from the sheet's h4/h5 headings */
.toc {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--line);
  margin-top: 12px;
}

.toc__link {
  position: relative;
  display: grid;
  grid-template-columns: 2.1rem minmax(0, 1fr);
  align-items: baseline;
  gap: 6px;
  min-height: 44px;
  padding: 11px 0 10px;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--fg-3);
  transition: color var(--d-1);
}

.toc__link::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--signal);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity var(--d-2), transform var(--d-2) var(--ease-out);
}

.toc__num {
  font-family: var(--f-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  transition: color var(--d-1);
}

.toc__link:hover,
.toc__link:focus-visible {
  color: var(--fg-2);
}

.toc__link[aria-current="location"] {
  color: var(--fg);
}

.toc__link[aria-current="location"] .toc__num {
  color: var(--signal);
}

.toc__link[aria-current="location"]::before {
  opacity: 1;
  transform: none;
}

.policy__download {
  align-self: flex-start;
  max-width: 100%;
}

/* Pending (the live state: no guide file yet). The label is a status the
   reader needs, so it stays legible (≥4.5:1); the dashed rule and the open
   dot say "not yet" instead of dimming the whole control. */
.policy__download.is-disabled {
  cursor: not-allowed;
  pointer-events: none;
  border-style: dashed;
  color: var(--fg-3);
}

.policy__download.is-disabled::before {
  display: none;
}

.policy__download.is-disabled .btn__arrow {
  display: none;
}

.policy__download.is-disabled span[data-policy-download-label]::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  border: 1px solid currentColor;
  border-radius: 50%;
  vertical-align: 0.05em;
}

/* The sheet: bone paper on the night desk. Long-form text reads dark on light. */
.policy__sheet {
  --ink: #0b0b0d;
  --ink-2: rgba(11, 11, 13, 0.78);
  /* ≈4.9:1 on bone, so the faintest ink is still readable text */
  --ink-3: rgba(11, 11, 13, 0.6);
  --ink-line: rgba(11, 11, 13, 0.14);
  grid-column: 4 / span 8;
  position: relative;
  min-width: 0;
  background: var(--bone);
  color: var(--ink);
  padding: clamp(28px, 4.4vw, 72px) clamp(22px, 5.4vw, 96px) clamp(40px, 5vw, 88px);
  box-shadow: 0 60px 140px -70px rgba(0, 0, 0, 0.9);
  color-scheme: light;
}

.policy__sheet ::selection {
  background: var(--signal);
  color: var(--bone);
}

.policy__edge {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--ink-line);
  overflow: hidden;
}

.policy__edge span {
  position: absolute;
  inset: 0;
  background: var(--signal);
  transform-origin: top;
  transform: scaleY(0);
}

.policy__letterhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: clamp(28px, 3.6vw, 52px);
  border-bottom: 1px solid var(--ink-line);
}

.policy__letterhead img {
  height: 11px;
  width: auto;
  filter: invert(1);
  opacity: 0.86;
}

.policy__code {
  font-size: var(--t-micro);
  letter-spacing: 0.16em;
  color: var(--ink-3);
}

.policy__doc {
  font-family: var(--f-serif);
  font-size: 1.0625rem;
  line-height: 1.95;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  max-width: 40em;
  font-feature-settings: "palt" 1;
}

/* The policy language can differ from the site language. The serif face
   follows the sheet's own lang attribute through base.css (CJK-first for zh /
   ja, so 「“”」 and 「——」 keep their CJK forms); only the measure and the
   Japanese line-breaking rules are set here. */
.policy__doc:lang(ja) {
  line-break: strict;
}

.policy__doc:lang(en) {
  font-size: 1.125rem;
  line-height: 1.65;
  letter-spacing: 0;
  font-feature-settings: normal;
}

.policy__article + .policy__article {
  margin-top: clamp(32px, 3.4vw, 48px);
}

.policy__doc h4 {
  font-family: inherit;
  font-weight: 500;
  font-size: clamp(1.875rem, 3.3vw, 3rem);
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin: 0 0 clamp(20px, 2.4vw, 32px);
  text-wrap: balance;
}

.policy__doc:lang(en) h4 {
  letter-spacing: -0.01em;
}

.policy__doc h5 {
  position: relative;
  font-family: var(--f-sans);
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: 0;
  color: var(--ink);
  margin: 0 0 14px;
  padding-top: 22px;
}

.policy__doc h5::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 2px;
  background: var(--signal);
}

.policy__doc:lang(ja) h5 {
  font-family: var(--f-latin), "Noto Sans JP", "Hiragino Sans", sans-serif;
}

.policy__doc:lang(zh-Hans) h5 {
  font-family: var(--f-latin), "Noto Sans SC", "PingFang SC", sans-serif;
}

.policy__doc h4:focus-visible,
.policy__doc h5:focus-visible {
  box-shadow: 0 0 0 2px var(--bone), 0 0 0 4px var(--signal);
}

.policy__doc p {
  margin: 0 0 1em;
}

.policy__doc hr {
  height: 1px;
  border: 0;
  margin: clamp(28px, 3vw, 44px) 0 0;
  background: var(--ink-line);
}

.policy__doc ul {
  margin: 0 0 1em;
  padding: 0;
  list-style: none;
}

.policy__doc li {
  position: relative;
  padding-left: 1.5em;
}

.policy__doc li + li {
  margin-top: 0.35em;
}

.policy__doc li::before {
  content: "";
  position: absolute;
  left: 0.1em;
  top: 0.98em;
  width: 0.72em;
  height: 1px;
  background: var(--ink-3);
}

.policy__doc:lang(en) li::before {
  top: 0.84em;
}

.policy__doc br + br {
  display: none;
}

/* Signoff + seal (朱印): the one vermilion mark on the paper */
.policy__signoff {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  margin-top: clamp(40px, 5vw, 72px);
  padding-top: 24px;
  border-top: 1px solid var(--ink-line);
}

.policy__signoff .licensing-policy-signoff {
  margin: 0;
  text-align: right;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--ink-2);
}

.policy__seal {
  flex: none;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 2px solid var(--signal);
  border-radius: 4px;
  color: var(--signal);
  font-family: var(--f-mono);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-align: center;
  transform: rotate(-6deg);
  opacity: 0.88;
  mix-blend-mode: multiply;
}

.policy__empty {
  color: var(--ink-3);
  font-family: var(--f-mono);
  font-size: 0.8125rem;
}

@media (max-width: 1100px) {
  .policy__rail {
    grid-column: 1 / -1;
    position: static;
    max-height: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 24px 32px;
  }
  .policy__toc {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .policy__download {
    justify-self: end;
  }
  .policy__toc .toc {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--col-gap);
    border-bottom: 0;
    overflow: visible;
    padding: 0;
    margin: 12px 0 0;
  }
  .policy__toc .toc li:last-child .toc__link {
    border-bottom: 0;
  }
  .toc__link::before {
    display: none;
  }
  .policy__sheet {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .policy__rail {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
  .policy__toc .toc {
    grid-template-columns: minmax(0, 1fr);
  }
  .policy__download {
    justify-self: start;
  }
  .policy__sheet {
    margin-inline: calc(var(--gutter) * -1);
    padding: 28px var(--gutter) 40px calc(var(--gutter) + 4px);
  }
  .policy__doc {
    font-size: 1rem;
    line-height: 1.9;
  }
  .policy__doc:lang(en) {
    font-size: 1.0625rem;
  }
  .policy__seal {
    width: 50px;
    height: 50px;
    font-size: 0.6875rem;
  }
}

/* While the sheet passes under the header, the bar gets a solid night band
   so the paper's text never shows through the navigation. */
html.lic-paper .bar::before {
  opacity: 1;
  background: var(--night);
  box-shadow: 0 1px 0 var(--line);
}

/* --- 24:56 / 04 Workflow: the timecode track ----------------------------------- */
.flow__track {
  --ruler: 26px;
  --mark: 11px;
  position: relative;
}

.flow__ruler {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: var(--ruler);
  pointer-events: none;
}

/* Base line with minor ticks (a ruler), fill on top, playhead riding the fill */
.flow__line {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--ruler) / 2);
  height: 1px;
  background: var(--line-strong);
}

.flow__line::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -7px;
  height: 7px;
  background: repeating-linear-gradient(90deg, var(--fg-4) 0 1px, transparent 1px calc(100% / 50));
}

.flow__fill {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--ruler) / 2 - 1px);
  height: 3px;
  background: var(--signal);
  transform-origin: left center;
  transform: scaleX(0);
}

.flow__head {
  position: absolute;
  left: -1px;
  top: -4px;
  width: 2px;
  height: calc(var(--ruler) + 8px);
  background: var(--signal);
  will-change: transform;
}

.flow__head::before {
  content: "";
  position: absolute;
  left: -4px;
  top: -6px;
  border: 5px solid transparent;
  border-top: 7px solid var(--signal);
}

.flow__steps {
  display: grid;
  grid-template-columns: repeat(var(--flow-count, 5), minmax(0, 1fr));
  counter-reset: none;
}

.flow__step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: calc(var(--ruler) + 28px) 20px 0 0;
  min-width: 0;
}

/* Step mark sitting on the ruler */
.flow__step::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(var(--ruler) / 2 - var(--mark) / 2);
  width: var(--mark);
  height: var(--mark);
  border-radius: 50%;
  border: 1px solid var(--fg-3);
  background: var(--bg);
  transition: background-color var(--d-2), border-color var(--d-2), transform var(--d-2) var(--ease-out);
}

.flow__num {
  font-size: clamp(2.25rem, 4.2vw, 4.25rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--fg-4);
  transition: color var(--d-3) var(--ease-out);
}

.flow__label {
  font-size: var(--t-4);
  font-weight: 600;
  line-height: 1.35;
  color: var(--fg-3);
  transition: color var(--d-3) var(--ease-out);
}

.flow__step.is-lit::before {
  background: var(--signal);
  border-color: var(--signal);
  transform: scale(1.15);
}

.flow__step.is-lit .flow__num,
.flow__step.is-lit .flow__label {
  color: var(--fg);
}

.flow__track.is-complete .flow__head::before {
  border-top-color: var(--fg);
}

/* No script, or reduced motion: the whole track is shown complete */
html:not(.js) .flow__fill {
  transform: none;
}

html:not(.js) .flow__head {
  display: none;
}

html:not(.js) .flow__step .flow__num,
html:not(.js) .flow__step .flow__label {
  color: var(--fg);
}

@media (max-width: 900px) {
  .flow__track {
    --ruler: 24px;
    padding-left: calc(var(--ruler) + 18px);
  }
  .flow__ruler {
    right: auto;
    bottom: 0;
    width: var(--ruler);
    height: auto;
  }
  .flow__line {
    left: calc(var(--ruler) / 2);
    right: auto;
    top: 0;
    bottom: 0;
    width: 1px;
    height: auto;
  }
  .flow__line::after {
    left: -7px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 7px;
    height: auto;
    background: repeating-linear-gradient(180deg, var(--fg-4) 0 1px, transparent 1px calc(100% / 30));
  }
  .flow__fill {
    left: calc(var(--ruler) / 2 - 1px);
    right: auto;
    top: 0;
    bottom: 0;
    width: 3px;
    height: auto;
    transform-origin: center top;
    transform: scaleY(0);
  }
  .flow__head {
    left: -4px;
    top: -1px;
    width: calc(var(--ruler) + 8px);
    height: 2px;
  }
  .flow__head::before {
    left: -6px;
    top: -4px;
    border: 5px solid transparent;
    border-left: 7px solid var(--signal);
  }
  .flow__track.is-complete .flow__head::before {
    border-left-color: var(--fg);
    border-top-color: transparent;
  }
  .flow__steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .flow__step {
    flex-direction: row;
    align-items: baseline;
    gap: 18px;
    min-height: 88px;
    padding: 0 0 28px;
  }
  .flow__step::before {
    left: calc(-1 * (var(--ruler) + 18px) + var(--ruler) / 2 - var(--mark) / 2);
    top: 10px;
  }
  .flow__num {
    flex: none;
    width: 2.6ch;
    font-size: clamp(2rem, 10vw, 2.75rem);
  }
}

/* --- 24:58 Business contact ------------------------------------------------------- */
.lic-cta {
  border-top: 1px solid var(--line);
}

.lic-cta__head {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 28px;
}

.lic-cta__title {
  font-size: clamp(2.5rem, 7vw, 7.5rem);
  margin-bottom: clamp(44px, 6vw, 96px);
  max-width: 12em;
}

:root[lang="en"] .lic-cta__title,
:root[lang="ja-JP"] .lic-cta__title {
  font-size: clamp(2.25rem, 6vw, 6.5rem);
}

.lic-cta__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 40px;
  align-items: start;
}

.lic-cta__text {
  grid-column: 1 / span 4;
  color: var(--fg-2);
  font-size: var(--t-4);
  line-height: 1.75;
  max-width: 24em;
}

.lic-cta__actions {
  grid-column: 6 / span 7;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.lic-cta__mail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: clamp(18px, 2.4vw, 30px) 0;
  border-block: 1px solid var(--line);
}

.lic-cta__addr {
  font-size: clamp(1.25rem, 2.8vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 520ms var(--ease-out), color var(--d-2);
}

.lic-cta__arrow {
  font-family: var(--f-mono);
  font-size: 1.5rem;
  color: var(--fg-3);
  transition: transform var(--d-3) var(--ease-out), color var(--d-2);
}

.lic-cta__mail:hover .lic-cta__addr,
.lic-cta__mail:focus-visible .lic-cta__addr {
  background-size: 100% 1px;
}

.lic-cta__mail:hover .lic-cta__arrow,
.lic-cta__mail:focus-visible .lic-cta__arrow {
  transform: translate(4px, -4px);
  color: var(--signal);
}

@media (max-width: 900px) {
  .lic-cta__text,
  .lic-cta__actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .lic-cta__button {
    width: 100%;
  }
}

/* --- 24:59 Press / EPK ---------------------------------------------------------- */
.press__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 56px;
  align-items: start;
}

.press__brand {
  grid-column: 1 / span 5;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* A proof plate with crop marks, as on a printed press kit */
.press__plate {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  padding: 14%;
  background:
    radial-gradient(120% 90% at 50% 120%, rgb(var(--art) / 0.2), transparent 70%),
    var(--night-1);
  border: 1px solid var(--line);
}

.press__wordmark {
  width: 100%;
  height: auto;
}

.press__crop {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: var(--fg-3);
  border-style: solid;
  border-width: 0;
}

.press__crop--tl {
  left: 12px;
  top: 12px;
  border-left-width: 1px;
  border-top-width: 1px;
}

.press__crop--tr {
  right: 12px;
  top: 12px;
  border-right-width: 1px;
  border-top-width: 1px;
}

.press__crop--bl {
  left: 12px;
  bottom: 12px;
  border-left-width: 1px;
  border-bottom-width: 1px;
}

.press__crop--br {
  right: 12px;
  bottom: 12px;
  border-right-width: 1px;
  border-bottom-width: 1px;
}

.press__brand-copy {
  font-family: var(--f-serif);
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  line-height: 1.8;
  letter-spacing: 0.02em;
  max-width: 30em;
}

:root[lang="en"] .press__brand-copy {
  letter-spacing: 0;
  line-height: 1.55;
}

.press__list {
  grid-column: 7 / span 6;
  border-top: 1px solid var(--line);
}

.press__item {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  padding: clamp(18px, 2vw, 28px) 0;
  border-bottom: 1px solid var(--line);
  transition: padding var(--d-2) var(--ease-out);
}

.press__num {
  align-self: start;
  padding-top: 0.35em;
  font-size: var(--t-micro);
  color: var(--fg-3);
  transition: color var(--d-1);
}

.press__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.press__title {
  font-size: var(--t-4);
  font-weight: 600;
  line-height: 1.3;
}

.press__copy {
  font-size: 0.875rem;
  color: var(--fg-2);
}

.press__copy--mail {
  font-family: var(--f-mono);
  font-size: 0.8125rem;
  overflow-wrap: anywhere;
}

.press__meta {
  font-size: var(--t-micro);
  letter-spacing: 0.12em;
  color: var(--fg-3);
}

.press__arrow {
  font-family: var(--f-mono);
  font-size: 1.125rem;
  color: var(--fg-3);
  transition: transform var(--d-2) var(--ease-out), color var(--d-1);
}

.press__item:hover,
.press__item:focus-visible {
  padding-left: 8px;
}

.press__item:hover .press__num,
.press__item:focus-visible .press__num {
  color: var(--signal);
}

.press__item:hover .press__arrow,
.press__item:focus-visible .press__arrow {
  color: var(--fg);
  transform: translate(3px, -3px);
}

@media (max-width: 900px) {
  .press__brand,
  .press__list {
    grid-column: 1 / -1;
  }
  .press__plate {
    aspect-ratio: 16 / 9;
    padding: 12%;
  }
}

@media (max-width: 700px) {
  .press__item {
    grid-template-columns: 2.25rem minmax(0, 1fr) auto;
  }
  .press__meta {
    display: none;
  }
}

/* --- Reduced motion: no travel, no scroll-linked movement ------------------------ */
@media (prefers-reduced-motion: reduce) {
  .js .lic-hero__word {
    translate: 0 0;
  }
  .lic-hero__word {
    transform: none !important;
  }
  .lic-hero__digits .colon {
    animation: none;
  }
  .js [data-reveal="cues"] > li,
  .js [data-reveal="cases"] .case {
    opacity: 1 !important;
    transform: none !important;
  }
  .js .offer[data-reveal="rule"]::before {
    transform: scaleX(1);
  }
  .policy__edge {
    display: none;
  }
}

/* Japanese rag: keep として / です phrases whole in the services aside and press copy. */
:root[lang="ja-JP"] .lic-services .section-head__aside {
  text-wrap: balance;
}

:root[lang="ja-JP"] .press__brand-copy {
  word-break: auto-phrase;
}
