/* Visual refinement, October 2026. Original photography stays unchanged. */

/* Make the rhythm of the course visible in the first screen. */
.world-hero { height: 770px; }
.hero-bottom { bottom: 60px; align-items: end; gap: 48px; }
.hero-bottom > p { font-size: 34px; max-width: 510px; }
.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  min-width: 480px;
  margin: 0;
  padding: 0;
  white-space: normal;
}
.hero-facts > div { padding-top: 14px; border-top: 1px solid #ffffff70; }
.hero-facts dt { font-size: 46px; font-weight: 600; line-height: 1.1; letter-spacing: -.04em; }
.hero-facts dt small { font-size: 18px; letter-spacing: 0; }
.hero-facts dd { margin: 9px 0 0; font-size: 14px; line-height: 1.5; }

/* Destination images share a gentle tonal treatment without changing assets. */
.destination-photo {
  --photo-light: 1;
  --photo-saturation: .88;
  filter: brightness(var(--photo-light)) saturate(var(--photo-saturation)) contrast(.97);
}
.destination-photo[src$="seoul.jpg"] { --photo-light: 1.2; --photo-saturation: .83; }
.destination-photo[src$="paris.jpg"] { --photo-light: 1.08; --photo-saturation: .85; }
.destination-photo[src$="london.jpg"] { --photo-light: 1.06; --photo-saturation: .96; }
.destination-photo[src$="spain.jpg"] { --photo-light: .99; --photo-saturation: .78; }
.destination-photo[src$="berlin.jpg"] { --photo-light: 1.04; }
.destination-photo[src$="italy.jpg"] { --photo-light: .99; }

/* Give informational pages their own visual hierarchy. */
.tuition-hero > .section { padding-block: 44px 56px; }
.tuition-hero h1 { font-size: clamp(42px, 4.5vw, 64px); }
.tuition-hero .calculator { row-gap: 24px; align-items: start; }
.tuition-hero .calculator-box { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.tuition-photo { grid-column: 1; grid-row: 2; height: 160px; }
.service-heading { padding-block: 30px 36px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 7%; align-items: center; }
.schedule-intro-photo { height: 210px; }
.service-heading h1 { font-size: clamp(40px, 4.2vw, 60px); }
.service-copy > p { max-width: 680px; margin-top: 18px; color: var(--muted); font-size: 17px; }
.schedule-section { padding-block: 48px 64px; }
/* Photographs replace the temporary diagram and number panels. */
#start-level > .feature-photo,
#levels > .feature-photo,
#trial > .feature-photo { height: 390px; }
#start-level, #levels, #trial { padding-block: 66px; }
.language-choice .language-image img { object-position: 35% center; }

/* Full-width levels and distinct morning/evening choices. */
#languages .section-heading h2 { flex-shrink: 0; }
.levels-panel {
  width: 100%;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
}
.levels-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.levels-heading h3 { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.4; }
.levels-heading p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.levels-panel .level-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; }
.levels-panel .level-list span { padding: 22px 16px; border-radius: 0; background: transparent; color: var(--ink); text-align: center; font-size: clamp(24px, 3vw, 32px); line-height: 1.2; letter-spacing: -.03em; }
.levels-panel .level-list span + span { border-left: 1px solid var(--line); }
.rhythm-options { gap: 18px 24px; border-top: 0; padding-top: 0; }
.blue-section .rhythm-options { --surface: var(--dark-surface, #2b3033); --line: var(--dark-line, #626967); }
.rhythm-options > a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 24px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.rhythm-options strong { grid-column: 1; font-size: 18px; line-height: 1.4; }
.rhythm-options span { grid-column: 1; grid-row: 2; font-size: 32px; line-height: 1.2; }
.rhythm-options svg { grid-column: 2; grid-row: 1 / span 2; }
.rhythm-options > a:hover { border-color: currentColor; }
#rhythm .essentials { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

/* One invitation and a shorter route to the contact fields. */
.contact-section { padding-block: 64px; }
.contact-grid { gap: 9%; align-items: start; }
.contact-copy > p { max-width: 470px; }
.application-form { padding: 30px; }
.form-fields .form-intro { margin: 0 0 4px; font-size: 15px; line-height: 1.6; }
.field label { font-size: 14px; }
.field label span { font-size: 12px; }
.form-note { font-size: 12px; }
.field input, .field select, .field textarea { font-size: 16px; }

/* Separate consent and an honest state while applications are unavailable. */
.application-inputs { display: grid; gap: 18px; padding: 0; margin: 0; border: 0; min-width: 0; }
.consent-label { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 13px; line-height: 1.7; }
.consent-label input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--reading-accent, #292b2d); }
.consent-label a, .form-privacy a { text-decoration: underline; text-underline-offset: 3px; }
.form-privacy, .form-availability { font-size: 12px; line-height: 1.75; color: var(--muted); margin: 0; }
.form-availability { padding-top: 14px; border-top: 1px solid var(--line); }
.form-availability:focus { outline: 2px solid var(--accent); outline-offset: 5px; }
.field :disabled { opacity: .8; cursor: not-allowed; }
.application-form .button:disabled { opacity: .65; transform: none; cursor: not-allowed; }
.footer-bottom { display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 24px; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; }
.footer-legal a { font-size: 12px; line-height: 1.6; }
.footer-legal a:hover { text-decoration: underline; }
.footer-bottom > .back-top { grid-column: auto; grid-row: auto; }

@media (max-width: 1020px) {
  .levels-heading { display: block; }
  .levels-heading p { margin-top: 8px; }
  .world-hero { height: 750px; }
  .hero-bottom { gap: 30px; }
  .hero-bottom > p { font-size: 30px; }
  .hero-facts { min-width: 390px; gap: 24px; }
  .hero-facts dt { font-size: 40px; }
}

@media (max-width: 760px) {
  #languages .section-heading h2 { flex-shrink: 1; }
  .world-hero { height: 720px; }
  .hero-bottom { display: block; }
  .hero-facts { min-width: 0; max-width: 560px; gap: 24px; margin-top: 28px; }
  .hero-bottom > p { font-size: 28px; }
  .inner-hero { gap: 30px; padding-bottom: 36px; }
  .inner-hero-photo { height: 240px; }
  .editorial-feature.reverse > .feature-copy { order: 0; }
  .editorial-feature.reverse > .feature-photo { order: 1; }
  #start-level > .feature-photo,
  #levels > .feature-photo,
  #trial > .feature-photo { height: 280px; }
  .tuition-hero > .section { padding-block: 30px 40px; }
  .tuition-hero .calculator { gap: 28px; }
  .tuition-hero .calculator-box, .tuition-photo { grid-column: auto; grid-row: auto; }
  .service-heading { grid-template-columns: 1fr; gap: 24px; }
  .schedule-intro-photo { height: 160px; }
  .tuition-hero .calculator > div > p { margin-top: 20px; }
  .tuition-hero .calculator .text-link { margin-top: 10px; }
  .contact-section { padding-block: 48px; }
  .contact-grid { gap: 28px; }
  .contact-copy > p { margin-top: 20px; }
}

@media (max-width: 560px) {
  .levels-heading { padding: 18px 20px; }
  .levels-panel .level-list span { padding: 20px 10px; font-size: 26px; }
  .rhythm-options > a { padding: 22px 24px; }
  .rhythm-options span { font-size: 30px; }
  #rhythm .essentials { gap: 12px; }
  #rhythm .essentials dt { font-size: clamp(20px, 6vw, 30px); white-space: nowrap; }
  #rhythm .essentials dd { font-size: 12px; }
  .footer-bottom { grid-template-columns: 1fr auto; gap: 20px; }
  .footer-legal { grid-column: 1 / -1; grid-row: 2; justify-content: start; flex-direction: column; gap: 12px; }
  .footer-bottom > .back-top { grid-column: 2; grid-row: 1; }
  .world-hero { height: 690px; }
  .hero-content { padding-top: 34px; }
  .hero-bottom { bottom: 48px; }
  .hero-bottom > p { max-width: 320px; font-size: 25px; line-height: 1.25; }
  .hero-facts { display: grid; gap: 15px; margin-top: 22px; }
  .hero-facts dt { font-size: 36px; }
  .hero-facts dt small { font-size: 15px; }
  .hero-facts dd { font-size: 12px; margin-top: 8px; }

  .filter-button { min-height: 44px; padding-inline: 13px; font-size: 12px; }

  .inner-hero { gap: 24px; padding-top: 24px; padding-bottom: 28px; }
  .inner-hero-photo { height: 210px; }
  .inner-hero-copy > p { margin-top: 18px; }
  .service-heading { padding-block: 24px 28px; }
  .service-heading h1, .tuition-hero h1 { font-size: 39px; line-height: 1.12; }
  .service-copy > p { margin-top: 16px; font-size: 14px; line-height: 1.8; }
  .tuition-hero .calculator > div > p { font-size: 14px; line-height: 1.8; margin-top: 18px; }
  .tuition-hero .calculator-box { padding: 22px; }
  .cadence-button { min-height: 44px; white-space: normal; line-height: 1.35; }
  .schedule-section { padding-block: 32px 44px; }
  .schedule-section .section-heading { margin-bottom: 22px; }
  .schedule-section .section-heading h2 { font-size: 30px; }
  .schedule-choice { min-height: 48px; font-size: 12px; padding-inline: 10px; }
  .selected-schedule { padding: 24px; }
  .selected-schedule > .schedule-photo { order: 1; height: 150px; }
  .selected-schedule > div { padding: 0; }
  .selected-schedule h3 { font-size: 29px; }

  #start-level > .feature-photo,
  #levels > .feature-photo,
  #trial > .feature-photo { height: 230px; }
  #start-level, #levels, #trial { padding-block: 44px; }

  .contact-copy h2 { font-size: 34px; }
  .contact-location { margin-top: 18px; }
  .application-form { padding: 24px; }
  .form-fields { gap: 18px; }
  .field label { font-size: 14px; }
  .form-intro { font-size: 15px; }
  .form-note { font-size: 12px; }
}

@media (max-width: 370px) {
  .hero-facts { gap: 10px; }
  .hero-facts dt { font-size: 32px; }
  .hero-facts dd { font-size: 12px; }
  .tuition-hero .calculator-box { padding: 18px; }
  .cadence-button { font-size: 12px; padding-inline: 5px; }
  .selected-schedule { padding: 20px; }
  .selected-schedule h3 { font-size: 26px; }
  .application-form { padding: 22px; }
}
