/* Approved development layout; all selectors are local to the bilingual page. */
.development-page {
  --canvas: #fff;
  --paper: var(--ds-paper);
  --ink: var(--ds-ink);
  --muted: var(--ds-muted);
  --line: var(--ds-line);
  --soft-accent: var(--surface);
  --accent: var(--ds-accent);
  --section: var(--ds-section);
  --card-gap: var(--ds-card-gap);
  --panel-inset-block: var(--ds-panel-block);
  --panel-inset-inline: var(--ds-panel-inline);
  --copy: 43rem;
  --header: var(--site-header-height);
  --title: var(--ds-title);
  --section-title: var(--ds-section-title);
  --subheading: var(--ds-subheading);
  --subtitle: clamp(1.125rem, 1.35vw, 1.375rem);
  --lead: var(--ds-lead);
  --body: var(--ds-body);
  --caption: var(--ds-caption);
  --metric: clamp(1.5rem, 1.9vw, 2rem);
  --feedback: 140ms;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color: var(--ink);
  font-size: var(--body);
  line-height: 1.78;
  overflow-wrap: anywhere;
}
.development-page :is(h1,h2,h3,p,figure,dl,dd) { margin: 0; max-width: none; }
.development-page :is(.prose p,.prose li) { margin-block: 0; }
.development-page .shell.page-heading { padding-block: var(--ds-page-start) var(--ds-page-header-end); }
.development-page h1 { font-size: var(--title); font-weight: var(--weight-title); line-height: 1.2; letter-spacing: -.035em; }
.development-page .section { padding-block: calc(var(--section) / 2); }
.development-page .opening { margin-block-start: var(--ds-title-group-gap); }
.development-page .part-label, .development-page .section-label { font-size: var(--caption); line-height: 1.5; font-weight: var(--weight-control); }
.development-page .part-label { margin-bottom: 6px; color: var(--muted); }
.development-page .section-label { margin-bottom: 12px; color: var(--accent); }
.development-page .section-intro { max-width: var(--copy); }
.development-page .section-intro :is(h2, h3) + p { margin-top: var(--ds-description-gap); }
.development-page .opening .section-intro, .development-page .development-window-intro { max-width: none; }
.development-page .opening h2 { font-size: var(--subheading); }
.development-page h2 { font-size: var(--section-title); line-height: 1.25; font-weight: var(--weight-title); letter-spacing: -.025em; text-wrap: pretty; }
.development-page h3 { font-size: var(--subheading); line-height: 1.35; font-weight: var(--weight-title); letter-spacing: -.02em; }
.development-page .section-lead { color: var(--muted); font-size: var(--lead); line-height: 1.7; text-wrap: pretty; }
.development-page .tinted { background: var(--paper); }
.development-page .caption { color: var(--muted); font-size: var(--caption); line-height: 1.57; }
.development-page .caption + .section-lead { margin-top: 12px; }
.development-page .two-up { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--card-gap); }
.development-page .prose { max-width: var(--copy); }
.development-page .prose > :is(h3, .block-title) + p { margin-top: 16px; }
.development-page .subheading { margin-top: 10px; font-size: var(--subtitle); line-height: 1.4; font-weight: var(--weight-title); }
.development-page .subheading + .caption { margin-top: 8px; }

.development-page .layer-layout {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  gap: clamp(1.75rem, 4.5vw, 5rem);
}
.development-page .layer-profiles {
  margin-block-start: clamp(1.5rem, 2.5vw, 2.5rem);
  padding-block-start: clamp(1.25rem, 2vw, 2rem);
  border-block-start: 1px solid var(--line);
}
.development-page > .development-opening { padding-block-end: 0; }
.development-page #source-index-why { padding-block-start: var(--section); padding-block-end: 0; }
.development-page #development-evidence { padding-block-start: var(--ds-title-group-gap); }
.development-page .evidence-intro { margin-block-end: var(--ds-card-gap); }
.development-page .iceberg {
  align-self: center;
  justify-self: center;
  width: min(100%, 44rem);
  color: var(--muted);
}
.development-page .iceberg-scene { display: block; width: 100%; height: auto; }
.development-page .iceberg-visual { position: relative; }
.development-page .iceberg-mobile-label { display: none; }
.development-page .iceberg-layer-label { font-size: 19px; font-weight: var(--weight-title); }
.development-page .iceberg-layer-description { font-size: 17px; font-weight: var(--weight-body); }
.development-page .iceberg-label-guide { fill: none; stroke: #738d9a; }
.development-page .iceberg figcaption { margin-top: 8px; text-align: center; font-size: var(--caption); }
.development-page .iceberg-bubbles { opacity: 0; }
.development-page .layer-profile { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: 12px; }
.development-page .layer-profile h4 { font-size: var(--subtitle); line-height: 1.4; font-weight: var(--weight-title); }
.development-page .layer-profile + .layer-profile { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.development-page .layer-profile .period { grid-area: 1 / 2; white-space: nowrap; }
.development-page .layer-profile .caption, .development-page .layer-profile .layer-points { grid-column: 1 / -1; }
.development-page .period { color: var(--accent); font-size: var(--metric); font-weight: var(--weight-title); line-height: 1.15; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.development-page .period small { margin-inline-start: .4em; font-size: var(--caption); font-weight: var(--weight-body); letter-spacing: 0; }
.development-page .age-list, .development-page .layer-points { list-style: none; padding: 0; }
.development-page .layer-points { margin: 8px 0 0; }
.development-page .evidence-panel, .development-page .conclusion-pair > article {
  padding-block: var(--panel-inset-block);
  padding-inline: var(--panel-inset-inline);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.development-page .evidence-panel { display: flex; flex-direction: column; }
.development-page .age-list { display: grid; gap: 18px; margin: 26px 0; }
.development-page .vocabulary > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: baseline; }
.development-page .vocabulary strong { color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
.development-page .vocabulary p, .development-page .range-plot { grid-column: 1 / -1; }
.development-page .vocabulary p { color: var(--muted); }
.development-page .range-plot { position: relative; height: 4px; margin-block: 4px; background: var(--line); border-radius: 2px; }
.development-page .range-plot::before { position: absolute; inset-block: 0; inset-inline-start: var(--start); inline-size: var(--extent); border-radius: inherit; background: var(--accent); content: ""; }
.development-page .range-end::before { inset: -2px 0 auto auto; width: 8px; height: 8px; border-radius: 50%; }
.development-page .sound-timeline { --step-gap: 14px; gap: var(--step-gap); padding-inline-start: 18px; }
.development-page .sound-timeline > li { position: relative; }
.development-page .sound-timeline > li::before { position: absolute; z-index: 1; inset: .72em auto auto -18px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); content: ""; }
.development-page .sound-timeline > li:not(:last-child)::after { position: absolute; inset: .9em auto calc(-1 * var(--step-gap) - .9em) -15px; width: 1px; background: var(--line); content: ""; }
.development-page .sound-timeline b { display: block; }
.development-page .age-list li > span { color: var(--muted); }
.development-page .takeaway { margin-top: auto; padding: 14px 16px; border-radius: 6px; background: var(--soft-accent); }
.development-page .conclusion-pair > article { max-width: none; background: var(--canvas); }
.development-page .conclusion-pair h2 { font-size: clamp(1.625rem, 2vw, 2rem); text-wrap: balance; }
.development-page .conclusion-term { white-space: nowrap; }
.development-page .conclusion-graphic { display: block; width: min(100%, 21.25rem); height: auto; margin: 16px 0; }
.development-page .graphic-transfer { opacity: 0; }
.development-page .related { margin: 0; padding-block-end: var(--section); border: 0; background: var(--canvas); }
@media (max-width: 1199px) {
  .development-page .conclusion-pair { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1023px) {
  .development-page .layer-layout { grid-template-columns: minmax(0, 1fr); }
  .development-page .iceberg { width: min(100%, 34rem); }
  .development-page #development-evidence .two-up { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .development-page .two-up, .development-page .layer-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 639px) {
  .development-page .iceberg-layer-label, .development-page .iceberg-label-guide { display: none; }
  .development-page .iceberg-mobile-label { display: grid; gap: 2px; position: absolute; left: 72%; width: 28%; font-size: 14px; line-height: 1.5; }
  .development-page .iceberg-mobile-label strong { font-size: 16px; }
  .development-page .iceberg-mobile-label-0 { top: 8%; }
  .development-page .iceberg-mobile-label-1 { top: 50%; }
}
@media (max-width: 1023px) {
  .development-page .iceberg-layer-label { font-size: 25px; }
  .development-page .iceberg-layer-description { font-size: 23px; }
}
@media (min-width: 640px) {
  .development-page .conclusion-pair > article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(10.5rem, 28vw, 17rem);
    grid-template-rows: auto auto 1fr;
    column-gap: clamp(1rem, 1.5vw, 1.5rem);
    align-items: start;
  }
  .development-page .conclusion-pair .section-label, .development-page .conclusion-pair h2 { grid-column: 1; }
  .development-page .conclusion-graphic { grid-area: 2 / 2; align-self: center; width: 100%; margin: 0; }
  .development-page .conclusion-pair .conclusion-graphic + p { grid-column: 1 / -1; margin-top: 16px; }
}
@media (min-width: 1200px) {
  .development-page .conclusion-pair > article {
    grid-template-columns: minmax(0, 1fr) clamp(8.5rem, 13vw, 14rem);
    grid-row: span 3; grid-template-rows: subgrid; row-gap: 0;
  }
}
@media (min-width: 1200px) and (min-height: 820px) {
  .development-page .layer-sticky { position: sticky; top: calc(var(--header) + 1.5rem); }
}
@media (prefers-reduced-motion: no-preference) {
  .development-page .iceberg.is-in-view .iceberg-bubbles { opacity: 1; }
  .development-page .iceberg-float { animation: iceberg-float 4.4s ease-in-out infinite alternate paused; }
  .development-page .iceberg-bubbles circle { animation: bubble-rise var(--cycle) linear var(--offset) infinite paused; }
  .development-page .iceberg.is-in-view :is(.iceberg-float, .iceberg-bubbles circle) { animation-play-state: running; }
  .development-page .graphic-transfer { animation: graphic-transfer 4.6s linear infinite paused; }
  .development-page .graphic-speech { animation: graphic-speech 4.6s ease-in-out infinite paused; }
  .development-page .graphic-wave {
    transform-box: fill-box;
    transform-origin: center;
    animation: graphic-wave 3.4s ease-in-out infinite paused;
  }
  .development-page .graphic-wave-alt { animation-delay: -.8s; animation-duration: 4.1s; }
  .development-page .conclusion-graphic.is-in-view :is(.graphic-transfer, .graphic-speech, .graphic-wave) { animation-play-state: running; }
  @keyframes iceberg-float { from { transform: translateY(-14px); } to { transform: translateY(15px); } }
  @keyframes bubble-rise {
    0% { transform: translate(0, 0); opacity: 0; }
    19%, 68% { opacity: .68; }
    100% { transform: translate(var(--drift), var(--rise)); opacity: 0; }
  }
  @keyframes graphic-transfer {
    0%, 8% { opacity: 0; transform: translateX(0); }
    14% { opacity: 1; }
    32% { opacity: 1; }
    37%, 100% { opacity: 0; transform: translateX(63px); }
  }
  @keyframes graphic-speech {
    0%, 33%, 65%, 100% { opacity: .75; }
    43% { opacity: 1; }
    52% { opacity: .45; }
  }
  @keyframes graphic-wave {
    0%, 55%, 100% { transform: scaleY(1); }
    18% { transform: scaleY(.72); }
    36% { transform: scaleY(1.15); }
  }
}

html:lang(en) .development-page .conclusion-term { white-space: normal; }
@media (max-width: 1023px) {
  html:lang(en) .development-page .iceberg-layer-description { font-size: 20px; }
}
