.lc-section {
  padding: clamp(4rem, 8vw, 7.5rem) 0;
  color: var(--ink);
  font-family: var(--sans);
}

.lc-section h2,
.lc-contact h2 {
  margin: 0;
  color: inherit;
  font-family: var(--display);
  font-size: clamp(2.4rem, 4.4vw, 4.25rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: 1.04;
  text-wrap: balance;
}

.lc-section p,
.lc-contact p {
  margin: 0;
  line-height: 1.65;
}

.lc-intro { margin-bottom: clamp(1.8rem, 3vw, 3rem); }
.lc-intro p,
.lc-fees-intro p { margin-top: 1rem; color: var(--muted); }
.lc-programmes { background: var(--paper); }

.lc-programme-picker {
  position: relative;
  display: grid;
  grid-template-columns: minmax(14rem, 1fr) minmax(0, 1.8fr);
  gap: 0 clamp(1.75rem, 5vw, 5rem);
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.lc-programme-select { display: none; }

.lc-visually-hidden,
.lc-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.lc-option {
  display: flex;
  grid-column: 1;
  align-items: center;
  justify-content: space-between;
  min-height: 3.9rem;
  padding: .85rem .9rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 500;
  cursor: pointer;
}

.lc-option-ielts { grid-row: 1; border-top: 1px solid var(--line); }
.lc-option-cambridge { grid-row: 2; }
.lc-option-writing { grid-row: 3; }
.lc-option-study { grid-row: 4; }
.lc-option::after {
  content: '';
  width: .85rem;
  height: .85rem;
  margin-left: .8rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  box-sizing: border-box;
  flex: none;
}

.lc-option:hover { background: var(--wash); color: var(--brand-deep); }
.lc-radio:focus-visible + .lc-option { outline: 3px solid var(--brand-deep); outline-offset: -3px; }
.lc-radio:checked + .lc-option { background: var(--wash); color: var(--brand-deep); box-shadow: inset 3px 0 var(--brand); font-weight: 700; }
.lc-radio:checked + .lc-option::after {
  border-color: var(--brand);
  background: var(--brand);
  box-shadow: inset 0 0 0 3px var(--paper);
}

.lc-panels {
  grid-column: 2;
  grid-row: 1 / 5;
  display: grid;
  align-content: center;
  padding: clamp(1.5rem, 4vw, 3.25rem);
  background: var(--tint);
}

.lc-panel { display: none; }
#lc-opt-ielts:checked ~ .lc-panels #lc-panel-ielts,
#lc-opt-cambridge:checked ~ .lc-panels #lc-panel-cambridge,
#lc-opt-writing:checked ~ .lc-panels #lc-panel-writing,
#lc-opt-study:checked ~ .lc-panels #lc-panel-study { display: block; }
.lc-panel h3 {
  margin: 0 0 .7rem;
  font-family: var(--display);
  font-size: clamp(1.7rem, 2.5vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.12;
}

.lc-panel p { max-width: 48ch; color: var(--muted); }
.lc-text-link {
  display: inline-block;
  margin-top: 1.1rem;
  padding: .2rem 0;
  color: var(--brand);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: .23em;
}

.lc-fees { background: var(--wash); }
.lc-fees-layout,
.lc-about-layout,
.lc-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 7vw, 7.5rem);
  align-items: start;
}

.lc-fees-intro p { max-width: 34ch; }
.lc-fee-table { width: 100%; border-collapse: collapse; }
.lc-fee-table th, .lc-fee-table td { padding: .9rem 0; text-align: left; }
.lc-fee-table thead { color: var(--muted); font-size: .9rem; }
.lc-fee-table thead th { padding-top: 0; padding-bottom: .8rem; font-weight: 500; }
.lc-fee-table tr { border-bottom: 1px solid var(--line); }
.lc-fee-table thead tr { border-bottom-color: var(--line-strong); }
.lc-fee-table tbody th { padding-right: 1rem; font-weight: 550; line-height: 1.32; }
.lc-fee-table th span { display: block; margin-top: .23rem; color: var(--muted); font-size: .9rem; font-weight: 400; }
.lc-fee-table thead th:last-child,
.lc-fee-table td { text-align: right; }
.lc-fee-table td { color: var(--brand); font-weight: 650; white-space: nowrap; }
.lc-fees .lc-fees-note { margin-top: 1.05rem; color: var(--muted); font-size: .9rem; }

.lc-about { background: var(--paper); }
.lc-about-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; }
.lc-about-quote { padding: .4rem 1rem .4rem clamp(1.25rem, 3vw, 2.8rem); border-left: 2px solid var(--accent); }
.lc-about-quote blockquote { margin: 0; color: var(--brand); font-family: var(--display); font-size: clamp(2rem, 3.5vw, 3.5rem); font-style: italic; font-weight: 400; letter-spacing: -.035em; line-height: 1.15; }
.lc-about-quote p { margin-top: 1.2rem; color: var(--muted); }
.lc-about-copy .lc-about-role { margin: .7rem 0 1.3rem; color: var(--brand); font-weight: 650; }
.lc-about-copy p + p { margin-top: .65rem; }
.lc-about-copy p { max-width: 52ch; color: var(--muted); }

.lc-contact { padding: clamp(3.5rem, 6.5vw, 6rem) 0; background: var(--accent); color: var(--ink); font-family: var(--sans); }
.lc-contact-layout { grid-template-columns: minmax(0, 1.5fr) minmax(0, .75fr); align-items: center; }
.lc-contact-layout p { max-width: 51ch; margin-top: 1rem; color: var(--ink); }
.lc-contact-details { display: flex; align-items: flex-start; flex-direction: column; gap: .35rem; }
.lc-email-cta { display: inline-flex; justify-content: center; align-items: center; min-height: 3.1rem; padding: .65rem 1.45rem; border-radius: .25rem; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 650; }
.lc-email-cta:hover { background: var(--brand-deep); }
.lc-contact-address { margin-top: .7rem; color: inherit; text-underline-offset: .2em; overflow-wrap: anywhere; }
.lc-contact-details span { color: var(--ink); font-size: .92rem; }

@media (max-width: 760px) {
  .lc-programme-picker { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .lc-option { min-height: 3.3rem; }
  .lc-panels { grid-row: 5; grid-column: 1; margin-top: 1.2rem; }
  .lc-fees-layout, .lc-about-layout, .lc-contact-layout { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .lc-fees-intro p { max-width: 51ch; }
  .lc-about-copy { grid-row: 1; }
  .lc-contact-address { font-size: .95rem; }
}

.lc-panel p.lc-session-detail { margin-top: .75rem; }

@media (max-width: 620px) {
  .lc-section, .lc-contact { padding-block: 2.75rem; }
  .lc-section h2, .lc-contact h2 { font-size: clamp(2rem, 8.5vw, 2.65rem); }
  .lc-intro { margin-bottom: 1.15rem; }

  .lc-programme-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; }
  .lc-option {
    grid-column: auto;
    grid-row: auto;
    min-height: 3rem;
    border: 1px solid var(--line-strong);
    border-radius: .3rem;
    padding: .55rem .65rem;
    font-size: 1rem;
    line-height: 1.3;
  }
  .lc-option::after { display: none; }
  .has-mobile-select .lc-radio, .has-mobile-select .lc-option { display: none; }
  .lc-programme-select {
    display: block;
    grid-column: 1 / -1;
    width: 100%;
    min-height: 3rem;
    padding: .65rem 2.9rem .65rem .85rem;
    appearance: none;
    border: 1px solid var(--line-strong);
    border-radius: .3rem;
    background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23006e76' stroke-width='1.8'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E") right .85rem center / 1.2rem no-repeat;
    color: var(--ink);
    font: 600 1rem/1.4 var(--sans);
    cursor: pointer;
  }
  .lc-panels { grid-row: auto; grid-column: 1 / -1; margin-top: .25rem; padding: 1.15rem; }
  .lc-text-link, .lc-contact-address {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .lc-text-link { margin-top: .5rem; }
  .lc-fees-layout, .lc-about-layout, .lc-contact-layout { gap: 1.4rem; }
  .lc-fee-table tbody th, .lc-fee-table td { padding-block: .7rem; }
  .lc-fee-table td { font-variant-numeric: tabular-nums; }
  .lc-email-cta { align-self: stretch; }
  .lc-contact-address { margin-top: .1rem; }
}
